Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations.
Exception handling is different for asynchronous code. Learn the exception handling semantics for asynchronous methods in C#.
Take advantage of the FromServices attribute in ASP.NET Core to inject dependencies directly into your action methods.
Take advantage of cookies to store and retrieve user-specific information in your ASP.NET Core web application.
Take advantage of the static files middleware in ASP.NET Core to serve HTML, CSS, JavaScript, and images to the client.
Take advantage of URL Rewriting Middleware in ASP.NET Core to implement URL redirection and URL rewriting.
Take advantage of channels to implement the fast, efficient, asynchronous producer-consumer pattern in .NET Core.
Take advantage of rate limiting in ASP.NET Core to prevent malicious attacks on your web application.
Take advantage of Application Insights to monitor performance and detect and diagnose performance issues in your web application.
Take advantage of the free and flexible NLog to log your application data with the features and efficiency you need.
Learn to handle runtime errors using exceptions and return appropriate error codes and error messages in ASP.NET Web API.
Take advantage of global exception handling to avoid writing scads of boilerplate exception handling code in ASP.NET Core MVC.
Learn to change the default behavior and return HTTP 404 when action methods in ASP.NET Core return null values.
Take advantage of API versioning in ASP.NET Core to maintain multiple versions of the same API.
Learn how to use the new template available in ASP.NET Core 3.0 to build a worker service.
Take advantage of the easy-to-use cryptographic API in ASP.NET Core to secure sensitive data in your applications.
Take advantage of advanced operations such as conditional branching when working with middleware in ASP.NET Core.
Take advantage of the session middleware component in ASP.Net Core to store and retrieve user data
Take advantage of the lightweight, open source Dapper to simplify data access and ensure high performance
Take advantage of the command design pattern to decouple the requester of an action from the object that executes the action
How to use profiles, reverse mapping, nested mapping, and other advanced operations of the open source object mapper AutoMapper
Take advantage of these best practices to create lean, clean, and flexible controllers in ASP.Net Core
Follow these best practices when using asynchronous programming in .NET Core to build more performant and scalable applications.
Use AutoMapper to eliminate the need to write tedious boilerplate code when mapping objects in your application.
Take advantage of these best practices to ensure that changes to your API don’t break compatibility with current clients.
Take advantage of open source Swashbuckle to generate Swagger documents for your ASP.NET Core Web API.
Take advantage of dependency injection to create flexible, loosely coupled ASP.Net Web Forms applications
Take advantage of the Autofac inversion of control container to manage dependencies in your ASP.Net Core applications
Take advantage of MediatR and the mediator design pattern to reduce the dependencies between objects in your ASP.Net Core applications
Take advantage of the lightweight and fast Nancy framework for building HTTP-based services in .Net Core
Follow these best practices for using interfaces to avoid interface overuse when designing your types
Take advantage of the IHostedService interface to execute background tasks in your ASP.Net Core applications
Take advantage of the IFormFile interface in ASP.Net Core MVC to upload small files, large files, and multiple files
Take advantage of the strategy design pattern to encapsulate a set of algorithms inside a class and vary them based on input
Take advantage of these best practices to reduce resource consumption and improve the performance of your ASP.Net Core applications
Take advantage of health check middleware in ASP.Net Core to monitor the health of your application, its database connection, and more
Take advantage of the powerful static code analysis tool to identify and understand issues in your .Net application’s code
Take advantage of the Glimpse debugging and diagnostics tool to gain insight into the performance of your ASP.Net Core web application
Learn how to build a custom output formatter in ASP.Net Core to exchange data in formats other than JSON, XML, and plain text
Take advantage of the data-saving mode in Chrome and Opera browsers to deliver lighter and faster ASP.Net Core applications
Take advantage of Alachisoft’s free, open-source, distributed, in-memory cache to improve the performance and scalability of your ASP.Net Core applications
Take advantage of Lamar, the speedy successor to StructureMap, to inject dependencies in ASP.Net Core
Take advantage of fake authentication/authorization checks to simplify integration tests in ASP.Net Core
Learn how managed pointers differ from object references, why they are useful, and how to work with them in C#
Declare static classes and static members of a class to improve performance of your .NET applications.
Take advantage of the simple and powerful MiniProfiler to identify performance bottlenecks in your ASP.Net Core MVC applications
Take advantage of Azure Table storage in your .Net applications to store large amounts of key-value data in the Microsoft cloud
Take advantage of action filters in ASP.NET Core MVC to execute custom code at specific points in the request pipeline
Take advantage of the CORS middleware in ASP.NET Core to bypass the security restrictions of the web browser and allow cross-origin requests.
Learn how to use the Microsoft Connected Services extension to consume a WCF SOAP service from ASP.Net Core
Sponsored Links