No CodeBehind

G

Guest

I have been doing code behind pages in ASP.Net for about two years.
Now I need to debug a production page. I would like to move all the code
from the code behind page and into the contact.aspx page. I will enable trace
to find my problem.
Can anyone give me a link to some sample page with no 'Behind'?

Arne.
 
G

Guest

Ethem,
I was trying to use Trace.Warn print trace messages to the browser and I
didn't want to recompile the while application.
 
G

Guest

Hi Arne,

Just that I wonder; you want to put the whole code into the aspx file,
right? What about the codebehind dll? Aren't you going to have two
definitions if you do it that way? As far as I remember, the inline code will
be compiled into a temporary web.dll file, but eventually you will have the
classes defined twice.

Ethem
 
G

Guest

I have a production app and I can not always touch the codebehind.dll for a
simple bug. It would cause too much of an interuption of a production system.
With code inside I can do bug fix and fix the codebehind.dll at a more
appropriate time.
 
D

darrel

I have a production app and I can not always touch the codebehind.dll for
a
simple bug. It would cause too much of an interuption of a production system.
With code inside I can do bug fix and fix the codebehind.dll at a more
appropriate time.

I am NO expert on any of this, but can you do this instead:

<%@ Page Language="vb" src="default.aspx.vb" %>

I've done that in the past when I had to work on some pages but didn't have
VS.net handy to compile things with.

-Darrel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top