If you have section like,
``` C#
@section scriptBlock{
var a = 1;
if(a < 3){
//
}
}
```
Then it will fail in Razor V2 but works in Razor V1. See this,
http://forums.asp.net/t/1893377.aspx/1?section+containing+jquery+code+not+working+after+migrating+to+MVC+4
``` C#
@section scriptBlock{
var a = 1;
if(a < 3){
//
}
}
```
Then it will fail in Razor V2 but works in Razor V1. See this,
http://forums.asp.net/t/1893377.aspx/1?section+containing+jquery+code+not+working+after+migrating+to+MVC+4