Keep it Simple

// practice, the distance between dream and achievement

Tag: C# (page 1 of 3)

Configure Proxy server for SharePoint

In most enterprise settings you will need to go through a proxy server to connect to external sites. In Windows the proxy settings in IE actually affects the apps on that machine.


Continue reading

SecurityElement.Escape vs HttpUtility.HtmlEncode

You should use the function System.Security.SecurityElement.Escape and not the function System.Web.HttpUtility.HtmlEncode to escape special characters in XML if you don’t want the characters like éûÉ to be converted to éûÉ 

Continue reading

UrlDecode vs HtmlDecode

The difference between these two commands is obscure, and plagued me for some time. It just gelled in my head, so I thought I’d share.

HtmlDecode — it converts the HTML character entities (&lt; &gt; &amp;) into hTML characters (<, >, &)

UrlDecode    — it converts the URL safe entities (%20) into its original characters (” “)


F# Series – Cheat sheet

This cheat sheet glances over some of the common syntax of F#. If you have any comments, corrections, or suggested additions, please comment. It is designed to be kept close for those times when you need to jog your memory on something like loops or object expressions. Everything is designed to be used with the #light syntax directive.

Continue reading

Older posts

© 2017 Keep it Simple

Theme by Anders NorenUp ↑