Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Note: Azure Web Apps used to be called Azure Web Sites, see Microsoft’s announcement for details.
This topic describes how to set up an Episerver Commerce site (8.12 and above) to run on Azure Web Sites. In this scenario a Commerce Core site is installed and you can apply most steps to sites via Visual Studio extension and installing NuGet packages. See Azure Web Apps for information about Azure.
Like an Episerver CMS webite on Azure, you can run the Commerce website on an Azure Web Site environment with multiple instances. The website instances share the same Azure SQL database, and the BLOB storage in Azure is used for storing of the file binary data. Load balancing is applied and the Azure Service Bus manages events between the CMS websites.
The following steps show how to create an Episerver Commerce website running in an Azure Apps environment.
Add the cloud license to the website, this will be used and activated later when deploying the website to Azure.
When the database is successfuly created, run the Update-EPiDatabase command in the Package Manager Console.
Note: If you are using LuceneSearchProvider as default search provider, you need to do the following additional steps:
Example of search config in Mediachase.Search.config, defined for using Lucene on Azure:
<?xml version="1.0" encoding="utf-8"?>
<Mediachase.Search>
<SearchProviders defaultProvider="LuceneAzureSearchProvider">
<providers>
<add name="LuceneSearchProvider" type="Mediachase.Search.Providers.Lucene.LuceneSearchProviderMediachase.Search.LuceneSearchProvider"
queryBuilderType="Mediachase.Search.Providers.Lucene.LuceneSearchQueryBuilder, Mediachase.Search.LuceneSearchProvider"
storage="<your_physical_path_index>" simulateFaceting="true"/>
<add name="LuceneAzureSearchProvider" type="Mediachase.Search.Providers.Lucene.LuceneAzureSearchProvider, Mediachase.Search.LuceneAzureSearchProvider"
queryBuilderType="Mediachase.Search.Providers.Lucene.LuceneSearchQueryBuilder, Mediachase.Search.LuceneSearchProvider"
storage="indexcontainer" connectionStringName="EPiServerAzureBlobs" simulateFaceting="true"/>
</providers>
</SearchProviders>
<Indexers basePath="indexcontainer" connectionStringName="EPiServerAzureBlobs">
<add name="catalog" type="Mediachase.Search.Extensions.Indexers.CatalogIndexBuilder, Mediachase.Search.Extensions"/>
</Indexers>
</Mediachase.Search>
Last updated: Oct 12, 2015