Skip to content

Fix the SQL Server with Entity Framework tutorial #2544

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

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

alistairmatthews
Copy link
Contributor

Summary

The razor code in the Tutorial: Connect an ASP.NET Core app to SQL Server using .NET Aspire and Entity Framework Core currently causes an error. I've added the following line to the snippet to fix it:

@using Microsoft.EntityFrameworkCore

Fixes #2102

@dotnetrepoman dotnetrepoman bot added the database Content related to database. label Feb 5, 2025
Copy link
Member

@IEvangelist IEvangelist left a comment

Choose a reason for hiding this comment

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

Looks good to me, we'll :shipit: - thank you 🙏

@IEvangelist IEvangelist merged commit b53409f into dotnet:main Feb 5, 2025
7 checks passed
@dotnet-policy-service dotnet-policy-service bot added the okr-quality Content-health KR: Concerns article defects/freshness or build warnings. label Feb 5, 2025
@alistairmatthews alistairmatthews deleted the fix-sql-and-ef-tutorial branch February 6, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution database Content related to database. okr-quality Content-health KR: Concerns article defects/freshness or build warnings.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sql Server Integration Tutorial is Missing Razor Imports
2 participants