Search code examples
asp.net-coreasp.net-core-mvcasp.net-core-1.0.net-core-rc2

Strange "&#65279" character after upgrading to Asp.Net Core RC2


After I upgraded to Asp.Net RC2 a couple of strange things started happening. I first thought that it might have something to do with how I ported my app. But creating a new default web app produces the same result when I run it:

enter image description here

Notice how everything in the head is now in the body (no idea why). This is causing some visual problems. This is one (along a couple others), there is a gap after the navbar and before the body:

enter image description here

After a while I tried running in Edge and Firefox, and it seems the problem only happens on Google Chrome. I absolutely made sure I have no BOM characters.


Solution

  • This is an issue with BrowserLink: https://github.com/aspnet/Mvc/issues/4671