visual studio quirkiness

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

Hello,

It bothers me that visual studio .net won't let me open my asp.net web
service project if the web server isn't running. I'm using Cassini as my web
server and I want the Cassini project to be in the same .sln as my web
service. Visual Studio won't let me do this because it wants the web server
to be running first, before my solution is opened. Does anyone know of a way
around this?

Thanks,

-Jim
 
Why not just create an exe that you can use to start and stop cassini before you open the project? And keep that exe seperate from this solution.
 
For convenience sake. For example, when other people on my team get my
project from source control, they will no doubt try to open it and receive
the error message. Sure I could tell them to start Cassini, point it to the
web app directory, and then open the project, but I would prefer it to "just
work".

DotNetJunkies User said:
Why not just create an exe that you can use to start and stop cassini
before you open the project? And keep that exe seperate from this solution.engine supports Post Alerts, Ratings, and Searching.
 
Hi Jim,

As for the problem that IIS server need to be started before webproject
(including asp.net webservice project) be opened in VS.NET, it does be a
buildin limitation of the current version. Since the VS.NET IDE haven't its
own internal test server engine now. However, this feature will be included
in the next version

As for the Cassini server, since it is a new third-party test server, there
seems not any buildin or add-in in VS.NET to integrated it. So we also have
to manually start the server.

In addtion, have you had a look at the ASP.NET WEB MATRIX tool? It's a feel
tool for developing ASP.NET web project. And currently the lastest
avaliable version includes its own mini-webserver that hosts ASP.NET and
can be used for local machine development and testing (note: this web
server handles only local machine requests -- it does not allow remote
machine connections). Here is the weblink to the WEB MATRIX tool and its
nice features:

#The ASP.NET Web Matrix Project
http://www.asp.net/webmatrix/

Hope these help.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
Back
Top