Bundle of Thanks Mr. Mark.
"Mark Rae" wrote:
> "zubair" <zubair@discussions.microsoft.com> wrote in message
> news:E4AC3FCF-FF03-4D82-AE31-703A8ADACDE5@microsoft.com...
>
> > If I change the bussiness object (e.g. *.cs or *.aspx.cs) files, do I need
> > to recompile them? or I can just change them and put them back on the same
> > directory.
>
> What you're asking is fundamental. I'd suggest you get yourself up to speed
> on the basics of .NET web development first:
>
http://www.amazon.com/exec/obidos/tg/detail/-/0764508660/qid=1113634763/sr=8-1/ref=pd_csp_1/102-3768767-4139324?v=glance&s=books&n=507846
>
> The *.cs files should not reside on the web server as they are not required
> there - they should reside within the ASP.NET web project on your local
> development machine so that you can maintain them.
>
> ASP.NET projects (like all other .NET projects) are compiled into one or
> more DLLs which, typically, reside in the \bin folder under your webroot.
> When you click "Build" in VS.NET, it takes all of the code files and
> compiles them.
>
> > In case I have to compile them, how can I do it with Visual Studio.net
> > 2002
> > without downloading it.
>
> You don't really have much choice...
>
> > Whole the code is put into a "Codes" folder and all the code files are
> > zipped into a single file.
>
> 1) Remove the Codes folder from your live webserver immediately and add its
> contents to the ASP.NET project on your local development machine
>
> 2) Make your code changes as required.
>
> 3) Test your updates locally in Debug mode.
>
> 4) When you're happy that it all works correctly, switch to Release mode,
> recompile and deploy to your live server using the Copy Project button.
>
>