This is a sample for writing durable functions and enabling docker support.
Requirements:
- .Net Core (>= 2.1.104)
- Azure Storage Emulator (>= 5.3)
git clone https://github.com/danielscholl/web-demo-classic.git web-demo-classic
-
Build the Project
<ctrl><shift><b>
-
Test the project
<F5>
-
Create a Resource Group
- Name: ClassicCommon
- Location: South Central US
-
Create a Virtual Network (Classic) in the Resource Group - ClassicCommon
- Name: classicVNet
- Location: South Central US
- Address Space: 10.0.0.0/24
- Subnet Name: MiddleTier
- Subnet Address Range: 10.0.0.0/27
-
Create a Virtual Machine (Classic) in the Resource Group - ClassicCommon SQL Server 2016 SP1 Standard on Windows Server 2016
- Name: classic-vm
- Location: South Central US
- User Name: azureuser
- Password: **********
- Size: Standard D1_v2
- Storage Account: {initials}classic
-
Update the Storage Connection String in WebMVC & WebWorker Role "Settings" Cloud Configuration
- Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString: <your_storage_connectionstring>
- StorageConnectionString: <your_storage_connectionstring>
-
Prepare the Database on the Virtual Machine
- RDP to the Virtual Machine. Note: You might have to apply the RDP Fix
- Enable Mixed Mode Authentication
- Add a SQL Server User: 'azureuser'
- Connect as azureuser
- Create a Database name:db
- Open Firewall Rule for 1433
-
Update the DB Connection WebWorker Role "Settings" Cloud Configuration and WebMVC/Web.Release.config
- AdsDbConnectionString: <your_db_connectionstring>
-
Update the DB Connection for WebMVC in Web.Release.config
- AdsContext: <your_db_connectionstring>
-
Publish the Cloud Serivce "ClassicWeb"
- ServiceLabel: ClassicCommon
- ServiceName: classiccommon
- Storage Account: <your_storageaccount>