Is servicestack MVC powerpack compatible with ASP.NET MVC 4? - asp.net-mvc

I am currently using the servicestack powerpack (ServiceStackController) in an ASP.NET MVC 3 project but I am now considering upgrading to VS2012, .NET 4.5 and ASP.NET MVC 4. Has anybody tested whether the powerpack works with ASP.NET MVC 4?

Ok, I have tested it myself now and it seems to work fine.

Related

System.Web.WebPages.Razor 3.0.0 missing

I would like to add reference to my ASP.NET MVC4 project, but in Add reference dialog (Assemblies->Extensions), there are only version 1.0 and 2.0 of System.Web.WebPages.Razor.dll
I have installed Visual Studio Professional 2013 and ASP.NET MVC4 from Web Platform Installer. What I am missing.
The web application does not work without this reference and complains that it cannot find System.Web.WebPages.Razor.dll 3.0
Razor 3.0 is only compatible with MVC 5. In your question, you stated that you are using MVC 4, which is only compatible with Razor 2.0.
So, the real question is, why are you trying to add Razor 3.0 to MVC 4? Either stick with Razor 2.0, or upgrade your project to MVC 5.
If you have a project dependency that was designed for MVC 5 (and Razor 3.0), you might be getting this error. The same advice goes for the dependency - either change it to use Razor 2.0 and MVC 4 (assuming you can make changes to it), or upgrade the project that requires the dependency to MVC 5.

Which version of MVC I can integrate with Sitecore v7.0

I have installed Sitecore version 7.0 and I'm creating new sitecore project in MVC.
So my question is that can I integrate MVC latest version i.e. MVC 4/5 with sitecore v7.0
Should I implement MVC or Web form for developing website in Sitecore v7.0.
Which one is best for future prospective.
Thanks
Sitecore 7.0 only supports MVC 4 out of the box. There are several blog posts on how to use MVC 5 on Sitecore 7 or Sitecore 7.1 (i.e. here), but I would recommend to use MVC 4 with Sitecore 7.0. Sitecore 7.2 now supports MVC 5.1.
So that's primary opinion based. But for future prospective I think it's better to use MVC, because more and more resources will come to MVC.

Does ServiceStack work with .NET 4.5?

Does ServiceStack work with ASP.NET MVC 5 and .NET 4.5? Calling the service from my ASP.NET MVC project. It appears System.Net, Version 5.0.5.0 is called by ServiceStack.Interfaces 3.9.60.0. I can't find System.Net, Version 5.0.5.0 while looking up references.

asp.net mvc 2 to mvc 4

I would like to update my project from:
ASP.NET MVC 2 with Entity Framework 4.
to
ASP.NET MVC 4 and Entity Framework 4.1
How can this be done?
You may take a look at the ASP.NET MVC 4.0 release notes which explain how to upgrade from an ASP.NET MVC 3 application. And the release notes of ASP.NET MVC 3.0 explain how to upgrade from ASP.NET MVC 2.
As far as upgrading from EF 4.0 to EF 4.1, it's as simple as updating the assembly reference. Of course if you wanted to do Code First approach you will have to make more extensive modifications.
Instead of doing it manually which will indeed take a lot of effort....why not check out my answer to a similar question and use ASP.NET MVC 3 Application Upgrader to go from MVC2 -> MVC3 and UpgradeMvc3ToMvc4 to go from MVC3 -> MVC4.

Integration from MVC2 .net 3.5 to MVC3 .net 4.0

Like to know what are the step need to do for integrating MVC2 .net 3.5 to MVC3 .net 4.0 without using any upgrading tool.
The only thing this should require is a .NET framework upgrade on the box serving IIS. Any MVC2 .NET 3.5 app should work seamlessly side-by-side with an MVC3 .NET 4.0 app.

Resources