tomasekeli, to dotnet

7 reached end-of-support 5 days ago

if you're still running it - time to upgrade

https://devblogs.microsoft.com/dotnet/dotnet-7-end-of-support/

anthony_steele, to CSharp
@anthony_steele@dotnet.social avatar

Automating #formatting in #csharp code on commit with #dotnet format, #git and #Husky .NET

https://www.anthonysteele.co.uk/HuskyAutoformat

When I wrote this about a month ago, I didn't geta round to linking it from the index https://www.anthonysteele.co.uk/

So, now I have.

This is detailed, step-by-step instructions of getting this set up, with screenshots to help with commands and outcomes. An "idiot's guide" if you like, because I was that idiot.

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.

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

#dotnet #json #jsonSchema

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.
#csharp #dotnet

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

🫡 🪦 🌹 #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 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 will save .

maartenballiauw, to dotnet
@maartenballiauw@mastodon.online avatar

Experiment... As the "search engine" behind a 5000-records auto complete API is an 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?

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.

#csharp #dotnet

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

jchannon, to dotnet
@jchannon@hachyderm.io avatar

Carter 8.10 released!

Now supports services.ConfigureHttpJsonOptions(…)

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

shanselman, to dotnet
@shanselman@hachyderm.io avatar

You want DEEP technical 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 :(

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