Tuesday, 29 October 2013

What is max size for a Sitecore Package

The max size for sitecore package can be 2 gb

 The Max. Size of Package should not be 1.9 GB! (Which is a MaxValue of Int32 — 2,147,483,647 == 2 GB) 

Tuesday, 22 October 2013

How to Get the WEBSite Base URL

   private string websiteBase;
        protected string WebSiteBase
                if (string.IsNullOrEmpty(websiteBase))
                websiteBase = Uri.UriSchemeHttp + System.Uri.SchemeDelimiter + Request.Url.Host;

                return websiteBase;

Monday, 14 October 2013

Want default languages for user to be German so he need not to change the langauges again and again !!

We can do the same by using the User Manager and setting the default language for given user..

By default its is "Default" so for all users whenever he picks any site core items .. The items gets opened in Default lang..