Wednesday, 4 May 2016

Escape text for HTML - Embed Symbols in HTML

ASP.NET 
    var encoded = System.Web.HttpUtility.HtmlEncode(un_encoded);

C# console and Windows apps 
    var encoded = System.Security.SecurityElement.Escape(un_encoded);


Tuesday, 12 April 2016

Using Checksums to test for Unexpected Database Schema Changes

USE [DATABASE-NAME]
GO

SELECT CHECKSUM_AGG (CHECKSUM (
                TABLE_NAME,
                COLUMN_NAME,
                CHARACTER_MAXIMUM_LENGTH ))
FROM INFORMATION_SCHEMA.COLUMNS


Thursday, 7 April 2016

Database Object Generator

Database Object Generator creates objects for tables in a database. Objects are generated as C# code. Here are two different DataObject Generators:

  • DbObjectGenerator
    Plug-in for Visual Studio. no DLLs, no maintainability issues, and no startup performance cost... more 
  • CodeTrigger
    Code Generation For C#, WPF, WCF, SQL SERVER/ORACLE/MYSQL and Visual Studio 2010-2015... more 

CoffeeScripts

CoffeeScript is a little language that compiles into JavaScript. Underneath that awkward Java-esque patina, JavaScript has always had a gorgeous heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way... more


Friday, 11 March 2016

CodePen - Playground for the Front End Web

Show off your latest creation and get feedback. Build a test case for that pesky bug. Find example design patterns and inspiration for your projects... more

Emmet — the essential toolkit for web-developers

Emmet is a plugin for many popular text editors which greatly improves HTML & CSS workflow... more


Analysis Service in Power BI Report Server

 We couldn’t connect to the Analysis Services server. Make sure you’ve entered the connection string correctly... link