CodeCop 3.1.0
See the version list below for details.
dotnet add package CodeCop --version 3.1.0
NuGet\Install-Package CodeCop -Version 3.1.0
<PackageReference Include="CodeCop" Version="3.1.0" />
paket add CodeCop --version 3.1.0
#r "nuget: CodeCop, 3.1.0"
// Install CodeCop as a Cake Addin #addin nuget:?package=CodeCop&version=3.1.0 // Install CodeCop as a Cake Tool #tool nuget:?package=CodeCop&version=3.1.0
CodeCop is a free to use library that builds on top of JSON to provide a fast unobtrusive way to write method interceptors for your .NET apps.
Interceptor placement is independent from your app's code. It's done on a JSON file which means that at anytime you can add or remove interceptors without code changes or redeploys.
Method interception happens in one or all of these stages, before execution, after execution and it is possible also to override the behavior completely.
CodeCop can intercept your code and also other 3rd party assemblies your app depends on.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 7.0.1)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on CodeCop:
Package | Downloads |
---|---|
CodeCop.Setup
CodeCop Fluent API Wrapper |
|
Statsd.CodeCop
Interceptor for CodeCop that automatically integrates Statsd onto intercepted methods. |
|
GuardNull.CodeCop
Interceptor for CodeCop that automatically validates if any non-optional method arguments are not null, or in case of strings also not empty. |
|
MiniProfiler.CodeCop
Interceptor for CodeCop that automatically integrates MiniProfiler onto each intercepted method. |
|
Authorize.CodeCop
Interceptor for CodeCop to use in Web Applications that automatically validates if user is authenticated on each intercepted method. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.2.1 | 4,707 | 3/10/2016 |
3.2.0 | 2,414 | 2/14/2016 |
3.1.2 | 2,303 | 1/23/2016 |
3.1.1 | 2,605 | 12/21/2015 |
3.1.0 | 2,471 | 12/21/2015 |
3.0.0 | 4,022 | 11/25/2015 |
2.1.1 | 4,766 | 11/11/2015 |
2.0.0-pre | 2,421 | 11/6/2015 |
1.3.3 | 2,741 | 10/29/2015 |
1.3.2 | 2,400 | 10/29/2015 |
1.3.1 | 2,234 | 10/20/2015 |
1.3.0 | 2,354 | 10/11/2015 |
1.2.9 | 2,512 | 10/11/2015 |
1.2.8 | 2,367 | 10/9/2015 |
1.2.7 | 2,650 | 10/9/2015 |
1.2.6 | 2,814 | 10/8/2015 |
1.2.5 | 2,618 | 10/8/2015 |
1.2.4 | 3,250 | 10/7/2015 |
1.2.3 | 3,017 | 10/7/2015 |
1.2.2 | 2,637 | 10/6/2015 |
1.2.1 | 2,722 | 10/5/2015 |
1.2.0 | 3,688 | 10/3/2015 |
1.1.7 | 3,376 | 9/28/2015 |
1.1.6 | 4,739 | 9/27/2015 |
v3.1 widens CodeCop scope by introducing the Type Creation API:
https://bitbucket.org/codecop_team/codecop/wiki/Type%20Creation%20API
This new API lets you create types at runtime without the need of dynamic compilation or dynamic assemblies. When creating a type you can specify things like inheritance, interfaces, constructor, fields, properties, methods and attributes, in a managed and fluent way, almost resembling F# object expressions.
All types are attached to the mscorlib assembly at runtime.
All other public method interception APIs remain unchanged.
Visit http://getcodecop.com/ for full product information.
Read the project's wiki at https://bitbucket.org/codecop_team/codecop/wiki/Home for details on how to get started.
Issues? Please report them at https://bitbucket.org/codecop_team/codecop/issues