How-to: Razor HtmlHelper Extensions (or other namespaces for views) Not Found #solution #development #dev
How-to: Razor HtmlHelper Extensions (or other namespaces for views) Not Found #solution #development #dev
Razor HtmlHelper Extensions (or other namespaces for views) Not Found
Dunno if this was happening in the PR or Beta, but if I create an extension method on HtmlHelper, it is not recognized in a Razor powered page:
namespace SomeNamespace.Extensions { public static class HtmlExtensions { public static string Foo(this HtmlHelper html) { return "Foo"; } } }
I added it to the <Namespaces>section in
View On WordPress













