Skip to content
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

Abandon Startup.cs #159

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Abandon Startup.cs #159

merged 1 commit into from
Nov 15, 2024

Conversation

ScarletKuro
Copy link
Member

@ScarletKuro ScarletKuro commented Nov 15, 2024

Microsoft stopped to use Startup.cs long time ago.

Now everything is configured inside the Program.cs
You won't even find in the documentation on how to configure some things using the old Startup. For example there is no MapStaticFiles() extension for the IApplicationBuilder.

Made sure the API is still accessible: https://localhost:5001/webapi/americanstates

This is 1 to 1 port from Startup, I don't expect any problems to showup.

@ScarletKuro ScarletKuro requested a review from mikes-gh November 15, 2024 13:13
@mikes-gh mikes-gh self-requested a review November 15, 2024 17:45
@mikes-gh
Copy link

Tested with DataGrid example which uses webapi
Thanks @ScarletKuro

@mikes-gh mikes-gh merged commit 34f7d44 into MudBlazor:main Nov 15, 2024
3 checks passed
@ScarletKuro ScarletKuro deleted the startup branch November 15, 2024 18:22
ScarletKuro added a commit to ScarletKuro/TryMudBlazor that referenced this pull request Jan 17, 2025
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