In the Window Server 2016 use Web Deploy Publish .NET Web Applications

1, in which IIS Click for the new Web platform components

2. Download and install the Web Platform components

3, in which the search Web Deploy, find the 3.5 version and install

4, continues to search for Web Deploy 3.6 version and install

After installing, re-enter the IIS, we found a number of new features

5, into the computer management, two user modification (WDeployAdmin and WDeployConfigWriter) password attribute comprises expiration never set a fixed password, and

6, back to the IIS, the user part of the Web Deploy provider of management services to delegate the reconfiguration (password just set up)

Just to name a backupSettings configuration, the other three people on it Yihuhuhuapiao

7, add an IIS Manager user

7, configure the firewall

We can see that the default service port is 8172 WebDeploy services

Therefore, to add an inbound rule 8172 in inlet port rule

The default WebDeploy program adds firewall exceptions, but if that does not work, you need to add it manually.

Well, so far, Web Deploy configuration, and you're done, be sure to restart the server

The following also need to be tested (see then, do not go, there are a further test configuration is very important privileges)

1, a new IIS site

Of particular note is that the file directory of the IIS site where the folder must have Local Service permission! Otherwise incorrect if released, will prompt permission!

2, in IIS Manager Permissions sites inside, just add new IIS Manager users

Here I am referring to note, IIS permissions to child support detailed configuration of the site and, if there are sub-applications, can be similarly configured

3, inside the Visual Studio 2015 to create a new asp.net web applicaiton empty project, testing

Create a new page

4, the test release

Here's site name, site name is IIS, if it is a child site, fill out

WebDeploy test / sub-sites

Before publishing, the best preview, this is a good habit of publishing!

The last point release, there will be record

 

source

Guess you like

Origin www.cnblogs.com/hofmann/p/10987914.html