Why bootstrap crashes in my blazor app?

Saeed Pooladzadeh 251 Reputation points
2021-06-12T04:19:33.667+00:00

Hello,

I have made my project with blazor-server.

When I publish the project, Bootstrap does not work and everything crashes. And the site has no style!

Do you think what is the reason?

thanks,

Saeed

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,577 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Saeed Pooladzadeh 251 Reputation points
    2021-06-12T07:10:53.48+00:00

    In host.cshtml

    When I try to send the code here it doesn't let me!
    And says you don't have permission(Access denied).

    How should I send my code here? Can you inform me?
    This is the first time I use this platform


  2. Saeed Pooladzadeh 251 Reputation points
    2021-06-13T09:38:40.587+00:00

    I will do what you say and tell you the result.

    thanks,

    0 comments No comments

  3. Saeed Pooladzadeh 251 Reputation points
    2021-06-13T09:38:40.687+00:00

    I will do what you say and tell you the result.

    thanks,

    0 comments No comments

  4. Yihui Sun-MSFT 801 Reputation points
    2021-06-15T05:54:52.447+00:00

    Hi @Saeed Pooladzadeh ,

    How should I send my code here? Can you inform me?

    1. You can insert the code by clicking the button in the picture below:
      105658-1.jpg
    2. In addition, you can also store your code in a text file, and then upload the file as an attachment:
      105693-2.jpg

    In addition, I suggest you check your publish folder, whether it contains the bootstrap files you need.

    It's just a kind reminder. Usually when your answer is a solution, you can reply in the form of Answer. If you only provide information, you can reply by comment.


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Best Regards,
    YihuiSun

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.