Debug Outlook Web addin created in Blazor WASM
I'm creating an Outlook Web Addin. Implementation is done in Blazor WASM. The addin is working, well, but I'm not able to debug the addin when it is loaded in Outlook or neither in the browser. It is a...
View ArticleBlazor & Tailwind WYSIWYG Text Editor - Flowbite
In my project I added Flowbite WYSIWYG Text Editor.Problem is, it is only woking if I remove<script src="_framework/blazor.web.js"></script>from App.razor.With <script...
View ArticleHow to install TailwindCSS in Blazor web app on ASP.NET Core
I couldn't find a way to make an ASP.NET Core Blazor web app work with Tailwind CSS, even tried the blazorise.Tried some NuGet packages, but don't know how to use those actually.Manually installed...
View ArticleUse of NavLink not work in Razor Class Library that is loaded using...
When I try to add the NavLink markup into a Razor component in the Razor Class Library I obtain the next error:Found markup element with unexpected name 'NavLink'. If this is intended to be a...
View ArticleHow to use alert(),confirm() and prompt() function using Blazor?
I'm learning the Blazor technology. I started a default increment project in VS 2019 and I have modified the code for Decrement with confirm() and alert but it does not work. @page...
View ArticleMudDrawer does not close when bound to state
I got an MudDrawer which looks like this:<MudDrawer Open="GlobaleState.IsDrawerOpen"><MudDrawerHeader><MudText Typo="Typo.h5"...
View ArticleRadzen Blazor sidebar expanded doesn't work
I'm using Radzen layout component for my Blazor app MainLayoutbut the sidebar-expanded doesn't work as it is in the documentation. If I click the toggle, the sidebar wont collapsed nor...
View ArticleAccessing method in a C# Blazor Dynamic Component
I am reasonably new to Blazor, although more experienced in C#.I am building a Proof of Concept application using Blazor and have managed to get a lot of the proof of concept completed.I am using 3...
View ArticleBlazor validate unmodified form
I want to validate a Blazor form even though the user hasn't changed the value of any form fields. (By default, Blazor only validates fields after they are modified.)How can I validate the form without...
View ArticleBlazor 9 WASM Logout throws AntiforgeryValidationException
I created a straight-from-the-template Blazor 9 WASM Web App with Authentication type set to Individual Accounts, and Global Webassembly interaction.The only change I made was to swap in...
View ArticleWhat metadata should I track in my database to keep track of my images stored...
I am taking over a website that is about 20years old. The website has hundreds of thousands of images in folders right on the web server taking u close to 100gigs. The folder structure is quite...
View ArticleBlazor/Razor resolve components using dependency injection
I need an equivalent to dependeny injection to resolve Blazor/Razor components.That is, I want to decouple my components in Razor Class Libraries in the exact same way that DI / IoC allows us to...
View ArticleHow to use dotnet watch with a Blazor Hosted?
How to use dotnet watch with a Blazor WASM Hosted App ?If I use it in the Client Project, the app won't work.If I use it in the Server Project, the app starts ok, but it won't detect changes made to...
View ArticleBlazor dotnet watch run
I have setup a Blazor WebAssembly application using Visual Studio Code and .NET 3.1.1. It has an ASP.NET Core host.I am attempting to automatically update code on both the server and the client at the...
View ArticleHow to add custom filters to datagrid?
I'm using the MudDataGrid component:I'm trying to add a custom filter that lets you select from a list of items using checkboxes to filter by that column. It would work exactly the same as what you see...
View ArticleIs Blazor server SSR and SPA?
I heard that the Blazor server is SSR(server-side rendering).By the way, I know that the Blazor server is a single page apps (SPA).Is the Blazor server both SSR and SPA?Then, does the Blazor server...
View ArticleBlazor WebAssembly streaming and UI update
I have a Blazor Hosted WebAssembly application under .NET8. That means I have a Client, a Server and a Shared projects.Into Server, I have the following controller, which has a loop which triggers for...
View Article@attribute [Authorized] not recognizing authenticated user?
I have a Blazor Web App and I'm am trying to add authentication. I can verify that my user is logged in by calling the following code on one of my unsecured pages: private async Task CheckAuth() { var...
View ArticleBlazor WASM Hosted App with IdentityServer4 throws AddCredentials exception...
I have Blazor WASM hosted web application that has been running fine on Digital Ocean linux hosting plan. But today I am getting the following error message when logging in:Anyone knows what it may be?...
View ArticleSince Blazor (server) apps should not use IHttpContextAccessor, how can we...
I keep reading that IHttpContextAccessor should not be used with Blazor applications at all. However, the suggested approaches all seem to focus only on usage within a component. I am trying to access...
View Article