https://github.com/hellokitty/aspnet.mvc.formatters.protobuf
ASP.NET 5 MVC 6 Formatters for Protobuf-net specification.
https://github.com/hellokitty/aspnet.mvc.formatters.protobuf
Last synced: about 1 year ago
JSON representation
ASP.NET 5 MVC 6 Formatters for Protobuf-net specification.
- Host: GitHub
- URL: https://github.com/hellokitty/aspnet.mvc.formatters.protobuf
- Owner: HelloKitty
- License: mit
- Created: 2016-03-12T04:06:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-13T07:59:45.000Z (over 10 years ago)
- Last Synced: 2025-01-24T06:11:17.092Z (over 1 year ago)
- Language: C#
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AspNet.Mvc.Formatters.Protobuf
ASP.Net 5/Core and MVC 6 extensions and formatters for the Protobuf message format.
## Setup
To use this project you'll first need a couple of things:
- Visual Studio 2015
- Add Nuget Feed https://www.myget.org/F/hellokitty/api/v2 in VS (Options -> NuGet -> Package Sources)
## Builds
Available on a Nuget Feed: https://www.myget.org/F/hellokitty/api/v2 [](https://www.myget.org/feed/Packages/hellokitty)
## Tests
#### Linux/Mono - Unit Tests
(Warning: This is currently untested; new territory of .NET Core and DNX)
||Debug x86|Debug x64|Release x86|Release x64|
|:--:|:--:|:--:|:--:|:--:|:--:|
|**master**| N/A | N/A | N/A | [](https://travis-ci.org/HelloKitty/AspNet.Mvc.Formatters.Protobuf) |
|**dev**| N/A | N/A | N/A | [](https://travis-ci.org/HelloKitty/AspNet.Mvc.Formatters.Protobuf)|
#### Windows - Unit Tests
(Warning: This is currently untested; new territory of .NET Core and DNX)
(Done locally)
##Licensing
This project is licensed under the MIT license.
## How to Use
```CSharp
public void ConfigureServices(IServiceCollection services)
{
services.AddMvcCore()
.AddProtobufNetFormatters();
}
```
or
```CSharp
public void ConfigureServices(IServiceCollection services)
{
services.AddCore()
.AddProtobufNetFormatters();
}
```
or you can register the formatters and header string manually.