Glimpse / Glimpse.Prototype

Glimpse v2 prototype
MIT License
185 stars 42 forks source link

Add common extension methods off HttpContext for Resources #41

Closed avanderhoorn closed 9 years ago

avanderhoorn commented 9 years ago

Extension methods hanging off of context will be provided to perform common tasks such as .ConfigureCors(), .ConfigureCaching() or .AddETag().

nikmd23 commented 9 years ago

This PR is ready for feedback.

avanderhoorn commented 9 years ago

Still not 100% sure about this as extension methods could achieve the same result with less code and infrastructure, but I can see that polluting the users intellisense is a concern.... just not sure if it warrants this much. But if that is a genuine concern I don't have a better solution.