Skip to content

1. Installation

Teddy edited this page Nov 17, 2015 · 2 revisions

Find NanoProfiler on nuget.org: http://nuget.org/packages?q=NanoProfiler

You will find at least 6 nuget packages:

  • NanoProfiler - The core profiling feature which works for non-web applications without DB profiling support;
  • NanoProfiler.Storages.Json - JSON profiling storage, persist profiling logs via slf4net;
  • NanoProfiler.Data - Depends on NanoProfiler package, provides additional DB profiling support;
  • NanoProfiler.Web - Depends on NanoProfiler package, provides additional web application profiling support;
  • NanoProfiler.Wcf - Depends on NanoProfiler.Web package, provides additional WCF profiling support;
  • NanoProfiler.Web.Import- Provides additional web components for log parsing, export & import;

Which packages should I add reference to my project?

  • If you want to use NanoProfiler for profiling a non-web application, please at least add reference to * NanoProfiler;
  • By default, only latest profiling results are kept in-memory, if you want to persist them, you might need to reference to NanoProfiler.Storages.Json package (or, you could implement your own storage easily);
  • If you want to use NanoProfiler for profiling a web application, please at least add reference to NanoProfiler.Web;
  • If you also want to do DB profling, please also add reference to NanoProfiler.Data;
  • If you also want to do WCF client or server side profiling, please also add reference to NanoProfiler.Wcf;