Ben's code

Routes define how URLs map to controllers and actions in your application. more


There's nothing worse than users frustration at not being able to submit webforms due to validations warnings being so unobtrusive that you can't s... more


Environment.NewLine is a string and cannot be directly used as a delimiter for the Split method which expects a character or an array of characters. more


You can remove the extension from a filename in C# using several methods. Here are a couple of common approaches: more


Improve your searches with Soundex! more


Extension Methods are a handy way to extend built-in types like string or int. This is a collection of some very useful ones. more


Codeyou can run directly in LINQPad to create a conditional query more


need to chage identity data? use GetOwinContext more


Random thoughts on Back-end Web Developer philosophy more


Some tips to reduce coding mistakes when working on two copies of the same website more


Tutorial to read and write image metadata (IPTC and Exif) using C# and ImageMagick in ASP.NET / MVC more


Tutorial to colorize plain text as HTML code from a code editor more


How To Create a Google XML Sitemap from a SQL Server database in One.Net using LINQ to XML more


Read user added keys from the web.config file more


check if string could be a valid web address using regular expressions more


check if string could be a number using regular expressions more