Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > VS2005 - Publishing Website - Best practice?

Reply
Thread Tools

VS2005 - Publishing Website - Best practice?

 
 
Patrick
Guest
Posts: n/a
 
      01-17-2006
Hello

I'm asking myself what the best practice is, when publishing a asp.net 2.0
website. So when I precompile the website, to put it online, i get a lot of
DLLs and ascx/aspx files. So i put them online, and all works, so far, so
good.

But the question is now, when I make a simple change in a .cs-File, then I
publish again the website, to get all precompiled dlls, so I have to upload
again all DLLs, ok, that's ok, but I also have to upload all ascx and aspx
files, because the reference has changed.

Has someone a solution to this??

Thanks
Patrick


 
Reply With Quote
 
 
 
 
Garth H
Guest
Posts: n/a
 
      01-17-2006
Unless you're adding functions or methods leveraged in your aspx/ascx
files, you shouldn't have to upload them as well.


--
Garth H
http://www.velocityreviews.com/forums/(E-Mail Removed)
Microsoft Certified Professional
Macromedia Certified Developer
 
Reply With Quote
 
 
 
 
Patrick
Guest
Posts: n/a
 
      01-18-2006
yes, that was like this in Visual Studio 2003. But in the 2005 when
publishing the website, to the *.aspx/ascx something like this is added:

<%@ page language="C#" autoeventwireup="true" inherits="Admin,
App_Web_d5-k97r2" %>

and as you can see, inherits sais "class", "DLL", in this case the DLL-Name
is "App_Web_d5-k97r2.dll", but when publishing again the solution, this name
changes, and then dhte aspx referers to a wrong old dll.




"Garth H" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> Unless you're adding functions or methods leveraged in your aspx/ascx
> files, you shouldn't have to upload them as well.
>
>
> --
> Garth H
> (E-Mail Removed)
> Microsoft Certified Professional
> Macromedia Certified Developer



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Publishing VS2005 websites to Windows 2003R2 64bit OS =?Utf-8?B?VmVjdG9ycng3?= Windows 64bit 0 10-02-2007 02:21 AM
Problem publishing web application in VS2005 brettmetcalfe@hotmail.com ASP .Net 1 08-08-2006 10:18 AM
VS.net 2005: Publishing website--url is not remembered bdtmike@hotmail.com ASP .Net 0 12-13-2005 08:08 PM
Http handler conflict with Website publishing mode tiendq@gmail.com ASP .Net 0 12-05-2005 02:01 AM
Publishing ASP.NET Website chuckdfoster ASP .Net 6 06-14-2005 08:25 PM



Advertisments