473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

is asp.net suks or i just missing some secrets ?

hi all
the question is more related to architecture and practices and I'll
appreciate any opinion
i work with asp net 1/2 few years and with any project we developing we
meet performance issues
maybe the problems is our methods or maybe we do not do the right
things but it seems that view state and heavy page model really make
performance bad
also, when you work with asp.net it very easy to start building your
site component-oriented with many levels of nested controls that every
one is data-driven and make a db call that altogether cause bad
database performance
we recently did code review for other companies products and i see that
every-one do that mistake with component-oriented design cause it so
simple and fun to make smart controls with public properties and reuse
them everywhere

also, i did a production application with MonoRail (MVS framework based
on asp.net but using different light page-model and no viewstate) and
it just lot faster

i will welcome any examples of how you guys build ASP.Net site that
fast and easy to scale, also, any links to good resources are welcome

if you suggest to switch to PHP or Ruby on Rails i promise to consider
that

Thanks much
EV

Sep 14 '06 #1
5 1502
Overuse of viewstate will always cause performance issues so its not
suprising that not using it gives an increase in performance. A good place
to start on working out how to improve things would be to first read up on
how to scale IIS, as it will highlight many of the pitfalls that any
developer or architect, even very experienced ones can fall into.

http://www.microsoft.com/technet/pro....mspx?mfr=true

You'll struggle to find a framework for web development that competes with
..net 2.0. I suggest you stick with it for a while until you learn a bit
more about where problems are occuring and see if you can correct them
rather than abandoning the technology entirely.
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com

<Sh********@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
hi all
the question is more related to architecture and practices and I'll
appreciate any opinion
i work with asp net 1/2 few years and with any project we developing we
meet performance issues
maybe the problems is our methods or maybe we do not do the right
things but it seems that view state and heavy page model really make
performance bad
also, when you work with asp.net it very easy to start building your
site component-oriented with many levels of nested controls that every
one is data-driven and make a db call that altogether cause bad
database performance
we recently did code review for other companies products and i see that
every-one do that mistake with component-oriented design cause it so
simple and fun to make smart controls with public properties and reuse
them everywhere

also, i did a production application with MonoRail (MVS framework based
on asp.net but using different light page-model and no viewstate) and
it just lot faster

i will welcome any examples of how you guys build ASP.Net site that
fast and easy to scale, also, any links to good resources are welcome

if you suggest to switch to PHP or Ruby on Rails i promise to consider
that

Thanks much
EV

Sep 14 '06 #2
There is no simple answer for your concern.

However, you can download and study this guide :
"Improving .NET Application Performance and Scalability"
http://msdn.microsoft.com/library/de...l/scalenet.asp

All the answers you are seeking are in that very complete guide.
Take the time you need to understand the principles explained in it well.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================

"Sh********@gmail.com" wrote:
hi all
the question is more related to architecture and practices and I'll
appreciate any opinion
i work with asp net 1/2 few years and with any project we developing we
meet performance issues
maybe the problems is our methods or maybe we do not do the right
things but it seems that view state and heavy page model really make
performance bad
also, when you work with asp.net it very easy to start building your
site component-oriented with many levels of nested controls that every
one is data-driven and make a db call that altogether cause bad
database performance
we recently did code review for other companies products and i see that
every-one do that mistake with component-oriented design cause it so
simple and fun to make smart controls with public properties and reuse
them everywhere

also, i did a production application with MonoRail (MVS framework based
on asp.net but using different light page-model and no viewstate) and
it just lot faster

i will welcome any examples of how you guys build ASP.Net site that
fast and easy to scale, also, any links to good resources are welcome

if you suggest to switch to PHP or Ruby on Rails i promise to consider
that

Thanks much
EV

Sep 14 '06 #3
Thanks John
the title of my topic is little bit provocative and it mean to be cause
i hoped to start some discussion here
i for sure agree with you that asp.net and asp.net2 is very powerful ,
but as with any strong technology is easy to get messy
i would welcome any good web resources/ books about strategies of
building scalable and fast applications with asp.net

Thanks
EV
John Timney (MVP) wrote:
Overuse of viewstate will always cause performance issues so its not
suprising that not using it gives an increase in performance. A good place
to start on working out how to improve things would be to first read up on
how to scale IIS, as it will highlight many of the pitfalls that any
developer or architect, even very experienced ones can fall into.

http://www.microsoft.com/technet/pro....mspx?mfr=true

You'll struggle to find a framework for web development that competes with
.net 2.0. I suggest you stick with it for a while until you learn a bit
more about where problems are occuring and see if you can correct them
rather than abandoning the technology entirely.
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com

<Sh********@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
hi all
the question is more related to architecture and practices and I'll
appreciate any opinion
i work with asp net 1/2 few years and with any project we developing we
meet performance issues
maybe the problems is our methods or maybe we do not do the right
things but it seems that view state and heavy page model really make
performance bad
also, when you work with asp.net it very easy to start building your
site component-oriented with many levels of nested controls that every
one is data-driven and make a db call that altogether cause bad
database performance
we recently did code review for other companies products and i see that
every-one do that mistake with component-oriented design cause it so
simple and fun to make smart controls with public properties and reuse
them everywhere

