Background: For the past 15 years I been on the sideline of web application development, mostly reading about the various platforms and tools.
I decided ASP.NET MVC was the platform - read: Vertical Cliff Face - to climb.
I am excited about MVC3 and the inclusion of Razor view syntax.
And I am thoroughly enjoying learning MVC3 with the works by studying the mvc music store.
Question: When creating the Details.cshtml store view we get this code for free:
ViewBag.Title = "Details";
And to call the Title Album property from the Album object, we simply use this razor syntax:
Why the capital M in @Model.Title and not @model.Title ?????
This might be very intuitive for people familiar with C# and conventions used in C#.
Now, I am new to C# as well -
I have been trying to google for a primer of the Razor syntax.
MSDN does not seem to have one.
I could spend another hour googling.
Perhaps there are friendly people here that would care to respond?
borge (Newbie, intranet vb programmer trying to re-define himself!)