Geeks With Blogs
Steve Land StrongEye Solutions LLC

When debugging, you might see that MojoPortal starts up many different ASP.NET Web servers, one for each Web project. Hidden in the readme README.VisualStudio.txt included with the SVN trunk is the workaround. Good to know!!

Additional info:

You may notice when debugging that multiple web servers are spawned. This is because there are multiple web applications in the solution as features are split into separate projects. All the files for features get copied up to the main mojoPortal.Web project ie Web folder by post build events, so the feature projects are not meant to be run directly, the mojoPortal.Web project  must always be the startup project, though you can set breakpoints and debug any of the code in any of the projects, but the main web project always has to be the startup project. You can disable those extra web apps from launching a web server as described here http://stackoverflow.com/questions/16363/how-do-you-configure-vs2008-to-only-open-one-webserver-in-a-solution-with-multi#16390

Just click the project node in Solution Explorer and then click the Properties tab on the right and you will see where to disable it. I have disabled them on my copy but it does not seem to persist those settings in the solution, they are apparently user specific.

Posted on Wednesday, January 6, 2010 2:01 PM | Back to top


Comments on this post: MojoPortal starts up multiple Web servers in Visual Studio

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © strongeye | Powered by: GeeksWithBlogs.net