Enferno.StormApiClient 2.5.2-beta2

This is a prerelease version of Enferno.StormApiClient.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Enferno.StormApiClient --version 2.5.2-beta2
                    
NuGet\Install-Package Enferno.StormApiClient -Version 2.5.2-beta2
                    
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="Enferno.StormApiClient" Version="2.5.2-beta2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Enferno.StormApiClient" Version="2.5.2-beta2" />
                    
Directory.Packages.props
<PackageReference Include="Enferno.StormApiClient" />
                    
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 Enferno.StormApiClient --version 2.5.2-beta2
                    
#r "nuget: Enferno.StormApiClient, 2.5.2-beta2"
                    
#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.
#addin nuget:?package=Enferno.StormApiClient&version=2.5.2-beta2&prerelease
                    
Install Enferno.StormApiClient as a Cake Addin
#tool nuget:?package=Enferno.StormApiClient&version=2.5.2-beta2&prerelease
                    
Install Enferno.StormApiClient as a Cake Tool

Enferno Storm Commerce API Client library.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  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.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Enferno.StormApiClient:

Package Downloads
Enferno.Public.Web

Enferno Web helpers.

Enferno.Public.Web.SalesTool

Enferno UI component for sales staff to impersonate customers and place orders and quotations.

Enferno.Public.Web.Components

Enferno component library that helps the developer implement common views and scenarios such as shopping basket, product and checkout in a easy way.

Enferno.Public.Web.Product

