# Misc
## .Net Core CLI
1. The .NET Core CLI is a cross-platform tool for developing .NET core applications
2. Using the CLI we can
- Create a new project, configuration file, or solution based on the specified template
- Restore the dependencies and tools required for a .net core project
- Build a project and all of its dependencies
- Run a project etc...
## Can we run an asp.net core application without using the built in kestrel web server.
The answer is YES. If we use the InProcess hosting model, the application is hosted inside of the IIS worker process (w3wp.exe or iisexpress.exe). Kestrel is not used with InProcess hosting model.
## Environment Variable
1. If we have not explicitly set ASPNETCORE_ENVIRONMENT variable, it defaults to Production. This is done on purpose for better security and performance.
## Useful methods of IHostingEnvironment service
- IsDevelopment()
- IsStaging()
- IsProduction()
Tuesday, 22 March 2022
Misc
Subscribe to:
Post Comments (Atom)
Search This Blog
Creating your first "Alexa" Skill
Index What is Alexa What is Alexa Skill? Why is it required when Alexa already equipped with voice assistant? Dev...
About Me
Menu
-
Index What is Alexa What is Alexa Skill? Why is it required when Alexa already equipped with voice assistant? Dev...
-
Adding Azure AD B2C to React Native App Register your app in Azure active directory 1. Go to azure ad b2c, app registratio...
-
# Project file 1. .net Core project file no longer contains file or folder reference - all files and folder present within the root fol...
No comments:
Post a Comment