patriksvensson, to random
@patriksvensson@mstdn.social avatar

Anyone know how I can see the actual thrown exception in Rider? I got the exception in "Threads & Locals" under "$exception", but I was expecting a nicer view in the "Unhandled exception" window. Is that configurable somehow?

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@patriksvensson Interesting. 🤔

Please let me know what you find. If I was going to look somewhere, see if you have any specific validators in your other solution.

The options validation in #dotnet cant be tricky to implement. #dotnet 8 adds some new ways to build the messages, but likely not used in your case.

robertpi, to random
@robertpi@functional.cafe avatar

Honestly have no idea why Python is so popular, I grind my teeth whenever I need to write some.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@robertpi The OSS ecosystem is hella-strong compared to any other ecosystem I’ve seen.

If you want to slap an app together, you can find the building block easily.

#dotnet, on the other hand, is missing a lot of integrations with macOS and Linux that become very clear quickly. For example, try accessing a video camera or microphone from a .NET application in a cross-platform way.

joaofbantunes, to CSharp
@joaofbantunes@mastodon.social avatar

New one up on the blog ✏️
'"Parse, don't validate" and other type safety driven shenanigans (plus a C# wishlist)'

In this one, I'm messing about, trying (and likely failing) to come up with ways to make more use of the type system with #CSharp #DotNet

I'm probably in the minority of folks wishing for features related to type safety in #CSharp, but one can dream 😅

https://blog.codingmilitia.com/2023/08/17/parse-dont-validate-and-other-type-safety-driven-shenanigans-plus-a-csharp-wishlist/

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@joaofbantunes Cool post.

I’ve learned that there’s the code I want to write with #csharp, and then the code #dotnet makes me write. 😅

The language and the runtime aren't always on the same page.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

Instead of Google Ads, I should sell ad space directly on individual blog posts. It would probably net me more in the long run. It would also be less intrusive.

maartenballiauw,
@maartenballiauw@mastodon.online avatar

@khalidabuhakmeh @joestead Was approached and it made sense, and with no tracking that was pretty awesome. Tough to keep folks long term/find new ones.

Now on ethicalads.io, which seems to be reasonable in terms of tracking.

Wonder if we need a new ad network for #dotnet bloggers.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@maartenballiauw @joestead You folks should read my next blog post : “How to be a #dotnet doo-doo head with Maarten and Joe”

It’s going to be a banger.

breakpointshow, to random
@breakpointshow@mastodon.social avatar

We would love to get feedback on the show and 2nd episode! You can listen to or watch it on YouTube from the same page. https://www.breakpoint.show/podcast/episode-002-how-to-find-oss-the-net-time-loop/

Or you can subscribe to RSS https://www.breakpoint.show/feed/podcast/breakpoint/

bitbonk,
@bitbonk@mastodon.social avatar

@breakpointshow Great show! It would be cool if you made this „something cool about #dotnet we‘ve seen, read, discovered, used lately“ a permanent part of the show.

Start or end the show with it and give it catchy name.

I know other podcasts do it too, but it’s cool.

g3rv4, to mastodon

Do you like #FediBuzz and would love for it to continue? I know, I'm in the same camp as you.

@astro made it possible for you to donate a token, and the page says

> We consume only the federated timeline. We don't even see boosts or replies. The permissions that we request shouldn't allow us to do anything else.

Unfortunately, that's misleading. I agree that the permissions “shouldn't allow them to do anything else", but the reality is that today, they do.

The token you're donating can read the private messages of the user that created the token.

So if you do so, make sure you trust @astro with access to your private messages and their ability to keep your token secure or create a token from an account where you don't have private messages.

If you regret donating the token, you can revoke it at /oauth/authorized_applications

I don't like the way #Mastodon devs are downplaying the importance that #FediBuzz has on small instances... but asking for tokens that can read private messages without disclosing it is wrong. And considering that the people that are aware of it are mostly admins, means that it's more likely they will have important messages on their accounts.

#relay #relays

bitbonk,
@bitbonk@mastodon.social avatar

@g3rv4 @astro Ah nice, thank you!

@styx31 I am not sure whether dotnet.social counts as a "small instance" but maybe it's worth following settings up the relay for the #dotnet hashtag?

KirillOsenkov, to random
@KirillOsenkov@mastodon.social avatar

My take is that the community’s response to Moq would have been absolutely justified had there been actual malicious intent by an adversary.

Knowing Kzu I can attest that there was absolutely no such intent, and he has always deeply cared for the ecosystem. The value delivered by Moq is immense. We grabbed our pitchforks too soon and a civil discussion needs to be had first. He doesn’t deserve being treated like this.

SmartmanApps,
@SmartmanApps@dotnet.social avatar

@bitbonk @KirillOsenkov @bot
The dotnet bot will automatically boost anything that is tagged with #dotnet

alfredbaudisch, to windows

bflat: Small, self-contained C# executables https://github.com/bflattened/bflat

