1

basically i am looking for something like this ,

i got webform.aspx page and have button there, if i click on it i need to show MVC view page

idea is i want app with webform and mvc !

what i am trying is : http://www.packtpub.com/article/mixing-asp.net-webforms-and-asp.net-mvc

but here i am confused about webconfig settings

please help me to get it done,

thanks

tereško
  • 58,060
  • 25
  • 98
  • 150
vir
  • 55
  • 1
  • 6

1 Answers1

1

Scott Hanselman has a good guide on integrating MVC with a Web Form App, it should take you through the steps, here it is in a nutshell:

  • Run the Upgrade Wizard (open the Visual Studio2008 Web Application in Visual Studio 2010)
  • Create a default ASP.NET MVC application for reference (you'll throw it away later)
  • Use a differencing tool like Beyond Compare to integrate the new web.config entries from the ASP.NET MVC sections into the upgraded ASP.NET WebForms application
Joe Ratzer
  • 18,176
  • 3
  • 37
  • 51