The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FilterConfig.cs 423B

1234567891011121314151617
  1. using System.Web;
  2. using System.Web.Mvc;
  3. using Teknik.Attributes;
  4. using Teknik.Filters;
  5. namespace Teknik
  6. {
  7. public class FilterConfig
  8. {
  9. public static void RegisterGlobalFilters(GlobalFilterCollection filters)
  10. {
  11. //filters.Add(new HandleErrorAttribute());
  12. //filters.Add(new TeknikAuthorizeAttribute());
  13. filters.Add(new RequireHttpsAttribute());
  14. }
  15. }
  16. }