"bflat is a native compiler for C# that comes with everything you need to build C# apps for any of the supported platforms. No additional SDKs or NDKs needed"

With it, it's even possible to build C# applications to #Windows 3.1 (!?)

Author: Michal Strehovský - "I work remotely at the .NET Runtime team at Microsoft."

#DotNet #CSharp

alfredbaudisch,
khalidabuhakmeh, to typescript
@khalidabuhakmeh@mastodon.social avatar

Does anyone have a good for @deno_land that works with ?

I’m using the SQLite dependency, but it requires a bit of mapping. Any advice/hints would be appreciated.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@nick_tune @dgoemans I think they have their advantages. If we’re talking about #dotnet, I think EF Core has been a real success story where the focus on performance has it neck-and-neck with Micro-ORMs.

That said, I don’t think it’s as simple as being on team ORM or Artisanal SQL.

I think there’s room for both in an application.

xunit, to random

We are in the process of switching from MyGet to feedz.io for our CI packages. We'll send an update when this work has completed.

xunit,

The move to feedz.io is complete. Note that only new package builds will go here; if you're currently using the MyGet feed for prerelease packages, please ONLY update to feedz.io when you're ready to take newer dependencies.

New package list: https://feedz.io/org/xunit/repository/xunit/search
New feed URL: https://f.feedz.io/xunit/xunit/nuget/index.json
Updated packages docs: https://xunit.net/docs/nuget-packages
Updated v3 alpha docs: https://xunit.net/docs/v3-alpha

#dotnet #csharp #fsharp #unittest #tdd

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

While I appreciate what pre-commit hooks can do, they add overhead that I’m not sure is worth it for me in the long run.

If you’re looking at adding CLI as a pre-commit action to all environments, here are the files for Husky.NET: task-runner.json and resharper-cli.csx (you’ll need to install the ReSharper CLI tools).

Have fun :)

Running the ReSharper CLI after concatenating changed files.

poppastring, to dotnet
@poppastring@dotnet.social avatar
cincura_net, to dotnet
@cincura_net@mas.to avatar

Make GC stack walking robust in the presence of unmanaged byrefs with extended lifetime

https://github.com/dotnet/runtime/issues/75865

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

#dotnet could simplify executing this suggestion in the error message by concatenating the workloads into one statement rather than listing each out like this.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

The #dotnet project, Esquio, provides a tag helper to enable/disable parts of your Razor view that are all processed on the server.

These toggles can be as simple as “on” or “off”, or they can use the incoming request to determine if a user sees the feature.

This is great for A/B testing and is made possible by a pretty awesome #aspnetcore tag helper.

It also provides options for a wide-range of programming options.

n3wjack, to dotnet
@n3wjack@mastodon.social avatar

Using Moq in a lot of projects at work. I'm gonna wait this out a bit before I start changing it out to anything else, but this isn't nice to see.
A lot of damage is being done there.

#dotnet #moq

emocoder, to dotnet
@emocoder@hachyderm.io avatar

We have a bunch of integrations between and and test runners, and yet we can't have something better-looking than this.

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

Catching up on what happened since the last #dotnet LTS. Lots of interesting hidden gems in those posts.

FrankKruse, to CSharp

Could novice programmers write clean code from the start?

Clean code is not just for professional developers. Especially beginners quickly lose track of their code. Clean code would help against that. I think we can explain clean code principles to absolute programming beginners, for example the DRY principle:

https://frank.woopec.net/2023/08/13/hexafour-05-variables-loops-dry.html

@edutooters

vincentbiret, to dotnet
@vincentbiret@hachyderm.io avatar

.NET August 2023 Updates – .NET 7.0.10, .NET 6.0.21 #dotnet https://devblogs.microsoft.com/dotnet/august-2023-updates/

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar
bitbonk, to dotnet
@bitbonk@mastodon.social avatar

@davidfowl If you were to write the article

System.IO.Pipelines: High performance IO in .NET

today (with #dotnet 8 at the door), are there any aspects you'd write differently?

https://devblogs.microsoft.com/dotnet/system-io-pipelines-high-performance-io-in-net

chucker, to dotnet
@chucker@norden.social avatar

Few people on the planet this is useful for, but here’s a #RoslynAnalyzer for when you have VB legacy code and want compiler warnings if it had Option Strict Off:

https://www.nuget.org/packages/VbOptionStrictAnalyzer

It’s OSS at https://github.com/chucker/VbOptionStrictAnalyzer

Credit for the code really goes to https://johnkoerner.com/csharp/code-analyzers-they-arent-just-for-c/; I mostly just made it easy to install.

#DotNet #VisualBasic

cincura_net, to dotnet
@cincura_net@mas.to avatar

Achievement unlocked.

Improved performance in PerfView: https://github.com/microsoft/perfview/pull/1897

#dotnet #performance

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • lostlight
  • All magazines