Manual Management (using GUI)
.net 8 app deployment example:
- Publish the Application:
- In Visual Studio right-click on the project in Solution
Explorer and select
Publish. - Choose a publish target. For IIS, select Folder and specify a path where the published files will be stored.
- Click
Publishto generate the publish files.
- In Visual Studio right-click on the project in Solution
Explorer and select
- Configure IIS:
- Open the IIS Manager (inetmgr).
- Right-click on
Sitesand selectAdd Website. - Configure the site:
- Site Name
- Physical Path
- Binding
- Set Application Pool:
- Select the newly created time
- Click on
Basic Settingsand ensure the Application Pool is set to useNo Managed Codeor the appropriate .NET CLR version.
- Configure Folder Permissions:
- Ensure the IIS user (e.g., IIS_IUSRS) has read and execute permissions on the published folder.