khalidabuhakmeh, to webassembly
@khalidabuhakmeh@mastodon.social avatar

Spicy take, but I think will save .

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/

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?

cincura_net, to dotnet
@cincura_net@mas.to avatar

Blogged: Writing “string.IsNullOrEmpty” using pattern matching and comparing the resulting code

https://www.tabsoverspaces.com/id/233939

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

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

👨‍🔬 Hey #dotnet folks, do you have secrets you'd like to share with the world? How about doing it on the #JetBrains stage? Submit your talk to be considered as a presenter for the #JetBrainsDotNetDays event. You can submit up to 3 talks to be considered.

🙌 Boosts appreciated

https://sessionize.com/jetbrains-dotnet-days-online-2024/

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

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

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

Yep... it works. TagHelpers make this nice and natural part of the web stack.

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

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

I spent roughly six hours today writing a new @xunit sample that inverts parallelism: tests are grouped by namespace, which are run sequentially; tests within a namespace are all run in parallel (even tests from the same class). Came from a question someone posted this morning.

https://github.com/xunit/samples.xunit/tree/main/NamespaceParallelization

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/

enusbaum, to dotnet
@enusbaum@tootsmcgoots.io avatar

You know why PHP is still around? Because it's fucking simple.

The levels of abstraction in Web Frameworks like React/Angular or ASP.NET Core is a little silly. You have to navigate through 4-5 files of logic before you actually get to the rendering of a page.

PHP?

<?php echo "Hello World!"; ?>

If dotnet could give me a syntax and framework as simple as PHP, I think it'd dominate. Just one file (index.cs), not a zillion files and boilerplate.

Call it ASP.NET Min

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I don’t know if it’s just my memory playing tricks on me, but looks more noisy every time I look at it.

It's harder to visually parse the flow of a codebase.

khalidabuhakmeh, to blazor
@khalidabuhakmeh@mastodon.social avatar

I’m looking at @egil HTMXOR library that combines and in a very sensible solution.

If you're a dev, I think there's something here you should take a look at.

http://github.com/egil/htmxor/

ythos, to dotnet
@ythos@dotnet.social avatar

Some new features in Corvus.JsonSchema - our low-allocation, high-performance serialization & validation library for .

V3.0.10 brings support for arrays of rank >= 1, including C#12 collection expression initializers, and the ability to set values deep within an array of rank > 1.

We detect fixed-size numeric arrays of any rank, and allow you to convert to- and from-Span<T> for use in vectorized APIs such as System.Numerics.TensorPrimitives.

https://github.com/corvus-dotnet/corvus.jsonschema

devleader, to dotnet
@devleader@hachyderm.io avatar

Check out my C# course that will guide you through more advance topics including things like OOP and asynchronous programming!

Perfect for advancing your C# skills beyond the basics!
https://dometrain.com/course/deep-dive-csharp?affcode=1115529_nl-teyzg

dr_cox1911, to dotnet German
@dr_cox1911@masto.ai avatar

Today I learned that the prod-ready release of is scheduled for the upcoming weeks.

What is your opinion on this? Is it ready for the big show?

I personally love it, but there are still some things I hope will make its way into it. For example I really hope that @davidfowl 'WaitFor' will be introduced before that.

What are you all missing?

Repo for 'WaitFor': https://github.com/davidfowl/WaitForDependenciesAspire

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

If you are doing #dotnet #dotnetmaui development with #JetBrainsRider, the latest release fixes an issue where the debugger could not attach to a physical device deployment.

https://blog.jetbrains.com/dotnet/2024/05/07/rider-2024-1-2/

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

📢 Hey, #dotnet folks! We are accepting presentations for #JetBrains .NET Days 2024. This is always a fun event, and you can submit talks of 30, 45, or 60 minutes.

As a presenter, you're not alone. We're here to support you every step of the way. You'll receive assistance from our team (including me and other advocates) to prep your talk, do dry runs, and receive feedback before the big day.

🙏 Boosts appreciated.

https://blog.jetbrains.com/dotnet/2024/05/02/jetbrains-dotnet-days-online-2024/

janriemer, to CSharp

Collection expressions in #CSharp 12

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/collection-expressions

Basically allows to init collections with "[" and "]" syntax.

It allows you to e.g. do this:

IEnumerable<int> elements = [5, 12, 42];

#DotNet #DotNet8

candoumbe, to dotnet French
@candoumbe@dotnet.social avatar

Looking for a way to validate a #dotnet API against an Open API spec.
Any idea?
#ooenapi #rest #architecture #api

mikegoatly, to dotnet
@mikegoatly@toot.community avatar

Random #dotnet question. Can a source generator emit code that another source generator then processes?

This generator generates a [GeneratedRegex] https://gist.github.com/mikegoatly/fe36bc559e01b757c6ccb33d4020c8e9 , but the RegularExpressions generator doesn't pick it up, so compilation fails with the error:

Partial method 'RegexGeneratedClass.CapitalizedWords()' must have an implementation part because it has accessibility modifiers.

My guess is it's a limitation, but I might be doing something wrong!

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