How do I reuse Silverlight code in Blazor?
Hello, How do I reuse my Silverlight code in a Blazor app? williamj
How to publish Blazor with .exe for server and client?
I want to publish the example app (template app) from Blazor with the server, client, and shared projects. Is there a way to publish the app with executable files for the server and client? So the user can run the server with one click and run the…
Blazor validation not working when using Metadata class!
I am using blazore Server side. Form validation is not working when using Metadata class. I am using scaffolding and my DB models are oftern automatically generated. If i modify the it wipes out all my Dataannotation validations. Here is the class that…
Visual Studio. Blazor WASM debug runs incorrect project if blazor projects not alone in the solution.
Hello. My solution contains several projects: Console application BlazorWebAssembly.Client BlazorWebAssembly.Server BlazorWebAssembly.Shared When I am trying to debug Blazor app I do the following steps: Right click on…
Troubleshooting Controller in Blazor WASM project NET5 after app modernization
Redid a aspnet core 2.1 Blazor WASM project in NET5, just started from scratch as a I did not manage to follow the upgrade steps provided by Microsoft and we left with tens of error messages. Initially the NET5 Blazor WASM app worked, but that was…
Getting QueryString in net standard
Hi My Blazor net core 3.1 app references a net standard 2.1 class library project. In the referenced net standard 2.1 class library project I need to get the QueryString passed to the Blazor app. I am looking for a simple example of getting…
passing {param} inside page name? is it possible?
Hi, I have an older website where I'm doing a lot of urlrewrite stuff to my old .aspx files and I'm trying to rewrite it using server side blazor is it possible to pass parameters as part of a url page name? i.e. @Anonymous …
routing all .html to proper razor pages in Server side Blazor
Hi, I have an older website where I'm doing a lot of urlrewrite stuff to my old .aspx files. I'm now trying to covert this site to blazor and I would like to be able to access a lot of m blazor site using direct .html filenames within the urls. so I…
SVG Base64String or bytes array to RazorPage
Hi, In my solution i have a base64 string (get it from a webservice) and i want to show this in a RazorPage. How can I solve this? Thanks :)
Authenticate Blazor WebAssembly using multiple identity providers
I am learning Blazor WebAssembly and building a small project to be hosted as Static Web App in Azure. The target framework is net5.0. When the user clicks over 'login' hyperlink or button, a new page will display the names of some identity providers…
Blazor Serverside with LetsEncrypt certificate by Certbot
I'm currently working on a Blazor app (serverside) and I'm looking at adding a certificate for HTTPS. I have already set up Certbot on my Windows Server to automatically refresh certificates, and have already generated one. However, I'm having…
Open Windows Console on Blazor Server App Start VS2019
I'm developing a Blazor Server App which interfaces with an API I have built. At one point, my project was set up to open a Windows Console output window which showed essentially the same info as the Output window in VS but also the content of my…
AADB2C90068: The provided application with ID is not valid against this service. Please use an application created via the B2C portal and try again
I have created application Blazor server application in visual studio 2019. Which used Azure Ad B2C authentication. But i have received below error when going to login. Sorry, but we're having trouble signing you in. We track these errors…
Any examples of using SAML 2 authentication with a Blazor server-side app?
I have a .Net 5 core Blazor server-side application which I have been asked to modify so that it can use SAML 2 for authentication. Has anyone done this before? i can see examples of SAML and ASP.NET Core MVC but not Blazor.
Use Microsoft Graph in a web API with a Blazor Server client
Whereas I have spent a very long day trying and failing to get this working, I do feel like I'm tantalizingly close. In fact I have this example working. The problem is that example uses a WPF client, and for the life of me I can't seem to get the same…
Blazor server app with Azure AD B2C authentication
Hi while trying to launch my app with Azure AD enabled i get the following error: Error. An error occurred while processing your request. Request ID: 00-fca99c8b40b49d4798e8f0ce2e129ea9-3b940a54171b6045-00 Development Mode Swapping to…
How can I get the <input /> value in a blazor razor page after it rendered completely by using javascript?
I wrote this in my code, one of my test razor page. <input value= "3"/> And after I run the project, in the WebPage I has saw the value is 3. But I saw in the DOM , it doesn't have value attribute. So when I just use…
Visual Studio 2019 .razor file Code Editor F1 Help
I am unable to navigate to the documentation (F1 Key) by selecting any element in the .razor file. However, F1 command works fine in both html and CS file. Could you please help in resolving this issue? Project: Blazor Web Assembly IDE: Visual…
Blazor Server + Web API HTTP POST or PUT - write all or write none
I am working on modernization of a transactional app written in the 2012 Microsoft flavor of the year. The old app uses EF 6.4. The modernized app is based on Blazor Server and Web API. Currently I am at the point where I need to save a newly created…
Blazor Webassembly: Swagger endpoint does not work as expected when PWA is enabled and is publised to Azure appservice
I created a simple Blazor WebAssembly project with Asp.Net hosted and PWA feature on. Added <PackageReference Include="Swashbuckle.AspNetCore" Version="6.1.1" /> to Server project. Ran it locally and I can hit the swagger…