danheron / Heron.MudCalendar

Calendar component for MudBlazor
MIT License
169 stars 33 forks source link

Blazor server error #88

Closed berthendrickx closed 6 months ago

berthendrickx commented 9 months ago

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!

danheron commented 8 months ago

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.

berthendrickx commented 8 months ago

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.

danheron commented 7 months ago

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?

danheron commented 6 months ago

Closing because no reply.