How to use PGO to improve the performance of .NET programs

How to use PGO to improve the performance of .NET programs

How to use PGO to improve the performance of .NET programs, .NET 6 began to introduce PGO initially. PGO is Profile Guided Optimization, which guides JIT how to optimize code by collecting runtime information. Compared with the previous without PGO, it can do more optimizations that were difficult to complete before.

Jenkins continuous integration asp.net website and automatically deploy to IIS

Jenkins continuous integration asp.net website and automatically deploy to IIS

This is a Jenkins continuous integration asp.net website and automatic deployment to IIS tutorial. It is a problem record sharing during my work. I need to explain here. This article is about using Jenkins continuous integration to continue and deploy asp.net website, and asp.net website is the oldest website project, which is different from asp.net applications, and even more different from.net core website applications.

2021 Best C# Books for Beginners

2021 Best C# Books for Beginners

Best C# books for beginners, If you are a beginner and want to learn C#, What book should buy to learn C#? C# is a general-purpose, multi-paradigm programming language developed by Microsoft that runs on the .NET framework. C# is widely used for building mobile applications, games, and windows applications.

How to make WinForm perform Model validation?

How to make WinForm perform Model validation

How to make WinForm perform Model validation? If you have experience in asp.net mvc development, you will know that we can call ModelState.IsValid to verify the model. This is to verify the legality of the data submitted by the client from a security or business perspective.

How ASP.NET Core reads Request.Body

How ASP.NET Core reads Request.Body

If you are a C# developer and apply asp.net core to your project, do you know how ASP.NET Core reads Request.Body? When we use ASP.NET Core to develop projects, we will definitely involve the scene of reading Request.Body, because most POST requests store data in the Http Body. The main thing I use in my daily development is ASP.NET Core, so I often encounter this kind of scene. This post is to share the reading problem of Request.Body.

Run async tasks application starts in ASP.NET Core

Run async tasks application starts in ASP.NET Core

How to run async tasks application starts in ASP.NET Core? This article is a short follow-up to two of my previous articles about running asynchronous tasks in ASP.NET Core. In this article, I will provide some feedback on the example I used to demonstrate the problem and the approach I took. Previous posts can be … Read more

How to run asynchronous tasks when the application starts in ASP.NET Core

How to run asynchronous tasks when the application starts in ASP.NET Core

How to run asynchronous tasks when the application starts in ASP.NET Core? In this article, I showed my last post on the “manually run tasks from the proposed adapted Program.cs ” approach. The implementation uses some simple interfaces and classes to encapsulate the logic of tasks that are running when the application starts. I also … Read more

How to run async tasks in ASP.NET Core?

How to run async tasks in ASP.NET Core?

How to run async tasks in ASP.NET Core? How to run asynchronous tasks when the application starts in ASP.NET Core? Sometimes, you need to perform a one-time initialization logic before the application can start normally.

Use enum classes instead of enum in ASP.Net Core

enumeration classes in .net core

Use enum classes instead of enum in ASP.Net Core, I believe that people often encounter various state values when writing code, and in order to avoid hard coding and magic numbers in the code.

ASP.NET CORE MVC Tutorial 1

ASP.NET CORE MVC Tutorial

we will learn how to use the ASP.NET Core Web framework and have the knowledge of how to build a data-driven Web application.