Best of .NET — May 2024
- 1
- 2
- 3
Tech World With Milan·2y
Enabling High-Quality Code in .NET
Discover methods and techniques for superior code quality in .NET, including code reviews, static code analysis, automated testing, and more. Learn about tools like SonarQube for checking code quality and enforcing coding standards. Find out how to use SonarQube locally and in CI/CD pipelines, and learn about best practices and metrics for SonarQube analysis.
- 4
.NET Escapades·2y
An introduction to primary constructors in C#12
This post introduces the primary constructors feature in C#12 and discusses its use in reducing duplication in classes. It explains two approaches to use primary constructors and how they work behind the scenes. The post also mentions the advantages and disadvantages of using primary constructors.
- 5
Code Maze·2y
Using the Result Pattern in .NET Web API
The post introduces the Result Pattern as a way to return a response containing the operation's outcome and any data it returned. It compares the Result Pattern to other methods of returning results in apps, such as null checking and exceptions for control flow. It also discusses how FluentResults can be used for implementing the Result Pattern.
- 6
- 7
- 8
Nick Chapsas·2y
Swagger is Going Away in .NET 9!
Swagger is being removed in .NET 9, but alternative packages are available. Microsoft is aiming to provide more flexibility and features with their own package. The decision has sparked a discussion on whether Microsoft should build these packages in-house or support external packages.
- 9
John Reilly·2y
Serialising ASP.NET method calls for later execution
Learn how to serialise ASP.NET method calls for later execution by storing the type of object, the method, and the parameter values. Find out how to deserialise and execute the method call using reflection and the MethodCallInvoker class.
- 10
- 11
- 12
- 13
.NET Blog·2y
General Availability of .NET Aspire: Simplifying .NET Cloud-Native Development
General Availability of .NET Aspire, a stack that simplifies .NET cloud-native development. It brings together tools, templates, and NuGet packages to help build distributed applications in .NET more easily. It includes features like App Host project, Aspire Dashboard, and Aspire Components for resiliency and observability.
- 14
Waseem .NET Newsletter·2y
EP 59 : A Guide to Unit Testing Project Setup in .NET
This post provides a guide to setting up a unit testing project in .NET, including steps for creating the project, adding references, installing necessary NuGet packages, and writing the first unit test. It also introduces the concepts of the Fact Attribute in xUnit and mocking interfaces using NSubstitute.
- 15
- 16
- 17
Hacker News·2y
Uno Platform: Create Beautiful
Uno Platform is an open-source platform for building beautiful .NET apps faster. It allows developers to create native mobile, web, desktop, and embedded apps using a single codebase. It supports various OS, IDE, state management, and design systems. Developers can use their favorite IDE, develop UIs using C# or XAML, and take advantage of tools like C# and XAML Hot Reload. Uno Platform provides reusable UI components, rich UI with native features and performance, and flexibility in app theming and custom components or design systems.
- 18
- 19
- 20
Awesome·2y
Last Chance To Get Rich!
The post discusses the release of chbt 40 and the potential to make money as a software developer by developing micro sess products using the new GPT version. It also provides a tutorial on building a web app that gives recipes and nutritional values based on leftovers using solid JS.
- 21
InfoWorld·2y
C# 13 enhances params, introduces extension types
C# 13 enhances 'params' parameters to provide more flexibility and introduces extension types for customizing specific instances of underlying objects. Other improvements planned for C# 13 include field access in auto-properties and a revamped approach to breaking changes for cleaner language evolution.
- 22
- 23
- 24
DEV·2y
Get SQL-Server Stored Procedures with C#
Learn how to get SQL-Server stored procedures with C# using Microsoft Visual Studio 2022 and .NET 8 Framework. Explore the benefits of using stored procedures in C# and the required tools. Save stored procedure definitions to files for syntax coloring and easy access.
- 25
.NET Blog·2y
.NET Announcements & Updates from Microsoft Build 2024
Microsoft Build 2024 announced new features and tools to make .NET development faster and easier. The updates include improvements in AI development with .NET, new features in .NET 9 for cloud-native development, enhancements in web development with ASP.NET Core and Blazor, and improvements in multi-platform development with .NET MAUI.