Skip to content
Mirza Merdovic edited this page Mar 6, 2018 · 8 revisions

Introduction

This is a simple template for Web Api that should help kick-start your development.

Template Content

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

  • CORS
  • Configuration transformation (appsettings(.debug).json)
  • Response caching
  • Swagger
  • Application Insight configuration
  • Global exception handling which includes sending erroneous request to Application Insight.
  • DI - example of using build in DI capabilities.
  • ValueController - extended controller example that includes routing and IActionResult => Http Response examples

TODOs

  • Clean referenced dependencies to make template as thin as possible
  • Do more tests
  • Try to create VSIX template
Clone this wiki locally