Posts

Showing posts with the label Sitecore MVC

Sitecore MVC Project creation

Image
   Introduction: In this post we will integrate an ASP.Net MVC application with Installed Sitecore Instance. This should be simple and straight forward mechanism.  Background:  I have a site that is up and running after installation as shown below. fig-1 Now we will create an ASP.Net MVC Empty Application from Visual Studio. fig-2 Search for ASP.Net MVC and then select application without core as shown below. fig-3 Given the name as you prefer for this Application but I would suggest to keep the name similar to your Sitecore Web instance.  fig-4 Now select MVC blank and click create. fig-5 Once your a re done creating the application it will look like this. fig-6 As we know from Sitecore, Global.asax file is been provided by Sitecore while installation, thus, we need not need this one. We will delete this file. Similarly Web config files we will delete them as well.  fig-7   fig-8 Now go to your Sitecore Installed Instance and check the Version of Site...

Sitecore Custom Item Not Found Page

Image
  Introduction  :  This article is about implementation of 404 page as an item within Sitecore. There are few things that need to modify to get optimistic result after creating 404 (Item Not Found) page in Sitecore. The implementation shown in this article is for education purpose. Readers are expected to implement them using all the best practices that are known to them. Who can read this Article? This article is for all the developer with basic knowledge of Sitecore with MVC. The developer should have installed sitecore and deployed the website. Description :  We will be implementing how to redirect to an Item in sitecore when the URL goes wrong. We will also consider effective measures that need to be taken in order to keep our website visible and rank good in Search Engine Optimization. We will first create an Item in Sitecore to handle the Item Not Found page. We will then talk through the missing elements that need to be implemented to successfully complete the...