Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any good way to minimize postback in ASP.NET with ADO.NE
Message
From
15/05/2006 11:40:25
 
 
To
14/05/2006 21:20:48
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01121767
Message ID:
01121931
Views:
9
Virusim,

A web application is not going to work the same as a windows application no matter how hard you try. That's why I suggested a windows app with Web Services (it's still web-based, but you get the same windows app functionality).

Sure there are ways to improve the speed ... my guess is that you're trying to display too much data all on one web page. And since you mentioned speed issues with postback, I assume that maybe you're also posting back too often? I don't really do web apps, so I'm certainly no expert on it, but designing a web app is a lot different than designing a windows app and you've got to account for the stateless nature of it. How are you storing the data once it's retrieved? You're not sticking it in viewstate are you? That would be a big slowdown right there. Stick it in a session variable at the very least (and/or persist that session to SQL Server if necessary (for instance, if the site will get a lot of traffic)).

~~Bonnie




>Hi Bonnie,
>
>Thank for your feedback. We refer to have a web based application to ease the issue of having to install application on our client machine. We have our own Web services that is use by our web application, but the speed is too slow. Is there any way to improve the speed to be on par as client server application ?
>
>>Virusim,
>>
>>Do you need to actually have it be a web application or would it be better to simply access your data over the web via Web Services? If you can install a .NET windows form application on your users computers, then that would be preferable to having them access a web app over a browser. The user-experience will be much the same as it is now with the client/server app if you use a .NET WinForm app with Web Services instead of a ASP.NET app.
>>
>>~~Bonnie
>>
>>
>>>Hi,
>>>
>>>We are told to some sort of port some windows based application that work on client server ideal to ASP.NET web application. However, we are not able to get some good result as ASP.NET is slow in loading and saving data. We are trying to using ADO.NET discconnected dataset to work on our data, however, we still can't get the performance of those window based application. The postback of the ASP.NET is one of the issue that causing the user to have poor impression of the web application that it is slow.
>>>
>>>Anyone got any advises/comment for me on how to make my ASP.NET web application have the same performance and work like windows based application. we need to work on huge data offline, then post it back when done. We are using ASP.NET 1.1 and SQL Server 2000 SP4. Thank you
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform