I need to run multi-year background tasks in my main asp.net application. I know about Azure Webjobs and other technologies, but I would prefer to keep the solution simple and perform these tasks directly in the main asp.net process. I am using Kestrel and the application is hosted in IIS.
I understand that IIS will sometimes process the IIS process. Will it also recycle the main asp.net process?
Asp.Net Core <2.2
Asp.net Core dotnet.exe IIS. , . IIS Asp.net core Asp.net core (dotnet.exe) AspNetCoreModule.
Asp.net Core
dotnet.exe
IIS
Asp.net core
AspNetCoreModule
, , IIS asp.net
Asp.Net Core> = 2.2
Asp.Net 2,2 in-process IIS out-of-process , . , , dotnet. IIS Asp.net Core
in-process
out-of-process
"IApplicationLifetime applicationLifetime", aspnet Golbal.aspx
iis , "ApplicationStopping" .
SO https://github.com/aspnet/KestrelHttpServer/issues/1040#issuecomment-267506588
, . IIS w3wp.exe.
ASP.NET Kestrel, IIS - - .
Source: https://habr.com/ru/post/1663908/More articles:Ruby: remove empty curly braces in a hash array - arraysCan I have an image with a replacement tag in a SendGrid template? - expressPython: how to replace spaces with an underscore in the name of ALL files, folders and subfolders? - pythonDebugging to create tables in Lua - luaclojure.spec custom generator for Java objects - clojureМожно ли объявить весь экземпляр класса шаблона дружественным? - c++исключение исключения в поток java 8 foreach - java-8XGBRegressor is much slower than GradientBoostingRegressor - scikit-learnd3js - d3.scale.category10 () not working? - javascriptUnable to save another date format in django - pythonAll Articles