473,396 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can I change the code of uploaded website using Visual Studio.net

Sir
I have I'm given a task to debugg and add some functionlity to a big website
containing hundreds of ASP.net pages, C# is the language used.

Please anyone help me that:
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.

In case I have to compile them, how can I do it with Visual Studio.net 2002
without downloading it.

Whole the code is put into a "Codes" folder and all the code files are
zipped into a single file.

Anyone can help me please, I wud be greatful.

Thanx in anticipation.

Nov 19 '05 #1
2 1329
"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.
Nov 19 '05 #2
Hello Mark Rae!

Thank u very much for your support, I done it as suggested by u, I
downloaded the code and implemented it on Local Server, it works just fine,
Now I'm able to debug it correct the problems easily.

Bundle of Thanks Mr. Mark.
If I come across anyother problem, I will come back here directly, hope u
will continue providing me suggestion and technical help.

God Bless You
Zubair

"Mark Rae" wrote:
"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.

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Wendy Elizabeth | last post by:
I am having problems using Dreamweaver mx 2000. My company purchased two licenses of the Universal Macromedia subscription. The other web programmer is not working at this company any more and I...
8
by: milkyway | last post by:
Hello, I have created many sample web sites for testing and now I would like to do some cleanup. When doing searches, it seemed that there were a good number of approaches to removing a web...
1
by: cnixuser | last post by:
Hello, I am having a problem that I believe is related to the way a stream reader object looks for a text file by default. What I am doing is using a StreamReader object to read the text of a text...
0
by: wheretheicegrows | last post by:
Is there some way to change the default location for new websites in Visual Studio 2008. It seems one can change the "Visual Studio projects location", the "Visual Studio user project templates...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.