Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I write my ASP pages on my development PC, then test them, then put them on my server

 

Problem is, the changes don't seem to 'take.' For example, I have a Response.Write("Test") on the code behind page. Then I open the page up on the server using Notepad and delete that line, and save it.

 

It will still response.write here. I have tried disconnecting the server from the rest of the network and searching for other instances of the page, but it is unique to the server and it enables that line, even if I reboot.

 

Anyone know what simple thing in ASP I have done wrong?

Read the Fovean Chronicles

Because you just can't spend your whole day programming!

  • *Experts*
Posted

ASP.NET uses compiled code, unlike classic ASP which is

interpreted from the .asp page at runtime. Whenever you make

changes to the code-beind page or in code blocks inside the ASPX

page, you need to compile the project and then upload the DLL's

found in the /bin directory.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • *Experts*
Posted

Well VS.NET does not actually do the compiling itself... instead it

uses the command-line tools that come with the .NET Framework

SDK. This is installed along with VS.NET.

 

I'm not familiar with these tools, but the ".NET Framework SDK"

section of the documentation has explanations for how to use them.

 

Here it is for VB:

[mshelp]ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vaconBuildingFromCommandLine.htm[/mshelp]

 

And C#:

[mshelp]ms-help://MS.VSCC/MS.MSDNVS/cscomp/html/vcgrfBuildingFromCommandLine.htm[/mshelp]

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...