-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Consider changing the defaults between IIS Express vs Kestrel in VS #27277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for contacting us. |
Calculated using https://github.com/shirhatti/processaudit IIS Express- F5
IIS Express- Ctrl+F5
Kestrel- F5
Kestrel- Ctrl+F5
|
@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. |
Nvrm, apparently I needed to modify the process audit example to have the right app name for the Kestrel F5 scenario. My bad! |
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. |
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. |
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. |
It may be part of the websdk then. When you run dotnet new web on command line, a launchsettings.json is generated. |
@jkotalik ok, maybe things have changed. Bill will know what the correct steps are when we meet with him. |
@sayedihashimi launchsettings.json is defined in the templates, the first entry becomes the default. @phenning to confirm |
Need to follow up with web tool folks to figure out any other places we generate or implicitly create a launchsettings.json file. |
@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: |
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 |
This is done right @jkotalik ? |
I think this is done on our side. |
The text was updated successfully, but these errors were encountered: