What is a MVC4 pluggable approach using Areas with external projects? - asp.net-mvc

I have decided to use asp.net-MVC4, Doing some POC and stuck with manging bigger solution then I have found solution posted by #nilesh http://nileshhirapra.blogspot.sg/2012/02/aspnet-mvc-pluggable-application.html.
It is working fine for MVC3, but when try to implement same in MVC4, my area solution views will throw error saying no extension register for .cshtml. using ASP .net mvc 4 empty solution?

Related

Is Grid.MVC compatible with ASP.NET MVC 5?

Before I start messing around with something that doesn't work:
Does Grid.MVC work with ASP.NET MVC 5?
On gridmvc.codeplex.com they just write MVC3/4, but I wonder if anybody tried it with MVC5? You tried it, but it didn't work?
Try this one: http://mvc-grid.azurewebsites.net
it is more up-to-date.
MVC 5:
Install-Package NonFactors.Grid.Mvc5
MVC 6:
Install-Package NonFactors.Grid.Mvc6
Yes it works in MVC5. The website does not indicate 3+ but that's what it is.
I have implimented Grid.Mvc in multiple MVC5 projects using EF6.
I love it, it's really easy to stand up and allow my users to query the data tables. I would suggest trying it out, but the documentation isn't great. Luckily the documentation they do have is enough to get started.
https://gridmvc.codeplex.com/documentation

Routing issues with javascriptspellcheck and asp.net MVC

I want to implement the javascriptspellcheck (A javascript + .net spellchacker plugin ) in my asp.net mvc application, the standalone example works fine but when I am trying to implement it in my application, the include.js causes routing issues.
I have no idea, how to overcome from this, your help will get me relief.
The suggestions are also invited for asp.net mvc spellchecker

How do I upgrade to MVC 3 from MVC 2 and leave my code unchanged?

We are planning on upgrading our VS 2010 solution from MVC2 to MVC4 (without changing code because it's backwards-compatible).
I understand that we have to upgrade to MVC3 first. How can I upgrade our solution to MVC3 without changing our codebase?
The reason is that we want to start using MVC4 for new code and at the same time, we want the current code unmodified.
If anyone can help, I greatly appreciate it. All of the solutions that I've seen have some sort of tool to convert it automatically, but I'm scared that our current code-base would be modified and potentially break.
Any help is greatly appreciated in advance.
Our solution here is an extremely customized MVC2 solution. Our solution is the most customized MVC2 solution that I have encountered. Still, this link guides you through it and it works!
This worked for me:
ASP.NET MVC2 to MVC3
http://mvcdecoder.wordpress.com/2012/01/28/upgrade-application-from-asp-net-mvc2-to-mvc3/
ASP.NET MVC3 to MVC4 (directly from the ASP.NET whitepaper)
Do this manually:
http://www.asp.net/whitepapers/mvc4-release-notes#_Toc303253806

Sample application for asp.net mvc

I have worked on asp.net 2.0 years ago and recently worked on SL and WPF applicaiton have idea on mvvm. As my next project would be on ASP.net MVC DotNet FW 3.5, I was looking for sample application code using MVC any links\forum on this would be of gr8 help.
Welll I was going through http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3 and noticed the view uses cshtml file extension rather aspx and was confused. Please, point me to some refernces to start as a biggner.
First of all i'd recommend MVC4 and .Net 4.
The easiest way to learn is create a new project using the default MVC 4 internet project template. It has all the basics covered.
The most important about MVC is that you forget about webpages being files on disk. The .aspx and .cshtml files in MVC are views returned by a controller. A controller is a class which has functions, called Actions in MVC terms. If you have an url /Home/Index MVC would call function Index in controller class Home.
The .cshtml extension is used by view template files rendered by the ASP.Net MVC3 Razor View Engine. I often find videos to be great introductions to topics about which I want to learn more.

Can i add MVC project in normal asp.net c# project?

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
Mixing VB ASP.NET and C# ASP.MVC projects in a single solution
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

Resources