Adding new pages without recompiling whole site

  • Thread starter Christopher Kimbell
  • 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
 
S

Steven Cheng[MSFT]

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
 
A

ashelley

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


Chris

Look at the design of DNN www.dotnetnuke.com

It has a design that allows to do this. It is well documented.

-Adam
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top