Blazor: Feature 'Razor TagHelperProvider Feature' is currently unavailable...
I got this error in VS 2022 (latest 17.12 Preview 2.1).Blazor: Feature 'Razor TagHelperProvider Feature' is currently unavailable due to an internal errorIf you watch the stack trace it...
View ArticleBest practices for using components with a Blazor WebAssembly app if it is...
I have a functioning Blazor WebAssembly (WASM) component which is ASP.NET Core Hosted and contains three projects: client, server, and shared. The client-side component connects to a SQL Server...
View ArticlebUnit WaitForAssertion passing on partial state during multiple render cycles
I have a Blazor component that performs multiple validations on an uploaded file. If both validations fail, it should show two separate alerts. In my bUnit test, I mock both validations to fail, yet...
View ArticleUsing YARP, System Web Adapters and AddAuthenticationStateSerialization to...
I suspect I am trying to use too many disparate technologies here, but I thought I would ask for a second opinion before giving up...I have a .NET 9.0 project that uses YARP to reverse proxy onto our...
View ArticleHow to use Blazor.SubtleCrypto in a non-component related class?
In a Blazor WASM project I want to use Blazor.SubtleCrypto in a non-component related class. In a component class I need to use @inject ICryptoService Crypto which works fine but that does not work in...
View ArticleHandling code after Entra ID authentication in Blazor WASM
I have a Blazor WASM Standalone app that uses Entra ID (External) to authenticate users. Previously, I was using Azure AD B2C with this app and everything was working fine. Microsoft no longer offers...
View ArticleHow can i correctly change the LLAMA3 default maxtoken=256 in Blazor app on...
DescriptionI am creating a local LLM app, which works OK, but on response it stops at 170 words which are = 256 tokens.The models I have tried are so far: Meta-Llama-3.1-8B-Instruct-Q8_0.gguf and...
View ArticleCross-origin-opener-policy error using localhost in Blazor WASM
I'm using Entra ID (External) in my Blazor WASM Standalone app for authentication and user management.When I publish my app to Azure Static Web Apps, everything works fine but if I run it in debug mode...
View ArticleStateHasChanged() vs InvokeAsync(StateHasChanged) in Blazor
I know that calling the StateHasChanged() method notifies the component that the state has changed and therefore it should re-render.However, I also sometimes see things like await...
View ArticleNo compatible code running on thread when debugging Blazor WASM Standalone
I created a brand new Blazor WASM standalone project configured to use Microsoft Entra. Everything works fine, but I can't even put a breakpoint to inspect anything in my code.I get the following error...
View ArticleHow to use chart.js in blazor?
I am trying to follow this example from mariusmuntean/ChartJs.Blazor :https://github.com/mariusmuntean/ChartJs.BlazorThe code runs but I am getting this error:InvalidOperationException: Object of type...
View ArticleHow to share the non-scoped styles in ".NET MAUI Blazor Hybrid and Web App"...
The standard project (more correctly, the group of 4 projects, I'll call "multiproject") of .NET MAUI Blazor Hybrid and Web App type:Once operations in project creating wizard done, 4 projects will be...
View ArticleHow to provide the loading of the page styles on demand (when specific page...
Assume that the application has N pages, where N can be arbitrarily large. Ideally:When user has visited page A, only styles for page A must be loaded but not for other pages (assume that all styles...
View ArticleBootstrapBlazor: Validation error inside a Table always appears on the first row
I am using BootstrapBlazor with a Table component inside a ValidateForm. I am binding the form directly to a List<T>.Problem: my custom validation logic (IsValid in C#) works correctly and...
View ArticleRadzen Blazor Components Apperance Toggle Not Switching Themes
I've got a .NET 10 Blazor Web App that uses Server Interactive Mode. I'm exploring some of the components that Radzen Blazor offers but cannot seem to get theme switching working. I'm able to configure...
View ArticleAdding C# class Library to Blazor project / solution
I have an ASP.NET Core Web API project. I also have a class library project where all of my domain objects are defined. I would like to use the same domain objects in my Blazor application. Similar to...
View ArticleRadzen Blazor Components Apperance Toggle Not Switching Themes
I've got a .NET 10 Blazor Web App that uses Server Interactive Mode. I'm exploring some of the components that Radzen Blazor offers but cannot seem to get theme switching working. I'm able to configure...
View ArticleDTO Explanation
My Question i have a project in blazor asp.net9 , My database consist of :Parameter TableRegular TableParent to Child Tablewhat is the best practice for API to use ;Should Create models for my table,...
View ArticleDatabase connection error only when I call await...
Im building an app, where I want it to show a list of managers when you're going to register a new user, but i'm facing a pretty annoying problem:My database connection it's working perfectly fine, I...
View ArticleBlazor WebAssembly Custom Elements fail to load resources after upgrading to...
I am using Blazor WebAssembly custom elements inside an Angular application viaMicrosoft.AspNetCore.Components.CustomElements.I register the Blazor components like...
View Article