Can we run MVC4 application in Sitecore CMS 7.2 rev.140526 or does it require MVC5? - sitecore

I have installed visual studio 2012(supporting MVC4 and .NET 4.5) and Sitecore CMS 7.2 rev.140526. I am able to run the Sitecore using admin user and launch the website too.
I was going through this tutorial on MVC integration with Sitecore which creates an MVC application in visual studio and then integrates in the Sitecore CMS site. When I followed the same steps I got error. The MVC version used in this tutorial is MVC3 and the Sitecore version is 7.1.
I have tried the same in my machine but got the error Could not load file or assembly 'System.Web.Mvc, Version=5.1.0.0. From the error I understand that it is looking for MVC5 but in machine I have only MVC4.
Is there any way to resolve this?
First of all, is Sitecore 7.2 is compiled in MVC4 or MVC5?

Here is the Sitecore compatibility table:
https://kb.sitecore.net/articles/087164
It clearly states that Sitecore 7.1 is compatible with MVC 4 but newer versions of Sitecore (7.2 and 7.5) do not support MVC 4 and they require ASP.NET MVC 5.1

Related

SAP Personal WEB IDE upgrade issue

Created in SAP Web IDE on the cloud an application from worklist template version 1.53. Upgraded my Personal Web IDE to the same version using the steps described in the link below:
​​http://www.saplearners.com/upgrade-sap-web-ide-personal-edition/
Imported the exported application to ​Personal Web IDE and ran it to find out that it was crashing due to components missing. The missing component was sap/f/semantic/SemanticPage.js, which, as I found, is available since version 1.52. Furthermore, when I try to create an application from template within Personal SAP Web IDE, the latest available version shown is 1.44. Explored the contents of Personal SAP Web IDE, plugins folder looks as follows (picked it only because a folder relative to 1.53 is located in there)
Plugins folder contents
What exactly do I miss here?
It seems to me you are mixing things up. The version number of the Web IDE Personal Edition and SAPUI5/OpenUI5 are not the same.
The latest version of the Web IDE PE is 1.53.1. It was released 9 months ago (July '17). The latest UI5 Version at that time was 1.44.11.
sap.f.semantic.SemanticPage is available since 1.46 (UI5, not Web IDE PE). Since this is newer than the UI5 version shipped with the Web IDE PE, this control is not available.
Quick workaround: Use this CDN link while developing: https://sapui5.hana.ondemand.com/1.46.10/resources/sap-ui-core.js
It points to release 1.46.10 of SAPUI5.
A list of available versions can be found here.

Update Sitecore and SIP together?

I currently have the task of updating a Sitecore Instance 6.6 with SIP 3.2. The target is reaching Sitecore 7.0, so we can use Item Buckets.
The problem is when I update Sitecore to 7.0, it doesn't work with SIP 3.2, because assembly references doesn't match anymore and Sitecore 7.0 runs on .NET 4.5, where SIP 3.2 runs on .NET 3.5. So the Sitecore Backend does not work anymore and I cannot update the SIP.
If I update the SIP to 4.0 (which works with Sitecore 7.0) before updating the Sitecore Instance to 7.0, I get a similar problem.
Any idea what I can do to update both together? Or is there another way of achiving Sitecore 7.0 with SIP 4.0?
I would recommend uninstalling SIP first. You can achieve this is via removing the code files and configs from the solution manually - you can try leaving the Sitecore Items there as they shouldn't cause issues.
It will be helpful to redownloading the SIP package, unzip to see the files and view which files and configs it contains, then remove those from your solution.
A simpler way if you have Sitecore Rocks is to create an Anti-package - https://www.sitecore.net/nl-be/learn/blogs/technical-blogs/trevor-campbell/posts/2013/02/28-days-of-sitecore-rocks-package-management-part-1.aspx
Once you have removed SIP, complete your upgrade of Sitecore and confirm your site serves correctly afterwards.
Then its a matter of installing the correct version of SIP for the version of Sitecore 7 you have upgraded to. This will mitigate the issue of assemblies being different versions.
I would recommend backing up your databases before the upgrade as best practice but to also retrieve any SIP Item you may later need.

What .Net framework should my Sitecore 7.0 build target?

We are upgrading a Sitecore 6.4 solution to 7.0 (release 2).
For development this requires Visual Studio 12 and .Net 4.5 framework.
Our production environment is running Windows 2008 R2, .Net 4.0 and our solution is running in a .Net 4.0 app pool.
We don't currently have any solution code that requires .Net 4.5 specific features.
So a multipart question:
What benefits are there to upgrading the .Net framework on the server and targeting .Net 4.5 in the build?
Is there a potential performance gain?
What are the potential drawbacks?
What .Net framework does Sitecore itself target?
Thanks to Sitecore Climber in the comments -
From the Sitecore 7.0 Installation guide:
2.1.3
.NET Framework Requirements
Sitecore CMS 7 requires .NET Framework 4.5.
Any available updates to the .NET Framework should be applied to every Sitecore host.

Does IE 11 support applications developed in Silverlight 5?

We have developed a web application with using Silverlight 5. We are facing problems in IE 11. The application is not even loading in IE 11. But it is working fine in IE 10 and other browsers like Chrome and Mozilla.
When we debug, the "Silverlight.__startup();" function itself is not called when we focused the silverlight object. Could you please clarify for us whether will IE 11 support Silverlight applications or not. If yes, could you please provide some tips / suggestions to load the SL application in IE 11. If you can able to provide a sample app, that will be great for me.
Also, we are using jquery 1.4.1 version. Will IE 11 support this version or not. If not, which version of jquery we have to use in IE 11?
You should upgrade to the latest version of jQuery.
In principle, Desktop IE11 will support Silverlight in the Trusted Sites and Intranet zones.
The Immersive version of IE (Win8/Win8.1 app environment) doesn't support add-ons.
Silverlight is a legacy add-on which is not compatible with Enhanced Protected Mode, which is now on-by-default in the Internet Zone.
I just install IE11 replacing IE10 on Windows 7, and all my application Under Silverlight work fine.
What I have done :
option Internet Intranet : allow initialize activeX
Parameter compatibility : set to Trust my Intranet Server.
Surprise : I can look demo of Devexpress.com on Silverlight, without any change on security on Internet
Regards

I got following error When i open SiteCore website in Visual Studio 4.0

I got the following two errors when I open Sitecore 6.3 website in Visual Studio 4.0:
Error 1 The virtual path
'/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx'
maps to another application, which is not allowed.
Error 2 Unknown
server tag 'ds:DateSelector'.
I simply install Sitecore 6.3 (website save into c:/inetpub/wwwroot/sitecoresite/website). When I open this site in Visual Studio 4.0, it shows error.
Can any body tell to me how can I open this or what mistake did I make?
As far as I understand your question, you get the error when you browse the newly installed Sitecore website, which is set up to run under ASP.NET 4.0 application pool. If that's the case, then I should inform you that it is supported to run Sitecore under ASP.NET 4.0 application pools starting from version 6.4.0.
So, you have two options here:
setup your application pool to use ASP.NET 2.0 (make sure .NET 2.0 is installed)
upgrade a Sitecore instance to the 6.4.0+ (which might not be acceptable)
Hope this helps.
I'm not sure if you are having issues because of the way you are opening the project, there are a few issues if you open it as a File-System website project you will want to create a Web Application Project and go from there.
You can look at this blog post :
Simplify Sitecore Visual Studio Project Creation (or the previous version) for information on how to setup a Visual Studio Project correctly for Sitecore.
I actually think this might just be as simple as a missing tilde. So rather having
/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx
you should have
~/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx