You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider changing the defaults between IIS Express vs Kestrel in VS #27277
We met with @vijayrkn and @sayedihashimi and it sounds like we will reach out to @BillHiebert in March to see if he has capacity to implement this in VS.
Activity
shirhatti commentedon Jan 6, 2021
Calculated using https://github.com/shirhatti/processaudit
Details
IIS Express- F5
IIS Express- Ctrl+F5
Kestrel- F5
Kestrel- Ctrl+F5
jkotalik commentedon Jan 14, 2021
@shirhatti I'm a little concerned that the Kestrel F5 scenarios aren't including the time for .NET starting, as you are looking for host start as the event to start timing here: https://github.com/shirhatti/ProcessAudit/blob/main/Program.cs#L37.
jkotalik commentedon Jan 14, 2021
Nvrm, apparently I needed to modify the process audit example to have the right app name for the Kestrel F5 scenario. My bad!
jkotalik commentedon Jan 26, 2021
I ran a twitter poll around IIS Express VS Kestrel, and overwhelmingly it leaned to making Kestrel the default. https://twitter.com/JustinKotalik/status/1352314886810812417.
jkotalik commentedon Feb 10, 2021
We met with @vijayrkn and @sayedihashimi and it sounds like we will reach out to @BillHiebert in March to see if he has capacity to implement this in VS.
#27463 for details on one feature we'd add to VS.
Besides that, I believe all of the other required work is switching the templates to have Kestrel first.
sayedihashimi commentedon Feb 10, 2021
I don't think any template change will impact this, launchSettings.json isn't a part of the template. It is auto generated by Visual Studio.
jkotalik commentedon Feb 10, 2021
It may be part of the websdk then. When you run dotnet new web on command line, a launchsettings.json is generated.
sayedihashimi commentedon Feb 10, 2021
@jkotalik ok, maybe things have changed. Bill will know what the correct steps are when we meet with him.
BillHiebert commentedon Feb 11, 2021
@sayedihashimi launchsettings.json is defined in the templates, the first entry becomes the default. @phenning to confirm
jkotalik commentedon Mar 24, 2021
Need to follow up with web tool folks to figure out any other places we generate or implicitly create a launchsettings.json file.
phenning commentedon Mar 24, 2021
@BillHiebert Don't we also generate a launchsettings.json from the project system if the template does not already have one?
It looks like you guys already have the template change here:
https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Properties/launchSettings.json
jkotalik commentedon Mar 24, 2021
Yeah, the previous PR I just merged handled the templates. I filed an issue in the web tools azdo repo for generation of launchsettings.json
davidfowl commentedon Mar 30, 2021
This is done right @jkotalik ?
jkotalik commentedon Mar 31, 2021
I think this is done on our side.