Was this helpful?
0 votes
|
In ASP.NET Core (RC1) I am setting a
I am porting the code over from MVC 5 where is worked fine. In .NET Core RC1 the editor and compiler don't recognize the ViewBag property on the Controller. So, the code does not even compile. Interestingly, when debugging (without the ViewBag assignment) the ViewBag property is visible on the Controller! What gives? How come the compiler and the run-time are different? |
asked | Apr 20, 2016 |
viewed | 3125 times |
active | Apr 20, 2016 |