Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Studio 2005

Status
Not open for further replies.

scottsanpedro

Programmer
Apr 26, 2002
97
GB
Hi, I'm new to VS2005.
I have uploaded a website to our server, for asp.net, Its been placed in the middle of our old system and we are using an I-frame to reference it in a php site.
I have upload it and now want to adjust the page and re-upload the changes.
I have seen 'copy website' but this uploads the webconfig each time, I only want this particular page updated.
How is the best way to complete this action within VS2005.
Many thanks for any time spent on this. Scott
 
When you compile an ASP.NET application, by default the website is compiled into one DLL. So, once you make a change in the website, the whole application needs to be redeployed. This option can be changed in the Publish Website option (by checking/unchecking the "Allow this precompiled website to be updateable" option). Doing so will result in a DLL being built for each class so you can just build that page and copy the page and DLL over to the server.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
so by me uploading the following;
xml configuration file
solution
ASP.NET server page
visual basic source file

I had to move the webconfig and Bin file to the root of the original.

does this mean its not compiled? Is this the correct way of doing it?

Thanks again. Scott
 
I wouldn't upload source files to a production server as that doesn't sound very secure. Instead, I'd use the compiled DLL route (which is slightly more secure) via the Publish Website method I mentioned.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top