.NET MVC 會瘋狂發這種Request
How do I stop ASP.NET from sending 1000 poll requests
GET http://localhost:56832/1c71cd8404f34693989ae85105c388c8/arterySignalR/poll?transport=longPolling&connectionToken=AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAP5q4VI1aYkG73Qjc15vRQAAAAAACAAAAAAAQZgAAAAEAACAAAACYD3vHvvsQBcyldpAbdPD%2B%2FXCqmKwQPh%2FPCYkUWpNuHwAAAAAOgAAAAAIAACAAAAArGFNrtbAKafl4Zza50Znndit9CUb%2FUxL7ZkSDgLfspzAAAAC7bxQMEUafPkIyJdXrWuizotO3bxDf%2BGRZYi07dJ8pjqbSXOGxJmrQhx3GTVzP6hRAAAAADKmJ6J1amG5ZuCqfWkbGvFl3yHO9kgZdmIt6TmjYakLQepTUUzZlTsoyiUWz6VVJZ4HgMjkEpNRMpqrlO5QDcA%3D%3D&messageId=d-5AC8B2C-CA%2C0%7CCH%2C3%7CCI%2C0&requestUrl=http%3A%2F%2Flocalhost%3A58119%2FDefault.aspx&browserName=Firefox&tid=0&_=1386850842869 HTTP/1.1 Host: localhost:56832 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 Accept: text/plain, */*; q=0.01 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Referer: http://localhost:58119/Default.aspx Origin: http://localhost:58119 Cookie: ASP.NET_SessionId=2hpyrlt5epkatwwkil2chwzt Connection: keep-alive
- In the Web.config file, add a key named “vs:EnableBrowserLink” with the value “false” in the appSettings section.
<appSettings> <add key="vs:EnableBrowserLink" value="false"/> </appSettings>
form http://www.asp.net/visual-studio/overview/2013/using-browser-link#disabling
http://blog.darkthread.net/post-2014-02-11-browserlink-break-onbeforeunload-in-firefox.aspx
0 意見:
張貼留言