In C# Odata Server how do I add a filter without affecting the meta-url for the odata service?
I currently add filters as this:
public static void Register(HttpConfiguration config)
{
config.Filters.Add(new AuthorizeAttribute());
...
In C# Odata Server how do I add a filter without affecting the meta-url for the odata service?
I currently add filters as this:
public static void Register(HttpConfiguration config)
{
config.Filters.Add(new AuthorizeAttribute());
...
I ended upp adding the the attribute "Authorize" to a base controller which all my other controllers inherit from. Now only the api requires authorization, not the meta-url.