Um... okay... I appreciate your response. Although it's untrue. You
are correct that it's a compiled environment, but a DLL is not required,
when you use src=, the .cs is compiled by the web server on the first
request and then it's cached until the web server is restarted or a .cs file
is changed... and even then only the file that was changed is recompiled on
the next hit.
So anybody that understands src= have any ideas how to make VS.NET not
be so controlling?
Clint Lord
> A DLL is required--- this is compiled code (MSIL). Your ASP.NET app will
> not run without it. Think about it... if you only have .cs files, it's NOT
[quoted text clipped - 20 lines]
> >
> > Clint Lord
VS.Net will only work with code behind AFAIK, so it will always complain if
you use src=.
MichaelR _is_ right, a .dll is always required - ASP.Net compiles a .cs file
specified with src= to a .dll and caches it under
C:\WINDOWS\Microsoft.NET\Framework\vn.nnnn\Temporary ASP.NET Files\
> Um... okay... I appreciate your response. Although it's untrue. You
> are correct that it's a compiled environment, but a DLL is not required,
[quoted text clipped - 37 lines]
> > >
> > > Clint Lord
MichaelR - 09 Oct 2003 20:55 GMT
Ahem... Thank YOU Sheila...
I'm often wrong about stuff so it's nice to be right for once.
m
> VS.Net will only work with code behind AFAIK, so it will always complain if
> you use src=.
[quoted text clipped - 50 lines]
> > > >
> > > > Clint Lord
Clint Lord - 09 Oct 2003 23:00 GMT
That's the impression I was getting (that VS.NET wouldn't let you use
src=) - just wondered if anyone knew about a work around.
As for the dll issue, I understand how the webserver compiles the dll
and caches it... thus my explination about how the web server COMPILES the
.cs... what I was saying is that it's not required to have a .DLL compiled
by VS.NET or to deploy a web app. The web server takes care of the dll
details.
Thanks for the feedback.
Clint Lord
> VS.Net will only work with code behind AFAIK, so it will always complain if
> you use src=.
[quoted text clipped - 50 lines]
> > > >
> > > > Clint Lord
Sheila Jones - 10 Oct 2003 13:22 GMT
The only workarounds I can think of would be either to edit and compile the
project outside of VS.Net (e.g using the command line tools); or to put the
source code in the .aspx file, as you would with asp (but you'd still have
to have a code behind file and a .dll, even though there would be very
little in them).
> That's the impression I was getting (that VS.NET wouldn't let you use
> src=) - just wondered if anyone knew about a work around.
[quoted text clipped - 72 lines]
> > > > >
> > > > > Clint Lord
Wray Smallwood - 15 Oct 2003 21:20 GMT
I think you might want to evaluate WHY you want to do it the other way.
Enlighten us. Perhaps someone here could talk you out of it. Personally I
can't figure out why you would want to do it. A Web Server has enough work
to do without compiling files also. JIT is bad enough.
Wray
> The only workarounds I can think of would be either to edit and compile the
> project outside of VS.Net (e.g using the command line tools); or to put the
[quoted text clipped - 86 lines]
> > > > > >
> > > > > > Clint Lord