{"id":4734,"date":"2007-12-23T21:25:00","date_gmt":"2007-12-23T21:25:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2007\/12\/23\/tips-tricks-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution\/"},"modified":"2007-12-23T21:25:00","modified_gmt":"2007-12-23T21:25:00","slug":"tips-tricks-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/tips-tricks-start-up-options-and-instances-of-asp-net-development-server-in-a-multi-project-solution\/","title":{"rendered":"Tips &amp; Tricks: Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution"},"content":{"rendered":"<p><P><FONT size=\"2\">If you have more than one project in your solution you can use following options of solution properties to set your start up actions&#8230;&nbsp; You can get the below dialog by right clicking your solution and going to its properties:<\/FONT><\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_6.png\"><FONT color=\"#000000\" size=\"2\"><IMG height=\"337\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_thumb_2.png\" width=\"537\" border=\"0\"><\/FONT><\/A><FONT size=\"2\">&nbsp; <\/FONT><\/P>\n<P><FONT size=\"2\">If you have more than one Web project (either Web Site, WAPs or both) in your solution and choose to start only one of it, you can do so by setting &#8220;Single startup project&#8221; above (or also via&nbsp; Project context menu &#8220;Set as StartUp Project&#8221; in solution explorer)&#8230;&nbsp; Although, even after doing so when you start debugging your application using ASP.Net Development Server you will see multiple instances of ASP.Net Development Servers in your system tray as shown below: <\/FONT><\/P>\n<P><A href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_2.png\"><FONT color=\"#000000\" size=\"2\"><IMG height=\"103\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/16\/2019\/02\/image_thumb.png\" width=\"244\" border=\"0\"><\/FONT><\/A><FONT size=\"2\"> <\/FONT><\/P>\n<P><FONT size=\"2\">There is an important point to note here that a single instance of ASP.NET Development Server cannot handle more than one Web Application\/Site&#8230;&nbsp; Ideally if you need this kind of functionality you should be using IIS for your debugging instead of ASP.NET Development server&#8230; <\/FONT><\/P>\n<P><FONT size=\"2\">There are instances when you might have many web applications or web sites in the same solution and you may be actually debugging only one of them&#8230;&nbsp; In such scenario it might not be desirable to have multiple instances of ASP.NET Development Server running&#8230;&nbsp; VS provides an explicit setting in the property grid of web application\/site called Development Web Server &#8211; &#8220;Always Start When Debugging&#8221; which is set to True by default&#8230;&nbsp; If you set this Property to be False only one web server instance will be created for the start up web project&#8230;<\/FONT><\/P>\n<P><FONT size=\"2\">You might want to note that in that same debug run, you will not be able to debug any other non-IIS based Web Application\/Site in the solution who has this property set to &#8220;False&#8221;; but if you really want to debug just one application at a time you may not have to worry about it anyway&#8230;<\/FONT><\/P>\n<P><FONT size=\"2\">Vishal R. Joshi | Program Manager | Visual Studio Web Developer<\/FONT><\/P>\n<DIV class=\"wlWriterSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4b7c4b49-a106-4841-ae2a-babb79b37d31\">Technorati Tags: <A href=\"http:\/\/technorati.com\/tags\/ASP.Net%20Development%20Server\" rel=\"tag\">ASP.Net Development Server<\/A>,<A href=\"http:\/\/technorati.com\/tags\/Cassini\" rel=\"tag\">Cassini<\/A>,<A href=\"http:\/\/technorati.com\/tags\/Visual%20Studio\" rel=\"tag\">Visual Studio<\/A>,<A href=\"http:\/\/technorati.com\/tags\/Debugging\" rel=\"tag\">Debugging<\/A><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have more than one project in your solution you can use following options of solution properties to set your start up actions&#8230;&nbsp; You can get the below dialog by right clicking your solution and going to its properties: &nbsp; If you have more than one Web project (either Web Site, WAPs or both) [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[4,31,322,7262,7272,7284,147,7267,7268],"class_list":["post-4734","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-net","tag-asp-net","tag-debugging","tag-development","tag-tips-and-tricks","tag-vishal-r-joshi","tag-visual-studio","tag-vwd","tag-web"],"acf":[],"blog_post_summary":"<p>If you have more than one project in your solution you can use following options of solution properties to set your start up actions&#8230;&nbsp; You can get the below dialog by right clicking your solution and going to its properties: &nbsp; If you have more than one Web project (either Web Site, WAPs or both) [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=4734"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4734\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=4734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=4734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=4734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}