Solved

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

Posted on 2014-11-15
1
138 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 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now