Groups | Blog | Home
all groups > dotnet general > april 2005 >

dotnet general : How to connect Visual Studio with an existent web site?


MasterGaurav
4/6/2005 11:30:56 PM
Create a new "ASP.Net Web Application" and point it to the server in
"Location".

--
CHeers,
Gaurav Vaish
http://mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------
Jaime Stuardo
4/6/2005 11:51:27 PM
Hi all..

In Visual Studio 6 I could connect to an already present web application in
IIS. I tried to do the same in Visual Studio.NET but I didn't find any
option to do that,

Is it possible?
Thanks

Jaime

Jaime Stuardo
4/7/2005 7:19:02 AM
Yes... but If I point to an existing web application in IIS, that new
ASP.Net Web Application will connect to it loading all files and folders
into the project or will it try to create the new web site? Is it possible
to get, using VS.NET, the list of web applications in the server, as occured
with VS 6 Wizard?

Jaime

[quoted text, click to view]

MasterGaurav
4/8/2005 8:26:36 PM
It will create a new project there, since .sln and .webproj do not
already exist.

Once done, just import all the files (add existing files). I assume
that should do just fine.


--
CHeers,
Gaurav Vaish
http://mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------
Jaime Stuardo
4/9/2005 12:36:18 AM
Hmmm.. let's compare to VS 6.0 because it seems I haven't known how to
explain myself.

I'll told you how it is in VS6.0

I create a project named, for example, MYSITE. The wizard lets me choose to
create a new web site named MYSITE or to connect to an already existing site
because it was created before by other user by mean of VS 6.0

When I finish the wizard. If the web site didn't exist, the following events
occur:
- A local folder named MYSITE is created (the developer's machine)
- A web site in the remote server is created

When the site did exist, the following events occur:
- A local folder named MYSITE is created (the developer's machine)
- All files present in the web site are added automatically to the project.


From your messages, it isn't clear if VS.NET works the same way. It was
always clear that the project is created locally (in developer's machine),
but the original question was about what happen with the serrver. I don't
have VS.NET now at hand to make the tests by myself, so I will rephrase the
question:

If in the wizard of VS.NET, I write http://webserver/mysite, and if mysite
already exists, does VS.NET connect to the existing site and add all files
automatically to the project? if the answer is no, does VS.NET delete the
site and recreate it? or does it do nothing?

Thanks
Jaime


[quoted text, click to view]

AddThis Social Bookmark Button