Skip to content

enesbakis/WebAPIContrib.Core

 
 

Repository files navigation

WebAPIContrib for ASP.NET CORE

Badges
netstandard 2.0 Build status

WebAPIContrib.Core is a collection of open source projects, add-ons and extensions to help improve your work with ASP.NET Core and ASP.NET Core MVC.

Main

  • WebApiContrib.Core Nuget
    • GlobalRoutePrefixConvention - IApplicationModelConvention allowing you to set a global route prefix, which is then combined into all actions
    • FromBodyApplicationModelConvention - IApplicationModelConvention allowing you to globally apply body binding source to action parameters. You can also provide predicates to filter on specific controllers, actions or parameters
    • RequiredFromQueryAttribute allowing you to mark specific action parameters as mandatory query strings
    • OverridableFilterProvider - allows you to override filters from higher scope (i.e. global filters) on lower scope (i.e. controller filters)
    • ValidationAttribute - an action filter returning 400 response in case there are any model state errors

Formatters

TagHelpers

WebPages

A project allowing you to create Razor web pages without any controller/action infrastructure. Just add a Views/MyPage.cshtml and you can now navigate to <server root>/MyPage in the browser. Supports the typical Razor constructs - inline C# code, @inject etc.

Other


Contributing

If you would like to contribute, feel free to fork the projects or get in touch with the mailing list: https://groups.google.com/group/webapicontrib or on Slack. Also make sure to look at the contributing guidelines.

Want to transfer your project to WebApiContrib?

You created your own project and now want to transfer it to WebApiContrib? Awesome! We've got you covered. It is easy peasy.

About

Community Contributions for ASP.NET Core

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.2%
  • Other 0.8%