Enferno Product component.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.6.0-beta 97 6/20/2024
2.5.5 912 7/7/2023
2.5.4 1,696 5/18/2022
2.5.3 3,936 3/15/2022
2.5.3-beta 238 3/15/2022
2.5.2 1,426 3/3/2022
2.5.2-beta2 224 3/2/2022
2.5.2-beta 206 2/28/2022
2.5.1 1,485 1/20/2022
2.5.1-beta2 229 1/17/2022
2.5.1-beta 236 1/5/2022
2.5.0 463 12/27/2021
2.5.0-beta2 235 11/30/2021
2.5.0-beta 240 11/29/2021
2.4.1-beta2 278 10/5/2021
2.4.1-beta 290 10/4/2021
2.4.0 663 6/9/2021
2.3.9 1,257 10/19/2020
2.3.8 915 9/2/2020
2.3.7 749 8/21/2020
2.3.6 867 7/6/2020
2.3.6-beta 405 7/2/2020
2.3.5 993 4/14/2020
2.3.5-beta 477 4/2/2020
2.3.4 771 2/25/2020
2.3.4-beta 456 2/18/2020
2.3.3 1,598 11/21/2019
2.3.2 1,344 10/17/2019
2.3.1 838 10/3/2019
2.3.1-beta 510 9/30/2019
2.3.0 812 9/12/2019
2.1.4 875 7/31/2019
2.1.3 843 7/30/2019
2.1.2 1,107 5/21/2019
2.1.2-Beta 556 5/20/2019
2.1.1 996 4/4/2019
2.1.1-beta 543 4/2/2019
2.1.0 2,328 3/4/2019
2.0.7 829 2/25/2019
2.0.6 1,018 1/17/2019
2.0.6-beta 671 1/2/2019
2.0.5 1,778 1/2/2019
2.0.5-beta 700 10/18/2018
2.0.4.1 1,208 10/17/2018
2.0.4-beta 724 10/8/2018
2.0.3 1,150 9/12/2018
2.0.2 1,094 8/30/2018
2.0.2-beta 809 8/20/2018
2.0.1 1,393 6/28/2018
2.0.1-beta 1,074 6/26/2018
2.0.0 6,510 5/30/2018
2.0.0-beta 1,410 5/28/2018
1.8.23 869 5/21/2019
1.8.23-Beta 554 5/20/2019
1.8.22 865 4/4/2019
1.8.22-beta 588 4/2/2019
1.8.21 857 2/25/2019
1.8.20 1,053 1/17/2019
1.8.20-beta 669 1/2/2019
1.8.19 972 1/2/2019
1.8.19-beta 715 10/18/2018
1.8.18.1 1,014 10/17/2018
1.8.18-beta 740 10/8/2018
1.8.17 1,012 9/12/2018
1.8.16 1,051 8/30/2018
1.8.16-beta 810 8/20/2018
1.8.15 1,224 6/28/2018
1.8.15-beta 1,102 6/26/2018
1.8.14 1,404 5/30/2018
1.8.14-beta2 1,095 5/22/2018
1.8.14-beta 1,052 5/21/2018
1.8.12 3,483 4/18/2018
1.8.12-beta2 1,058 4/17/2018
1.8.12-beta 918 4/3/2018
1.8.11 1,975 2/6/2018
1.8.11-Beta2 1,058 2/1/2018
1.8.11-Beta 891 1/25/2018
1.8.10 1,289 1/23/2018
1.8.10-beta2 1,055 1/22/2018
1.8.10-beta 929 12/18/2017
1.8.9 1,277 11/27/2017
1.8.9-beta 908 11/17/2017
1.8.8 1,226 11/7/2017
1.8.8-beta 914 10/20/2017
1.8.7 1,913 10/19/2017
1.8.7-beta 923 10/2/2017
1.8.6 2,001 8/10/2017
1.8.6-beta2 955 6/16/2017
1.8.6-beta 960 6/12/2017
1.8.5.1 1,356 5/15/2017
1.8.5 1,283 4/26/2017
1.8.5-beta 1,421 4/20/2017
1.8.4 1,659 3/14/2017
1.8.4-beta 994 2/28/2017
1.8.3 1,481 2/23/2017
1.8.3-beta 1,022 2/14/2017
1.8.2 1,618 1/12/2017
1.8.2-beta4 1,003 12/19/2016
1.8.2-beta3 1,024 12/5/2016
1.8.2-beta2 1,026 11/24/2016
1.8.2-beta 1,020 11/22/2016
1.8.1 1,288 11/21/2016
1.8.1-beta 1,176 11/2/2016
1.8.0 7,506 10/10/2016
1.8.0-beta 1,801 10/5/2016
1.7.8 1,320 9/29/2016
1.7.8-beta3 1,334 9/19/2016
1.7.8-beta2 987 9/16/2016
1.7.8-beta 999 9/13/2016
1.7.7 1,376 8/16/2016
1.7.7-beta2 1,053 7/20/2016
1.7.7-beta 1,017 7/1/2016
1.7.6 1,412 6/30/2016
1.7.6-beta2 1,028 6/28/2016
1.7.6-beta 1,070 6/20/2016
1.7.5 1,425 6/15/2016
1.7.5-beta 1,030 6/1/2016
1.7.4 1,380 5/18/2016
1.7.4-beta5 1,004 5/13/2016
1.7.4-beta4 1,035 5/12/2016
1.7.4-beta3 1,012 5/12/2016
1.7.4-beta 1,089 4/28/2016
1.7.3 1,704 4/28/2016
1.7.3-beta2 1,296 4/22/2016
1.7.3-beta 1,117 4/19/2016
1.7.2 1,315 4/12/2016
1.7.2-beta 1,054 3/21/2016
1.7.1.1 1,515 2/2/2016
1.7.1 1,622 1/7/2016
1.7.1-beta 1,076 12/18/2015
1.7.0 1,831 12/3/2015
1.7.0-Beta2 1,141 11/20/2015
1.7.0-Beta 1,128 11/19/2015
1.6.16.5 2,259 12/3/2015
1.6.16.4 1,643 12/3/2015
1.6.16.3 1,467 12/3/2015
1.6.16.2 1,641 12/3/2015
1.6.16.1 1,548 12/2/2015
1.6.16 1,438 11/16/2015
1.6.16-RC 1,042 11/11/2015
1.6.16-beta4 1,073 11/10/2015
1.6.16-beta3 1,077 11/9/2015
1.6.16-beta2 1,068 10/27/2015
1.6.16-beta 1,048 10/26/2015
1.6.15 2,395 10/29/2015
1.6.15-RC 1,038 10/27/2015
1.6.15-beta5 1,174 10/26/2015
1.6.15-beta4 1,054 10/22/2015
1.6.15-beta3 1,153 10/16/2015
1.6.15-beta2 1,057 10/16/2015
1.6.15-beta 1,076 10/9/2015
1.6.14.1 1,354 10/27/2015
1.6.14 1,513 9/30/2015
1.6.13 2,114 9/15/2015
1.6.13-beta3 1,114 9/7/2015
1.6.13-beta2 1,082 9/4/2015
1.6.13-beta 1,081 9/1/2015
1.6.12 1,356 8/27/2015
1.6.12-beta1 1,063 8/20/2015
1.6.12-beta 1,076 8/14/2015
1.6.11 1,657 7/16/2015
1.6.11-beta 1,283 7/15/2015
1.6.10 1,416 6/17/2015
1.6.10-beta9 1,071 6/12/2015
1.6.10-beta8 1,058 6/12/2015
1.6.10-beta7 1,062 6/12/2015
1.6.10-beta6 1,080 6/9/2015
1.6.10-beta5 1,083 5/29/2015
1.6.10-beta4 1,101 5/20/2015
1.6.10-beta3 1,061 5/12/2015
1.6.10-beta2 1,108 5/12/2015
1.6.10-beta 1,049 5/12/2015
1.6.9.2 1,607 6/12/2015
1.6.9.1 3,508 6/4/2015
1.6.9 1,585 4/27/2015
1.6.9-beta5 1,187 4/24/2015
1.6.9-beta4 1,183 4/20/2015
1.6.9-beta3 1,179 4/20/2015
1.6.9-beta2 1,195 4/20/2015
1.6.9-beta 1,152 4/20/2015
1.6.8.1 1,475 4/20/2015
1.6.8 2,371 3/30/2015
1.6.8-beta3 1,118 3/27/2015
1.6.8-beta2 1,186 3/27/2015
1.6.8-beta 1,256 3/27/2015
1.6.7 1,453 3/26/2015
1.6.7-beta2 1,100 3/25/2015
1.6.7-beta 1,145 3/24/2015
1.6.6 1,508 1/28/2015
1.6.6-beta 1,086 1/23/2015
1.6.5.5 1,421 1/19/2015
1.6.5.4 1,400 1/15/2015
1.6.5.3 1,394 1/15/2015
1.6.5.2 1,369 1/13/2015
1.6.5 1,602 1/9/2015
1.6.5-beta7 1,431 12/19/2014
1.6.5-Beta6 1,944 12/17/2014
1.6.5-beta5 1,332 12/12/2014
1.6.5-Beta4 1,383 12/9/2014
1.6.5-beta3 1,338 12/9/2014
1.6.5-Beta2 1,241 12/5/2014
1.6.5-Beta 1,177 12/4/2014
1.6.4 1,654 12/1/2014
1.6.4-beta 1,369 11/21/2014
1.6.3.2 1,525 11/28/2014
1.6.3 1,792 11/17/2014
1.6.2 3,411 11/3/2014
1.6.2-beta 1,106 10/29/2014
1.6.1 1,472 10/30/2014
1.6.1-beta 1,134 10/27/2014
1.6.0 1,478 10/27/2014
1.6.0-beta2 1,073 10/22/2014
1.6.0-beta 1,135 10/20/2014
1.6.0-alpha 1,083 10/14/2014
1.5.10-beta 1,124 10/10/2014
1.5.9 1,532 10/7/2014
1.5.9-beta4 1,084 10/2/2014
1.5.9-beta3 1,115 10/2/2014
1.5.9-beta2 1,126 10/2/2014
1.5.9-beta 1,151 10/2/2014
1.5.8 1,432 10/1/2014
1.5.8-beta 1,122 9/29/2014
1.5.7 1,477 9/23/2014
1.5.7-beta 1,098 9/12/2014
1.5.6 1,434 9/9/2014
1.5.6-beta 1,099 9/5/2014
1.5.5.2 1,500 6/26/2014
1.5.5.1 1,488 6/26/2014
1.5.5 5,967 6/25/2014
1.5.5-alpha3 2,115 6/18/2014
1.5.5-alpha2 1,118 6/18/2014
1.5.5-alpha1 1,138 6/18/2014
1.5.5-alpha 1,151 6/10/2014
1.5.4 7,202 6/9/2014
1.5.4-alpha2 1,144 6/9/2014
1.5.4-alpha1 1,101 6/9/2014
1.5.3.7 1,425 5/21/2014
1.5.3.6 4,702 5/20/2014
1.5.3.5 1,406 5/19/2014
1.5.3.4 1,375 5/19/2014
1.5.3.3 1,420 5/15/2014
1.5.3.2 1,382 5/14/2014
1.5.3.1 1,381 5/14/2014
1.5.3 1,381 5/14/2014
1.5.2 1,407 5/2/2014
1.5.1 1,542 4/23/2014
1.5.1-beta 1,343 4/17/2014
1.5.1-alpha 1,324 4/17/2014
1.5.0.27 1,568 4/10/2014
1.5.0.26 1,597 4/10/2014

