.NET

14 posts in this category. ← All writing

Using Papercut and StateServerLets take a look at using Papercut as SMTP-server and StateServer during web site development. Installing Litium AcceleratorIn this tutorial we'll take a look at installing Litium and Litium Accelerator. Installing Visual Studio Code and ASP.NET Core on Linux MintRunning ASP.NET Core and installing Visual Studio Code on Linux mint. Error Missing binding node in Visual Studio 2017I started to get Error Missing binding Node Sass could not find a binding for your current environment Windows 64-bit with Node.js 4.x. This is ho... Disabling Sitecore search index updateDisabling Sitecore search index update during package install will speed up the installation, making it noticable quicker for large packages. Serialize and deserialize dictionaryA few years back i needed to serialize and deserialize dictionary. The solution turned out to be Adar Wesleys SerializeableDictionary. Validating C-sharp made JWT signature with PHPWhen validating C-Sharp made JWT signature with PHP, or the other way around, you may run into problems. What can happen is that the hash can be di... cache in csharpThis is an example of how to cache objects in an asp.net csharp project. Check if page in episerver is opened from edit/admin modeThis code checks if a page in episerver is opened in edit mode. It uses HttpContext.Current.Request.UrlReferrer.LocalPath to look for the word admin. 301 Redirect i PHP och ASP.NETEn 301 redirect betyder att man har flyttat en sida permanent till en annan URL. Serialisera och deserialisera ett DictionaryBehövde i dagarna xml-serialisera och deserialisera ett dictionary för att spara information på disk. Lösningen blev Adar Wesleys SerializableDicti... HttpOnly-cookies i .NETJag fortsätter att gästblogga på webbsäkerhet.se, denna gången om att skydda sina användare ifrån cooke-theft via xss genom att använga sig av Http... AntiXSS och MVCGästbloggade i veckan på webbsäkerhet.se om cross site scripting och mvc, gå gärna över dit och läs inlägget. Cross-site request forgery och ASP.NET MVCCross-site request forgery, även kallat CSRF och XSRF, är ett sätt att lura en användare att utföra saker den inte vill göra.