social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

#csharp

44 posts28 participants6 posts today
Alvin Ashcraft 🐿️<p>Dew Drop – March 31, 2025 (#4393)</p><p><a href="https://www.alvinashcraft.com/2025/03/31/dew-drop-march-31-2025-4393/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">alvinashcraft.com/2025/03/31/d</span><span class="invisible">ew-drop-march-31-2025-4393/</span></a></p><p><a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/ai" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ai</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://hachyderm.io/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/visualstudio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>visualstudio</span></a> <a href="https://hachyderm.io/tags/windowsdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windowsdev</span></a> <a href="https://hachyderm.io/tags/cloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloud</span></a> <a href="https://hachyderm.io/tags/mobiledev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mobiledev</span></a> <a href="https://hachyderm.io/tags/dewdrop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dewdrop</span></a></p>
Alvin Ashcraft<p>Dew Drop – March 31, 2025 (#4393) <a href="https://www.alvinashcraft.com/2025/03/31/dew-drop-march-31-2025-4393/" rel="nofollow noopener noreferrer" target="_blank">www.alvinashcraft.com/2025/03/31/d...</a> <a class="hashtag" href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a> <a class="hashtag" href="https://bsky.app/search?q=%23ai" rel="nofollow noopener noreferrer" target="_blank">#ai</a> <a class="hashtag" href="https://bsky.app/search?q=%23csharp" rel="nofollow noopener noreferrer" target="_blank">#csharp</a> <a class="hashtag" href="https://bsky.app/search?q=%23webdev" rel="nofollow noopener noreferrer" target="_blank">#webdev</a> <a class="hashtag" href="https://bsky.app/search?q=%23visualstudio" rel="nofollow noopener noreferrer" target="_blank">#visualstudio</a> <a class="hashtag" href="https://bsky.app/search?q=%23windowsdev" rel="nofollow noopener noreferrer" target="_blank">#windowsdev</a> <a class="hashtag" href="https://bsky.app/search?q=%23cloud" rel="nofollow noopener noreferrer" target="_blank">#cloud</a> <a class="hashtag" href="https://bsky.app/search?q=%23mobiledev" rel="nofollow noopener noreferrer" target="_blank">#mobiledev</a> <a class="hashtag" href="https://bsky.app/search?q=%23dewdrop" rel="nofollow noopener noreferrer" target="_blank">#dewdrop</a><br><br><a href="https://www.alvinashcraft.com/2025/03/31/dew-drop-march-31-2025-4393/" rel="nofollow noopener noreferrer" target="_blank">Dew Drop – March 31, 2025 (#43...</a></p>
WetHat💦<p>SOLID Principle = Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.</p><p>A compact reference for developers with examples in C#</p><p><a href="https://dev.to/imajenasyon/solid-principle-4jno" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dev.to/imajenasyon/solid-princ</span><span class="invisible">iple-4jno</span></a></p><p><a href="https://fosstodon.org/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> <a href="https://fosstodon.org/tags/Csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Csharp</span></a> <a href="https://fosstodon.org/tags/BestPractice" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BestPractice</span></a> <a href="https://fosstodon.org/tags/SOLIDprinciple" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SOLIDprinciple</span></a> <a href="https://fosstodon.org/tags/OOP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OOP</span></a></p>
DelegateVoid<p>I used to use a lot of <a href="https://mastodon.gamedev.place/tags/fsharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fsharp</span></a> but as <a href="https://mastodon.gamedev.place/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> evolved over the years, I began using it less and less until I mostly forgot about it. It's still a very interesting language though.</p>
Alexandre Mutel<p>Hey, good Monday! I just released a new .NET library <a href="https://github.com/xoofx/GPUPerfAPI.NET" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/xoofx/GPUPerfAPI.NET</span><span class="invisible"></span></a> that allows to query GPU performance counters for AMD GPUs! 🎉 </p><p>I'm probably gonna be the only user of this library 😁 considering how little GPU performance counters are used in GitHub projects - only RenderDoc is using them today, that's crazy!</p><p><a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://mastodon.social/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://mastodon.social/tags/amd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>amd</span></a></p>
James Montemagno<p>I have been playing around with the new C# MCP SDK allowing you to easily create servers and clients in minutes. </p><p>It is fantastic!</p><p><a href="https://github.com/modelcontextprotocol/csharp-sdk" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/modelcontextprotoco</span><span class="invisible">l/csharp-sdk</span></a></p><p><a href="https://mastodon.social/tags/mcp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mcp</span></a> <a href="https://mastodon.social/tags/mcpserver" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mcpserver</span></a> <a href="https://mastodon.social/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a></p>
FoxFunction<p>Funny how people will kick up such a fuss about Java but it's honestly not that bad. Yeah there's technical debt and eccentricities due to its age but it's pretty easy to get to work with it. </p><p>Compared to my experience learning C# I am having a much better time. C# is fine in itself and is a lot more consistent. Although, I do not enjoy the ecosystem nor the way the documentation is currently laid out. I can get work done but it's not my preferred option at the moment.</p><p>Maybe my opinion of C# will improve with time. It was a surprise to have a much more pleasant experience with Java. I just happened to be learning and working with both languages at the same time so comparisons have been on my mind recently.</p><p><a href="https://tech.lgbt/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://tech.lgbt/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java</span></a> <a href="https://tech.lgbt/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a></p>
Dev Leader<p>Want to build your own Levels FYI website?</p><p>Levels FYI was built on spreadsheets. No database backend to start!</p><p>Are you interested in using Google Drive and Google Sheets in your next CSharp application? Get started with the Google Sheets API to access spreadsheets in dotnet and maybe you can build your very own Levels FYI site!</p><p>... Or maybe something else entirely but tapping into spreadsheets makes it easier for you to start :)</p><p>Check out the article:<br><a href="https://www.devleader.ca/2024/02/15/google-sheets-in-c-how-to-build-your-own-levels-fyi/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">devleader.ca/2024/02/15/google</span><span class="invisible">-sheets-in-c-how-to-build-your-own-levels-fyi/</span></a></p><p><a href="https://hachyderm.io/tags/GoogleSheets" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoogleSheets</span></a> <a href="https://hachyderm.io/tags/GoogleDrive" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoogleDrive</span></a> <a href="https://hachyderm.io/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a>.DotNet <a href="https://hachyderm.io/tags/GoogleCloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoogleCloud</span></a></p>
Microsoft DevBlogs<p><a href="https://dotnet.social/tags/DevTools" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DevTools</span></a> <a href="https://dotnet.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://dotnet.social/tags/LINQ" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LINQ</span></a> <a href="https://dotnet.social/tags/VisualStudio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>VisualStudio</span></a></p><p>For more information check: <a href="https://devblogs.microsoft.com/visualstudio/debugging-with-the-ai-powered-ienumerable-visualizer/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/visuals</span><span class="invisible">tudio/debugging-with-the-ai-powered-ienumerable-visualizer/</span></a>.</p>
Curtis Carter<p>I reached a breaking point of frustration today over this line of <a href="https://floss.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> code in an ASP.Net controller:</p><p>await Task.Run(()=&gt; longRunningProcess());</p><p>It returns on the next line. I was doing a security review and our normal process is to bring up nonsense code. Why would you wrap it in a Task then immediately await it. </p><p>What really got me is they defended it with the fact that longRunningProcess does return anything. And the project leads over the intersecting projects agreed.</p>
Dev Leader<p>Are CSharp events prone to memory leaks?</p><p>Well... it depends. If your objects are wired up with consistent lifetimes, especially if that lifetime is the entire duration of the application, then you're probably in the clear.</p><p>But are you struggling with memory leaks due to your event handlers and events in CSharp? Check out how weak events in CSharp can help with garbage collection and managing object lifetimes.</p><p><a href="https://hachyderm.io/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://hachyderm.io/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://hachyderm.io/tags/Coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Coding</span></a> <a href="https://hachyderm.io/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a></p>
Python Weekly 🐍<p>I Built Faster Reinforcement Learning in C# Solo Than Teams Did with Python</p><p><a href="https://rlmatrix.com/manifesto/manifesto/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">rlmatrix.com/manifesto/manifes</span><span class="invisible">to/</span></a></p><p>Discussions: <a href="https://discu.eu/q/https://rlmatrix.com/manifesto/manifesto/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://rlmatrix.co</span><span class="invisible">m/manifesto/manifesto/</span></a></p><p><a href="https://mastodon.social/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a></p>
WetHat💦<p>How to fix slow code:<br>➡️ Avoid logging everything in production: it eats resources and slows execution.<br>➡️ Loops matter: use optimized methods like list comprehensions in Python for speed.<br>➡️ Be mindful of hardware quirks like cache misses and memory fragmentation.<br>➡️ Understand how database queries and copy-paste operations can impact efficiency. </p><p><a href="https://www.freecodecamp.org/news/why-your-code-is-slow-common-performance-mistakes-beginners-make/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">freecodecamp.org/news/why-your</span><span class="invisible">-code-is-slow-common-performance-mistakes-beginners-make/</span></a></p><p><a href="https://fosstodon.org/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a> <a href="https://fosstodon.org/tags/Csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Csharp</span></a></p>

C# nerds and aspnet core fans how do you do (not how does one but how do you specifically) handle auth between an api and a front end? the docs are like "noooo don't use jwt use oidc!!" and then only seem to provide docs for oidc integration in razor? i can probably figure it out but i feel like i'm "holding something wrong." is it just that microsoft wants you to use entra and nothing else? #dotnet #csharp #fediHelp