sardar97
sardar97
CC#
Created by sardar97 on 7/5/2024 in #help
How to Bind typeparam with property in Blazor?
i have a generic Component which is a generic form and i get properties in a generic way then i pass them to the components depend on the property type like (int,string...etc). Inside some entity i have relation and class. for example i have Blog entity in Post entity. then i want to get the Blog and bind it to my anoteher generic components which name is SQEntityPicker. and this picker require some parameter and typeparam the only problem i have is typeparam TValue , I must write it like this "@typeparam TValue where TValue : class, new()" in my case. Then it would must to pass TValue whenever i use SQEntityPicker. As i explained i get properties in a generic way then i don’t know how to pass the property to the typeparam and bind it. i share all of the codes for both components.
11 replies
CC#
Created by sardar97 on 8/1/2023 in #help
✅ SignalR not working with blazor server app
i have this issue with SignalR please someone help https://github.com/dotnet/aspnetcore/issues/49656
8 replies