LINQ to SQL: Getting String Field Maximum Lengths With a T4 Template

by Andrew Barber 26. October 2011 09:22
Using a T4 template to easily get the maximum string field lengths of fields on tables being accessed via LINQ to SQL [More]

Linq to SQL; Missing Related 'Child' Objects

by Andrew Barber 31. August 2011 01:32
Missing the child related items in Linq to SQL, even though they appear to be modeled correctly? [More]

Remove HTML Attributes and Tags from HTML Source

by Andrew Barber 5. May 2011 17:59
Use C# and Regular Expressions to remove certain HTML Attributes and HTML Tags from source. [More]

CKEditor Html Helpers for ASP.NET MVC Razor/WebForms Views

by Andrew Barber 16. April 2011 10:27
A set of HTML Helpers for ASP.NET MVC projects to easily use CKEditor [More]

ASP.NET MVC Compilation Errors in Views

by Andrew Barber 29. March 2011 16:51
ASP.NET MVC View Compilation errors when uploading a new site to a server; an Odd cause/solution. [More]

Never Hard-Code Values! [Rant]

by Andrew Barber 18. January 2011 07:58
A short rant about hard-coded values in code [More]

Taking LINQ For Granted

by Andrew Barber 19. October 2010 11:07
LINQ to Objects Deferred Query Execution has some side effects and very useful features that you definitely want to be aware of before you start using it. [More]

When to Avoid Lambda Expressions, or What Anonymous Methods?

by Andrew Barber 21. September 2010 15:27
I love Lambda Expressions in C#. But sometimes I think they trick us into using them, when we really shouldn't be! [More]

Regex for Stripping a Cascading Style Sheet File Down to Its Selectors

by Andrew Barber 14. September 2010 13:30
Using a Regular Expression to help parse the class names out of a CSS files, without trying to construct one, huge and complex expression. [More]

Notes on an XSRF Vulnerable Site

by Andrew Barber 13. September 2010 15:30
A discussion of an XSRF vulnerability I recently discovered which seemed, at first blush, not to exist at all. [More]

Links/Profile

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent those of my partners, clients or contractors in any way.

© Copyright 2012 AndrewBarber.com