Solved

Dividing a WinForms ASP.NET website into two but making it appear as a single website

Posted on 2014-11-15
1
146 Views
Last Modified: 2014-11-18
I have a winforms asp.net website but I would like to add some MVC content to it.

Unfortunately the site itself is absolutely stuffed full of winforms code, including having winforms references in the masterpage file.

I was wondering if it would be possible to split the site into two - so from an ASP.NET point of view there were actually two websites, a winforms one and an MVC one, but to a visitor to the site it would look like a single site.

If it is possible can anyone point me to how to achieve this, ideally some sample code.
0
Comment
Question by:purplesoup
1 Comment
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40445908
you "can" do it but it will require a lot of work and will not be workable if https is involved since the parts can't co-exist but must reside on different websites (instances) a total rewrite would be the best option, you can reuse a lot of the existing code
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question