Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,

Here I am trying to combine the already existing asp.net web site with the newly developed module in MVC3 i.e. another project.
Please help me to call the MVC3 web page from inside of Asp.net web page.
Any type of help or response will be appreciate..
Its time of stuck!!! Lets resolve..
Posted

 
Share this answer
 
Comments
Killer Coder 21-Oct-13 8:48am    
Thank you for giving the glimpse of routing in asp.net;great & rare article.
But my requirement is little bit different:
Here in above mentioned article, a single project adding the MVC Views as well as .ASPX pages.
but my concern is that I had two different project under the single solution one is of asp.net web site of naming "YouMan" & another is of MVC3 project naming "ContentManager";
I want to make a call to the page of MVC3 from the ASP.Net web page & vice versa.
Please can you suggest me any way to do this.
Have a link with the Url to your MVC site matching the map route

routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = "" } // Parameter defaults
);
 
Share this answer
 
Comments
Killer Coder 22-Oct-13 5:11am    
Hello Techies,

Thank you for all helping hands. Here I gone through many articles & found a single project adding the MVC Views as well as .ASPX pages.
But my requirement is little bit different; my concern is that I had two different project under the single solution one is of asp.net web site of naming "YouMan" & another is of MVC3 project naming "ContentManager"; I want to make a call to the page of MVC3 from the ASP.Net web page & vice versa. Please can you suggest me any way to do this.
Its time to make R & D.
I am hoping that I will get correct answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900