IDE Questions

  • Thread starter Thread starter Tarun Mistry
  • Start date Start date
T

Tarun Mistry

Hi everyone,

I am new to VS 2005 and have a few questions im hoping you guys can answer
to get me on my way.

1) I have created an asp.net website and it all works in my local
environment. Excellent. I can publish this website to my host, however I
need to manually change the Web.config on the host to make it work. Is there
a way to keep a "development" profile and a "live" profile so when I publish
the site, I wont have to edit the config files.

2) Sometimes I only want to change 1 page on my site and upload it, however
if I publish the site, it deletes everything on the web host and reuploads.
Is there a way around this! I have some 10mb files sitting on there I dont
want to upload, and also some custom HTML which keeps getting deleted :(

3) I have bought an ASP.NET application that I want to use on my website. A
help desk system. Going back to point 2, this requires an upload folder to
allow users to upload files. Every time I upload the script, it will delete
all the uploaded files, ouch, i'd really like to avoid this.

4) How do I deploy to subfolders! I want to create a folder on my site
/test/ and then deploy a test version of the site into it, however I can't
do this. It forces me to put it into root or not at all. Again, is there a
work around for this?

Any help appreciated!

Thanks so much!
Taz
 
1) I have created an asp.net website and it all works in my local
environment. Excellent. I can publish this website to my host, however I
need to manually change the Web.config on the host to make it work. Is
there a way to keep a "development" profile and a "live" profile so when I
publish the site, I wont have to edit the config files.

Use Web Deployment Projects:
http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx
2) Sometimes I only want to change 1 page on my site and upload it,
however if I publish the site, it deletes everything on the web host and
reuploads. Is there a way around this! I have some 10mb files sitting on
there I dont want to upload, and also some custom HTML which keeps getting
deleted :(

Using Web Deployment Projects, deploy the project to a separate folder on
your local environment, then use an FTP client to publish only the content
which has changed.
3) I have bought an ASP.NET application that I want to use on my website.
A help desk system. Going back to point 2, this requires an upload folder
to allow users to upload files. Every time I upload the script, it will
delete all the uploaded files, ouch, i'd really like to avoid this.

See above.
4) How do I deploy to subfolders! I want to create a folder on my site
/test/ and then deploy a test version of the site into it, however I can't
do this. It forces me to put it into root or not at all. Again, is there a
work around for this?

See above.
 
Back
Top