also, i did a production application with MonoRail (MVS framework based
on asp.net but using different light page-model and no viewstate) and
it just lot faster

i will welcome any examples of how you guys build ASP.Net site that
fast and easy to scale, also, any links to good resources are welcome

if you suggest to switch to PHP or Ruby on Rails i promise to consider
that

Thanks much
EV
Sep 15 '06 #4
Thanks Juan
grate book, i not finished yet all of 1150 pages :) but after overview
i can see that it for sure will answer some of my questions

if you have more good resources dedicated to ASP.Net strategies of
building applications with orientation on scalability and performance i
will thankfully welcome them

may tip lists exists like
* disable viewstate where you don't needed
* prevent round trips to database etc.

but what difficult to find for me is some good architecture and
strategy oriented articles

Thanks much,
Yevgeniy

JuanTLlibre wrote:
There is no simple answer for your concern.

However, you can download and study this guide :
"Improving .NET Application Performance and Scalability"
http://msdn.microsoft.com/library/de...l/scalenet.asp

All the answers you are seeking are in that very complete guide.
Take the time you need to understand the principles explained in it well.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================

"Sh********@gmail.com" wrote:
hi all
the question is more related to architecture and practices and I'll
appreciate any opinion
i work with asp net 1/2 few years and with any project we developing we
meet performance issues
maybe the problems is our methods or maybe we do not do the right
things but it seems that view state and heavy page model really make
performance bad
also, when you work with asp.net it very easy to start building your
site component-oriented with many levels of nested controls that every
one is data-driven and make a db call that altogether cause bad
database performance
we recently did code review for other companies products and i see that
every-one do that mistake with component-oriented design cause it so
simple and fun to make smart controls with public properties and reuse
them everywhere

also, i did a production application with MonoRail (MVS framework based
on asp.net but using different light page-model and no viewstate) and
it just lot faster

i will welcome any examples of how you guys build ASP.Net site that
fast and easy to scale, also, any links to good resources are welcome

if you suggest to switch to PHP or Ruby on Rails i promise to consider
that

Thanks much
EV
Sep 15 '06 #5
Sh********@gmail.com wrote:
Thanks Juan
grate book, i not finished yet all of 1150 pages :) but after overview
i can see that it for sure will answer some of my questions

if you have more good resources dedicated to ASP.Net strategies of
building applications with orientation on scalability and performance i
will thankfully welcome them

may tip lists exists like
* disable viewstate where you don't needed
* prevent round trips to database etc.

but what difficult to find for me is some good architecture and
strategy oriented articles

Thanks much,
Yevgeniy
I don't know about others, but I've found having a profiler invaluable.
We're a 1.1 shop here, so we're using ANTS, but I believe VS2005 has a
built in profiler.

Being able to find hot spots and be able to measure whether the code
changes are improving or having a detrimental effect is a godsend, if
you're writing complex code. And being able to see just what clutter
you've built up (using a memory profiling run) can make you feel sorry
for the GC.

As others have said, yes, viewstate can have a considerable overhead.
But we've managed to get "acceptable" performance on some pages even
though (to my mind) they're quite complex beasts. For example, most of
our pages consist of datagrids. When the page loads, it queries the
database to determine what controls to render in which position (using
databinding). We've got some pages which load a grid consisting of
about 30 rows, about 5 controls per row (mix of dropdown lists, radio
buttons, text boxes, etc). We also bind validation code, make decisions
on which rows to display (or make read only), and we have viewstate
turned on. It's not the fastest page in the world, but as I said, the
performance is deemed "acceptable" by the powers that be.

Course, when we get an opportunity, we're going to switch to repeaters,
since we're not actually using any of the datagrids functionality.

Damien

Sep 15 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Picho | last post by:
Hi all, Lets say I have a "secret" I wish to "hide", lets say a database password. For the more detailed problem, a web application/service that uses a connection string. all the solutions I...
20
by: Kamilche | last post by:
You know, all this furor over this book caused me to go look it up on Amazon. I've never read this book... but from what I can see from the legally available table of contents, excerpt, and index...
1
by: vrakita | last post by:
Speed up your system, repair registry base, uninstall hidden windows components and get rid of boring errors with powerful tips and tricks. http://windowsxpsp2pro.blogspot.com
1
by: vrakita | last post by:
Very good collection of information, tips, fixes, workarounds, and answers for Microsoft Windows XP... http://windowsxpsp2pro.blogspot.com
1
by: travolta001 | last post by:
Learn how to optimize and tune up your system,. get rid of boring errors and uninstall unnecessary thing with very useful tips and tricks http://windowsxpsp2pro.blogspot.com
0
by: The 101 ROMANTIC SECRETS and TECHNICS | last post by:
The 101 ROMANTIC SECRETS and TECHNICS This SECRETS and TECHNICS are right for you if: 1. How to try to get a person you want, 2. To make your partner love you more an more. If you want to...
0
by: aquorang | last post by:
i want to share my secrets with u......... how to create miracles in your own life? http://www.freewebs.com/aquorang/
0
by: STOCK TRADING | last post by:
Curious About The First Commercially Available Stock Trading "Robot" Which Earns $346.77 Per Week (Managing $1000 Capital). Have you ever heard of anything like that before? There are just too many...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.