"zubair" <zu****@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.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...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.