SkillAgentSearch skills...

ProtobufFormatter

ASP.NET Core 1.0 MVC Protobuf Formatters

Install / Use

/learn @damienpontifex/ProtobufFormatter
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ProtobufFormatters

ASP.NET MVC Core 1.0 Protocol Buffer formatters inspired by https://github.com/damienbod/AspNetMvc6ProtobufFormatters with refactoring formatters to class library. Enables adding them to arbitrary MVC project exactly like the built in Json formatters.

Web API Usage

Startup.cs add the protocol buffer formatters exactly like you add the built in Json Formatters.

public void ConfigureServices(IServiceCollection services)
{
    services.AddMvcCore()
        .AddProtobufFormatters();
}

public void Configure(IApplicationBuilder app)
{
    app.UseMvc();
}

Sample Usage

ASP.NET Mvc Core API sample project under test/ProtobufFormatter.WebApi.Test

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated8y ago
Forks0

Languages

C#

Security Score

55/100

Audited on Dec 24, 2017

No findings