Hello, can anybody tell me that if i made a normal asp.net c# project and in that solution i want to add mvc project. so is it possible to call mvc view from normal page which is in first project? if yes then how can i call view page from normal page of asp.net c# project. on live server how can i call mvc page? Thanks Samir
A:
mmcteam.com.ua
2010-05-10 14:01:11
this is not the proper solution. can you give me an example.
Samir
2010-05-11 05:25:25
what example do you want? Link above is just simple pager - and you can use it to build your own grid.
mmcteam.com.ua
2010-05-11 08:18:25
A:
Ok, couple of different things here.
Can a ASP.NET forms project exist in the same solution? Yes
Can you mix MVC with WebForms in the same project? No
Can a MVC site communicate with a WebForms site? Yes, you can easily pass between via simulated form submission or by URL. You could also configure cookies to work across both sites.
Can you have an MVC site and a WebForms site use the same url? No
Serapth
2010-05-10 14:01:49
By winforms I guess you mean webforms? If that is the case then you can mix them in the same project.
Mattias Jakobsson
2010-05-10 14:12:50
@Samir, Here is a article that describes how you can use asp.net mvc and asp.net webforms in the same project: http://weblogs.asp.net/rajbk/archive/2010/05/11/running-asp-net-webforms-and-asp-net-mvc-side-by-side.aspx
Mattias Jakobsson
2010-05-11 11:06:42