Best way to reuse ASP.NET code across different sites.....
I have trying to find the best way of reusing some self containing visual and non visual functionality from a Web Application in another ASP.NET site.
The bits involed are
a) Login .... into web application using its database
b) Purchase a licence .... and create new user account.... using its DB.
The easy way of doing this would be via IFrames. All one needs to do is create a landing page with the relevant User Control. However IFrames are now popular. Also with the Login component I really need to refresh the parent to the web application on successful login, but this is not possible with FF or Chrome... Cross Site Scripting Protection????
Certainly for the Purchase Licence bit then the IFrame would be fine since the Parent is not touched.
My main browsers will be IE8,IE7, and FF/Chrome going forward. This is a business web system.
What is the best approach to this? Is their an ASP.NET solution? Web Services or what.... ? I really do not wish to do a load of coding on the calling site to create visuals for web service data, just provide a container like the the IFrame does...???