Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed of ASP.NET web forms vs MVC
Message
From
12/06/2013 13:48:45
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01576139
Message ID:
01576143
Views:
48
>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform