Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Bootstrap CSS in ASP.NET web forms
Message
 
 
To
13/06/2013 14:03:13
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01576247
Message ID:
01576306
Views:
35
>>>You're looking at an older version of MVC. You'll want to find examples using a new version that uses the Razor view engine (maybe Craig can clarify which version first contained Razor).
>>>
>>>And you'll want to run the site in the debugger. And a view does not need a Model.
>>>
>>View does need a model. I believe Razor syntax was introduced in MVC 3.0
>
>A view does not need a model. You can have views without models when you're displaying static content or using ViewBags.

Yes, not necessary. But most views do.

BTW, I just discussed it with my colleague here (I am on the round-up right now in NM). In VS 2012 there is a way to test it using Coded UI test. He doesn't use it.

So, essentially, to test a view you would need to run the site.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform