WebForms and WebUserControls in DLL

F

Formentz

Hi Guys,
I am very new to ASP.NET.

Is it possible to create a DLL with WebForms and WebUserControls in it, and
then to use that forms and controls in a web application?

I come from Windows Forms programming and I used to store in DLL's many
forms and user controls that I can share between applications.
For example I used to inherit from a form in a DLL to have some
functionalities already implemented in the DLL-form.

Is it possible to do the same thing in ASP.NET?
The Class Library (DLL) doesn't permit to add a WebForm on it... is there a
workaround or something that I'm missing?
It would be nice if, at least, I could write WebUserControls.

I am using VS2005 and C# language.

TIA

Ciao
Formentz
 
P

Petar Atanasov

Formentz said:
Hi Guys,
I am very new to ASP.NET.

Is it possible to create a DLL with WebForms and WebUserControls in it, and
then to use that forms and controls in a web application?

I come from Windows Forms programming and I used to store in DLL's many
forms and user controls that I can share between applications.
For example I used to inherit from a form in a DLL to have some
functionalities already implemented in the DLL-form.

Is it possible to do the same thing in ASP.NET?
The Class Library (DLL) doesn't permit to add a WebForm on it... is there a
workaround or something that I'm missing?
It would be nice if, at least, I could write WebUserControls.

I am using VS2005 and C# language.

TIA

Ciao
Formentz

Hi, Formentz

Check out for ClickOnce:
http://msdn2.microsoft.com/en-gb/netframework/aa497348.aspx

HTH,
Petar Atanasov
http://a-wake.net
 
G

Guest

Formentz,
There has to be an ASPX or ASCX "Page" that represents the HTTP endpoint to
run your code that's in the assembly.
Peter
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top