Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Bootstrap CSS in ASP.NET web forms
Message
De
13/06/2013 14:07:31
 
 
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:
01576308
Vues:
39
You can't see it directly in a browser. You need to run the app.

I'm going to get very basic. Please don't be offended if it's too basic.

MVC is Model View Controller. The Model is the data. The View is what's displayed. The Controller interacts between the View and the Model.

In ASP.Net MVC, you define the Model and the Controller in C# or VB. The View is defined in pseudo-html. When the View is sent to the browser, the proper HTML objects are inserted where the Html Helpers are specified in the code. Data is imported based on the Model and what was queried. References to .js and .css files are inserted. Once all that is done, the page is sent to the browser.

I had a hard time grasping the whole ASP.Net MVC concept until I read the book I mentioned. It filled in a lot of the holes.

Once I got comfortable with MVC, I concentrated on jQuery and jQueryUI. Most recently I've been learning more about CSS. But I'm far from an MVC expert. There's still a lot about it I don't know.

>I hope you don't mind if I ask you another question (collective you). I am looking at an existing MVC project. The View has files of type .ASCX (with a bunch of % signs). The question is, if I wanted to see the view page, just how it would render in a browser, can I do it? When I right-mouse click I see no option to see it in the browser (as you would have in a Web Forms project). And therefore, do I understand that in order to see how the view page will be rendered, you must have the Model object, right?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform