Best of .NET — October 2023
- 1
- 2
- 3
- 4
- 5
LambdaTest·3y
How to Run Multiple NUnit Test Cases
Learn how to run multiple test cases in NUnit and Selenium using data-driven testing and parallelization. NUnit is an open-source unit testing framework for .NET languages. It provides a simple and intuitive way to write and execute tests. Data-driven testing allows you to test your code with multiple input datasets, and NUnit supports parallel execution of tests to reduce overall test execution time.
- 6
Code Maze·3y
Understanding the Unit of Work Pattern in C#
The unit of work pattern is a design pattern that separates the responsibility of managing transactions from the repositories in a data access layer. It allows multiple database operations to be grouped together as a single unit of work, ensuring data consistency. The advantages of using this pattern include abstraction, improved data consistency, and better performance. The unit of work pattern can be implemented with different ORM frameworks such as Entity Framework Core and Dapper.
- 7
Auth0·3y
.NET 8: What's New for Authentication and Authorization
The release of .NET 8 brings authentication and authorization enhancements such as the new bearer token authentication handler for token-based authentication, Identity API endpoints for user authentication and account management, and simplification in defining custom authorization policies.
- 8
Discover .NET·3y
The Easiest Way to Create PDFs in .NET
Learn how to easily create PDFs in .NET using the Quest PDF library. The library provides a fluent API for creating PDFs and offers a previewer for real-time customization. It is open source with licensing options available, making it a sustainable project. Pricing options for Quest PDF range from free for developers to affordable plans for companies.
- 9
ITNEXT·3y
End-to-End Type Safety with .NET 7 Web APIs, TypeScript, and OpenAPI
Learn how to achieve end-to-end type safety with .NET 7 Web APIs, TypeScript, and OpenAPI. Set up the frontend and backend configurations, generate OpenAPI schema and TypeScript client bindings, and enable hot reload for development.
- 10
Milan Jovanović·3y
Functional Error Handling in .NET With the Result Pattern
Handle errors in a functional way using the Result pattern in .NET. The Result pattern allows you to express the intent that a method could fail, encapsulate application errors, and provide a functional way to handle them. You can also document application errors using the Error class.
- 11
- 12
.NET Escapades·3y
Updates to Docker images in .NET 8
The article describes the updates to Docker images in .NET 8. It covers the support for chiseled containers, smaller images and improved R2R with composite images, running container images with non-root users, changes in port default for ASP.NET Core apps, dependency changes in Alpine .NET 8 images, version-specific tags for Windows images, and changes in the default Linux distros for the images.
- 13
.NET Blog·3y
Now Generally Available
Announcement of the general availability of C# Dev Kit, a Visual Studio Code extension that brings an improved C# development experience to Linux, macOS, and Windows. The kit leverages core C# language services and offers additional productivity value to developers. Updates and improvements will be made on a monthly basis.
- 14