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. 2 1337
"zubair" <zu****@discuss ions.microsoft. com> wrote in message
news:E4******** *************** ***********@mic rosoft.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.
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****@discuss ions.microsoft. com> wrote in message news:E4******** *************** ***********@mic rosoft.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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 need to make changes to a
website that was written using Dreamweaver mx 2000. I have no experience
with Macromedia.
I copied and pasted the web pages to my windows 2000 operating
workstation and setup the site based upon directions I found on the...
|
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 site / application from Visual Studio -
some mentioning the use of IIS.
Is there an official suggestion on how to remove unwanted sites
|
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 file which includes some html code to populate html formatted content as the text of an asp:label (<asp:label>). The reading of the text file itself goes just fine ;however, this only occurs when I use an absolute file path which will not work of...
|
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
location", the "Visual Studio user item templates location", and these
all are configured from "Tools / Options / Projects and Solutions /
General". None of these settings though seems to influence the default
"New Website" location.
So can I...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |