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
2 Answers
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
5 Comments
Mattias Jakobsson
By winforms I guess you mean webforms? If that is the case then you can mix them in the same project.
Mattias Jakobsson
Then you can use them in the same project without problems.
Samir
can anybody give me an example so i can better understand.
Mattias Jakobsson
@Samir, What is it that you want to know?
Mattias Jakobsson
@Samir, Here is a article that describes how you can use asp.net mvc and asp.net webforms in the same project: weblogs.asp.net/rajbk/archive/2010/05/11/…