David Carr
David Carr
@jmprieur this is right though it doesn't use client id by default.
I imagine somewhere along the line it was decided that the 'clientid' can be used in the sample by adapting `AzureAdOptions`. So you are right in saying that it is...
I'm not sure if you've enabled cors+mvc correctly. Check the docs. https://docs.microsoft.com/en-us/aspnet/core/security/cors
Looks good. Docs could be a little outdated. ``` services.AddCors(options => { options.AddPolicy("fiver", policy => policy.WithOrigins("http://localhost:21314")); }); services.AddMvc(options => { options.Filters.Add(new CorsAuthorizationFilterFactory("fiver")); });
> The issue here is that the version of NuGet in 15.2 doesn't have support for netstandard 2.0 You'll need to upgrade NuGet. For VS 2017, this means getting update...
Thanks ak. I can do without. 😊
Good example here based on WORKDIR https://github.com/dotnet/dotnet-docker/blob/master/samples/aspnetapp/Dockerfile
Yeah the method shouldn't be blocking. Wrapping in a `Task.Run` will also dispatch.
Add https://www.nuget.org/packages/Microsoft.Windows.Compatibility/2.0.0
Should not be strictly required as @divega mentioned.