bradwilson, to dotnet
@bradwilson@mastodon.social avatar

Pro-tip for the day:

dotnet does not appear to require a trailing backslash when you define a custom NuGet package cache path via env var NUGET_PACKAGES but Visual Studio does.

Good:
NUGET_PACKAGES=X:.nuget\packages\

Bad:
NUGET_PACKAGES=X:.nuget\packages

StevenJV, to dotnet
@StevenJV@curmudgeon.cafe avatar

Am I the only one who wants dotnet format to be usable against just a single file, rather than [<PROJECT | SOLUTION>] ? I'm only working in one file, I really don't want 732 files changed in this commit. We'll get to them when we get to them. #dotnet

nietras, to dotnet
@nietras@mastodon.social avatar

What options are there to improve Parallel.For runs when WorkerThreadStart is taking 70% of CPU usage?

#dotnet #csharp

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I got a guided tour of the #NuGet server room today. Cutting edge! I was told not to touch the bulbs. #dotnet

georgekinsman, to blazor
@georgekinsman@hachyderm.io avatar

peeps, is it possible to use LinkGenerator to generate links to Razor Component Pages (i.e. a .razor file with a @page attribute)?

From what I can tell there's no way to add an EndpointNameMetadata to a razor page, which means the LinkGenerator can't do its thing.

Surely this is a common scenario - is everyone just hardcoding their page URL's?

cc @khalidabuhakmeh

ythos, to dotnet
@ythos@dotnet.social avatar

We've just published a series of 17 (!) posts on common patterns in JSON Schema; lots of these have been culled from questions asked in the JSON-Schema Slack channel.

They are written from the perspective of .NET developers who are used to JSON serialization as a code-first exercise, and want to migrate towards schema-first (with generated code examples from Corvus.JsonSchema).

https://endjin.com/blog/2024/05/json-schema-patterns-dotnet-data-object

jukka, to CSharp
@jukka@dotnet.social avatar

Just saw this C# rule, and I have to say I disagree: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1860

For the performance, sure, maybe, depending on the situation, but for readability, I find collection.Any() more readable than collection.Count() > 0.

xunit, to dotnet
@xunit@dotnet.social avatar

We are proud to announce that @xunit is the May 2024 sponsor project for .NET on AWS! They're generously funding our development efforts for the next 12 months.

Check out their Open Source Software Fund: https://github.com/aws/dotnet-foss

#dotnet #oss #foss #aws

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Don't panic folks, but I do now. Give it a try, is pretty nice. Also, there's . 😄

🙏 boosts appreciated

https://blog.jetbrains.com/idea/2024/05/easy-hacks-how-to-use-java-streams-for-working-with-data/

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

🫡 🪦 🌹 #dotnet #F

andrewlock, to CSharp
@andrewlock@hachyderm.io avatar

Blogged: An introduction to primary constructors in C#12

https://andrewlock.net/an-introduction-to-primary-constructors-in-csharp-12/

In this post I introduce C#12 primary constructors, describe the various ways to use them and how they work behind the scenes.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I see #dotnet folks are having a normal week. 🤣

maartenballiauw, to azure
@maartenballiauw@mastodon.online avatar

We just released the Toolkit for Rider v4 Preview 🌤️

🔑 Sign in using az cli, …
⚡️ Azure Functions
🌍 Web Apps
🗺️ Resource explorer
👩‍💻 SQL
🗄️ Storage emulator

As a rewrite of the current plugin, we’d like to hear your feedback!
https://blog.jetbrains.com/dotnet/2024/05/14/azure-toolkit-for-rider-v4-0-preview-request-for-feedback/?utm_medium=social&utm_source=mastodon&utm_campaign=azure-toolkit-for-rider-v4-0-preview-request-for-feedback

khalidabuhakmeh, to webassembly
@khalidabuhakmeh@mastodon.social avatar

Spicy take, but I think #Wasm will save #dotnet.

maartenballiauw, to dotnet
@maartenballiauw@mastodon.online avatar

Experiment... As the "search engine" behind a 5000-records auto complete API is an #efcore LIKE query. Loading 60000 more records into that table made the API endpoint slow (6 seconds to show autocomplete!)

How would you improve this autocomplete? #dotnet

cwoodruff, to CSharp
@cwoodruff@mastodon.social avatar

I'm working on chapters 7 and 8 of the C# Networking Book. I hope to have Chapter 7, Data Serialization Techniques, out early next week and Chapter 8, Network Performance Optimization, out the following week.

With Chapter 8 finished, I will have the basics done.

https://csharp-networking.com/

WetHat, to HowTo
@WetHat@fosstodon.org avatar

Advanced C# Tricks for Developers 🔥 | Medium

Ten methods to boost code efficiency and readability for experienced developers.

https://medium.com/@kmorpex/10-advanced-c-tricks-for-experienced-developers-26a48c6a8c9c

#HowTo #CSharp #Programming #DotNet

jchannon, to dotnet
@jchannon@hachyderm.io avatar

Carter 8.10 released!

Now supports services.ConfigureHttpJsonOptions(…)

https://www.nuget.org/packages/Carter/8.1.0

#dotnet

shanselman, to dotnet
@shanselman@hachyderm.io avatar

You want DEEP technical #dotnet content? Let's dig in! It's Stephen Toub and I going way into the internals of the Regular Expressions Engine in .NET! https://www.youtube.com/watch?v=ptKjWPC7pqw

jupiter, to dotnet
@jupiter@mastodon.gamedev.place avatar

(smol) JOB OFFER:

Fellow federated Technical Writers and Documentation Connoisseurs:

Where would I go to get someone to review my documentation for:

  • structure (didactic and otherwise)
  • accessibility
  • modernity
  • oversights

(also, if you have a friend or yourself to put forward for a consultation - I can likely spare adequate coin for your time, just send me your rate)

Topic is C# documentation for a game and simulation development library.

khalidabuhakmeh, (edited ) to webassembly
@khalidabuhakmeh@mastodon.social avatar

I thought I would take up the challenge of getting @enhance_dev #WASM working with #aspnetcore with the ability to SSR web components directly into the request pipeline.

Yep... it works. TagHelpers make this nice and natural part of the #dotnet web stack. #webcomponents #web #javascript

Update: You can try it out for yourself at this #GitHub repo. https://github.com/khalidabuhakmeh/EnhanceWebComponents

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Only a few years ago, there was a considerable effort in to make interoperability with a thing... now it seems like all those projects are gone or woefully behind. Bummer :(

sirber, to php
@sirber@fosstodon.org avatar

I'm starting a 22h course on C#.
outside is dying...

cwoodruff, to CSharp
@cwoodruff@mastodon.social avatar

Excited to unveil the latest chapter in my C# book on Error Handling and Fault Tolerance Strategies! Dive deep into advanced techniques to elevate your network programming, ensuring your systems and applications are more resilient and user-friendly.

https://csharp-networking.com/chapter06/

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