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.
#:package Enferno.StormApiClient@2.5.2-beta2
                    
#: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=Enferno.StormApiClient&version=2.5.2-beta2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Enferno.StormApiClient&version=2.5.2-beta2&prerelease
                    
Install 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 132 6/20/2024
2.5.5 1,038 7/7/2023
2.5.4 1,832 5/18/2022
2.5.3 4,094 3/15/2022
2.5.3-beta 286 3/15/2022
2.5.2 1,526 3/3/2022
2.5.2-beta2 277 3/2/2022
2.5.2-beta 264 2/28/2022
2.5.1 1,544 1/20/2022
2.5.1-beta2 286 1/17/2022
2.5.1-beta 286 1/5/2022
2.5.0 522 12/27/2021
2.5.0-beta2 294 11/30/2021
2.5.0-beta 296 11/29/2021
2.4.1-beta2 341 10/5/2021
2.4.1-beta 350 10/4/2021
2.4.0 734 6/9/2021
2.3.9 1,330 10/19/2020
2.3.8 982 9/2/2020
2.3.7 815 8/21/2020
2.3.6 934 7/6/2020
2.3.6-beta 463 7/2/2020
2.3.5 1,060 4/14/2020
2.3.5-beta 542 4/2/2020
2.3.4 842 2/25/2020
2.3.4-beta 528 2/18/2020
2.3.3 1,672 11/21/2019
2.3.2 1,409 10/17/2019
2.3.1 903 10/3/2019
2.3.1-beta 577 9/30/2019
2.3.0 890 9/12/2019
2.1.4 947 7/31/2019
2.1.3 915 7/30/2019
2.1.2 1,175 5/21/2019
2.1.2-Beta 629 5/20/2019
2.1.1 1,064 4/4/2019
2.1.1-beta 611 4/2/2019
2.1.0 2,397 3/4/2019
2.0.7 892 2/25/2019
2.0.6 1,087 1/17/2019
2.0.6-beta 743 1/2/2019
2.0.5 1,841 1/2/2019
2.0.5-beta 781 10/18/2018
2.0.4.1 1,280 10/17/2018
2.0.4-beta 807 10/8/2018
2.0.3 1,223 9/12/2018
2.0.2 1,179 8/30/2018
2.0.2-beta 883 8/20/2018
2.0.1 1,584 6/28/2018
2.0.1-beta 1,267 6/26/2018
2.0.0 6,705 5/30/2018
2.0.0-beta 1,610 5/28/2018
1.8.23 938 5/21/2019
1.8.23-Beta 625 5/20/2019
1.8.22 927 4/4/2019
1.8.22-beta 649 4/2/2019
1.8.21 934 2/25/2019
1.8.20 1,126 1/17/2019
1.8.20-beta 739 1/2/2019
1.8.19 1,034 1/2/2019
1.8.19-beta 801 10/18/2018
1.8.18.1 1,092 10/17/2018
1.8.18-beta 813 10/8/2018
1.8.17 1,084 9/12/2018
1.8.16 1,137 8/30/2018
1.8.16-beta 881 8/20/2018
1.8.15 1,351 6/28/2018
1.8.15-beta 1,294 6/26/2018
1.8.14 1,593 5/30/2018
1.8.14-beta2 1,289 5/22/2018
1.8.14-beta 1,243 5/21/2018
1.8.12 3,683 4/18/2018
1.8.12-beta2 1,245 4/17/2018
1.8.12-beta 1,055 4/3/2018
1.8.11 2,185 2/6/2018
1.8.11-Beta2 1,251 2/1/2018
1.8.11-Beta 1,024 1/25/2018
1.8.10 1,478 1/23/2018
1.8.10-beta2 1,246 1/22/2018
1.8.10-beta 1,056 12/18/2017
1.8.9 1,413 11/27/2017
1.8.9-beta 1,037 11/17/2017
1.8.8 1,355 11/7/2017
1.8.8-beta 1,053 10/20/2017
1.8.7 2,054 10/19/2017
1.8.7-beta 1,051 10/2/2017
1.8.6 2,139 8/10/2017
1.8.6-beta2 1,082 6/16/2017
1.8.6-beta 1,098 6/12/2017
1.8.5.1 1,492 5/15/2017
1.8.5 1,412 4/26/2017
1.8.5-beta 1,549 4/20/2017
1.8.4 1,804 3/14/2017
1.8.4-beta 1,136 2/28/2017
1.8.3 1,616 2/23/2017
1.8.3-beta 1,154 2/14/2017
1.8.2 1,754 1/12/2017
1.8.2-beta4 1,140 12/19/2016
1.8.2-beta3 1,163 12/5/2016
1.8.2-beta2 1,157 11/24/2016
1.8.2-beta 1,156 11/22/2016
1.8.1 1,426 11/21/2016
1.8.1-beta 1,305 11/2/2016
1.8.0 7,654 10/10/2016
1.8.0-beta 1,942 10/5/2016
1.7.8 1,465 9/29/2016
1.7.8-beta3 1,478 9/19/2016
1.7.8-beta2 1,133 9/16/2016
1.7.8-beta 1,148 9/13/2016
1.7.7 1,521 8/16/2016
1.7.7-beta2 1,198 7/20/2016
1.7.7-beta 1,152 7/1/2016
1.7.6 1,545 6/30/2016
1.7.6-beta2 1,170 6/28/2016
1.7.6-beta 1,206 6/20/2016
1.7.5 1,563 6/15/2016
1.7.5-beta 1,170 6/1/2016
1.7.4 1,524 5/18/2016
1.7.4-beta5 1,149 5/13/2016
1.7.4-beta4 1,179 5/12/2016
1.7.4-beta3 1,159 5/12/2016
1.7.4-beta 1,217 4/28/2016
1.7.3 1,841 4/28/2016
1.7.3-beta2 1,424 4/22/2016
1.7.3-beta 1,249 4/19/2016
1.7.2 1,453 4/12/2016
1.7.2-beta 1,201 3/21/2016
1.7.1.1 1,660 2/2/2016
1.7.1 1,766 1/7/2016
1.7.1-beta 1,215 12/18/2015
1.7.0 1,976 12/3/2015
1.7.0-Beta2 1,266 11/20/2015
1.7.0-Beta 1,252 11/19/2015
1.6.16.5 2,394 12/3/2015
1.6.16.4 1,778 12/3/2015
1.6.16.3 1,603 12/3/2015
1.6.16.2 1,778 12/3/2015
1.6.16.1 1,688 12/2/2015
1.6.16 1,582 11/16/2015
1.6.16-RC 1,174 11/11/2015
1.6.16-beta4 1,215 11/10/2015
1.6.16-beta3 1,218 11/9/2015
1.6.16-beta2 1,209 10/27/2015
1.6.16-beta 1,184 10/26/2015
1.6.15 2,534 10/29/2015
1.6.15-RC 1,163 10/27/2015
1.6.15-beta5 1,304 10/26/2015
1.6.15-beta4 1,195 10/22/2015
1.6.15-beta3 1,295 10/16/2015
1.6.15-beta2 1,205 10/16/2015
1.6.15-beta 1,223 10/9/2015
1.6.14.1 1,485 10/27/2015
1.6.14 1,652 9/30/2015
1.6.13 2,260 9/15/2015
1.6.13-beta3 1,246 9/7/2015
1.6.13-beta2 1,222 9/4/2015
1.6.13-beta 1,224 9/1/2015
1.6.12 1,496 8/27/2015
1.6.12-beta1 1,210 8/20/2015
1.6.12-beta 1,216 8/14/2015
1.6.11 1,864 7/16/2015
1.6.11-beta 1,485 7/15/2015
1.6.10 1,550 6/17/2015
1.6.10-beta9 1,206 6/12/2015
1.6.10-beta8 1,190 6/12/2015
1.6.10-beta7 1,200 6/12/2015
1.6.10-beta6 1,212 6/9/2015
1.6.10-beta5 1,227 5/29/2015
1.6.10-beta4 1,242 5/20/2015
1.6.10-beta3 1,208 5/12/2015
1.6.10-beta2 1,254 5/12/2015
1.6.10-beta 1,183 5/12/2015
1.6.9.2 1,741 6/12/2015
1.6.9.1 3,652 6/4/2015
1.6.9 1,726 4/27/2015
1.6.9-beta5 1,338 4/24/2015
1.6.9-beta4 1,330 4/20/2015
1.6.9-beta3 1,322 4/20/2015
1.6.9-beta2 1,332 4/20/2015
1.6.9-beta 1,288 4/20/2015
1.6.8.1 1,619 4/20/2015
1.6.8 2,514 3/30/2015
1.6.8-beta3 1,264 3/27/2015
1.6.8-beta2 1,322 3/27/2015
1.6.8-beta 1,399 3/27/2015
1.6.7 1,595 3/26/2015
1.6.7-beta2 1,243 3/25/2015
1.6.7-beta 1,277 3/24/2015
1.6.6 1,644 1/28/2015
1.6.6-beta 1,233 1/23/2015
1.6.5.5 1,558 1/19/2015
1.6.5.4 1,536 1/15/2015
1.6.5.3 1,532 1/15/2015
1.6.5.2 1,522 1/13/2015
1.6.5 1,751 1/9/2015
1.6.5-beta7 1,558 12/19/2014
1.6.5-Beta6 2,081 12/17/2014
1.6.5-beta5 1,475 12/12/2014
1.6.5-Beta4 1,508 12/9/2014
1.6.5-beta3 1,471 12/9/2014
1.6.5-Beta2 1,377 12/5/2014
1.6.5-Beta 1,318 12/4/2014
1.6.4 1,789 12/1/2014
1.6.4-beta 1,513 11/21/2014
1.6.3.2 1,659 11/28/2014
1.6.3 1,930 11/17/2014
1.6.2 3,554 11/3/2014
1.6.2-beta 1,245 10/29/2014
1.6.1 1,618 10/30/2014
1.6.1-beta 1,281 10/27/2014
1.6.0 1,622 10/27/2014
1.6.0-beta2 1,207 10/22/2014
1.6.0-beta 1,269 10/20/2014
1.6.0-alpha 1,226 10/14/2014
1.5.10-beta 1,263 10/10/2014
1.5.9 1,672 10/7/2014
1.5.9-beta4 1,229 10/2/2014
1.5.9-beta3 1,260 10/2/2014
1.5.9-beta2 1,273 10/2/2014
1.5.9-beta 1,287 10/2/2014
1.5.8 1,582 10/1/2014
1.5.8-beta 1,270 9/29/2014
1.5.7 1,623 9/23/2014
1.5.7-beta 1,232 9/12/2014
1.5.6 1,576 9/9/2014
1.5.6-beta 1,242 9/5/2014
1.5.5.2 1,638 6/26/2014
1.5.5.1 1,627 6/26/2014
1.5.5 6,104 6/25/2014
1.5.5-alpha3 2,251 6/18/2014
1.5.5-alpha2 1,269 6/18/2014
1.5.5-alpha1 1,288 6/18/2014
1.5.5-alpha 1,304 6/10/2014
1.5.4 7,349 6/9/2014
1.5.4-alpha2 1,281 6/9/2014
1.5.4-alpha1 1,248 6/9/2014
1.5.3.7 1,577 5/21/2014
1.5.3.6 4,856 5/20/2014
1.5.3.5 1,560 5/19/2014
1.5.3.4 1,516 5/19/2014
1.5.3.3 1,566 5/15/2014
1.5.3.2 1,535 5/14/2014
1.5.3.1 1,530 5/14/2014
1.5.3 1,521 5/14/2014
1.5.2 1,546 5/2/2014
1.5.1 1,679 4/23/2014
1.5.1-beta 1,479 4/17/2014
1.5.1-alpha 1,461 4/17/2014
1.5.0.27 1,717 4/10/2014
1.5.0.26 1,734 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