Please see release notes for 2.0.0 for details if you are upgrading from <= v1.8.x.
Note that the 1.8.x branch will no longer be updated.

Also note the breaking change in Enferno.Public 2.3.0.

Make sure to use our new addresses:
Stage/Lab: https://api.lab.storm.io/api/1.1
Production: https://api.storm.io/api/1.1

Breaking changes in 2.5.0

Using Oauth2 instead of certificates.

What's new?

To use OAUTH2 you need 4 settings.

* Client Id
* Client Secret
* Scope
* Application Id.

- Client Id and Secret is created in Storm Admin. At https://admin.storm.io/admin/settings/user under the OAUTH tab.

- Scope tells us if you are trying to access lab/qa/production data. (This will not point the request to a specific environment, it will only say that you gives the client access to the specified environment.)
Existing scopes: lab / qa / production

- Application Id is the application that you want to use.


To read these settings we use the Interface IOAuth2CredentialsProvider registed with DI.
You can create your own if you want, or you can use our OAuth2AppSettingsCredentialsProvider.


Our OAuth2AppSettingsCredentialsProvider will read the settings from the appsettings in web.config.

The AccessClient will for each request check IOAuth2CredentialsProvider.ApplicationId to see what application it should use.
You can override this by using the applicationId parameter when creating an AccessClient.
So with help of these(parameter in AccessClient,your own IOAuth2CredentialsProvider) you can use multiple applications.

