Fabrik.Common
Fabrik.Common copied to clipboard
Useful stuff from fabrik
Sharing the changes I had to make to support my use case: having content type="text/xml" in feed entry content. Current code supports only plain text and html. I updated AtomExtensions...
I changed ImportModelStateFromTempDataAttribute to check if the result is ViewResultBase instead of ViewResult so it includes PartialViewResults like the comment implies.
When I download it and try to run it (Fabrik.Common.Web.Example) on vs2013, it's fails to build. After I fix the (*.dll) with nuget, it continues to fail  Nothing seems...
Should allow passing of serializer settings so we can, for example, return camelcased JSON.
Helpers such as `Html.CheckBoxListFor` currently use `ExpressionHelper.GetExpressionText(expression)` to generate element names. This generates an incorrect name when using the helper within nested editor templates. E.g. Index.cshtml: `@Html.EditorFor(model => model.Other)` EditorTemplates/Other.cshtml...
New in MVC 5 (I think)
Makes it easy to generate or manipulate querystrings.
``` public static bool In(this T t, params T[] values) { return values.Contains(t); } public static bool NotIn(this T t, params T[] values) { return !In(t, values); } ```