Option to Do "Quick Fix"

  • Thread starter Thread starter Camel Software
  • Start date Start date
C

Camel Software

Hi,

Recently I worked on a project where we brought in a Microsoft employee to
help us. He and I were trying to do a "quick fix" on a server that contained
an entire dotnet application, and he showed me an option that you could put
into a file (I can't remember if it was a .aspx file or a Web.config file)
that would allow us to test the change without re-compiling.

I can't find where I wrote down the option to use, could someone else tell
me what it is? I've searched the documentation, but apparently I'm not
looking in the right places. I have some vague memory of it having something
to do with this line:

<%@ Page language="c#" Codebehind="Console.aspx.cs" AutoEventWireup="false"
Inherits="BackupConsole.WebForm1" %>

Thanks,
Steve
 
Add a src="<path to code behind>" to the <@Page directive in the AS?X file.

From MSDN Library:
ms-help://MS.MSDNQTR.2004JAN.1033/cpgenref/html/cpconPage.htm

Src
Specifies the source file name of the code-behind class to dynamically
compile when the page is requested. You can choose to include programming
logic for your page either in a code-behind class or in a code declaration
block in the .aspx file.
Note RAD designers, such as Visual Studio .NET, do not use this
attribute. Instead, they precompile code-behind classes and then use the
Inherits attribute.
 
Back
Top