Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
161 lines (122 sloc) 4.26 KB

AspNet WebApi

These steps describe how to install and configure KissLog for an Asp.Net WebApi application.

  1. Install NuGet Package
PM> Install-Package KissLog.AspNet.WebApi
  1. Update web.config

Replace OrganizationID and ApplicationID with Api Key values from the KissLog.net application configuration page.

  1. Update Global.asax
  1. Update WebApiConfig.cs
  1. Use the ILogger

Testing

To test the KissLog configuration, trigger a request on /api/values. The request should be visible on KissLog.net.

Request details

Request details

Request logs

Request logs

You can’t perform that action at this time.