Posts

Collect basic information about Sitecore installation

Image
To get support from Sitecore, Sitecore team ask us to provide basic information about Sitecore website with other details like Log files, Web config, App config, etc for further investigation. There is two way to generate this information either automatically or manually. 1.         Automatically: ·        For Sitecore XP 8.2 Initial Release — 8.2 Update-6, Sitecore XP 9.0 Initial Release and 9.0 Update-1: <site name>/sitecore/admin/supportpackage.aspx ·        For Sitecore XP 8.2 Update-7, Sitecore XP 9.0 Update-2 and later: <site name>/sitecore/admin/supportpackage 2.         Manually: ·        Create a new folder for store files. ·        Navigate to the website root folder copy the following files to the folder that you just created: §   \web.config §   All contents of the  \App_Config §   \Global.asax  and  \Global.asax.cs §   \sitecore\shell\sitecore.version.xml §   All contents of the  \sitecore\shell\hotfixes  folder (if it exists).

Single Sign-On (SSO) implementation in ASP.NET MVC

Image
To start with any secured web application, the developer needs to work on the implementation of the authentication functionality. If any user needs to enter into multiple secured web application on the same domain in the .NET framework, he needs to log-in through each of those applications. Logging in a number of times can be avoided with Single Sign On (SSO) functionality. SSO is a functionality that allows to login once and accesses multiple web applications with the same credentials. For example – once the user enters a user name and password on Gmail, he will be able to access Google’s other web application like Google Plus, YouTube, Play store, etc., with same credentials without logging in again. HOW SSO WORKS: When a user runs a page in an application that requires user-based authentication, the application searches for a cookie (forms authentication cookie) in the HTTP request, if it does not find the cookie, it redirects the current page to the l

Performance Optimization – Bundling and Minification in ASP.NET MVC

Image
Before getting you into the details of performance optimization, let me give a brief note on Bundling and Minification of JS/CSS files. What is a Bundle? A bundle is simply a logical group of files that could be referenced by a unique name and loaded with one HTTP request. You can create a bundle for JavaScript and CSS. What is Minification? It’s a process of removing unnecessary whitespaces, line breaks and comments from code to reduce its size, thereby improving load times. Bundling and minification are the performance optimization techniques that can help to improve load time by reducing the number of requests to the server and reducing the size of requested assets (such as JavaScript and CSS). Scenario without Bundling and Minification Most of the current major browsers limit the number of simultaneous connections to six per hostname. This means that while six requests are being executed, any additional requests for assets on a host wi