i created vnext project , uploaded linux system. after few hours started working well, running "dnx kestrel" command can reach web page. experienced odd behaviour. after start application ok - js, css , image files downloaded successfully. after third-fourth refresh part of css files not available, server responds status 404, , after few more refreshes none of them loaded anymore. interesting thing is, js files , images ok, think wwwroot directory fine.
in startup file added app.usestaticfiles()
line.
thanks.
edit:
ok, that's see:
info: microsoft.aspnet.hosting.internal.hostingengine[1] request starting http/1.1 http://hu020029:5000/lib/bootstrap/dist/css/bootstrap.min.css info: microsoft.aspnet.authentication.cookies.cookieauthenticationmiddleware[0] httcontext.user merged via automaticauthentication authenticationscheme: microsoft.aspnet.identity.application. info: microsoft.aspnet.hosting.internal.hostingengine[2] request finished in 0,0001ms 404 info: microsoft.aspnet.hosting.internal.hostingengine[1] request starting http/1.1 http://hu020029:5000/lib/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css info: microsoft.aspnet.authentication.cookies.cookieauthenticationmiddleware[0] httcontext.user merged via automaticauthentication authenticationscheme: microsoft.aspnet.identity.application. info: microsoft.aspnet.hosting.internal.hostingengine[2] request finished in 0,0001ms 404
Comments
Post a Comment