Please enable JavaScript.
Coggle requires JavaScript to display documents.
.Net Core - Coggle Diagram
.Net Core
-
Http Request
- Client Makes call to DNS and resolves Domain Name to IP Address
- Client makes Certificate verification with Server on which app is hosted. This happens internally.
- Client makes actual Http Endpoint call
Kestrel
Kestrel is an open source, cross platform, light weight and a default WebServer used for Asp.Net Core applications. Asp.Net Core applications run Kestrel webserver as in-process server to handle web request. ... Kestrel is cross platform, runs in Windows, LINUX and Mac. Kestrel webserver supports SSL. IIS is only for Windows server.
Nginx is preferred over Kestrel.
-
Once processing is done, Http Context Object is converted back to Http Response object and send to IIS
-
-
-
Types of JSON Files
-
appsettings.json
contains Configurations like DB Conn, Swagger, Logging configs etc
-
launchsettings.json
-
Examples - Profiles for Authentication, IIS Settings
-
-
-
-
-
-
.NET 6 Advantages
The System.IO.FileStream type has been rewritten for .NET 6 to provide better performance and reliability on Windows. Now, FileStream never blocks when created for asynchronous I/O on Windows.
Profile-guided optimization (PGO) is where the JIT compiler generates optimized code in terms of the types and code paths that are most frequently used. .NET 6 introduces dynamic PGO.
.NET 6 introduces Crossgen2. Crossgen2 are tools that provide ahead-of-time (AOT) compilation to improve the startup time of an app.
-