Skip to content
Mirza Merdovic edited this page Oct 25, 2018 · 8 revisions

Introduction

This is a simple .Net Core template for Web Api that should help kick-start your development. Framework version: Core 2.1

Template Content

I tried to add the functionalities that are usually going to be used, which includes:

  • CORS
  • Configuration transformation (appsettings(.environment).json)
  • Response caching
  • Swagger accompanied with request/response examples
  • Global exception handling
  • DI - example of using built in DI capabilities.
  • Example of using custom middleware
  • FooController - extended controller example that includes routing, file upload and IActionResult => Http Response examples

VS Gallery Link

VSIX installer can be downloaded here

Known Issues

After install template won't be located under the "Web" group, but you can find it under "All" all by searching it by the name.

Clone this wiki locally