Versions des environnements
Network:
Windows 2008 Server
>You can't see it directly in a browser. You need to run the app.
'View in Page Inspector' ?
>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement