0

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());
    ...
Robert
  • 2,357
  • 4
  • 25
  • 46

1 Answers1

0

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.

Robert
  • 2,357
  • 4
  • 25
  • 46