Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

I've used GitHub copilot to create an app to test auto inclusion of static assets through intermediary RCL. I have a BlazorWasm project references a RCL project. RCL-A is for components and some ...
PersyJack's user avatar
  • 2,012
0 votes
0 answers
49 views

I'm using MudBlazor in a Razor Class Library (RCL) and facing an issue with styles not being applied correctly when the RCL is used in another application. Setup: I have a Razor Class Library (RCL) ...
Nishant Kapoor's user avatar
0 votes
2 answers
402 views

Using .NET 9 and a Blazor web app (with server interactive rendering mode), I'm struggling to get static assets (or CSS isolation bundles) from a Razor class library to work with my Blazor web app. I ...
TheHvidsten's user avatar
  • 4,520
0 votes
0 answers
24 views

I'm trying to use a Razor Class Library to reuse components between MAUI, WASM, and Server instances. In my RCL project I wish to be able to use the <AuthorizeView><Authorized> built in ...
Jilael's user avatar
  • 169
1 vote
1 answer
499 views

I am currently working on developing an application in Blazor with .NET 8, and I am designing it to be modular. The main app is a Blazor project with server-side rendering, and I have structured it so ...
Levid's user avatar
  • 21
0 votes
1 answer
37 views

Host application is ASP.NET Core MVC. Host application has SampleController and Index action. Index action has no View file in host project. Structure: - Host application ├── Controllers │ └── ...
luve's user avatar
  • 11
0 votes
2 answers
198 views

I am trying to reference a razor page contained in a Razor Class Library in a Blazor project. When I go to the route of my page I am getting a 404 error. Steps to recreate Create a new solution as a ...
Liam's user avatar
  • 1,209
0 votes
0 answers
140 views

I'm creating a Razor Class Library (RCL) to use within several solutions. Some of these solutions may use this RCL alongside others within each project. This RCL will also use some external client ...
Jay's user avatar
  • 950
2 votes
0 answers
434 views

I'm trying to work on a design for a Blazor Server application for enterprise where I have one project that contains UI, Services, etc for the entire application, and modular pieces different ...
Jilael's user avatar
  • 169
0 votes
0 answers
132 views

When using a Razor Class Library project template with "Support pages and views" unchecked, it produces a project that uses *.razor files. This project does not have a framework reference to ...
AaronLS's user avatar
  • 38.6k
2 votes
2 answers
341 views

In blazor Server-Side, I have a Razor Class Library with several components that can be routed because they have the @page directive. This is my code on App.razor: <CascadingAuthenticationState> ...
bportela's user avatar
  • 129
2 votes
1 answer
2k views

I am currently encountering a routing issue in my new .NET 8 Blazor project. When attempting to navigate to a page defined in a Razor class library, I encounter a 404 error. The Razor class library ...
Husam Ebish's user avatar
  • 7,252
0 votes
1 answer
268 views

In a webassembly project I created two Razor Class Libraries Software1 and Software2 and added a reference to both in the main client app. I also added these to my client's Project file: <ItemGroup&...
mz1378's user avatar
  • 2,652
0 votes
2 answers
791 views

I can't seem to get why the Blazor Server Web runs with a 404 when I try to move Components/Pages and Components/Layouts from the default Blazor Server Web project to a new RCL project. Everything is ...
steakoverflow's user avatar
0 votes
2 answers
193 views

I was wondering if there is an option to prefix the route of razor pages inside a razor class library? I want to create a blazor application which includes other modules each module should also have ...
quintendc's user avatar
0 votes
1 answer
137 views

I have created a rcl razor class library and referenced it in my web assembly app. The articles on the web discuss how to import static assets used in rcl to the main app. But if the imported rcl ...
mz1378's user avatar
  • 2,652
1 vote
0 answers
131 views

I use static web assets in razor class library, and they are on different paths on local run under VS and published final docker image. In JoinRpg.WebComponents RCL there is .\JoinRpg.WebComponents\...
Leotsarev's user avatar
  • 1,082
