Matt Payne Consulting

Avatar

Everything is possible

Sick of Hard Coding Strings in Your MVC App?

This may not be news to anyone, but there's a cool utility project out there for MVC that allows you to avoid hard coding strings in your app.

For example, how many times have you written something like:

public ActionResult DoSomething()
{
 //Do some work
 return RedirectToAction("Home");
}

All the time, right? It's a pretty common approach. But wouldn't it be nice if you didn't ...

Customizing Forms Authentication in ASP.Net MVC 3

I'm in the process of building out the core functionality of ColorMatchR. One of the main ingredients is that users can log in, of course.

The obvious choice to support this requirement is Forms Authentication. This allows me to use all of the build-in security related features of ASP.NET, like the [Authorize] attribute.

Normally, this would be straightforward. In fact, the default MVC project comes with ...

New Site Launched

Now that I've finally settled in to my new life in Vancouver, BC, I've decided to re-launch this site, although with a new look and new content.

I've decided to pursue software development work independently, rather than work somewhere, since I enjoy the freedom and the variety that being an independent contractor allows me.

I'm enjoying the work I've been doing recently - it ...