dotnet add package aspnet.suppressformsredirect --version
NuGet\Install-Package aspnet.suppressformsredirect -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="aspnet.suppressformsredirect" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add aspnet.suppressformsredirect --version
#r "nuget: aspnet.suppressformsredirect,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install aspnet.suppressformsredirect as a Cake Addin
#addin nuget:?package=aspnet.suppressformsredirect&version=

// Install aspnet.suppressformsredirect as a Cake Tool
#tool nuget:?package=aspnet.suppressformsredirect&version=

Module that prevents ASP.NET Forms Authentication to redirect the user to the login page. This is helpful for AJAX, JSON, and
     all other of non Web Representation (Views/Pages) type of requests.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on aspnet.suppressformsredirect:

Package Downloads

Library built on top of DotNetDesign.Substrate that exposes a web-api using the new MVC 4 ApiController


Authenticates service requests using Windows Identity Foundation and SimpleWebToken (wif.swf). Due to WebApi requirement for ASP.NET it also suppresses Forms Redirect by leveraging aspnet.suppressformsredirect Package.


Authenticates service requests using your Membership Provider. Due to WebApi requirement for ASP.NET it also suppresses Forms Redirect by leveraging aspnet.suppressformsredirect Package.


!!!Instruction!!! 1)Rename Service1 to WinService 2)Install nuget package 3)Insert your namespace in app.config instead __NAMESPACE__ 4)Write "debug" to project->properties->debug->arguments of command line

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 82,715 11/2/2011 1,716 11/2/2011 1,821 11/2/2011