Tasks | |
Build |
- Visual Studio
- Azure storage account or Azure storage emulator
- Open the solution in Visual Studio
admin
mode - Set SFA.DAS.Tasks.CloudService as the startup project
- Update ConfigurationSettings in ServiceConfiguration.Local.cscfg
<ConfigurationSettings> <Setting name="EnvironmentName" value="LOCAL" /> <Setting name="ConfigurationStorageConnectionString" value="UseDevelopmentStorage=true" /> <Setting name="StorageConnectionString" value="UseDevelopmentStorage=true" /> <Setting name="LogLevel" value="Debug" /> <Setting name="LoggingRedisConnectionString" value="" /> <Setting name="LoggingRedisKey" value="" /> <Setting name="InstrumentationKey" value=""/> <Setting name="idaTenant" value="citizenazuresfabisgov.onmicrosoft.com" /> <Setting name="idaAudience" value="https://citizenazuresfabisgov.onmicrosoft.com/tasks-api" /> </ConfigurationSettings>
- Disable Diagnostics on API and Worker Roles under the CloudService. Expand
Roles
folder in Visual Studio or directly editdiagnostics.wadcfgx
for both the roles.
If you have issues starting on port 443 make sure that the certificates are installed and no other process is running on 443. I found Cosmos emulator uses port 443, this is not required so can be turned off.