A new wave of analyzers in .NET 8 #29
Replies: 5 comments 24 replies
-
|
Concerning the ToLower() stuff, there is also a trap with special characters like the Turkish I we stumbled upon once with a Turkish user |
Beta Was this translation helpful? Give feedback.
-
|
The Any() rule feels like a micro-optimization. If I was considering that, I might also consider migrating that performance-critical code to C++ or Rust. |
Beta Was this translation helpful? Give feedback.
-
|
I realise it's not the point of the article but I think the logic for these two lines is inverted: I think it should be: Or rename |
Beta Was this translation helpful? Give feedback.
-
|
Regarding |
Beta Was this translation helpful? Give feedback.
-
|
A little bit of the toppic, but I waiting for a new solution how to retrieve the HttpContext over the DI outside the Controllers after the IHttpContextAccessor is no longer available |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A new wave of analyzers in .NET 8
Analyzers did become an integral part of the .NET ecosystem. Their main responsibility is to find potential code issues and warn you. Often times this comes even with potential fixes you can directly apply.
And Microsoft will continue this journey with the upcoming .NET 8 release. This blog post will show you potential candidates, which will make the cut.
https://steven-giesel.com/blogPost/1a03a998-e428-4a42-9c30-1cfbf6ac5f4c
Beta Was this translation helpful? Give feedback.
All reactions