Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Azure: support HTML5 pushState #2665


User avatar
0
alaamh created

When I refresh the browser on some of the pages I get this error:

"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."


7 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Which version of AspNet Zero do you use ? Angular2, Angular1, MVC 5.x or AspNet Core ?

    Thanks.

  • User Avatar
    0
    alaamh created

    I'm using asp.net core & angular 2.x v3.2.0

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Do you have such a web.config in your azure website <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/web.config">https://github.com/aspnetzero/aspnet-ze ... web.config</a> ? If not, please add it to your angular project's root directory.

  • User Avatar
    0
    alaamh created

    Yes, web.config file has been added to site's root folder, only when refresh the browser I'm getting: "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Normally this should fix the problem. Did you restarted your azure web app after adding web.config ?

  • User Avatar
    0
    alaamh created

    after restart the app service (it blows up :) ) It's working ..

  • User Avatar
    0
    ismcagdas created
    Support Team

    Great :)