Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4173

Blazor Page Interactivity and Render Mode

$
0
0

I am new to .NET and currently working on building an app using clean architecture and Blazor components/pages. I have a solution with two projects: one for executing the app (Main) and the other for the layouts (components/pages/code, etc.).

In the Main project's Program.cs, I mapped the App.razor component and added interactive render mode to it. The first page located in the Main project has a form that calls a ControllerBase class, which redirects us to another page located in the layout project, which is a Razor Class Library.

However, my issue is that the second page is not interactive, even after adding render mode interactive to it. I even tried adding a component that I made, which worked fine when I added it to the page located in the Main project. I noticed that the blazor.web.js file disappears when I arrive at the second page, which might be the issue.

ScreenShots for clarification :

enter image description here

FirstPage

enter image description here


Viewing all articles
Browse latest Browse all 4173

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>