1,689 questions with Developer technologies | .NET | Blazor tags
Blazor WebAssembly no soporta AES (System.Security.Cryptography) → obliga a usar librerías externas
Actualmente, en Blazor WebAssembly, el uso de System.Security.Cryptography.Aes falla con el error: Algorithm 'Aes' is not supported on this platform. Esto ocurre incluso con configuraciones básicas como: using (Aes aesAlg = Aes.Create()) { aesAlg.Key…
Developer technologies | .NET | Blazor
Inconsistent persistence behavior in Blazor
I have an SSR MainLayout.razor and a couple other InteractiveServer (SI) components. I need to display messages across tabs and to identify each tab i'm cascading a tabId value from the layout. Since this crosses render mode boundaries, on subsequent…
Developer technologies | .NET | Blazor
MapStaticAssets is breaking a background video from playing
I have a rather large Blazor WASM application running on Dot Net 9. The login page has a background video. Everything works well. We are making some significant changes and want to include an upgrade to Dot Net 10. The upgrade results in a…
Developer technologies | .NET | Blazor
Blazor Web App partly run code as WASM
I'm trying to create a register account page in Blazor Web App. I need the form submission callback to run on the client as it needs to set the authentication cookie, but I can't manage to achieve this. This is my current component code: @using…
Developer technologies | .NET | Blazor
Why is the blazor css isolation not working?
I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…
Developer technologies | .NET | Other
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | ASP.NET | Other
Developer technologies | C#
Best approach for Mobile app development
Hello guys, I was wondering what is the best project template for mobile app development. I was reading little bit about the .NET MAUI but I am not quite sure if it's better than regular Android App or Mobile App (Xamarin). What is your experience with…
Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET MAUI
Why does cached data disappear when using forceLoad in a Blazor app?
In a Blazor application, cached results are stored using IMemoryCache through a CacheMemory wrapper. When navigating to another page with NavigateTo(forceLoad: true), the destination page does not have access to the cached data. However, when navigating…
Developer technologies | .NET | Blazor
Blazor Interop for Mozilla pdf.js
Anyone managed to create a JS interop for https://github.com/mozilla/pdf.js I am looking for robust viewer solution to show PDF files. Thank you, D
Developer technologies | .NET | Blazor
How to ignore ETag checking and fix this error
I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…
Azure Blob Storage
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | C#
Anti Forgery with Blazor Server App
we upgraded our blazor server app from .Net 6 to .Net 8 following the instructions from https://learn.microsoft.com/en-us/aspnet/core/migration/70-80?view=aspnetcore-8.0&tabs=visual-studio Below is the snippet from the Program.cs where…
Developer technologies | .NET | Blazor
Structuring a .NET Core 9 Blazor + API Architecture for Microservices Readiness and Best Practices
Hello, I am working on a wiki-style encyclopedic resource application designed to centralize and organize documentation related to the universe of my fantasy novel. This project is personal and primarily has a pedagogical purpose (training myself on…
Developer technologies | .NET | Blazor
How to differentiate layout for same route in .NET 9 MAUI Blazor Hybrid App?
I'm building a .NET 9 MAUI Blazor Hybrid App and I want to use the same route (@page "/home") in both the shared project and the device-specific project. However, I want the layout and components to be different depending on whether the app is…
Developer technologies | .NET | Blazor
aspire app giving 431 error
I am getting a 431 error in aspire, but it is working for other my team members. for the newly created aspire app, I am getting the same error. I cleaned the solution cleaned the cookies and all but still nothing worked.
Developer technologies | .NET | Blazor
Blazor MAUI ios blank screen
Hi, I have created a stock Blazor MAUI project. It can run fine on Windows, Android and Mac. When I try to run it on IOS, it boots and then just displays a blank screen. Is this a known issue? How to fix that? TIA,
Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | Blazor
Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…
Developer technologies | .NET | Blazor
Developer technologies | C#
NavMenu not show icons
I create Blazor WebAssembly project in vs 2019. but , None of the icons on the menu are displayed. Who can help me , thanks .
Developer technologies | .NET | Blazor
Get Absolute URL in Blazor class
Hello, I have a class inside the Services folder. It contains a LogError(Exception ex) method in which I need the absolute URL in order to get the requested page. However, I am unable to access the HttpContext.Request.Url or any other method/extension…
Developer technologies | ASP.NET | Other
Developer technologies | C#
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Blazor Server (.NET 8) redirect fails after login
We have a Blazor Server app (.NET 8) that is hosted on IIS. Users access it by logging into Citrix with their Active Directory credentials, then into the app (with those same credentials). We use ASP.NET Identity to manage login. Both the end-users and…
Windows development | Internet Information Services
Developer technologies | ASP.NET | ASP.NET Core
Windows for business | Windows Server | User experience | Other
Developer technologies | .NET | Blazor
Data API Builder - Azure Static Web Apps
Trying to understand Data API Builder (DAB) and if its right for my use case. Based off a simple address book example, there is a table "Addresses" that would have columns: User (the user of the address book, likely an ID linked from a User…
Azure Static Web Apps
Developer technologies | .NET | Blazor
Blazor two-way binding
I have a Blazor webassembly client. I want to bind a property to a checkbox type input field via a model class. Model: public class Filter { public bool Selected { get; set; } public ItemType ItemType { get; } public Filter(ItemType…