Ensure cached values(up to 26GB) are backup every hour
- Create storage account.
- Create Premium Tier Redis Cache. – support data persistence
- Choose P3 size. – cache up to 26GB
- Enable RDB Backup and configure backup frequency of 60 minutes.
- Choose storage account provide the correct key.
Create distributed cache cluster with 6 primary/replica cache pairs and 2 CPU cores in each node
Premium $sku – only Premium tier Redis caches support clustering.
P1 $size – P1 is the only Premium tier size with 2 CPU cores for each node.
6 $sharedCount – each shard consists of a primary/replica cache pair.
Web app configuration to sign in Azure AD B2C directory using Facebook
Domain Name: B2C Tenant Directory – unique domain within onmicrosoft.com where B2C tenant directory is available. Application must connect to this domain to authenticate users and it is configured as a property of the tenant directory itself.
Reply URLS to which tokens are returned: Application Registration – the reply URLs are location where B2C directory sends authentication tokens. Because these locations are different for each web app, they must be configured as part of application registration.
Facebook Identity Provider: Authentication Policies – identity provider enables B2C directory to send authentication requests to external provider such as Facebook.
Service Fabric service do not run IIS at all
To provide HTML front-end user interface, move to a web framework that can be self-hosting such as ASP.NET Core 1 MVC.
Set maximum size of database to at least 300Gb
Raise service tier to Premium
Process messages in CloudQueue by using Azore Storage Client for .NET
GetMessages – process multiple messages because it allows specify number of messages retrieve in one call.
PeekMessages – temporary view, but not process it.
BeginPeek Messages – temporary view in asynchronous, but not process it.
BeginListQueuesSegemented – initiates asynchronous operation to return segment containing collection of queues.
Register object as a trigger. A trigger can execute before new item is created in database and modify it.
- Add triggerType and triggerOperation properties to object.
- Call client.createTriggerAsync() to register function as a trigger.
- Specify object whenever call the client.createDocumentAsync()