Links to possible things to implement in future
Stongly typed web.config sections
http://haacked.com/archive/2007/03/12/custom-configuration-sections-in-3-easy-steps.aspx
An implementation of subforms:
Capturing HTML response output to a string instead of sending directly to the browser:
http://www.brightmix.com/blog/how-to-renderpartial-to-string-in-asp-net-mvc/
http://stackoverflow.com/questions/483091/render-a-view-as-a-string/1241257#1241257
MVC Controllers with single Action only
Pluggable functionality
Example of how to call a method on an object only if the object exists:
// selects the v3.5 (legacy) or v4 HTML encoder private static HtmlEncoder GetHtmlEncoder() { return TypeHelpers.CreateDelegate<HtmlEncoder>(TypeHelpers.SystemWebAssembly, "System.Web.HttpUtility", "HtmlEncode", null) ?? EncodeLegacy; }
Leave a Comment
Comments