SLaks.Blog

Monday, June 11, 2012

Visual Studio 2012 and webpages:Version

›
If you open an older ASP.Net MVC3 project in Visual Studio 2012, you may see lots of errors in the Razor views, along the lines of “The name...
161 comments:
Thursday, March 1, 2012

Exploring Caller Info Attributes

›
Last year, Microsoft announced a simple new feature in C# 5: Caller Info Attributes .  These attributes let you to create methods with optio...
339 comments:
Tuesday, February 21, 2012

ASP.Net MVC Unobtrusive Validation Bug

›
If you use the ASP.Net MVC 3 [Compare] validation attribute on a model property, then include that model as a property in a parent model (s...
370 comments:
Wednesday, January 25, 2012

Protecting against CSRF attacks in ASP.Net MVC

›
CSRF attacks are one of the many security issues that web developers must defend against.  Fortunately, ASP.Net MVC makes it easy to defend...
73 comments:
Wednesday, December 14, 2011

The Dark Side of Covariance

›
What’s wrong with the following code? var names = new HashSet<string>(StringComparer.OrdinalIgnoreCase); ... if (names.Contains(sqlC...
68 comments:
Wednesday, December 7, 2011

CAPTCHAs do not mitigate XSS worms

›
One common   misconception about web security is that protecting important actions with CAPTCHAs can prevent XSS attacks from doing real da...
48 comments:
Sunday, November 20, 2011

About Concurrent Collections

›
One of the most useful additions to the .Net 4.0 base class library is the System.Collections.Concurrent namespace , which contains an all-n...
54 comments:
›
Home
View web version
Powered by Blogger.