How to change the Images or Photo in BS Carousel RRS feed

  • Question

  • User-1980778524 posted

    Hi,  I got the Blazor carousel working. But I wish to be more creative. I want to change the images after a while.  Below are my problems.

    1. How to upload file to the Images folder in wwwroot?

    given the filename in wwwroot folder is :

    a)  myImg1.jpeg

    when  I upload the image, I will use the same name to override the existing one. 

      2.  How to handle it on the server side?   

    Is this means the file will not be handled within blazor in the Browser, the file will be sent to the server which host the Blazor ?

    Please help as i this is quite a challenge.


    Monday, June 17, 2019 2:20 PM

All replies

  • User-821857111 posted

    Is this a client-side or server-side Blazor app? Also, on what basis do you want to change the images? Will you need those changes to be seen instantly by the user? Or next time they use the application?

    Monday, June 17, 2019 4:02 PM
  • User-1980778524 posted


    I am using Blazor ( Asp.net core hosted) template.   Is it possible to see two scenario on changes on Photo page?

    1.  Changes reflected when user open the app next time

    2. Changes reflected when user navigate to other pages and navigate back to the photo page again.

    Just curious to know , when Index.html is first loaded, it wont be loaded again until the user relaunch the app.  So how to have immediate change for images?


    Monday, June 17, 2019 11:36 PM