dotnet

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

I may be late to the party here, but this Hydro project looks very cool.

https://usehydro.dev/

cc @alexzeitler

alexzeitler,
@alexzeitler@mastodon.social avatar

@khalidabuhakmeh The right level of abstraction for me still is MVC + HTMX.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@alexzeitler I agree.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

The VCS integration in #JetBrainsRider is so awesome. If you find a file in your commit window you need to ignore, you can just right-click and "Add to .gitignore”. No more tracking down the file and figuring out where to put the line. #dotnet #git #vcs #software #development

rafaelldi,
@rafaelldi@mastodon.social avatar

@khalidabuhakmeh Cool! I didn't know that

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Hey and @avaloniaui folks. We're looking for happy users who want to give a testimonial for each technology.

If you're interested, please DM me. Boosts appreciated.

Hinnerk,
@Hinnerk@mastodon.social avatar

@khalidabuhakmeh First looked at Rider when MS abandoned VS on Mac. Now using it 100% for Maui and Blazor projects over a couple of month. There was a bit of friction from muscle memory but so far I am missing nothing. If you have questions I am happy to provide experience from the transition.

sinkinstar,

@khalidabuhakmeh @avaloniaui happy to contribute for MAUI if you are still shopping.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Just your average Visual Studio features brainstorming session. #dotnet

b4ux1t3,
@b4ux1t3@hachyderm.io avatar

@khalidabuhakmeh I'm not actually caught up on the news (Don't follow VS), wha'd they copy this time?

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@b4ux1t3 localization editor.

alvinashcraft,
@alvinashcraft@hachyderm.io avatar

Building Linux Desktops apps with .NET and Uno Platform | On .NET with James Montemagno.


https://www.youtube.com/watch?v=OxyJYF2HgBM&ab_channel=dotnet

nicola,
@nicola@fosstodon.org avatar

Today, I learned how to handle custom claims in an Open ID Connect-authenticated ASP.NET Core app.

https://nicolaiarocci.com/how-to-handle-custom-claims-in-an-oidc-authenticated-aspnet-core-app/

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

I should have known that @rafaelldi would have a great post on getting tools inside containers. This guy is too smart!

https://rafaelldi.github.io/diagnostics-tools-inside-docker/

rafaelldi,
@rafaelldi@mastodon.social avatar

@khalidabuhakmeh even my mom doesn't say such nice words to me

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Strange question, but can you bundle tools with a dotnet publish? These tools are part of the tool-manifest.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@SmartmanApps @khalidabuhakmeh I'm not even sure I understand the question :) I've never worked with dotnet publish and don't know what tool-manifest is. I just use <PackAsTool> in the .csproj to produce a .nupkg when the project builds.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@KirillOsenkov @SmartmanApps I'm trying to "dotnet tool install" in a docker container. Not really MSBuild related.

alvinashcraft,
@alvinashcraft@hachyderm.io avatar

Building .NET apps for Linux from any operating system with @UnoPlatform.

#dotnet #linux #unoplatform #csharp
https://platform.uno/blog/building-net-apps-for-linux-from-any-operating-system/

jakecarpenter,
@jakecarpenter@hachyderm.io avatar

An update notice reminded me of this plugin for #Jetbrains #Rider. Every #dotnet developer should use a plugin like this. I see this one supports #Resharper too, but if there's another extension like it for Visual Studio running sans-Resharper I'd love to know in order to keep my team in check.

It has become a tool that I don't need much anymore because it has helped me so much in the past to recognize complex code

https://plugins.jetbrains.com/plugin/12024-cognitivecomplexity

maartenballiauw,
@maartenballiauw@mastodon.online avatar

9 Things You Didn’t Know About JetBrains Rider’s #NuGet Support 📦

🔍 Search, add, update, remove
📂 Sources and caches
🚀 Find code that uses a package
❤️‍🔥 And more!

We've got some slick UI in place 👀 #dotnet
https://blog.jetbrains.com/dotnet/2024/05/29/9-things-you-didn-t-know-about-jetbrains-rider-s-nuget-support/?utm_medium=social&utm_source=mastodon&utm_campaign=9-things-you-didn-t-know-about-jetbrains-rider-s-nuget-support

bradwilson, (edited )
@bradwilson@mastodon.social avatar

This is super duper extra important.

C# Nullable Reference Types are a compile-time thing, not a runtime thing. "string?" and "string" are both just "string" at runtime.

This means:

  • Always guard against your users passing null even for types that shouldn't allow it, because it's not a runtime guarantee.

  • You can't create overloads that differ only on nullability (i.e., Method(string) vs. Method(string?)) because they're the same type at runtime.

agocke,
@agocke@hachyderm.io avatar

@tannergooding @khalidabuhakmeh @bradwilson yes. That was the core design of the previous feature. But I want the opposite.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@agocke @tannergooding @bradwilson If you want it, that’s all the reason we need. Ship it!

Turious,
@Turious@mastodon.social avatar

If I have a simple C# 4.8 application and I wanted to add a way to feed it instructions remotely, how would I do that? This will be a program running fullscreen that needs full control of the mouse/keyboard.

All API tutorials I can find either describe .NET Core or controller options I do not have available because this is a basic project.

