MVC4 Razor confused about braces

后端 未结 5 1823
谎友^
谎友^ 2021-01-04 20:38

I\'ve got a fairly simple question for all the Razor experts out there. I\'m trying to make a jQuery $.ajax() call to a URL, using Url.Content() to translate the home-relat

5条回答
  •  独厮守ぢ
    2021-01-04 21:17

    Thanks for all of the help, folks.

    It looks like it must have been a bug in the ASP.NET MVC 4 Preview. I just upgraded to the ASP.NET MVC 4 Beta which came out on February 15, and the problem is now completely gone.

提交回复
热议问题