0 votes
1 answer
700 views

From what I understood and observed, every css scoped file (*.razor.css) is automatically bundled (rewritten when necessary to ensure isolation) and exported in a project bundle {ASSEMBLY NAME}.bundle....
Cfun's user avatar
  • 9,881
0 votes
1 answer
1k views

I have created a MAUI Blazor App and a Blazor WEB App (.NET 8) and a common Razor Class Library using out of the box projects. My problem is the how to put the Counter.Razor page into the Razor Class ...
René AD's user avatar
  • 384
0 votes
1 answer
109 views

How to make a service in balzor that can work in every module of the project including in RCL. For example: Have a project: ServiceTestBlazorServerApp, Few RCLs: MainRazorClassLibrary, ...
Kobra's user avatar
  • 325
2 votes
0 answers
474 views

I am building a shared library as RCL where my components are located and can be shared in several applications. This library contains "global" styles as well as "component-bound (...
KingKerosin's user avatar
  • 3,881
0 votes
0 answers
151 views

I have two apps, that share code for posting with httpclient.PostAsJasonAsync in a common Razor library. One is a Blazor WebAssembly and the other is a Maui Blazor Hybrid app. In the Blazor Web ...
René AD's user avatar
  • 384
1 vote
0 answers
298 views

The base application (MyTestApp) is an ASP.NET Core MVC web app (based on the default template). In addition, a Razor Class Library (RCL) has been created (MyRazorClassLibrary). The css, js and lib ...
Odrai's user avatar
  • 2,433
0 votes
1 answer
500 views

Out of the boks I'm createing a Blazor Hybrid App with a Razor Class library using .Net 8 Includes a project reference to the RCL Moving the folders Pages, Shared and Data to the Class Library. ...
René AD's user avatar
  • 384
1 vote
0 answers
51 views

After adding a shared _JstreeSearchInput.cshtml file, I noticed that it coucld not be used by other projects. This was a re-happened problem so after several minutes I re-remembered that these codes ...
cheny's user avatar
  • 2,765
1 vote
1 answer
665 views

I am trying to found a good way to arrange my Razor class libraries to let use them in MAUI Blazor hybrid applications My problem is about the route when the class libraries contains componentes with @...
GLuca74's user avatar
  • 145
1 vote
0 answers
478 views

I have .net core app using razor pages that references a Razor class library (RCL). Everything seems to be working fine. Intelisense is able to find it when I use the @using directive and I can use ...
Jack Thor's user avatar
  • 1,604
0 votes
1 answer
502 views

I have a Razor Class Library that I reference and I have the following structure. wwwroot -- Css --- styles.css -- Js --- scripts.js I can reference these files in the main project with the ...
YodasMyDad's user avatar
  • 9,545
0 votes
0 answers
495 views

My requirement is to reuse a razor component, which uses SignalR from a razor class library inside a Blazor Server app and a MAUI Blazor app. The MAUI app is only supposed to run on Windows. The ...
Marco's user avatar
  • 24.2k
0 votes
1 answer
143 views

I'm new to abp, and I've managed to follow a few tutorials to get familiar with the basics of the framework, but I can't figure out how to generate a solution with an extra layer between the .HttpApi ...
byersjus's user avatar
0 votes
1 answer
238 views

It seems that I don't understand how to properly connect rcl to the Maui project. And I can't find approach that will help me. In the example below I tried to reuse component from the RCL. Firstly css ...
Beaver's user avatar
  • 1
0 votes
1 answer
126 views

I'm working on a web shop application written in ASP MVC Core .NET 6 designed to be deployed multiple times - once per country. All deployments will be similar to itself (all are meant for the same ...
Mark Coleman's user avatar
0 votes
1 answer
592 views

I am having a terrible time getting a REST API controller that is located in an external assembly (in other words, a Razor Class Library) to work. Whenever I make a call to the API via JavaScript, I ...
hermes the goat's user avatar
1 vote
1 answer
861 views

I have a bare bones razor pages project targeting the net6.0 framework using Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 6.0.11 (Microsoft.NET.Sdk.Web). It consumes a Razor Class Library, also ...
David D's user avatar
  • 539
0 votes
1 answer
301 views

I am developing a .Net 6 Blazor Server app and im creating a seperate RazorClassLibrary to store my .razor components. Which is going well. I was wondering can I store classes within a ...
user13714356's user avatar
2 votes
2 answers
807 views

When importing a Razor Class Library to a blazor app (or mvc I guess) is it possible to get to assets that come from that RCL from within the blazor app. I'm specifically interested in if it possible ...
Adam Stapleton's user avatar
1 vote
0 answers
229 views

I'm trying to create a Blazor application where ultimately the host and layout are declared in one Razor Class Library or application and applied across other RCL modules. I've tried a few variants ...
Mik3c's user avatar
  • 11
4 votes
0 answers
2k views

I have quite a big project with various RCLs and each contains a myriad of components that end up being consumed from the root app. The problem im finding is as I get more components I need to change ...
Grofit's user avatar
  • 18.6k
3 votes
2 answers
2k views

The images are referenced in a razor component that's defined in a Razor Class Library in the "wwwroot/Images" folder. I've included a project reference to this Razor Class Library in my ...
Darlene's user avatar
  • 31
0 votes
1 answer
2k views

I have a Razor Class Library (RCL) that contains both Razor components and pages. This RCL has a folder named "Pages" which contains an Index.razor page and one named Details.razor. I have ...
geoCode's user avatar
  • 373
2 votes
0 answers
379 views

A component in a Razor Class Library has it's scoped CSS file, but the classes in there are not being applied. Even the CSS class name my-component found in the out-of-the-box component Component1....
Russell Chidhakwa's user avatar
1 vote
1 answer
3k views

I have a Razor Class Library which contains some razor views, and some content within its wwwroot folder. When I import the compiled DLL file into a .NET Core web project using Visual Studio (Add ...
jttri777's user avatar
0 votes
1 answer
351 views

I am trying to create a Razor Class Library (RCL), which I can then use as a reusable set of controls in my Blazor Server app. The RCL control is a table that includes pagination and sorting of ...
jason's user avatar
  • 3,635
1 vote
0 answers
670 views

I'm new to .net Maui, I have a shared RCL, razor class library, project that is being shard between Blazor WASM and Blazor Maui. Following this blog, in RCL I have a shared code that can save a file ...
Nabil.A's user avatar
  • 629
0 votes
1 answer
183 views

I've wrapped model-viewer JS library in a C# Razor Class Library and made it a Nuget package. However, different from other JS Libraries, Model-Viewer doesn't have many methods, it's main property is ...
Joao Soares's user avatar
0 votes
1 answer
415 views

I am now using ASP.Net Core to write a web application and relative Razor Class Libraries. I know a view (*.cshtml) defined in a Razor Class Library can be override in web application. It brings ...
Carls's user avatar
  • 1
3 votes
1 answer
1k views

I have the following dotnet core 6 console app dotnet core 6 Razor Class Libary (with .cshtml) I'm doing a View Engine RenderAsync() that works just fine in web api. When running in a console app ...
SilentTremor's user avatar
  • 4,962
2 votes
0 answers
274 views

I have written a prototype RCL, which contains the following structure: Now I want to implement this logic to override the local files in an another web app, using this directory structure above as a ...
Munchkin's user avatar
  • 1,109
2 votes
1 answer
2k views

RCL stands for Razor class library. I made my own prototype RCL with a Shared file _Layout.cshtml and I want to include it in my project. I already installed the RCL from NuGet hoping it would ...
Munchkin's user avatar
  • 1,109
2 votes
1 answer
1k views

After upgrading my WebApp from NET5 to NET6, when trying to push my WebApp to the Azure AppService, I get the NETSDK1152 error: Found multiple publish output files with the same relative path: C:...\...
CognitionGuy's user avatar