*** If you are using Enferno.Web.StormUtils with multiple applications you must create your own IOAuth2CredentialsProvider. ***





** Checklist of changes that may have to be updated after an upgrade.

- Register IOAuth2CredentialsProvider to DI
Ex: in web.config
<register type="IOAuth2CredentialsProvider" mapTo="OAuth2AppSettingsCredentialsProvider">
<lifetime type="singleton" />
</register>

Ex: via code:
IoC.RegisterType<IOAuth2CredentialsProvider, OAuth2AppSettingsCredentialsProvider="">
();


- If you are using OAuth2AppSettingsCredentialsProvider add these appsettings to your web.config

appSettings:

API.OAuth2.ClientId     : clientId guid.
API.OAuth2.ClientSecret : clientsecret guid.
API.OAuth2.Scope        : lab/qa/production
API.ApplicationId       : applicationId you want to use


- Update Endpoints in web.config

attributes under client.endpoint:
remove: behaviorConfiguration
change: bindingConfiguration from SOAP -> Auth2-SOAP

add a new binding under bindings.wsHttpBinding with name "Auth2-SOAP".

<binding name="Auth2-SOAP" maxReceivedMessageSize="10000000" >
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="None"  />
</security>
</binding>



Remove SOAP under bindings.wsHttpBinding.

Remove endpointBehaviors: CertificateBehavior.

- If you are using Enferno.Web.StormUtils with multiple applications you must create your own IOAuth2CredentialsProvider.


     Regards,
     The Storm API Team