?
Solved

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

Posted on 2014-11-15
1
Medium Priority
?
159 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 82

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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