Solved

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

Posted on 2014-11-15
1
151 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
[X]
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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trying to understand what this mean...types(lstTypes[i].AvailableDatatype) 2 27
Return array 3 20
Adjust the codes 3 35
aspx ascx, c# 7 19
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
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.

726 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