To build or not to build, that is the question

Hello, ever since I found out that VS.NET could upload all of your pages for you, I have used that method for uploading.  However when using the Copy Project option, it seems to restart the aspnet service and the sessions clear.  What I'm asking is when is it OK just to manually copy/paste some pages into the website directory w/out actually re-building the site?  Right now, I have to wait until there are no users logged into my site to do updates, which are very minor, but include code-behind changes.  Can I just upload the updated pages w/out building?
In this world there are 10 types of people, those that know binary and those who don't.
0
optik
4/22/2004 7:49:14 PM
asp.net.getting-started 91979 articles. 2 followers. Follow

5 Replies
606 Views

Similar Articles

[PageSpeed] 2

Replacing the project's dll or the global.asax will cause the application to restart and clear the session and application variables... 

Changes to aspx pages (mostly html) should not restart the app.
0
tgnat
4/22/2004 7:55:52 PM
Here's a good test... 

If you can make the change, and have it take affect, in VS while in debug mode... You should be able to make the same change to the production app.
0
tgnat
4/22/2004 7:58:38 PM
I was under the impression that if i made any changes to the code-behind, that i would have to rebuild the dll file.  Most of the changes that I make are in the code behind.
In this world there are 10 types of people, those that know binary and those who don't.
0
optik
4/22/2004 8:11:56 PM
Right!

About the only thing you can safely change is the raw html...
Modifications to the web.config file will also cause the app to be restarted.
0
tgnat
4/22/2004 8:15:41 PM
Ok, thanks for the input
In this world there are 10 types of people, those that know binary and those who don't.
0
optik
4/22/2004 8:24:57 PM
Reply:

Similar Artilces:

VS Team Build Question: How to get build status
I created a new Team Build Type. I would like to get the build status after the build. Is there any reserved property like $(BuildStatus) I can use to know the build status inside the team build scripts file? Thanks for your help. John  ...

VS Builds, and Builds, and Builds
Hello, Has anyone else had this problem?  After a while of developing, and I go to compile, VS takes forever to build and I have to end-task it.  It's definitely after I've been working for a while, then it finally has "had it" and just takes forever to build.  It's annoying as I know its not the machine (2.8 GHZ processor and 1GB RAM).  Has anyone else experienced this problem?  By the way, I do have SP1 installed. Also, after minimizing and switching around screens, when it does this, the building icon in the status bar doesn't show.  And, for more informati...

Why does Team Build get all the sources from a workspace when building?
When I start a team build, why does it get all the sources in the workspace when I only select one solution to build?  Is there a way around that?   Thanks, Howard...

Getting build failure for B2G ARM emulator build
Hi, I am trying to build b2g emulator for ARM. Followed guide in below link: https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Preparing_for_your_first_B2G_build#Configuring_to_build_an_emulator when i do build ./build.sh -j1, build is failing with below error /bin/bash: ./xulrunner-sdk/bin/run-mozilla.sh: No such file or directory make[1]: *** [applications-data] Error 127 make[1]: Leaving directory `/u/prakot/emulator/B2G/gaia' make: *** [gaia/profile.tar.gz] Error 2 real 11m57.776s user 8m43.420s sys 1m25.890s > Build failed! < can i get s...

building a forum question with .net
Im in the process of building a customized forum in .net I know C# well enough to do this (coding isn't really the issue Im having, its the logic that makes the forum run) My question is. For each topic thread in the forum, what would be the best way to return to a variable the number of replies? Like would I have to create a small function that goes in and "Select *" from the reply table where topicID = a certain ID (topicID is the unique ID from the topic thread it corrosponds with). so after writing that function, would I simply loop through all the topic thread in ...

What is the Difference Between Build and Re-Build in visual Studio .Net?
Hi, What is the difference between Bulid and Re-build in Visual Studio .Net. Pleaes help me.     Thanks Ashwath. From http://www.cs.tufts.edu/r/graphics/resources/vs_getting_started/vs_getting_started.htm, which I found with a Google search of build rebuild visual studio: Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not. Build is the normal thing to do and is faster. Sometimes the versions of project target components can get out of sync...

Getting Started with .net and a few questions
Hello I've done some asp and php programming along with various other languages in the past and slowing getting my head around .net.I have a small project of creating a Holiday Booking system on our Intranet and just trying to get the first part to work properly will hopefully get me sorted for the whole project. The Intranet is running on .net 2 and I prefer to use the VB code rather than C#. This is connecting to an SQL server.My initial page that I am trying to create is just for an admin user to view which dates in a table have been specified as Bank Holidays and be able to add ...

superreview granted: [Bug 289369] Building summary file for 20 minutes each time I start my Thunderbird program : [Attachment 233726] Building summary file for 20 minutes each time I start my Thunderb
Brucefur <brucefur@shaw.ca> has granted superreview: Bug 289369: Building summary file for 20 minutes each time I start my Thunderbird program https://bugzilla.mozilla.org/show_bug.cgi?id=289369 Attachment 233726: Building summary file for 20 minutes each time I start my Thunderbird program https://bugzilla.mozilla.org/attachment.cgi?id=233726&action=edit ------- Additional Comments from Brucefur <brucefur@shaw.ca> Not sure I am doing this right, but I am hoping so, because I really don't want to lose all my letters. :o) ...

