Enferno.StormApiClient 2.5.3-beta

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.3-beta                
NuGet\Install-Package Enferno.StormApiClient -Version 2.5.3-beta                
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.3-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Enferno.StormApiClient --version 2.5.3-beta                
#r "nuget: Enferno.StormApiClient, 2.5.3-beta"                
#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 Enferno.StormApiClient as a Cake Addin
#addin nuget:?package=Enferno.StormApiClient&version=2.5.3-beta&prerelease

// Install Enferno.StormApiClient as a Cake Tool
#tool nuget:?package=Enferno.StormApiClient&version=2.5.3-beta&prerelease                

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 80 6/20/2024
2.5.5 751 7/7/2023
2.5.4 1,462 5/18/2022
2.5.3 3,351 3/15/2022
2.5.3-beta 208 3/15/2022
2.5.2 1,324 3/3/2022
2.5.2-beta2 194 3/2/2022
2.5.2-beta 175 2/28/2022
2.5.1 1,443 1/20/2022
2.5.1-beta2 191 1/17/2022
2.5.1-beta 204 1/5/2022
2.5.0 425 12/27/2021
2.5.0-beta2 203 11/30/2021
2.5.0-beta 208 11/29/2021
2.4.1-beta2 245 10/5/2021
2.4.1-beta 256 10/4/2021
2.4.0 619 6/9/2021
2.3.9 1,203 10/19/2020
2.3.8 870 9/2/2020
2.3.7 702 8/21/2020
2.3.6 821 7/6/2020
2.3.6-beta 363 7/2/2020
2.3.5 945 4/14/2020
2.3.5-beta 435 4/2/2020
2.3.4 721 2/25/2020
2.3.4-beta 414 2/18/2020
2.3.3 1,547 11/21/2019
2.3.2 1,016 10/17/2019
2.3.1 787 10/3/2019
2.3.1-beta 466 9/30/2019
2.3.0 761 9/12/2019
2.1.4 824 7/31/2019
2.1.3 789 7/30/2019
2.1.2 1,052 5/21/2019
2.1.2-Beta 510 5/20/2019
2.1.1 935 4/4/2019
2.1.1-beta 496 4/2/2019
2.1.0 2,270 3/4/2019
2.0.7 772 2/25/2019
2.0.6 964 1/17/2019
2.0.6-beta 623 1/2/2019
2.0.5 1,723 1/2/2019
2.0.5-beta 639 10/18/2018
2.0.4.1 1,127 10/17/2018
2.0.4-beta 661 10/8/2018
2.0.3 1,078 9/12/2018
2.0.2 1,022 8/30/2018
2.0.2-beta 742 8/20/2018
2.0.1 1,224 6/28/2018
2.0.1-beta 912 6/26/2018
2.0.0 6,339 5/30/2018
2.0.0-beta 1,250 5/28/2018
1.8.23 816 5/21/2019
1.8.23-Beta 507 5/20/2019
1.8.22 809 4/4/2019
1.8.22-beta 541 4/2/2019
1.8.21 800 2/25/2019
1.8.20 997 1/17/2019
1.8.20-beta 618 1/2/2019
1.8.19 912 1/2/2019
1.8.19-beta 653 10/18/2018
1.8.18.1 943 10/17/2018
1.8.18-beta 677 10/8/2018
1.8.17 940 9/12/2018
1.8.16 976 8/30/2018
1.8.16-beta 743 8/20/2018
1.8.15 1,106 6/28/2018
1.8.15-beta 940 6/26/2018
1.8.14 1,234 5/30/2018
1.8.14-beta2 932 5/22/2018
1.8.14-beta 887 5/21/2018
1.8.12 3,298 4/18/2018
1.8.12-beta2 887 4/17/2018
1.8.12-beta 800 4/3/2018
1.8.11 1,792 2/6/2018
1.8.11-Beta2 887 2/1/2018
1.8.11-Beta 775 1/25/2018
1.8.10 1,104 1/23/2018
1.8.10-beta2 876 1/22/2018
1.8.10-beta 807 12/18/2017
1.8.9 1,149 11/27/2017
1.8.9-beta 787 11/17/2017
1.8.8 1,096 11/7/2017
1.8.8-beta 795 10/20/2017
1.8.7 1,784 10/19/2017
1.8.7-beta 800 10/2/2017
1.8.6 1,871 8/10/2017
1.8.6-beta2 833 6/16/2017
1.8.6-beta 839 6/12/2017
1.8.5.1 1,227 5/15/2017
1.8.5 1,144 4/26/2017
1.8.5-beta 1,300 4/20/2017
1.8.4 1,525 3/14/2017
1.8.4-beta 872 2/28/2017
1.8.3 1,353 2/23/2017
1.8.3-beta 901 2/14/2017
1.8.2 1,486 1/12/2017
1.8.2-beta4 877 12/19/2016
1.8.2-beta3 900 12/5/2016
1.8.2-beta2 896 11/24/2016
1.8.2-beta 897 11/22/2016
1.8.1 1,156 11/21/2016
1.8.1-beta 1,052 11/2/2016
1.8.0 7,376 10/10/2016
1.8.0-beta 1,676 10/5/2016
1.7.8 1,189 9/29/2016
1.7.8-beta3 1,211 9/19/2016
1.7.8-beta2 863 9/16/2016
1.7.8-beta 876 9/13/2016
1.7.7 1,244 8/16/2016
1.7.7-beta2 929 7/20/2016
1.7.7-beta 892 7/1/2016
1.7.6 1,281 6/30/2016
1.7.6-beta2 902 6/28/2016
1.7.6-beta 944 6/20/2016
1.7.5 1,291 6/15/2016
1.7.5-beta 905 6/1/2016
1.7.4 1,246 5/18/2016
1.7.4-beta5 880 5/13/2016
1.7.4-beta4 910 5/12/2016
1.7.4-beta3 888 5/12/2016
1.7.4-beta 962 4/28/2016
1.7.3 1,570 4/28/2016
1.7.3-beta2 1,170 4/22/2016
1.7.3-beta 992 4/19/2016
1.7.2 1,182 4/12/2016
1.7.2-beta 928 3/21/2016
1.7.1.1 1,379 2/2/2016
1.7.1 1,490 1/7/2016
1.7.1-beta 948 12/18/2015
1.7.0 1,696 12/3/2015
1.7.0-Beta2 1,013 11/20/2015
1.7.0-Beta 1,001 11/19/2015
1.6.16.5 2,124 12/3/2015
1.6.16.4 1,507 12/3/2015
1.6.16.3 1,334 12/3/2015
1.6.16.2 1,506 12/3/2015
1.6.16.1 1,410 12/2/2015
1.6.16 1,305 11/16/2015
1.6.16-RC 916 11/11/2015
1.6.16-beta4 944 11/10/2015
1.6.16-beta3 948 11/9/2015
1.6.16-beta2 937 10/27/2015
1.6.16-beta 920 10/26/2015
1.6.15 2,262 10/29/2015
1.6.15-RC 913 10/27/2015
1.6.15-beta5 1,047 10/26/2015
1.6.15-beta4 927 10/22/2015
1.6.15-beta3 1,025 10/16/2015
1.6.15-beta2 932 10/16/2015
1.6.15-beta 945 10/9/2015
1.6.14.1 1,219 10/27/2015
1.6.14 1,380 9/30/2015
1.6.13 1,978 9/15/2015
1.6.13-beta3 983 9/7/2015
1.6.13-beta2 954 9/4/2015
1.6.13-beta 951 9/1/2015
1.6.12 1,219 8/27/2015
1.6.12-beta1 934 8/20/2015
1.6.12-beta 959 8/14/2015
1.6.11 1,453 7/16/2015
1.6.11-beta 1,079 7/15/2015
1.6.10 1,279 6/17/2015
1.6.10-beta9 943 6/12/2015
1.6.10-beta8 926 6/12/2015
1.6.10-beta7 932 6/12/2015
1.6.10-beta6 949 6/9/2015
1.6.10-beta5 952 5/29/2015
1.6.10-beta4 972 5/20/2015
1.6.10-beta3 927 5/12/2015
1.6.10-beta2 979 5/12/2015
1.6.10-beta 918 5/12/2015
1.6.9.2 1,469 6/12/2015
1.6.9.1 3,369 6/4/2015
1.6.9 1,447 4/27/2015
1.6.9-beta5 1,055 4/24/2015
1.6.9-beta4 1,052 4/20/2015
1.6.9-beta3 1,046 4/20/2015
1.6.9-beta2 1,065 4/20/2015
1.6.9-beta 1,022 4/20/2015
1.6.8.1 1,337 4/20/2015
1.6.8 2,233 3/30/2015
1.6.8-beta3 986 3/27/2015
1.6.8-beta2 1,055 3/27/2015
1.6.8-beta 1,125 3/27/2015
1.6.7 1,314 3/26/2015
1.6.7-beta2 970 3/25/2015
1.6.7-beta 1,011 3/24/2015
1.6.6 1,366 1/28/2015
1.6.6-beta 953 1/23/2015
1.6.5.5 1,280 1/19/2015
1.6.5.4 1,262 1/15/2015
1.6.5.3 1,255 1/15/2015
1.6.5.2 1,231 1/13/2015
1.6.5 1,463 1/9/2015
1.6.5-beta7 1,314 12/19/2014
1.6.5-Beta6 1,812 12/17/2014
1.6.5-beta5 1,199 12/12/2014
1.6.5-Beta4 1,253 12/9/2014
1.6.5-beta3 1,200 12/9/2014
1.6.5-Beta2 1,112 12/5/2014
1.6.5-Beta 1,045 12/4/2014
1.6.4 1,517 12/1/2014
1.6.4-beta 1,237 11/21/2014
1.6.3.2 1,386 11/28/2014
1.6.3 1,652 11/17/2014
1.6.2 3,273 11/3/2014
1.6.2-beta 975 10/29/2014
1.6.1 1,333 10/30/2014
1.6.1-beta 1,002 10/27/2014
1.6.0 1,339 10/27/2014
1.6.0-beta2 941 10/22/2014
1.6.0-beta 1,002 10/20/2014
1.6.0-alpha 950 10/14/2014
1.5.10-beta 993 10/10/2014
1.5.9 1,394 10/7/2014
1.5.9-beta4 954 10/2/2014
1.5.9-beta3 984 10/2/2014
1.5.9-beta2 987 10/2/2014
1.5.9-beta 1,019 10/2/2014
1.5.8 1,293 10/1/2014
1.5.8-beta 992 9/29/2014
1.5.7 1,336 9/23/2014
1.5.7-beta 966 9/12/2014
1.5.6 1,295 9/9/2014
1.5.6-beta 966 9/5/2014
1.5.5.2 1,361 6/26/2014
1.5.5.1 1,348 6/26/2014
1.5.5 5,827 6/25/2014
1.5.5-alpha3 1,981 6/18/2014
1.5.5-alpha2 986 6/18/2014
1.5.5-alpha1 1,005 6/18/2014
1.5.5-alpha 1,015 6/10/2014
1.5.4 7,061 6/9/2014
1.5.4-alpha2 1,011 6/9/2014
1.5.4-alpha1 968 6/9/2014
1.5.3.7 1,279 5/21/2014
1.5.3.6 4,561 5/20/2014
1.5.3.5 1,264 5/19/2014
1.5.3.4 1,232 5/19/2014
1.5.3.3 1,272 5/15/2014
1.5.3.2 1,237 5/14/2014
1.5.3.1 1,240 5/14/2014
1.5.3 1,240 5/14/2014
1.5.2 1,264 5/2/2014
1.5.1 1,403 4/23/2014
1.5.1-beta 1,208 4/17/2014
1.5.1-alpha 1,189 4/17/2014
1.5.0.27 1,423 4/10/2014
1.5.0.26 1,450 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