CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 3/2/2005 9:44:04 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 33 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
sarav16
Asp.Net User
Composite Server Controls and Performance3/2/2005 9:44:04 AM

0/0

In the composite server control that I am developing at present, I am using web methods(Web Service methods) to populate few of the constituent dropdownList boxes.

When I am creating an instance of this composite server control in an ASP page, it seems to be very sluggish.

Are composite server controls themselves sluggish or am I doing something wrong here that is causing things to be so sluggish?

Would encompassing all the functionality into a composite server control that could otherwise be coded into the ASP page itself cause things to be sluggish?

S
miguelcastro67
Asp.Net User
Re: Composite Server Controls and Performance3/9/2005 1:21:29 PM

0/0

Generally speaking, composite server controls are heavier than rendered ones. Now, that being said, both have their place. I make my decision based on how much use the control will get on a single web page. On my site (www.dotnetdude) I give away several controls one of which is called Web FormField. This one is a rendered control because chances are it will get heavy use in a single form. Another called Web EmailContact, is a composite control because chances are that it will be used once on a single form. The instantiation of controls within a composite control is what makes it heavier. Now, note I said "heavier", not heavy. I am making a comparison to a "rendered" control. In your case, I do believe your web service is causing the slugishness. I have never encountered any slugishness even in some pretty intense composite controls over the Internet. Like I said, when the comparison is made between the two types, rendered ones win out in overall performance. Composite controls still win in the code complexity arena. I think they are a lot more straight forward and easy to follow. If you're control is a custom dropdown, I would probably recommend that you write it as a rendered control since it would probably be used many times in a single page. As a composite control you're going to have two objects instantiated for every instance of your control, one for your control and one for the control inside it. As a rendered control, you bring that down to one. Still, with this example you should not be experiencing slugishness so I think your're problem is elsewhere. I hope this steers you in the right direction.
Good Luck
Miguel Castro
www.dotnetdude.com
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 1.1 Authors: Alex Homer, Dave Sussman, Rob Howard, Brian Francis, Karli Watson, Richard Anderson, Pages: 1337, Published: 2004
ASP.NET AJAX Programmer's Reference: With ASP.NET 2.0 Or ASP.NET 3.5 Authors: Shahram Khosravi, Pages: 1522, Published: 2007
Pro ASP. Net 3. 5 Server Controls and AJAX Components Authors: Rob Cameron, Dale Michalk, Pages: 740, Published: 2008
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002
Building Distributed Applications with Visual Basic.NET Authors: Dan Fox, Pages: 763, Published: 2002
Pro ASP.NET for SQL Server: High Performance Data Access for Web Developers Authors: Brennan Stehling, Pages: 408, Published: 2007
Professional ASP.NET 2.0 Server Control and Component Development Authors: Shahram Khosravi, Pages: 1186, Published: 2006
Programming Microsoft ASP.NET Authors: Dino Esposito, Pages: 1165, Published: 2003
Maximizing ASP.NET: Real World, Object-oriented Development Authors: Jeffrey Putz, Pages: 309, Published: 2005

Web:
Developing a Composite Control For a sample of a composite control, see Composite Server Control Sample. ... If you want to optimize the performance of a control, you can consider direct ...
DotNetSlackers: Creating a Composite Server Control used for ... Creating a Composite Server Control used for Dynamic Page Rendering ... Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development. ...
Building Composite Server Controls: ASP Alliance Composite server controls are a collection controls to create one unified control; .... performance will be slightly slower (server controls vs. strings), ...
Safari Books Online - 0321294475 - Maximizing ASP.NET: Real World ... Server Controls > Composite Controls Versus User Controls ... and so on, and therefore you can be in complete control of its performance. ...
How to decide: user controls vs. composite controls vs. rendered ... Jul 8, 2005 ... How to decide: user controls vs. composite controls vs. rendered custom controls . There are several ways to make your own server controls in ...
It-kursusguiden - MCP 2544: Advanced Web Application Technologies ... Lessons; User Controls; Custom Web Server Controls; Composite Web Server Controls ... therefore, improve the performance of a Web application. ...
Visual Studio .NET kursus: MCP 2544: Advanced Web Application ... User Controls - Custom Web Server Controls - Composite Web Server Controls ... This unit introduces topics that will help you improve the performance of Web ...
Web User Control in Asp.Net - Asp.Net, C#, SQL Blog Sep 26, 2007 ... A composite control is a web custom control composed of two or more standard web server controls. Composite controls are useful when you ...
Build Web user controls in ASP.NET They can fully encapsulate composite controls (both HTML and the ASP.NET server controls, such as the DataGrid and Calendar) and expose public methods and ...
Monash Professional: Advanced Web Application Development with ... Creating Composite Web Server Controls; Exercise 4. Creating Templated Controls. Module 3:Optimising Web Application Performance ...

Videos:
Aero-TV Checks Out The Jet A-Powered Diesel Skyhawk!!! Cessna, Thielert Partner On 172S Turbo Diesel Option Last fall, we asked ANN readers to, "Just imagine how cool will it be for a student pilot... on...
Sanyo PLV-Z60 720P HDTV Projector (Replaces Sanyo PLV-Z5) - Visual Apex - Please click on "watch in high quality" Sanyo PLV-Z60 720P LCD Home Theater Projector. The PLV-Z60 projector is representing another step forward in price performance for 1280x720 resoluti...
Sanyo PLV-Z60 720P HDTV Projector & Image (Replaces Sanyo PLV-Z5) - Visual Apex - Please click on "watch in high quality" Sanyo PLV-Z60 720P LCD Home Theater Projector and Image. Take a first look at an incredible BLU-Ray image on the new Sanyo PLV-Z60 720P high defin...
Objects: they just work Google London Test Automation Conference (LTAC) Google Tech Talks September 8th, 2006 Presenter: Bob Binder
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on...




Search This Site:










composite control base question

ads and intel nic problem

no control after button click

.net 3.5 hosting

use adrotator for text only ads?

losing property settings

customizing attribute values for control properties

interaction between web user controls

dynamic controls

accessing appsettings and connectionstrings from designtime

control no longer "draggable and droppable"

problems with project time support

tutorials for creating and using custom controls

property text return an error

find out if a user is still connected

order of events - radiobutton, custom repeater

how profitable is to sell controls?

looking for your feeback on some interesting topics of discussion

reseller hosting and members providers

problem with index server query

custom control cant be dragged onto page from toolbox

using the url/params object to store state in a custom control

listbox add and remove functions

spla licensing confusion! please help clarify

usercontrol & client

designer question

inheriting classes in a usercontrol + vb

get the toolboxdata ...

custom designers for .net components

added child control is not rendered

  Privacy | Contact Us
All Times Are GMT