Home       Archives        About Me       Gallery       Contact       RSS
other places to go      thincSoft      my twitter page      my family blog

Automatically start multiple web projects in VS2005

This was a bit harder than I thought it should be!  Our latest project is to integrate our SVG (and Silverlight) /AJAX client with a REST interface into our backend ESRI system.  The other team is still working on the ESRI connection, so our  development server is up and down (as any good development server is wont to do!)  I thought I'd make a quick shim project, that would mirror the REST API calls and simply serve XML files from the file system rather than going back to the original serve.

 

I quickly generated the project and REST pages (just dumb ASPX pages that read back an XML file) and added it to the solution.  I then wanted VisualStudio to automatically start a cassini webserver for new project whenever I was in "debug" mode.  I would have thought this was a common problem (what if I was connecting my app to a webservice, and wanted to start both my asp.net app, and the server?)

 

So, the base problem was, I had 2 projects in my solution, an ASP.Net client, and an ASP.Net REST proxy, and when I hit "F5-debug", only one client would start up, and I wanted to start both clients up.

 

After a few hours of fiddling, I found the "solutions / properties" button.  This let me specify which projects to automatically start

 

 

After you set these both to "start" then both servers start automatically.

 

ps, on my REST proxy, I had to 'hard code' the default port id (I gave the URL of the proxy to my real AsP.Net app)  To hard code the port number of the cassini web, go to "project | properties | web", and set the default port.

 





Posted on June 11, 2007 21:12

E-mail | Permalink | Comments (1) | Trackback

Related posts

Comments

June 13. 2007 12:10

Dax Pandhi

Something is wrong with your screen cap software. Portions of texts are coming up blurred.

Dax Pandhi

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

November 20. 2008 04:03






Subscribe to updates via Email






Blogroll






Copyright © 2005-2008 M. Andrew Eick.
Powered by BlogEngine.NET 1.3.0.0

Designed by Nukeation
Sign in