Deploy asp.net web app on local or remote IIS usin

2019-09-12 05:45发布

问题:

I am unable to find any help on how to use PowerShell for DSC and deploy asp.net web app on local or remote on premises IIS.

Can you please help me with the steps or any resources?

回答1:

What's your preferred method of deploying code prior to using DSC? xRobocopy was created with this scenario in mind, but if you are packaging your solution using NuGet, you could also use the PackageManagement resource.

I started working on a NuGet based config script recently but it isn't ready to publish in the gallery yet: https://github.com/Microsoft/NuGetIISAppServerConfig/blob/master/NuGetIISAppServerConfig.ps1