danheron/Heron.MudCalendar

Blazor server error

Closed this issue · 4 comments

I have a Blazor server app using .net 7.0. When adding the MudCalendar nuget version 1.1.0 to a page, it immediately throws a server exception, causing the signal R connection to fail. After the connection is restored, the calendar seems to display and work fine however. I tried just adding to an empty razor page, and it's the same.

When I downgrade the nuget version to 1.0.11, this does not occur. I am at a loss as to what might cause this.
I would just use version 1.0.11, but there is no ItemClicked event there, which I need..

image

I'm loving your work on this, the calendar looks great!

What is the exception you are getting? Do you have an error message?

In the source code is a project: Heron.MudCalendar.UnitTests.Viewer.Server. This is a .net 7.0 server project and it works fine.

I have created a new .net7 server project, and added MudBlazor and MudCalendar only.
It immediately throws and reconnects the signalR connection.

I will attach the project to this message.
MudCalendarTest.zip

I will also look at the Heron.MudCalendar.UnitTests.Viewer.Server code to see if I can spot anything different.

I've tried your test project and it works fine on my system.

Do you still have the problem or did you find a solution?

Closing because no reply.