web developer tips (55):多项目解决方案中设置启动项
来源:互联网 发布:python str.strip 编辑:程序博客网 时间:2024/06/06 07:22
原文地址:How to change Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution
如果在你的解决方案里有多个项目,可以通过如下解决方案的属性来设置启动项。右键单击解决方案,选择“属性”,打开如下对话框
如果在解决方案里有一个以上的web项目(比如 web网站项目和web应用项目),只能选择一个启动项目,可以选择“单启动项目”(或者在解决方案的上下文菜单选择某个项目,选择“设置为启动项目”)。尽管如此设置后,当你通过ASP.Net Development Server 启动调试应用程序时,在系统托盘会出现多个ASP.Net Development Servers 的实例,如下图所示
http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html
这里很重要的一点需要注意,ASP.NET Development Server不能处理超过一个的web应用/网站,如果你想实现这个功能,就需要使用IIS来替换ASP.NET Development server。
在一个相同的解决方案里有多个web应用或者web网站,实际上你只需要调试其中之一,在这种情况下,不宜使用ASP.NET Development server运行多个实例。
更多文章见:守望轩[http://www.watch-life.net/]
- web developer tips (55):多项目解决方案中设置启动项
- web developer tips (84):在Visual Web Developer中设置web网站的起始页
- web developer tips (14):启动网站调试
- web developer tips (3):设置垂直拆分视图
- web developer tips (19):设置默认视图为设计视图
- Vs 解决方案中多项目引用问题
- web developer tips (4):在Visual Web Developer中增加浏览器
- web developer tips (10):Visual Web Developer 2008中新的样式生成器
- web developer tips (77):在ASP.NET启动启动页面级跟踪
- web developer tips (52):部署Asp.net web应用须设置debug为false
- web developer tips (9):在Web.config文件中注册web用户控件
- web developer tips (27):Microsoft Web Platform
- web developer tips (23):两次单击启动编辑器的格式对话框
- web developer tips (16):变更CSS编辑器的默认格式设置
- web developer tips (48):IIS7应用程序池的“Ping”设置可能影响调试
- web developer tips (71): 关于FastCGI 1.5beta几个新配置设置
- web developer tips (39):在Visual Studio 2008中取消远程web操作
- web developer tips (5):绑定ListView控件
- [转]简单实用的DataSet更新数据库的类+总结
- ArcGIS对比MapInfo
- 正则表达式口诀及教程
- 面试
- 页面回传与js调用服务器端事件
- web developer tips (55):多项目解决方案中设置启动项
- 数据库结果集处理
- mysql 中 时间和日期函数
- Linux dotProject gd模块的安装
- 开源流媒体服务器
- 如何在SharePoint加入对PDF文件的支持
- nios自定义模块
- SQL Server 2008 新增功能
- 马云《因小而美》