How to properly publish and update an ASP.NET application in IIS

I have a problem every time I upgrade my ASP.NET application on my IIS server. Problems:

  • I get an error to disable user errors <customErrors mode="Off"/>
  • Default website redirection in TLD redirects URL unlimited
  • I created a remote and replaced the application or redirect

I have an ASP.NET 4.5 Framework application. I am using Visual Studio 2012 to build a web application. I am using the 64-bit version of Windows Server 2008 R2 with the IIS 7 role installed. Every last version of the IIS role has been tested and installed.

Once IIS is up and running, I created a directory in C: \ inetpub \ wwwroot and placed the published ASP.NET application in the directory I created. Then I added the application through IIS Manager.

enter image description here

www.example.com/app. . , -, TLD -, , HTTP IIS "- ". web.config C:\inetpub\wwwroot .

. , ASP.NET. C:\inetpub\wwwroot\app . . IIS, . http, . , , www.example.com - . IIS . , , .

-, , , IIS ?

+4
6

IIS, web.config C:\inetpub\wwwroot

, . , . , (, , -, ), .

, , IIS :)

+1

, . web.config, . , , web.config, IIS.

0

→ secuirty- > . , , .

0

app_offline.htm, " , , "?

- .

0

, ... web.config, ( , , - , - wwwroot, ).

, .

  • CSS, - , , .

, IIS SQL-

https://www.codeproject.com/Articles/674930/Configuring-IIS-ASP-NET-and-SQL-Server

0
source

Show us the application pool settings.

There may be many questions, such as file system permissions for the user context that starts the application pool.

Database creation may be allowed.

We need a little more information.

-1
source

Source: https://habr.com/ru/post/1546350/


All Articles