/WebApiTrackLogs

create ApiActionAttribute for operate tracking log

Primary LanguageC#

WebApiTrackLogs Demo

Desciption :

This demo is for asp.net web api track action request and response.

It can track anythings when action is visited.

Track the action executed costing time、who visited ,what data is submited and result data.

use OperateTrackAttribute to catch the actions which needs to track

use NoLogAttribute to anti tracking


How to run this demo?

This demo use EntityFramework code first to build database,

Do as the following step to run the project

First: you should configurate your the Web.config

Second:open Nuget package manage console-->

	Visual stadio>>tools>>Nuget package manage>> package manage console

	Run command> "enable-migrations"
	
	Then run command> "update-databse"

Configurate complated !

	press F5 run this project

if you have any questions ,please contract: http://www.cnblogs.com/shan333chao/