superreview cancelled: [Bug 289369] Building summary file for 20 minutes each time I start my Thunderbird program : [Attachment 233726] Building summary file for 20 minutes each time I start my Thunde
Reed Loden <reed@reedloden.com> has cancelled superreview: Bug 289369: Building summary file for 20 minutes each time I start my Thunderbird program https://bugzilla.mozilla.org/show_bug.cgi?id=289369 Attachment 233726: Building summary file for 20 minutes each time I start my Thunderbird program https://bugzilla.mozilla.org/attachment.cgi?id=233726&action=edit ------- Additional Comments from Reed Loden <reed@reedloden.com> Please do not play with the flags. Flags are used with patches to show if a patch has been reviewed by the appropriate people or not, along w...

When I build or run my solution in visual studio 2005 I get build error
Hi,  It may be little weird but just want to give you little bit inside of my environment and then error discription .... bear with me Architecture of my Solution: My solution contains following projects  1. Class Library for business objects and other validation objects. 2. Asp.Net Website  Scenario : My solution is on TFS. All other team members using same code (obvious)! But when I build code on my machine and try to run solution it gives me error. But if I build or try to run second or third time then its start successfully and I can use website on ...

How can i get started to build an web-application?
Hey Hi everyone! well i wanna build an web application which do has connection with the database. i am planning it out with ASP.NET,C# with sql server as the database, how can i start doing this? plz do response me to the earliest thanx in advance regards kiranregards--kiran--Never explain--your friends do not need it and your enemies will not believe you anyway. your best bet would to be buy a book to start building a web application.  To many things to ask to start to help you build a web app. especially if your just starting out.  I would suggest ASP.NET UNLEASHED ISBN ...

Newbie Question
I have a new project which has just started. One of the requirements is to generate XML files. Do I have to create schema files? Does anyone have a tutorial or sample code to help me get started. I have some background using XML, but not in .NET. Thx Mark How to create a new xml file with XmlDocument? More examples hereSonu Kapoor [MVP] Feel free to ask me any .NET question | Ajax Data Controls Forum Thanks, this is very helpful. What do I need to do extra to setup the schema for this xml file? Is the schema really necessary as well? Thx Mark You dont need to define any sc...

Building Thunderbird in Visual Studio
Can somebody give me some advice on how to get started to compile / debug Thunderbird in Visual Studio under Windows (XP Pro)? I have already checked out mozilla-central (912 MB - 21/11/2011) and comm-central (122 MB - 20/11/2011) using TortoiseHg. What's the next step in a Windows environment? Also, is it possible to do incremental checkouts or do I need to clone the whole (+1 GByte) source code again? Just asking because I only have 25gigs/ month allowance and that would pretty much exclude me from writing patches. I have MS Visual Studio 2005 Professional Edition...

How to get start to build a web chat App.
Hello, I'm trying in building a web chat app with ASP.NET, I don't know where to start. I'm wondering how to get the user's message when they submit them without refresh the page, and how to send the message to the chat windows ? do I have to write an ActiveX control, or somethings like that. I searched for free sample source but cannot found, can you help me ? a sample source is best, or some link to needing document. Thanks. And if you do find some code concerning building a chat room, let me know as well. The sample given with VS doesn't work. Zath Go the www.gotdot...

Web resources about - To build or not to build, that is the question - asp.net.getting-started

German question - Wikipedia, the free encyclopedia
"Kleindeutschland" redirects here. For the neighborhood in New York City, see Little Germany, Manhattan . 1820 map of Central Europe showing ...

Media Search of Suspects’ Apartment Raises Questions
“There is something so strange about all of this,” said MSNBC’s Andrea Mitchell , as correspondent Kerry Sanders picked up baby’s toys, sifted ...

Tragedies to question, tragedies to ignore
When a white male shoots people, we ask why, but no explanations are needed when the killers are Muslim.

Question answered
The San Bernardine massacre was caused by workplace stresses combined with climate change.

Question of the Day: Would you choose smog-reducing gear?
Filed under: Etc. , Green , Emissions Governments now enforce emissions laws. What if you could choose to comply or not comply? Continue reading ...

Some Questions
1.) Yesterday’s shooter was American born, and arguably more American than Ted Cruz. Why isn’t the fact that he was legally able to obtain that ...

The Question People Need to Stop Asking Women
Lately, I'm getting it a lot. The dreaded question. The one that each and every woman in has to hear in her life, probably more than once. I ...

Hillary was asked the blunt question: "You say that all rape victims should be believed, but would you ...
Clearly prepared for that question, she answered: "I would say that everybody should be believed at first until they are disbelieved based on ...

Syed Farook’s Family Doubts FBI’s San Bernardino Account, Questions Sandy Hook Shooting
The family of San Bernardino gunman Syed Farook spoke through their attorney to say they doubted the FBI account regarding their son.

Questions raised on ex-Trump adviser
Trump tapped a man to be a senior business adviser after the man's involvement in a fraud became publicly known, the AP reports.

Resources last updated: 12/6/2015 5:24:06 AM