Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2014-11-15
1
148 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 80

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.

789 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