VS2013 's browser link causes problems _ Practical tips

Source: Internet
Author: User

Environment: vs2013

Problem: An error occurred while calling a WEBAPI:

So I use fiddler 4 to call this webapi directly, the status code is 200 (normal), but the JSON hints at location 9409 text illegal,

Viewed in a textview way, traces of brow link were found at 9409:

I actually query the fagui_html field from the table in the database, which is an HTML code that represents the HTML page, before serializing, Vs2013 inserted the code of Browser link before the </body> of my Code.

Workaround: disable browser Link in Vs2013:

A tick is enabled, and clicking is disabled on the tick state.

Start VS2013 again, call the same command again with Fiddler 4, and this time JSON will parse

Of course, there's no browser link code in TextView.

question: I changed a lot of other records test, no problem, and I have tested many times before, did not appear this problem, why this record will appear this problem, I this HTML code what special place?

There is no good solution, welcome to share.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.