Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Bootstrap CSS in ASP.NET web forms
Message
 
 
À
13/06/2013 14:03:13
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01576247
Message ID:
01576306
Vues:
34
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform