Tuesday, 22 March 2022

Project File

 # Project file

1. .net Core project file no longer contains file or folder reference
    - all files and folder present within the root folder by default part of project
2.    TargetFramework  - specifies the .net core version project belongs to, eg netcoreapp2.2
3. AspNetCoreHostingModel
    - This element specifies how the asp.net core application should be hosted.
    - Should it be hosted InProcess or OutOfProcess.
    - The value of InProcess specifies that we want to use in-process hosting model i.e host our asp.net core app inside of the IIS worker process (w3wp.exe)
    - The value of OutOfProcess specifies that we want to use out-of-process hosting model i.e forward web requests to a back-end ASP.NET Core app running the Kestrel server.
4.    PackageReference
    - Microsoft.AspNetCore.App : This NuGet package is called metapackage. A metapackage has no content of its own but is a list of dependencies (other packages).

No comments:

Post a Comment

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...