troubleshooting Question

Best way to reuse ASP.NET code across different sites.....

Avatar of SamJolly
SamJollyFlag for United Kingdom of Great Britain and Northern Ireland asked on
.NET ProgrammingWeb ApplicationsASP.NET
12 Comments3 Solutions363 ViewsLast Modified:

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...???

Thanks in advance,

Kyle Abrahams
Director of Information Technology

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros