Ben Foster 12/4/2016

Bare metal APIs with ASP.NET Core MVC

Read Original

This technical article explains how to create minimal, 'bare metal' APIs in ASP.NET Core MVC by using only the core packages like Microsoft.AspNetCore.Mvc.Core and Microsoft.AspNetCore.Mvc.Formatters.Json, instead of the full Microsoft.AspNetCore.Mvc package. It details the configuration changes in Startup.cs and switching controllers to derive from ControllerBase to eliminate view-related overhead for API-only projects.

Bare metal APIs with ASP.NET Core MVC

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week