Why do I keep getting error NETSDK1152: Found multiple publish output files...
I have a Blazor Server .NET 7 solution with the main entry project called Web.csproj. There are other projects such as Api, WebApi, WebConstants etc... When I build this blazor server project in Visual...
View ArticleHow do you import the builder lines for the Program.cs file from a Blazor to...
I have a massive Razor project that I'm trying to convert to Blazor. To make things easier, I want to incorporate Blazor into the Razor project as I convert pieces over so I don't need to keep...
View ArticleLoading module from “.../_framework/dotnet.js” was blocked because of a...
My project runs fine on local host, but when I publish a Blazor WebAssembly app to Azure I get:Loading module from “https://aistorybuilderstest.azurewebsites.net/_framework/dotnet.js” was blocked...
View Article.Net 8 Blazor with Entra and MSAL Signout 404
I am having a strange issue. I am using MSAL 2 with a Entra Customer tenant, and users can log in, but cannot log out.Here's my sample configuration, which I had to change from the original...
View ArticleBlazor : calculate a value or leave as default
if I want to supply a calculated value to a component such as a grid or any parameter really, and if there is no value then I want to leave the value as it was since it is being automatically...
View ArticleHow do I create a blank blazor project on Visual Studio?
I am trying to create a blazor project on visual studio, because I have a LOT of C# code I could recycle, but I have never used blazor before and therefore have little experience to know what on the...
View ArticleBlazor: Create root path with parameter
New blazor dev here ✌️I am trying to build a simple profile page on the root of my domain. Something similar to instagram.com/nike but mydomain.com/nikeI have a default blazor project after running...
View ArticleBlazor - Parent/Child Component relationship, How to reference Parent...
All,A Blazor page hosts to Components: Component A, Component B. These 2 components are wrappers around 2 HTML drop downs. These components are on the same page but are not nested (I would like to...
View ArticleThere was no runtime pack for Microsoft.AspNetCore.App available for the...
I'm trying to migrate from ASP.NET Core 3.1 to 5.0 using this migration guide provided by Microsoft.I installed SDK 5.0.100-rc.1 with runtimes. I updated the project as the guide says, but I'm still...
View ArticleC# Blazor .NET 8: Can't use @typeparam and @rendermode at the same time?
I would like to know, how it is possible to use a @typeparam while also using @rendermode InteractiveServer.I get an errorError CS0305Using the generic type 'ManageList' requires 1 type argumentsWeb...
View ArticleTelerik Blazor responsive grid
i'm using telerik blazor grid. i tried adaptive grid layout example Reference link Telerik Adaptive Grid but it does provide responsiveness on listing of elements. For example if there is static grid...
View ArticleUsing the equivalent Javascript SetTimeOut() function to do animations on...
Question:In the past I have been able to animate using SetimeOut function in Javascript.Here is a code of a ball falling:var ball =...
View ArticleXMLHttpRequest failing to report progress after soft page reload
I am making a Blazor client side app that has a file upload feature with a progress bar. The actual upload code is in javascript and it is just being invoked by the Blazor component. Here is the...
View ArticleBlazor Navigating to a sub page does not work before navigating to the home page
QuestionHow do I get a sub page in blazer to render the same way the home page does the first time?BackgroundI have created a demo application for myself using the Blazer template on GitHub....
View ArticleBlazor unable to reach login.microsoftonline.com due to network setup
I have a Blazor .NET 8 server-side app working correctly on an unsecured machine, and am trying to move it to a machine that has no direct outbound internet access; only via web proxy. The app uses...
View ArticleMudBlazor DataGrid - Issue Selecting All Items
I have a MudBlazor DataGrid and configured the SelectColumn/SelectedItems feature. I noticed that when I click the top checkbox to select all the items nothing was being added to my SelectedItems...
View ArticleBlazor website work well on localhost but not so well on the server
I have this bit of code in my Home.razor file in my Blazor website:protected override async Task OnAfterRenderAsync(bool firstRender){ if (!firstRender) return; Console.WriteLine("Got here");}I get the...
View Article.NET 8 Blazor web app with Web API using JWT authentication
I have two .NET 8 projects, an ASP.NET Core 8 Web API and Blazor web app with interactive render mode set to server.The Web API handles the authentication and provides a JWT token. The registration and...
View ArticleBlazor Development: How to Quickly Navigate to CSS Class Definition
I come from a WPF/UWP dev background, and as such, I'm used to the "XAML-way" of doing things when approaching Razor and CSS development in a Blazor context.Perhaps I was spoiled in this regard in the...
View ArticleHow to minify CSS isolation in Blazor?
I followed the tutorial in https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-8.0#additional-resourcesAnd now the CSS isolation works well.I have a problem...
View Article