https://github.com/webapicontrib/webapicontrib.core
Community Contributions for ASP.NET Core
https://github.com/webapicontrib/webapicontrib.core
asp-net-core net-core webapicontrib
Last synced: 5 months ago
JSON representation
Community Contributions for ASP.NET Core
- Host: GitHub
- URL: https://github.com/webapicontrib/webapicontrib.core
- Owner: WebApiContrib
- License: mit
- Created: 2016-06-02T07:37:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-09T09:49:31.000Z (over 3 years ago)
- Last Synced: 2025-11-27T13:54:21.264Z (7 months ago)
- Topics: asp-net-core, net-core, webapicontrib
- Language: C#
- Size: 576 KB
- Stars: 465
- Watchers: 39
- Forks: 113
- Open Issues: 56
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# WebAPIContrib for ASP.NET CORE
| | Badges |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| netstandard 2.0 | [](https://ci.appveyor.com/project/thabart/webapicontrib-core) |
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](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core) [](https://www.nuget.org/packages/WebApiContrib.Core/)
* `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
* [WebApiContrib.Core.Formatter.Bson](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.Bson) [](https://www.nuget.org/packages/WebApiContrib.Core.Formatter.Bson/)
* [WebApiContrib.Core.Formatter.Csv](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.Csv) [](https://www.nuget.org/packages/WebApiContrib.Core.Formatter.Csv/)
* [WebApiContrib.Core.Formatter.PlainText](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.PlainText) [](https://www.nuget.org/packages/WebApiContrib.Core.Formatter.PlainText/)
* [WebApiContrib.Core.Formatter.Jsonp](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.Jsonp) [](https://www.nuget.org/packages/WebApiContrib.Core.Formatter.Jsonp/)
* [WebApiContrib.Core.Formatter.MessagePack](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.MessagePack) [](https://www.nuget.org/packages/WebApiContrib.Core.Formatter.MessagePack/)
* [WebApiContrib.Core.Formatter.Protobuf](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.Protobuf) [](https://www.nuget.org/packages/WebApiContrib.Core.Formatter.Protobuf/)
* [WebApiContrib.Core.Formatter.Yaml](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Formatter.Yaml) [](https://www.nuget.org/packages/WebApiContrib.Core.Formatter.Yaml/)
## TagHelpers
* [WebApiContrib.Core.TagHelpers.Markdown](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.TagHelpers.Markdown) [](https://www.nuget.org/packages/WebApiContrib.Core.TagHelpers.Markdown/)
## WebPages
* [WebApiContrib.Core.WebPages](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.WebPages) [](https://www.nuget.org/packages/WebApiContrib.Core.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 `/MyPage` in the browser. Supports the typical Razor constructs - inline C# code, `@inject` etc.
## Other
* [WebApiContrib.Core.Versioning](https://github.com/WebApiContrib/WebAPIContrib.Core/tree/master/src/WebApiContrib.Core.Versioning) [](https://www.nuget.org/packages/WebApiContrib.Core.Versioning/) - a library allowing you to define API versioning strategies
---
### 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](https://webapicontrib.azurewebsites.net). Also make sure to look at the [contributing guidelines](https://github.com/WebApiContrib/WebAPIContrib.Core/blob/master/CONTRIBUTING.md).
### 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](https://github.com/WebApiContrib/WebAPIContrib/wiki/Guidelines-for-transferring-projects-to-Web-API-Contrib). It is easy peasy.