I want to use the RequireHttpsAttribute to prevent unsecured HTTP requests from being sent to an action method.
C#
[RequireHttps] //apply to all acti
Deriving from RequireHttps is a good approach.
To side step the issue entirely, you can use IIS on your local machine with a self-signed certificate too. IIS is faster than the built-in webserver, and you have the advantage that your development environment is more like production.
Scott Hanselman has a great resource on a few ways to implement local HTTPS with VS2010 and IIS Express.