Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mixing ASP.NET MVC and Web Forms?
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01578955
Message ID:
01578961
Views:
39
>>Hi,
>>Can you mix ASP.NET web forms into ASP.NET MVC application? For example, I have a login form from another ASP.NET Web forms application. So in the new ASP.NET MVC I would like to use the existing Web form (by copying it). How do you route the application to the ASP.NET web form in MVC application? Any other suggestions would be appreciated.
>
>I've seen two possible approaches:
>
>(a) Tell MVC to ignore *.aspx routes (e.g. http://www.packtpub.com/article/mixing-aspnet-webforms-and-aspnet-mvc )
>or
>(b) Add a route handler for the web forms stuff (see 'Handling Legacy URLs' here: http://www.codeproject.com/Articles/38778/ASP-NET-WebForms-and-ASP-NET-MVC-in-Harmony)
>
>Disclaimer : Never tried either :-}

Thank you very much for both links. I will follow them.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform