anthony_steele, to CSharp
@anthony_steele@dotnet.social avatar

Automating in code on commit with format, and .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.

nietras, to dotnet
@nietras@mastodon.social avatar

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

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.

poppastring, to CSharp
@poppastring@dotnet.social avatar

NuGet Commands in C# Dev Kit -

You can now manage your NuGet packages directly from Visual Studio Code using the new commands in the command palette.

#csharp #devkit #vscode :vscode: :csharp:

https://devblogs.microsoft.com/nuget/announcing-nuget-commands-in-c-dev-kit/

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.

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

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/

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

devdigest, to CSharp
@devdigest@mastodon.social avatar
xoofx, to dotnet
@xoofx@mastodon.social avatar

Hey, late Saturday night, but I just released a new .NET library https://github.com/XenoAtom/XenoAtom.CommandLine Finally a lightweight command line parser compatible with NativeAOT, a direct fork/descendant of NDesk.Options/Mono.Options supporting all its features - and more! and the easiness of using it! 🥳

#dotnet #csharp

aeveltstra, (edited ) to Java
@aeveltstra@mastodon.social avatar

Reflection considered harmful

In the and OOP programming languages, is used to not only review an object’s private fields and methods, but also to access and change them.

This is used for instance by large libraries and frameworks, by preprocessors, and of course by the standard library itself.

It is dangerous because it can break a class’ definition of what should be private and inaccessible.

Every programmer should know.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

🔮 We’re doing a in the FUTURE today with Chris Simon. (Actually, he’s just in Australia, but he’s a full day ahead!)

👨‍🏫 He’ll teach us about , , and . Please come hang out in the chat. It's always so lively and fun.

👍 Boosts appreciated.

https://www.youtube.com/watch?v=gXz7gKtRVpM

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

I’m hosting Chris Simon on a to discuss , , and . Not to be confused with D&D, which is about wizards, dragons, and dungeon masters… wait it's pretty similar.

https://www.youtube.com/live/gXz7gKtRVpM?si=Uc_kn-GzdEIvSR_p

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

🕹️ I wrote a tutorial to help you build a pong game using the latest version of and with .

🏓 I'm pretty proud of the guided part, as I was able to break down working in the Godot editor and then code, so the only bouncing back and forth is in the game of .

🧑‍🚀 Give it a try, and let me know what you think.

🙏 Boosts are appreciated :)

https://www.jetbrains.com/guide/gamedev/tutorials/rider-godot-pong/

cwoodruff, to dotnet
@cwoodruff@mastodon.social avatar

The book Beyond Boundaries—Networking Programming with C# 12 and .NET 8 can be read online here! https://csharp-network.com

Chap 1 Overview of Network Programming https://csharp-networking.com/chapter01
Chap 2 Fundamentals of Networking Concepts https://csharp-networking.com/chapter02
Chap 3 Introduction to Socket Programming https://csharp-networking.com/chapter03
Chap 4 Asynchronous Programming with Async/Await https://csharp-networking.com/chapter04
Chap 5 Multithreading in Network Applications https://csharp-networking.com/chapter05

dreamykeaver, to linux
@dreamykeaver@chitter.xyz avatar

Are there reasons why C# is not used much for software ?

Can someone explains me I'm genuinely confused. I haven't heard of Mono a while ago.

beef, to python
@beef@hachyderm.io avatar

hi!

My friend is looking into contributing to open source but doesn't know where to start. They have experience in Python, C# (Unity), Swift, and React. Does anyone have some pointers or projects they could look into to get started?

glitchypixel, to CSharp Spanish
@glitchypixel@mastodon.gamedev.place avatar

Hm is it me or there is some sort of obsession to constantly update a programming language to fill it with "stuff" and "features"

I'm noticing a clear trend for this in and , but I'm sure there are others

I mean people keep asking why C is still widely used. I'm pretty sure that one of the reasons is that the spec has barely changed in 50 years or so and it works

C'mon some programming languages are fine as they are, please don't keep crowding them unless absolutely necessary pls?

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.8.0, Analyzers 1.13.0, and Visual Studio adapter 2.8.0. The primary purpose of this release is a new parallelism algorithm that should make test timing more reliable, and make thread deadlocks in your tests less likely.

Read all about the new algorithm here: https://xunit.net/docs/running-tests-in-parallel#algorithms

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.8.0
https://xunit.net/releases/analyzers/1.13.0
https://xunit.net/releases/visualstudio/2.8.0

joaofbantunes, to Kubernetes
@joaofbantunes@mastodon.social avatar

Exploring some ideas, messing with the API using the client 🙂

poppastring, to fediverse
@poppastring@dotnet.social avatar

Has anyone implemented Activity Pub with ASP.NET Core?

Not just types and objects but something that could be used for basic federation.

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

Dew Drop – April 22, 2024 ()

Top links:

  • How to create a trial version for a C# Windows Forms app
  • Will Visual Studio be migrated to .NET Core and become multi-platform?
  • React Native Radio - RIP App Center and other news
  • Wolverine's new PostgreSQL messaging transport
  • A short guide to mastering keyboard shortcuts on GitHub
  • Build your first ML Model with ML.NET Model Builder

https://www.alvinashcraft.com/2024/04/22/dew-drop-april-22-2024-4174/

bradwilson, to vscode
@bradwilson@mastodon.social avatar

I am extraordinarily annoyed by the fact that #Copilot appears to be enabled by default now in #VSCode and I can't find any way to turn it off. #dotnet #csharp

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

Uploaded my Pong game. It's really my first game, and I probably would do a few things differently, but it's pretty good for a first attempt (in my opinion).

If you're interested, check it out!

https://github.com/khalidabuhakmeh/RiderPong

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