Parbad.Owin 4.0.0

Prefix Reserved
dotnet add package Parbad.Owin --version 4.0.0
                    
NuGet\Install-Package Parbad.Owin -Version 4.0.0
                    
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="Parbad.Owin" Version="4.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Parbad.Owin" Version="4.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Parbad.Owin" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Parbad.Owin --version 4.0.0
                    
#r "nuget: Parbad.Owin, 4.0.0"
                    
#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.
#:package Parbad.Owin@4.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Parbad.Owin&version=4.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Parbad.Owin&version=4.0.0
                    
Install as a Cake Tool

Parbad.Owin

OWIN and classic ASP.NET (System.Web) integration for Parbad, the online payment library for .NET. For ASP.NET MVC 5, use Parbad.Mvc5, which includes this package.

Configuration

Build Parbad once when the application starts, for example in Application_Start or the OWIN Startup class:

var parbad = ParbadBuilder.CreateDefaultBuilder()
                          .ConfigureGateways(gateways => { /* your gateways */ })
                          .ConfigureHttpContext(httpContext => httpContext.UseOwinFromCurrentHttpContext())
                          .ConfigureStorage(storage => { /* your storage */ })
                          .Build();

Without dependency injection, create one scope per web request and dispose it at the end of the request:

using (var scope = StaticOnlinePayment.CreateScope())
{
    var result = await scope.OnlinePayment.RequestAsync(invoice => { /* the invoice */ });
}

Virtual Gateway

The Parbad Virtual Gateway simulates a bank while you develop. Add it to the gateways with a path (gateways.AddParbadVirtual().WithOptions(options => options.GatewayPath = "/MyVirtualGateway")) and add its OWIN middleware:

app.UseParbadVirtualGateway(parbad.Services);

More information

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Parbad.Owin:

Package Downloads
Parbad.Mvc5

ASP.NET MVC 5 integration for Parbad project. For more information see: https://www.nuget.org/packages/Parbad/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0 88 11/7/2026
1.4.0 99 11/5/2026
1.3.0 1,198 11/20/2022
1.2.0 1,088 4/10/2021
1.1.0 846 12/13/2020
1.0.4 1,055 4/17/2020
1.0.3 780 4/14/2020
1.0.2 923 12/27/2019
1.0.1 984 6/14/2019
1.0.0 929 3/23/2019