Upgrades and the Cloud Jacob Khan & Bill Murray Solution Architects The Choice for Leaders in Digital
The EPiServer Difference Simplicity for complex needs Experience is the new differentiator Insight to drive your business Agility to move on Internet time
Agility
Agility Features Get new features out quicker Weekly updates Community Respond faster to feedback from our users and the community
Types of Updates Add- ons: Add- on Store Add- ons Releases and Ho+ixes: nuget.episerver.com UI, Pla+orm and Framework
Visual Studio Extensions An easy way to setup new sites Snippets for creating things CMS only right now (business user add-ons)
Nuget NuGet is the package manager for the Microsoft development platform including.net. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.
EPiServer Nuget feed
World has it all
Upgrade strategy Maximum Value for Customer Simple upgrades Simple deployment Understanding
Pre-Production nuget.episerver.com Update-All-Packages J
Post-Production
Continuous Deployment Approach
Traditional Deployment Approach
When More than 20 releases since 7.5 Collaboration tool Compare Live monitor (New Version) UI Fixes Bug fixes and much much more
Demo
Running on Azure Create a new website The Choice for Leaders in Digital
Things to know You need to setup an Azure account! A specific cloud enabled license is required Mirroring, Workflows are not supported (yet) Add- ons must have support for SQL Azure ApplicaSons and Modules must be designed for the cloud Media should be stored in the Azure BLOB storage (to enable scaling)
Create an EPiServer Website h_p://www.snyurl.com/epiazure 1. Be sure you are using the latest Visual Studio Extensions (7.7+) 2. You can use either Web Forms or MVC 3. Do not install EPiServer Search (See the blog for more informason )
Prepare Your Site ü Upgrade the site to 7.10.0 ü Install EPiServer.Azure
NOT IN THE BLOG h_p://www.snyurl.com/epiazure You can add this to the run;me sec;on or let Visual Studio do it for you <configuration>.. <runtime> <dependentassembly> <assemblyidentity name="microsoft.windowsazure.storage" publickeytoken="31bf3856ad364e35" culture="neutral"/ > <bindingredirect oldversion="0.0.0.0-2.1.0.4" newversion="2.1.0.4"/> </dependentassembly> <dependentassembly> <assemblyidentity name="episerver.applicationmodules" publickeytoken="8fe83dea738b45b7" culture="neutral"/> <bindingredirect oldversion="0.0.0.0-7.10.0.0" newversion="7.10.0.0"/> </dependentassembly>.. </runtime>.. </configuration>
Prepare Azure Get into Azure 1. Create a WEBSITE with a new linked DATABASE 2. Setup STORAGE (This is where the Media is stored) 3. Setup a SERVICE BUS (handles messages between the site instances) Website SQL Server Storage Service Bus
More Code Settings 1. Add the <blob> and <event> providers under <episerver.framework> 2. Add the connecson strings for the blob and event providers Update the Blob s AccountName and AccountKey Update the Event s connecsonstring 3. Update the EPiServerDB connecson string with the sehngs in Azure be sure keep, MulSpleAcSveResultSets=True in the connecson string. check to make sure you updated your password! 4. Remove the workflow persistence configurason I searched for, SqlWorkflowPersistenceService"
Deploy! 1. Import your profile and validate the connecson 2. Be sure not to Precompile 3. Select Update database > configure it by removing the Auto schema update 4. Add the script found under../packages/episerver.cms.core.7.10.0/tools 5. Then Publish Important The EPiServer.Cms.Core.sql script is a one- ;me schema load. So you want to remove it Re- check Auto schema update and then resave the profile once publishing is completed.
It Works but guess what? 1. You can t log in J 1. Run you applicason in Visual Studio 2. There is a license yelling at you! 2. Log in using your machine credensals 3. Create, at least, the WebAdmins group 4. Create a user and assign the account to the WebAdmins group A couple of other issues: a. Security b. The license issue is STILL yelling at you!
Set Access Rights So that you can actually use the sopware: 1. Go to CMS > Admin > Set Access Rights 2. Add the WebAdmins group to the ROOT folder with all permissions 3. Enable the Apply sehngs for all subitems flag 4. Save it. The license issue is STILL yelling at you!
Fix the License Issue CMS > Admin > Config > Manage Websites The license likely shows up but you need to acsvate it 1. Click on the Cloud Licenses tab 2. Find your site and click AcSvate
Don t Look! Database: juieopzqxk User: episerver Pass: P@ssw0rd!