khalidabuhakmeh, I may be late to the #aspnetcore party here, but this Hydro project looks very cool. #dotnet
cc @alexzeitler
khalidabuhakmeh, 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, @khalidabuhakmeh Cool! I didn't know that
khalidabuhakmeh, Hey #dotnetmaui and @avaloniaui folks. We're looking for happy #JetBrainsRider users who want to give a testimonial for each technology.
If you're interested, please DM me. Boosts appreciated.
Hinnerk, German @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, Just your average Visual Studio features brainstorming session. #dotnet
b4ux1t3, @khalidabuhakmeh I'm not actually caught up on the news (Don't follow VS), wha'd they copy this time?
khalidabuhakmeh, @b4ux1t3 localization editor.
alvinashcraft, Building Linux Desktops apps with .NET and Uno Platform | On .NET with James Montemagno.
#unoplatform #devcommunity #dotnet #csharp #xaml #mobiledev #linux
https://www.youtube.com/watch?v=OxyJYF2HgBM&ab_channel=dotnet
nicola, 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, I should have known that @rafaelldi would have a great #docker post on getting #dotnet tools inside containers. This guy is too smart!
https://rafaelldi.github.io/diagnostics-tools-inside-docker/
rafaelldi, @khalidabuhakmeh even my mom doesn't say such nice words to me
khalidabuhakmeh, Strange question, but can you bundle #dotnet tools with a dotnet publish? These tools are part of the tool-manifest.
KirillOsenkov, @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, @KirillOsenkov @SmartmanApps I'm trying to "dotnet tool install" in a docker container. Not really MSBuild related.
alvinashcraft, 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, 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, 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 ) 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, @tannergooding @khalidabuhakmeh @bradwilson yes. That was the core design of the previous feature. But I want the opposite.
khalidabuhakmeh, @agocke @tannergooding @bradwilson If you want it, that’s all the reason we need. Ship it!
Turious, 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, 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
andrewlock, @khalidabuhakmeh THANK YOU 😂
khalidabuhakmeh, @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, 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, @khalidabuhakmeh it better have been #dropthedot support
khalidabuhakmeh, @jakecarpenter Perhaps… it is annoying when you know someone is right. :P
meziantou, How to test a Roslyn analyzer #dotnet #roslyn https://www.meziantou.net/how-to-test-a-roslyn-analyzer.htm?utm_medium=social&utm_source=mastodon
bradwilson, @meziantou Criminal, if only someone had told them how to fix this 😭😂
yoh, 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.
pdebruin, 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, 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, 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
bradwilson, 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
khalidabuhakmeh, (edited ) @bradwilson They are available in prerelease right now. I just added them to a local language server.
bradwilson, @khalidabuhakmeh I know, but I'm not shipping @xunit analyzers linked against a pre-release library.
xoofx, 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 😅
xoofx, 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 😱
joaofbantunes, I'm such an idiot 🤦♂️
For years installing #DotNet SDKs manually when dnvm is a thing. So much better!
cincura_net, Blogged: Entity Framework Core 8 provider for Firebird is ready
cwoodruff, @cincura_net I migrated my demo database to @firebirdsql
https://elk.zone/mastodon.social/@cwoodruff/112507653238779538
cincura_net, Czech @cwoodruff @firebirdsql Nice.