Asp.Net Core 1.0 (aka Asp.Net 5) website refresh with any file change?

Looking for a similar functionality like browsersync give for Node applications to auto reload browser with any file change.

Running Asp.Net Core (aka Asp.net 5) with dnx-watch and it restarts the Kestrel web server with any C# code change, but still have to refresh browser manually to see the changes whether its client or server file changes. Using Gulp for build pipeline and thinking of using it to do both dnx-watch and reload browser, but cannot find any example online.

Love to have some help on this.

Thanks


There's no official support for your scenario, sorry!

However, it's interesting and I would like to have it at least on the backlog. Can you please open a request at https://github.com/aspnet/dotnet-watch ?


1) It is possible to just use gulp and browsersync . It works good and fast, but is a bit tricky because you have to start IIS-Express first and use browsersync in proxymode .

2) A much better solution is the Visual Studio Extension Browser Reload on Save made by Mads Kristensen, a member of the Asp.Net team.

链接地址: http://www.djcxy.com/p/90574.html

上一篇: sql服务器

下一篇: Asp.Net核心1.0(aka Asp.Net 5)网站刷新与任何文件更改?