dotnet

jakecarpenter,
@jakecarpenter@hachyderm.io avatar

An update notice reminded me of this plugin for . Every developer should use a plugin like this. I see this one supports 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 Support 📦

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

We've got some slick UI in place 👀
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

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 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 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 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 video where @shanselman and @stephentoub geek out over improving of string operations in .NET libraries. YouTube video https://www.youtube.com/watch?v=TRFfTdzpk-M
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!

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

bradwilson,
@bradwilson@mastodon.social avatar

Anybody know when we get the 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 )
@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 😅

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 😱

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

#efcore #firebird #firebirdsql #database #dotnet

cwoodruff,
@cwoodruff@mastodon.social avatar
cincura_net,
@cincura_net@mas.to avatar
gregsdennis,
@gregsdennis@dotnet.social avatar

Just a reminder that if you'd like to promote continued development of JSON tech like and others in , please consider sponsoring the .

https://github.com/sponsors/gregsdennis
https://github.com/gregsdennis/json-everything

Also goes for any project.

bradwilson,
@bradwilson@mastodon.social avatar

I've been noticing whole-machine slow downs whenever I heavily use my Dev Drive (for example, building source) that are just unacceptable.

A common example is I'll start a full build in Visual Studio and then go to type in Windows Terminal and everything I type will be delayed by multiple seconds. Even pasting will show only a few characters at a time.

So, back to raw SSD and (sigh) NTFS for now.

maartenballiauw,
@maartenballiauw@mastodon.online avatar

@bradwilson @SmartmanApps Found it faster but a minor difference. Seems to have more to do with Defender being async on dev drive

bradwilson,
@bradwilson@mastodon.social avatar

@maartenballiauw @SmartmanApps I always exclude my source folder from Defender.

joaofbantunes,
@joaofbantunes@mastodon.social avatar

My company just made the official IDE for development 😍

I don't have anything against VS, but I just enjoy that we really make use of the available options, instead of being completely locked into everything Microsoft.

We build applications using .NET, Java and other stacks, deploy to Kubernetes on AWS, use Kafka, plus a bunch of other technologies, all working nicely together, without using everything from a single company. Love this!

joaofbantunes,
@joaofbantunes@mastodon.social avatar

@khalidabuhakmeh didn't do anything though, but thought about sharing 🙂

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@joaofbantunes Don’t be humble. You did your part. You showed folks the joy of using Rider. That’s all it takes. 😅

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Should the #dotnet community read this list in an order of priority?

dolanor,
@dolanor@hachyderm.io avatar

@rockylhotka @khalidabuhakmeh @elan @redzimskidev @KirillOsenkov @bradwilson
I don't know if it's things like that you're thinking about about, but have you heard about https://go-app.dev/ ?

too_little_caffeine,
@too_little_caffeine@dotnet.social avatar

@dolanor @rockylhotka @khalidabuhakmeh @elan @redzimskidev @KirillOsenkov @bradwilson

That's pretty cool! I've been keeping my eye on Tauri, personally.

https://tauri.app/

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Watching the publishing demo and just imagining the bill on that application. It has to be astronomical.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@piofthings I will say that in your example, pricing/cost is predictable.

Azure pricing is very difficult to predict, that’s why they have hard cutoff features in cloud environments to keep you from bankrupting yourself.

No one every went bankrupt adding a new user to their Bitbucket account. 😅

piofthings,
@piofthings@mastodon.social avatar

@khalidabuhakmeh oh yeah, that was just the starter! AWS has a Jupyter notebook thingy! Someone started an instance and closed it when done! Two months and $$$ later, apparently that started some neptune DB instance that was still running! Ditto with an LLM thing. Service started, project done, Service stopped! Two months later something called OpenSearch is costing $$$!!!

davidpine,
@davidpine@dotnet.social avatar

📢 .NET Aspire is now generally available!

🪄 App Host (Orchestrator)
📈 Developer Dashboard
🧩 Components
🚀 Deployment
🔍 Service Discovery
🤓 C# > YAML
📏 Telemetry,
🔌 Framework Integrations
🛠️ Tooling & Templates
✅ Extensible

:dotnet:

https://learn.microsoft.com/dotnet/aspire

.NET Aspire dashboard displaying the Metrics page selected with a "webfrontend" resource's instrumentation/meter for System.Net.Http, as a graphical representation of HTTP request durations.
An Azure Developer CLI (azd) command diagram used to help depict the process, step by step, by which a .NET Aspire app is deployed to Azure.

laimis,
@laimis@mstdn.social avatar
maartenballiauw,
@maartenballiauw@mastodon.online avatar

A fresh live stream is coming up! Oren Eini will be joining us:

📺 Building a Database Engine in C# and .NET
🗣 Speaker: Oren Eini

📅 Jun 18, Tue, 8pm EDT / 10am AEST / 5pm PDT
🤗 Open to all, welcome!

#dotnet #csharp #ravendb
https://blog.jetbrains.com/dotnet/2024/05/16/oren-eini-building-a-database-engine-in-csharp-and-dotnet-june-18th-livestream/?utm_medium=social&utm_source=mastodon&utm_campaign=oren-eini-building-a-database-engine-in-csharp-and-dotnet-june-18th-livestream

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Question for folks. While can do a lot of things, what do you think the quintessential experience/workflow is?

"I sit down at a computer and…”

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@range_marten It’s been 2 hours, and I’m ready!

Asymmetricblue,
@Asymmetricblue@mastodon.social avatar

@khalidabuhakmeh Depends if I am starting something new or not.
If not, pull latest, run all tests, then start changes.
I typically start new things from opinionated templates that I’ve built.

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