使用PowerShell DSC在本地或远程IIS上部署asp.net Web应用程序 [英] Deploy asp.net web app on local or remote IIS using PowerShell DSC
问题描述
我无法找到有关如何使用DSC PowerShell和如何在本地IIS或本地IIS上部署asp.net Web应用程序的任何帮助。
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.
可以吗?
推荐答案
在使用DSC之前部署代码的首选方法是什么? xRobocopy是在考虑这种情况的情况下创建的,但是如果您使用NuGet打包解决方案,则还可以使用PackageManagement资源。
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.
我开始研究基于NuGet的配置脚本,但尚未准备好在库中发布:
https://github.com/Microsoft/NuGetIISAppServerConfig/blob/master/NuGetIISAppServerConfig.ps1
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
这篇关于使用PowerShell DSC在本地或远程IIS上部署asp.net Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!