Tea Commerce is one of the best ecommerce solutions for Umbraco CMS. It's easy to use and includes everything you need to run an online store.
-->Important
This topic applies to Dynamics 365 Retail and Dynamics 365 Commerce (Preview).
This topic describes the e-Commerce Platform SDK. The e-Commerce Platform SDK consist of the following components:
![Asp net e commerce software review Asp net e commerce software review](http://www.advantshop.com/images/content/devices.png)
- Framework
- Controls
- Publishing (only supported in version 1661 and higher: Support for Service to Service authentication in Retail Server)
- Sample ASP.net website
Use the sample asp.net website
Download the Retail SDK
The Retail SDK is available in development environments, and in hotfix packages in a Retail SDK folder. For more information see:
- If you get the SDK from a development instance, it is immediately ready for configuration and use. For more information, see Access instances.
- If you get the SDK from a hotfix, it is included in the hotfix package as a zipped folder. Retail hotfixes are cumulative and include all other fixes.
We recommend that you put the SDK in a source control system such as Visual Studio Online.
Use the Retail SDK to create the sample asp.net website
- Open Visual Studio in Admin mode. This is necessary for publishing to the inetpub folder.
- Open C:Microsoft Dynamics AX70RetailSdkOnlineStoreOnlineStore.sln contains all the framework components.
- The sample online store is available at C:Microsoft Dynamics AX70RetailSdkSampleExtensionsOnlineStore.
- Compile and publish the web store front, from within Visual Studio.
- Update the path of the RetailStorefrontWebSite from IIS Manager.
- Note that RetailStorefrontWebSite created by the default setup points to C:Microsoft Dynamics AX70Retail Store FrontPackage.
- However, the publishing of the web storefront from RetailSDK will drop the files at C:inetpubRetailWebStorefront.
- Hence, the physical path of the RetailStorefrontWebSite must be updated to point to “C:inetpubRetailWebStorefront” to access web storefront on the same ports as before. Another option would be to create a new website and have that point to the inetpub location.
- Browse to http://localhost:55080 or access the https://usnconeboxax1ecom.cloud.onebox.dynamics.com/en/ to see a test asp.net website.
Enabling anonymous access
e-Commerce websites need to enable anonymous access. This is available as a web.config file in the Retail Server web.config under app settings. Please ensure that this is enabled to have the website work. <add key='IsAnonymousEnabled' value='true' />
Externally accessing the ASP.net website
![Asp Net E Commerce Software Asp Net E Commerce Software](https://image.slidesharecdn.com/140537520853c452e89d942-140714170010-phpapp02/95/ecommerce-the-purposes-of-ecommerce-website-and-web-design-1-638.jpg?cb=1405357216)
The following configuration changes will be required if either of these applies:
- If you are accessing web storefront from within a browser that is not on the same box as the e-Commerce server.
- If the e-Commerce server and retail server are on two different boxes.
You will need to update the “retailServerUrl” inside the web.config file of the RetailStorefrontWebSite. The following two fields will need to be updated to use the machine name instead of local host:
- retailServerUrl=http://localhost:35080/RetailServer/V1
- <add key='RetailServerRoot' value='http://localhost:35080/RetailServer/V1' />
If you are accessing the web storefront over HTTPS, then you will need to update the above URLs to the HTTPS equivalent.
Operating unit or channel configuration
The e-Commerce website will operate on an operating unit number(channel) specified in the web.config. To change it, change the OU # below. Note that Fabrikam is “077” in the demo data. You will need to update the “retailServerUrl” inside web.config of the RetailStorefrontWebSite. The following two fields will need to be updated to use the machine name instead of local host:
Configure authentication providers
Authentication providers that you are using
The e-Commerce platform uses OpenID as the mechanism for authentication. You can register any OpenID provider of your choice to the tables below to make this work. You can then log in to test as needed.
- Edit the web.config file and change it to the following.The subsequent steps should only be done to register additional providers.
- The Retail Shared Parameters-> Open ID Providers form can be used to register additional providers.
- Run distribution schedule 1110.