My attempt @ blogging
My attempt @ blogging
Thursday, 26 March 2015
Overriding default HTML encoding in jQuery Template
›
${template-variable} syntax of jQuery Template encodes the HTML if present in the value passed to the template. You can override the default...
326 comments:
Monday, 9 March 2015
How to iterate through Microsoft Enterprise Library CacheManager?
›
Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager doesn't have a method / property that allow you retrieve the entire Cache it...
2 comments:
Thursday, 5 March 2015
DateTime format strings in .NET
›
A date and time format string defines the text representation of a DateTime that results from a formatting operation. It can also define the...
Friday, 27 February 2015
Unit Testing ASP.NET MVC - Cheat Sheet
›
Mocking Request Cookie var mockContext = new Mock<ControllerContext>(); mockContext.Setup(c => c.HttpContext.Request.Cookies).R...
Friday, 13 February 2015
ActionResult types in ASP.NET MVC
›
ActionResult (System.Web.Mvc.ActionResult) Subtypes ContentResult - Returns a user-defined content type. Helper method: System.Web.Mvc.C...
Wednesday, 11 February 2015
How to add a section conditionally in ASP.NET MVC?
›
Here you go @if(sectionRequired) { @:@section OptionalSection { <div class="content"> Some text </div> } } You ...
1 comment:
Deep cloning objects in JavaScript
›
There are a lot of ways to clone objects in Javascript and here are two of them. Using JSON library var person = { name: "Jack...
›
Home
View web version