Validating Email Addresses Using Regular Expressions in C#

regex

Validating email addresses using regular expressions can be daunting, especially if you read articles like the RFC 822. The best regex I’ve found so far was on StackOverflow, and it can be implemented easily: The bona fide regex for email addresses is ridiculously long, and looks like some alien language rather than a useful code. … Read more

Converting a SQL Table to JavaScript Objects Using the ASP.NET MVC Web API

ASP.NET MVC Web API logo

Happy Independence Day! Here I will describe an alternative to an earlier post that described using a SQL stored procedure to convert a SQL table into a JavaScript object. One of the comments left on that post made me wonder why someone would not want to use the stored procedure method. After querying a large … Read more

Creating an ASP.NET MVC 4 RESTful API for a SQL Stored Procedure

ASP.NET MVC Web API logo

In order to use the information from the SQL stored proc I implemented that would create a JSON Object from a SQL table, I needed to build an RESTful API web service that would retrieve the JSON for use elsewhere. Finding information on building an ASP.NET-based API that used a stored proc to pull the … Read more