使用PowerShell DSC在本地或远程IIS上部署asp.net Web应用程序 [英] Deploy asp.net web app on local or remote IIS using PowerShell DSC

查看:264
本文介绍了使用PowerShell DSC在本地或远程IIS上部署asp.net Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法找到有关如何使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