Sharing a User Control across Web Applications
page 8 of 8
by Thomas Z.
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 35358/ 66

Conclusion

In this article, we saw how to break the web applications barrier by using an app-based path and how to create and share a user control library across multiple web application. For demo purposes we only created one consumer (web application) but you can of course create as many consumers as you want, the only thing you need to do is to repeat the steps above for each new consumer.

Thomas is the founder of Votations.com and the .NetPolls web control. He's holding an MCDBA / MCSD .NET in C# and can be reached through this url : http://www.votations.com/contacts.asp.

Visual studio .net 2003 sources : usercontrolreuse.zip

This article was orginally published in French at dotnetguru.org


View Entire Article

User Comments

Title: require same solution for .net 2.0   
Name: Mital
Date: 2007-10-24 8:09:33 AM
Comment:
To Graham,

as you said u have published a newer verion for .net 2, but that link is not working and I want it urgently Please help me.
Thanks in advance
Title: That's Great, Really.   
Name: Shahzad
Date: 2006-12-14 11:45:22 AM
Comment:
Thanks very much buddy. Actually, i was looking for a solution to manipulate a control all dynamically, and after a lot of search i found this article, it helped me a lot.
Thanks and keep it up!
Title: A newer solution to the problem   
Name: Graham
Date: 2006-07-26 7:45:17 AM
Comment:
I've just posted a new solution for .Net 2 that allows you to include UserControls, Pages and MasterPages in a single Web Application Project library that can be distributed easily.

Its quick and easy to set up, there a description of how it works and a solution download that demonstrates everything working at,
http://www.nearasmakesnomatter.co.uk/wapul.htm
Title: Thanks   
Name: MG
Date: 2006-02-08 1:32:39 PM
Comment:
The ~ trick is great. I was struggling with virtual directories. Thanks for the help.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-23 5:43:32 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search