I'm going through the VS2010 6-in-1 book, and I'm trying to create my first MVC application, using VB
In the book, the examples are C#, but in general I can follow it. So I created a new MVC app in VS2010 and right off the bat as I look at the examples shown in the book (They called the app "AcmeLibrary"), when I look at the VB
files, there is no Namespace declaration at the top of the file, or any Imports statements.
For Example, the code listing in the book for the global.asax.cs starts out:
Shouldn't the VB
equivalent have the similar "Imports" statements and a Namespace? The initial global.asax.vb
just starts with:
Public Class MvcApplication
Same goes for code I try to follow in the book, the controller classes, when created, there is no "Namepsace AcmeLibrary.Controllers" in the header.
It's causing none of the new stuff I add (following the book step-by-step) to work.
Can anyone help me with this please?