Added ASP.Net Optimization framework.

Not using it heavily right now, but it's there.

Fixes #687