How to log data to SQL Server in ASP.NET Core

How to log data to SQL Server in ASP.NET Core

Take advantage of the open source library Serilog to log your ASP.NET Core application’s data to SQL Server or another database target

How to use asynchronous streams in C# 8.0

How to use asynchronous streams in C# 8.0

Take advantage of the ability to create and consume data streams asynchronously in C# 8.0 to improve the performance of your applications

How to schedule jobs using Quartz.NET in ASP.NET Core

How to schedule jobs using Quartz.NET in ASP.NET Core

Take advantage of a Quartz.NET hosted service to schedule background jobs in your ASP.NET Core application

How to use ValueTuples in C#

How to use ValueTuples in C#

Take advantage of ValueTuples to return multiple values from a method with better performance than Tuples

How to use inversion of control in C#

How to use inversion of control in C#

Take advantage of the inversion of control pattern to loosely couple the components of your application and make them easier to test and maintain

How to return data from ASP.NET Core Web API

How to return data from ASP.NET Core Web API

Learn the three ways you can return data from your ASP.NET Core Web API action methods

How to use pattern matching in C# 8.0

How to use pattern matching in C# 8.0

Take advantage of pattern matching improvements in C# 8.0 to write code that is more readable, maintainable, and efficient

How to use lambda expressions in C#

How to use lambda expressions in C#

Take advantage of lambda expressions in C# to add flexibility and power to the anonymous methods in your application

How to use projections in C#

How to use projections in C#

Take advantage of projections in C# to transform an object into a new form that has only the properties you need

How to format response data in ASP.NET Core

How to format response data in ASP.NET Core

Take advantage of FormatFilterAttribute in ASP.NET Core to format response data based on the request URL

How to use the Flyweight design pattern in C#

How to use the Flyweight design pattern in C#

Take advantage of the Flyweight design pattern to reduce memory consumption when working with many similar objects

How to consume an ASP.NET Core Web API using RestSharp

How to consume an ASP.NET Core Web API using RestSharp

Take advantage of the simple and easy RestSharp library to consume RESTful services in ASP.NET Core

How to perform async operations using Dapper

How to perform async operations using Dapper

Take advantage of the async methods in Dapper to improve the scalability and performance of your ASP.NET Core applications

How to use feature flags in ASP.NET Core

How to use feature flags in ASP.NET Core

Take advantage of feature flags to change the behavior of your application without changing its codebase

How to use default interface methods in C# 8.0

How to use default interface methods in C# 8.0

Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations

How to handle exceptions in asynchronous code in C#

How to handle exceptions in asynchronous code in C#

Exception handling is different for asynchronous code. Learn the exception handling semantics for asynchronous methods in C#

How to use the FromServices attribute in ASP.NET Core

How to use the FromServices attribute in ASP.NET Core

Take advantage of the FromServices attribute in ASP.NET Core to inject dependencies directly into your action methods

How to work with cookies in ASP.NET Core

How to work with cookies in ASP.NET Core

Take advantage of cookies to store and retrieve user-specific information in your ASP.NET Core web application

How to work with static files in ASP.NET Core

How to work with static files in ASP.NET Core

Take advantage of the static files middleware in ASP.NET Core to serve HTML, CSS, JavaScript, and images to the client

How to use URL Rewriting Middleware in ASP.NET Core

How to use URL Rewriting Middleware in ASP.NET Core

Take advantage of URL Rewriting Middleware in ASP.NET Core to implement URL redirection and URL rewriting

Load More