Many components of the System.Web.Security namespace are static methods that are difficult to mock or stub for testing. MockableWebSecurity wraps many of these classes in interfaces with proxy implementations allowing for more easy creation of testable code.

Install-Package MockableWebSecurity -Version
dotnet add package MockableWebSecurity --version
<PackageReference Include="MockableWebSecurity" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MockableWebSecurity --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 5,911 9/8/2011 763 8/31/2011