There are a number of breaking changes that have been introduced in this version of AzureWebFarm since v0.9.1.3. Following are the instructions to upgrade.
Upgrade AzureWebFarm NuGet package
Probe.aspx.cs got copied to your web project.
You need to upgrade your machine to the Azure 1.8 SDK and allow Visual Studio to update the cloud project - this gives you a faster deployment time and support for Windows Server 2012.
Cloud project changes - *.cscfg
You need to add a new configuration setting to your
<Setting name="SyncEnabled" value="true" />
This is to allow for the ability to selectively disable syncing while the role is running. You might want to do this if there is a problem with Azure Storage or you want to rotate your keys etc.
You can also optionally upgrade to Windows Server 2012; you can do this by simply changing the
osversion attribute at the top of the
.cscfg file to the value
3 (this requires that you have Azure SDK 1.8 installed). Note: This adds support for .NET 4.5 and removes support for .NET 3.5. For more information see: http://blogs.msdn.com/b/avkashchauhan/archive/2012/10/29/using-windows-server-2012-os-with-windows-azure-cloud-services-and-net-4-5.aspx.
Cloud project changes - *.csdef
You need to make the following changes to your
<Startup>section (you can then remove the
Startupfolder from your Web project as well).
Add the following section inside
Replace your port 8172
<InputEndpoint>with the following:
Web project changes - web.config and app.config
You also need to update your
app.config files in your web project to redirect
Microsoft.WindowsAzure.ServiceRuntime to 184.108.40.206.
<dependentAssembly> <assemblyIdentity name="Microsoft.WindowsAzure.Diagnostics" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-220.127.116.11" newVersion="18.104.22.168" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.WindowsAzure.ServiceRuntime" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-22.214.171.124" newVersion="126.96.36.199" /> </dependentAssembly>
You should also check that the
Microsoft.WindowsAzure.Diagnostics dll is
188.8.131.52 and copy local and the
Microsoft.WindowsAzure.ServiceRuntime dll is
184.108.40.206 and not copy local.