Skip to content

Conversation

@kennethlieyanto
Copy link
Contributor

@kennethlieyanto kennethlieyanto commented Nov 17, 2024

Added Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore when using VS Code and .NET CLI on

https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/movie-database-app/part-2?view=aspnetcore-9.0&pivots=vsc

Not adding Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore will result in build error when following the tutorial.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/tutorials/movie-database-app/part-2.md aspnetcore/blazor/tutorials/movie-database-app/part-2

Added Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore when using VS Code and .NET CLI on 

https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/movie-database-app/part-2?view=aspnetcore-9.0&pivots=vsc

Not adding Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore will result in build error when following the tutorial.
@kennethlieyanto kennethlieyanto changed the title Update part-2.md Not adding Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore will result in build error when following blazor movie database app tutorial Nov 17, 2024
@guardrex guardrex self-assigned this Nov 17, 2024
Copy link
Collaborator

@guardrex guardrex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hummm 🤔 ... Not sure how the package didn't find its way in here, as it is required for the AddDatabaseDeveloperPageExceptionFilter extension method, and I did test this last year with VSC. I'm going to add one line to call that out. Thanks for the PR!

@guardrex
Copy link
Collaborator

guardrex commented Nov 17, 2024

@kennethmanuel ... If you agree with the terms, can you sign the CLA? We can't accept the PR without it.

@guardrex guardrex changed the title Not adding Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore will result in build error when following blazor movie database app tutorial Add missing EFCore package for VSC/CLI Nov 17, 2024
@guardrex guardrex changed the title Add missing EFCore package for VSC/CLI Add missing package for VSC/CLI Nov 17, 2024
@kennethlieyanto
Copy link
Contributor Author

@dotnet-policy-service agree

@guardrex
Copy link
Collaborator

Thanks @kennethmanuel ... Since this is a doc 🪲, I'll merge this into the live doc set now. It will appear in the article in a few minutes. Thanks again!

@guardrex guardrex merged commit 7445076 into dotnet:main Nov 17, 2024
3 checks passed
@kennethlieyanto kennethlieyanto deleted the patch-1 branch November 17, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants