Re: DLL vs. no DLL

From: Eliyahu Goldin (removemeegoldin_at_monarchmed.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 10:51:29 +0200

Asp.net can't compile code-behind files. You need VisualStudio for that.
Asp.net can compile aspx pages including c# scripts in the way you want -
you just change a page and it will be compiled next time. it is requested.

Eliyahu

"BobRoyAce" <bob@omegasoftwareinc.com> wrote in message
news:0uqdnTXukpNX2nLcRVn-ug@comcast.com...
> I am a total newbie to the .NET web development arena and have a basic
> question. I have inherited a .NET web application, written with C# in
> code-behind pages. The way that the application currently works involves
> having the various .aspx pages up on the server together with a single
> compiled DLL that I assume contains the compiled version of all of the
> code-behind files for all of the pages together with whatever else. The
> problem I'm having is that, by looking at the server, I have no idea what
> the actual code behind the pages is since it's all compiled into the DLL.
> So, though I know it must be a slight performance hit, I'm thinking it
would
> be nice to be able to put the .cs files up on the server, together with
the
> .aspx files, and then, if I need to change a .cs file, I can do so and
> simply put the new file up on the server and be done with it. Then, I
would
> guess, the first time the page is accessed, the server would have to
compile
> the new .cs (can it even do this?).
>
> There are really two issues I'm trying to address here:
> 1) I want to be able to know for sure, by just looking at code files on
the
> server, what code is behind the pages.
> 2) I want to be able to change a single .cs file and put the changes up on
> the server without needing to recompile and distribute a single DLL. This
> way, I can be sure I didn't inadvertently introduce unwanted changes
> elsewhere into the DLL (e.g. may have changed another page's code). In
this
> way, I could easily isolate the changes I'm pushing up to the server.
>
> I'm certainly welcome to hearing about what I'm missing, if anything,
here.
> Any input would be greatly appreciated.
>
>



Relevant Pages

  • Re: remoting options
    ... Copied the "server dll" into the bin directly on the client. ... Now if I use soapsuds I am presuming I will compile and copy ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Problem compiling remote web in VS2005
    ... > remote webserver, which is highly unlikely that it could do. ... I develop from home on a staging server in the datacenter of my company ... computer create a new project and develop and compile on it from my laptop ... >> I've setup a new website in IIS, enabled .net, fpse, etc. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: XKB problem with x-terminal
    ... >>> Is there a way to compile keyboard definitions for X and save them ... >> where you can make the X server load it upon startup using the option ... * you can't keep the X server from wanting to call xkbcomp, ... * you are expected to specify the bare name of the keymap (without the ...
    (Debian-User)
  • Why I dont believe in static typing
    ... relative merits of static versus dynamic typing I thought I'd spoil it all ... delivered by an ad server, which was already up and running. ... to part of the system, compile it, and the compiler errors would point you ... The introduction of credit card billing ...
    (comp.lang.lisp)
  • Re: Trouble getting off the ground with rsync
    ... >> So it appears you are lying. ... approximately, at least) and the syntax for using rsync without one, ... completely clear to me (I don't really know if he meant to use server ... and there are plenty of ways to compile it. ...
    (comp.os.linux.misc)