<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>守望轩 &#187; 启动项</title>
	<atom:link href="http://www.watch-life.net/tag/%e5%90%af%e5%8a%a8%e9%a1%b9/feed" rel="self" type="application/rss+xml" />
	<link>http://www.watch-life.net</link>
	<description>关注IT,审视自我,守望生活, 宁静雅致的小轩馆.</description>
	<lastBuildDate>Tue, 20 Jul 2010 00:46:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>web developer tips (55):多项目解决方案中设置启动项</title>
		<link>http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html</link>
		<comments>http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html#comments</comments>
		<pubDate>Wed, 28 Oct 2009 04:31:34 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[web developer tips]]></category>
		<category><![CDATA[启动项]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=458</guid>
		<description><![CDATA[原文地址：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运行多个实例。


	你可能也会喜欢以下文章：
	
	设置VSS2005使支持通过Internet访问（转） (0)
	web developer tips (79):在web页面快速添加和取消注释 (0)
	web developer tips (1):创建、管理、应用样式表的强大工具 (2)
	web developer tips (45):如何改变动态数据文件夹的位置 (0)
	web developer tips (43):通过请求处理管道注册IHttpModule (0)
	web developer tips (63): 在web应用项目指定vs开发服务器端口 (0)
	web developer tips (82):Visual Studio 2005web应用项目迁移到Visual [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/04/24/tip-55-did-you-know-how-to-change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.aspx" target="_blank">How to change Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution</a></p>
<p>如果在你的解决方案里有多个项目，可以通过如下解决方案的属性来设置启动项。右键单击解决方案，选择“属性”，打开如下对话框<br />
<IMG border=0 alt=image src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/fb9b501490ff_B55/image%5B11%5D_4.png" width=537 height=337 mce_src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/fb9b501490ff_B55/image%5B11%5D_4.png"></p>
<p>如果在解决方案里有一个以上的web项目（比如 web网站项目和web应用项目），只能选择一个启动项目，可以选择“单启动项目”（或者在解决方案的上下文菜单选择某个项目，选择“设置为启动项目”）。尽管如此设置后，当你通过<a href="http://www.watch-life.net/category/aspnet" target="_blank">ASP.Net</a> Development Server （开发服务器）启动调试应用程序时，在系统托盘会出现多个ASP.Net Development Servers 的实例，如下图所示<br />
<IMG border=0 alt=image src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/fb9b501490ff_B55/image_thumb_2.png" width=244 height=103 mce_src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/fb9b501490ff_B55/image_thumb_2.png"></p>
<p><a href="http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html" target="_blank">http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html</a></p>
<p>这里很重要的一点需要注意，ASP.NET Development Server不能处理超过一个的web应用/网站，如果你想实现这个功能，就需要使用<a href="http://www.watch-life.net/tag/iis" rel="tag" target="_blank">IIS</a>来替换ASP.NET Development server。</p>
<p>在一个相同的解决方案里有多个web应用或者web网站，实际上你只需要调试其中之一，在这种情况下，不宜使用ASP.NET Development server运行多个实例。</p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/vs2005/vss2005-internet-suport.html" title="设置VSS2005使支持通过Internet访问（转） (2007-07-09)">设置VSS2005使支持通过Internet访问（转）</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/quickly-comment-and-uncomment-in-your-web-pages.html" title="web developer tips (79):在web页面快速添加和取消注释 (2010-03-28)">web developer tips (79):在web页面快速添加和取消注释</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/powerful-css-tools-to-create-manage-and-apply-styles.html" title="web developer tips (1):创建、管理、应用样式表的强大工具 (2009-05-19)">web developer tips (1):创建、管理、应用样式表的强大工具</a> (2)</li>
	<li><a href="http://www.watch-life.net/visual-studio/change-the-dynamicdata-folder-location.html" title="web developer tips (45):如何改变动态数据文件夹的位置 (2009-09-09)">web developer tips (45):如何改变动态数据文件夹的位置</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/register-your-ihttpmodule-depends-on-the-pipeline.html" title="web developer tips (43):通过请求处理管道注册IHttpModule (2009-09-06)">web developer tips (43):通过请求处理管道注册IHttpModule</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/specify-a-fixed-port-for-visual-studio-development-server.html" title="web developer tips (63): 在web应用项目指定vs开发服务器端口 (2009-11-15)">web developer tips (63): 在web应用项目指定vs开发服务器端口</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/migrating-vs-2005-web-application-project-to-vs-2008.html" title="web developer tips (82):Visual Studio 2005web应用项目迁移到Visual Studio 2008 (2010-03-29)">web developer tips (82):Visual Studio 2005web应用项目迁移到Visual Studio 2008</a> (1)</li>
	<li><a href="http://www.watch-life.net/visual-studio/show-jscript-validation-errors-as-warnings.html" title="web developer tips (80):将javascript的错误显示为警告 (2010-03-28)">web developer tips (80):将javascript的错误显示为警告</a> (0)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/change-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
