Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alex 1 post 71 karma points
    Dec 04, 2022 @ 10:33
    Alex
    0

    umbracoReservedPaths with Blazor (Server)

    Hi,

    I am evaluating if Umbraco will suit the needs of a system I am developing, specifically, it's a Blazor server application, it will have a mix of Blazor pages and CMS built pages.

    I am using the latest build 11.0.0 and the CMS side is working well (great work!), where I am struggling is I want to create a folder in the app called Pages and all the razor pages in that folder and subfolders to not be processed by Umbraco.

    My web.config currently looks like this

    and the Demo.razor file has this at the top

    @page "/pages/demo"

    Demo


    When viewing the site I get the following error when navigating to the https://localhost:44393/pages/demo location.

    Page Not Found No umbraco document matches the URL '/pages/demo'.

    I must have something wrong in my configuration.

    Ultimately the site will end up being 3 things, Umbraco CMS management, a bunch of pages delivered by Umbraco and a backend management system running razor pages for all the CRUD.

    Thanks for any help.

Please Sign in or register to post replies

Write your reply to:

Draft