Adding new pages without recompiling whole site

  • Thread starter Thread starter Christopher Kimbell
  • Start date Start date
C

Christopher Kimbell

In ASP.NET, is it possible to add new pages without having to recompile
the whole website?
Can the site span several dlls?


Chris
 
Hi Chris,

From your description, you'd like to use multi-assemblies in a certain
ASP.NET web application so that when you want to add new files, you can add
a new assembly into it rather than recomplied the existing assemlby, yes?
If anything I misunderstand, please feel free to let me know.

As for the assemlbies, of course, we can have multi - assemblies (located
in the private bin folder) for a web application. And Our pages' code
behind classes and be located in different assemblies. And the page find
its codebehind(parent class) via the "Inherits" attribute in the aspx
page's @Page diretive such as:
<%@ Page language="c#" Inherits="AssemblyName.PageClassName" %>

Thus, when we add new pages, we can put those new codebehind classes into a
new assemlbly so that we don't need to modify the old assemlby.
Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
Back
Top