_From @kumarmohe on Sunday, August 18, 2019 5:17:05 PM_
Problem encountered on https://dotnet.microsoft.com/learn/aspnet/microservice-tutorial/create
Operating System: windows
ValuesContoller is not created, instead it creates WeatherForecastController.cs. So "dotnet run" command fails.
Thanks,
Mohan
_Copied from original issue: dotnet/core#3210_
_From @leecow on Wednesday, August 21, 2019 4:25:21 PM_
It looks like an update to the sample application was introduced in the 3.0 preview templates. dotnet run
should still work but you'll need to enter http://localhost:5000/WeatherForecast
into the browser to see output from the service.
@bradygaster and @rowanmiller to decide on how to update the sample.
_From @rowanmiller on Wednesday, August 21, 2019 5:42:45 PM_
The tutorial is written for the latest stable release of .NET Core (currently 2.2). We'll upgrade it to 3.0 once we reach stable release of 3.0.
_From @kumarmohe on Wednesday, August 21, 2019 6:23:00 PM_
It looks like an update to the sample application was introduced in the 3.0 preview templates.
dotnet run
should still work but you'll need to enterhttp://localhost:5000/WeatherForecast
into the browser to see output from the service.@bradygaster and @rowanmiller to decide on how to update the sample.
Yeah. Instead of adding a new controller, the old ValuesContoller.cs is good enough.
I don't think there is any work to do here. The tutorial is intentionally designed to work with the current stable SDK. We're in the unfortunate situation where that means it doesn't work with 3.0 previews, but we don't want to update it to be based on 3.0 until that has reached stable release.
cc @scottaddie
agreed with @rowanmiller but i do think that, once the 3.0 stuff GA's, we should update this learn thread to reflect the new template structure. What say you, @scottaddie and @CamSoper?
I chatted with Rowan about this earlier in the week. The agreement is that the tutorial will be retired in favor of an MS Learn module. The following issue was created to track that work: https://github.com/aspnet/AspNetCore.Docs/issues/13934. The current thinking is that we'll start work on that issue shortly after 3.0 ships.
Prior to retiring any tutorials, we will upgrade them all to 3.0 once it reaches stable release
@wadepickett is this something you could do?
I can take care of this. I'll get it updated later today.
The changes are a little more complicated than I had hoped, so I will finish making them tomorrow.
Just confirming that the tutorial has been updated
@rowanmiller , should I close this one? It sounded like yo updated the tutorial and this is now resolved?
Yep agreed 馃憤
Most helpful comment
I can take care of this. I'll get it updated later today.