Docker doesn’t have to be complicated to start playing with. Matter of fact you can play with it any Visual Studio project you have. I have this quick video to show how. Hope this helps you.
Category: Visual Studio 2017
Want a cookie for you or foreach of you?
Ran into a weird cookie issue HttpWebRequest cookies are disabled for security by default. You need to enable it. Now if you want to add cookies from your current request, since they are seperate types, you have add it manually. Example my httpCookies – HttpContext.Current.Request.Cookies; var request = (HttpWebRequest)WebRequest.Create(url); request.CookieContainer = new CookieContainer(); //now your…
Sitecore Helix: How to use one assembly files for all the assembly version
You are using Helix principles with your Sitecore project. Great!!! You are listening well to the Sitecore Gurus and following the divine path. You are setting up TDS, MsBuild server and Octopus deploy for you Continuous Integration. Sweet!! You might run into issue where you need to have consistent Assembly version for all the projects. You…
Customizing Sitecore Upload Pipeline for both folder and database based Media
I wanted to upload documents to Sitecore Media library and at the time of upload, I would like to replace the metadata on the pdf file. Many of you probably have looked at this document for reference from Sitecore SDN. But that document has few problems. I will point those out as I write this…
How to elegantly handle a local datetime and UTC datetime
I have been working with a client that has a Hybrid environment. They have Azure tables, but their API is on prem and their internal Sql Server. To keep the data sync there is a WebJob that is running every 5 minutes and syncing on prem data with Azure tables. Problem they faced is the…
Working Visual Studio 2017, Sitecore 8.x and Sitecore Rocks
I am setting up a Sitecore Environment for a Project with Sitecore 8.2 and Sitecore rocks to work with Sitecore connection from visual studio. Since I have accidentally deleted my vmx file when working late on one of my VM. I though it would be fun to see what issues I face if I set…