简体   繁体   English

在dev IIS7.5计算机上安装SignalR dll

[英]Installing a SignalR dll on dev IIS7.5 machine

I developed a SignalR app and, by default, when I want to debug it, it creates a 'site' that points to http://localhost:16969/ The App is actually an ASP.NET web application. 我开发了SignalR应用程序,默认情况下,当我要调试它时,它会创建一个指向http:// localhost:16969 /的“站点”。该应用程序实际上是ASP.NET Web应用程序。

And this is great for debuging, but now I want to do some load testing, (still on my machine), so I would like to 'install' the ASP.NET application. 这对于调试非常有用,但是现在我想进行一些负载测试(仍在我的机器上),因此我想“安装” ASP.NET应用程序。

Can anyone give me a step by step tutorial on how to install my ASP.NET web application using my IIS7.5, (the one on my dev machine, not the actual server). 谁能给我逐步讲解如何使用IIS7.5(我的开发机上的服务器,而不是实际的服务器上)安装ASP.NET Web应用程序的教程。

So if I get it correctly you want to switch from IIS Express to the full IIS. 因此,如果我正确获取它,则想从IIS Express切换到完整的IIS。

You need to: 你需要:

  • install IIS (through the "Turn Windows features on or off" dialog) 安装IIS(通过“打开或关闭Windows功能”对话框)
  • go to IIS manager 转到IIS管理器
  • right-click "Default web site" and click "Add application" 右键单击“默认网站”,然后单击“添加应用程序”
  • you should be done now 你应该现在就完成

There is an alternative way (easier for some): 还有另一种方法(某些方法更容易):

  • go to the Visual Studio 转到Visual Studio
  • right-click your web project and go to Properties 右键单击您的Web项目,然后转到“属性”
  • go to "Web" tab and change "Servers" to "Local IIS" 转到“ Web”选项卡,然后将“服务器”更改为“本地IIS”
  • it'll create an application for you within the "Default web site" in the IIS 它将在IIS的“默认网站”中为您创建一个应用程序

Always try to keep the IIS bindings and VS's Web tab in sync so that when you hit "Debug" it'll attach to the app in the IIS. 始终尝试使IIS绑定和VS的“ Web”选项卡保持同步,以便在单击“调试”时将其附加到IIS中的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM