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: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:
01576317
Vues:
36
I thank you for the description. I appreciate it. And this is how I understood it (after watching about an hour or so of the Pluralsight course); pretty much how you put it. The reason I asked the question is I was thinking about creating a View page only first. Just to see what my page would look like - without data. This way I can play with bootstrap CSS and get the responsive design implemented. And then, once I have the View page looking good, I would work on the Model. But apparently - from my understanding - I have to have the Model and Controller in order to see the view.
Again, thank you.


>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?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform