Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed of ASP.NET web forms vs MVC
Message
De
12/06/2013 13:48:45
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:
01576139
Message ID:
01576143
Vues:
47
>Hi,
>
>I am wondering at one aspect of an ASP.NET application - drop-down list of some sort. For example, say a form has a pull-down list control of Customers. In ASP.NET Web Forms app I would fill a dataset/datatable form the DB table and bind the drop-down control to the datatable. So the entire list of, e.g. Customers, is converted into HTML values. Therefore, my understanding is that the speed of the page depends on how large the HTML page is (depending on number of records in the dataset).
>
>How is it different in the MVC design? In terms of speed? The data still has to be bound to a drop-down list, right? How is it done, in a very general explanation?
>TIA.

There's no "binding" per say. There's a helper that actually builds the HTML dropdown elements based specified items. Generally you shape your data into a pre-definited structure and provide that to the helper.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform