Problem _content/Syncfusion.Blazor in Production Err 404

When i publish my Blazor Server application didn't work , i receive 404 didnt find 

_content/Syncfusion.Blazor.Themes/bootstrap5.css

but everything work well when ASPNETCORE_ENVIRONMENT = "Development"


I follow simply the documentation:

  • For Blazor Server application, refer style sheet inside the <head> element of ~/Pages/_Host.cshtml file.
<head>
   <link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
</head>

5 Replies

LV luca verga April 6, 2022 12:35 PM UTC

In my Program.cs


builder.Services.AddSyncfusionBlazor(options => { options.IgnoreScriptIsolation = true; });



RS Renjith Singh Rajendran Syncfusion Team April 7, 2022 08:30 AM UTC

Hi luca,


Greetings from Syncfusion support.


We have prepared a working sample for your reference. Please download and refer the attached sample and check this from your side.


If you are using our latest version then we suggest you to refer the below release note for the breaking changes and check this from your side.

https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#breaking-changes


Please refer the sample and breaking changes and if you are still facing difficulties then kindly get back to us with and issue reproducing sample for us to proceed further.


Please get back to us if you need further assistance.


Regards,

Renjith R



RS Renjith Singh Rajendran Syncfusion Team April 7, 2022 08:31 AM UTC

Please download and refer the attached sample.


Attachment: ServerApp_60573321.zip


UH Uwe Hein replied to Renjith Singh Rajendran April 10, 2022 04:21 PM UTC

Hi Renjith R,

  Thank you for providing the sample. The bootstrap5 version has no highlighting of the selected row in opposite to the bootstrap4 version. (Just change bootstrap5 to bootstrap4 in_Host.cshtml) Is this a bug or a feature ?

     regards

         Uwe

  



VN Vignesh Natarajan Syncfusion Team April 11, 2022 08:02 AM UTC

Hi Uwe Hein,


As per your suggestion, we have modified the sample to use bootstrap4 CSS and we are not able to reproduce the reported issue. Please find the attached sample below attachements


If you are still facing the issue, kindly get back to us with more details about the issue (screenshot or video demo) you are facing.


Regards,

Vignesh Natarajan


Attachment: ServerApp_1a2a3155.zip

Loader.
Up arrow icon