Why can't user controls be compiled into DLL and shared with other web applications



Guys,

Does anyone know the technical reason why user controls couldn't be compiled
into an assembly and shared with other web applications.

If the ASP.NET compiler can compile the user control pages at runtime into
an assembly then why couldn't this be compiled and then shared with other
web applications. Perhaps we could write a module on top of ASP.NET which
could re use user controls in other web applications.

Thought?

Cheers

Matt


.



Relevant Pages

  • Re: Why cant user controls be compiled into DLL and shared with other web applications
    ... Matt Adamson wrote: ... Does anyone know the technical reason why user controls couldn't be compiled into an assembly and shared with other web applications. ... If the ASP.NET compiler can compile the user control pages at runtime into an assembly then why couldn't this be compiled and then shared with other web applications. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Why cant user controls be compiled into DLL and shared with other web applications
    ... Does anyone know the technical reason why user controls couldn't be ... compiled into an assembly and shared with other web applications. ... If the ASP.NET compiler can compile the user control pages at runtime into ... I don't think it's a technical reason, ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Web applications in MOSS
    ... Convert all pages to user controls ... Create one master usercontrol ... In SharePoint, a new page will be created and a SmartPart webpart ... how are you creating web applications like this in sharepoint? ...
    (microsoft.public.sharepoint.portalserver.development)
  • how to share user controls across apps
    ... I have 3 vb.net web applications. ... server controls wouldn't cause a problem but these ... are user controls From each solution I reference the user control ... links to the folder that contains the ascx files but I get a runtime error ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Why cant user controls be compiled into DLL and shared with other web applications
    ... Custom controls have great reusability, but they're kinda hard to make. ... Does anyone know the technical reason why user controls couldn't be compiled into an assembly and shared with other web applications. ... If the ASP.NET compiler can compile the user control pages at runtime into an assembly then why couldn't this be compiled and then shared with other web applications. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)

Loading