andrewlock,
@andrewlock@hachyderm.io avatar

Blogged: Blocking primary constructor member capture using a Roslyn Analyzer

https://andrewlock.net/blocking-primary-constructor-member-capture-using-an-analyzer/

In this post I describe a Rosyln analyzer you can use to enforce that primary constructors are only used for initialization and never to capture as fields

#dotnet #csharp

andrewlock,
@andrewlock@hachyderm.io avatar

@khalidabuhakmeh THANK YOU 😂

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@andrewlock In retrospect, I wonder if having similar syntax to records but different semantics is a landmine waiting for folks to step on. 🤔

Guess it's too late now. C'est La Vie.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

It’s nice to know I live rent-free in the minds of #dotnet folks, so much so that they felt the need to come by the BUILD booth to tell our JetBrains folks about me. 😅

Anyways, xoxo

jakecarpenter,
@jakecarpenter@hachyderm.io avatar

@khalidabuhakmeh it better have been #dropthedot support

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@jakecarpenter Perhaps… it is annoying when you know someone is right. :P

meziantou,
@meziantou@hachyderm.io avatar
bradwilson,
@bradwilson@mastodon.social avatar

@meziantou Criminal, if only someone had told them how to fix this 😭😂

yoh,
@yoh@hachyderm.io avatar

A new article just dropped! ✨

This time I decided to go with the analysis based on the work initially made by @joaofbantunes. Be ready to see some assembly code generated by the JIT compiler, see some #dotnet source code and finally find if strong typing means poor performance or not.

https://yoh.dev/weakly-and-strongly-typed-values-in-dotnet

pdebruin,
@pdebruin@hachyderm.io avatar

Less nano seconds and allocations just made me smile 🙂 at an #MSBuild video where @shanselman and @stephentoub geek out over improving #performance of string operations in .NET libraries. #MSBuild YouTube video https://www.youtube.com/watch?v=TRFfTdzpk-M #dotnet
If you like this highly technical content on .NET, check out their series https://www.youtube.com/watch?v=R-z2Hv-7nxk&list=PLdo4fOcmZ0oX8eqDkSw4hH9cSehrGgdr1

maartenballiauw,
@maartenballiauw@mastodon.online avatar

We’re hosting the .NET Days Online again, and are looking for great sessions! #dotnet #cfp #JetBrains

If you’re available on September 25 or 26, and have a topic you’d like to present on, check out our Call for Speakers 👉
https://blog.jetbrains.com/dotnet/2024/05/02/jetbrains-dotnet-days-online-2024/?utm_medium=social&utm_source=mastodon&utm_campaign=jetbrains-dotnet-days-online-2024

xunit,
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.8.1, Analyzers 1.14.0, and Visual Studio adapter 2.8.1.

Release notes:

https://xunit.net/releases/v2/2.8.1
https://xunit.net/releases/analyzers/1.14.0
https://xunit.net/releases/visualstudio/2.8.1

#dotnet #csharp #fsharp #unittest #tdd

bradwilson,
@bradwilson@mastodon.social avatar

Anybody know when we get the #Roslyn 4.10 NuGet packages (like Microsoft.CodeAnalysis)?

I'm assuming they're going to follow the "even" pattern and declare 17.10 as LTSC, which means I will want to officially support Roslyn 4.10. Both of these pages are currently out of date:

https://learn.microsoft.com/en-us/visualstudio/productinfo/vs-servicing

https://learn.microsoft.com/en-us/visualstudio/extensibility/roslyn-version-support?view=vs-2022

#dotnet

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

@bradwilson They are available in prerelease right now. I just added them to a local language server.

bradwilson,
@bradwilson@mastodon.social avatar

@khalidabuhakmeh I know, but I'm not shipping @xunit analyzers linked against a pre-release library.

xoofx,
@xoofx@mastodon.social avatar

I'm sold on building my .NET NativeAOT Vulkan prototype on top of wlroots https://gitlab.freedesktop.org/wlroots/wlroots instead of going raw with DRM/KMS. Any folks that experienced wlroots?

Gonna have to create a binding for this one though, before I can start anything, but that will be hopefully a lot less work than dealing directly with DRM/KMS 😅

#dotnet

xoofx,
@xoofx@mastodon.social avatar

Just updated my Vulkan bindings https://github.com/XenoAtom/XenoAtom.Interop/tree/main/src/vulkan

I have used the vk.xml registry & parsed the man docs to generate a complete Vulkan API with intellisense! 🚀

I took also the opportunity to add overloads in/out parameters, ReadOnlySpan/Spans and make optional params with default value. Lots of codegen, but that was worth it 😎

The vulkan_core.generated.cs is over 90,000 lines of C# code 🙈

Next step: Bare metal Vulkan C# NativeAOT on top of the Linux kernel + libdrm 😱

#dotnet #csharp

joaofbantunes,
@joaofbantunes@mastodon.social avatar

I'm such an idiot 🤦‍♂️
For years installing SDKs manually when dnvm is a thing. So much better!

cincura_net,
@cincura_net@mas.to avatar

Blogged: Entity Framework Core 8 provider for Firebird is ready

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

cwoodruff,
@cwoodruff@mastodon.social avatar
cincura_net,
@cincura_net@mas.to avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • dotnet
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines