473,385 Members | 1,757 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,385 software developers and data experts.

Sharing an asp.net/c# counter with a peer review request.

Hello,

I'm six months into asp.net/c# and enjoying it. I needed to code a "simple"
high performance counter... a couple weeks later and a lot of learning I
think I did it.

Many lesson lessons learned including: static objects vs. cached objects,
performance of asp.net, strong typing collections, collection locking, and
using the very helpful System.Timers.Timer();

Because I was able to learn so much from those who freely share their code
online I have in turn shared this counter code. For those with the time and
interest I welcome, heck encourage, some peer review.

Click on the "An Enterprise Counter" link at http://coders.eproof.com.

Thank you,

Rick
Nov 18 '05 #1
1 2180
Add some graphical ability, and you may be able to sell it. ;->

I did not have a lot of time, but from my brief look, it looks sound. If I
get a chance, I will go a bit deeper.

Suggestion: Consider config changes for the counter component. As it is used
in ASP.NET, you can set it up to pull from the web app config file. Some
potential config settings:
a) where to save the data
b) Ability to set a list of "live" and "test" servers (noticed you had that
hard coded)

There are probably a few more configurable items you can think of. Right
now, you are sharing the source and allowing the user to set this (great use
of comments; noobs to .NET will love your code), but config will make it
more reuseable, as a person will not have to recompile to set these
settings.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Rick" <no@spam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,

I'm six months into asp.net/c# and enjoying it. I needed to code a "simple" high performance counter... a couple weeks later and a lot of learning I
think I did it.

Many lesson lessons learned including: static objects vs. cached objects,
performance of asp.net, strong typing collections, collection locking, and
using the very helpful System.Timers.Timer();

Because I was able to learn so much from those who freely share their code
online I have in turn shared this counter code. For those with the time and interest I welcome, heck encourage, some peer review.

Click on the "An Enterprise Counter" link at http://coders.eproof.com.

Thank you,

Rick

Nov 18 '05 #2

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

Similar topics

13
by: cruiserweight | last post by:
I am a web designer working in a virtual vacuum. Any and all feedback for my latest project would be immensely appreciated. I am assuming this kind of request is okay. If not please advise. The...
6
by: Jan Roland Eriksson | last post by:
For those interested, read and rip it up as you wish :-) ===== Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: twice a week (mondays and thursdays) Last-modified: July 20, 2004...
1
by: Robin Lumley | last post by:
Have a peer to peer win98se network, & would like to share Access DB on both machines so they can both edit/input & save simultaneously same time what do I need to do to allow this ?
4
by: wh | last post by:
I really just need some reassurance that I'm doing the right thing really. Here goes... I have an object which needs to be available to all sessions. This is being created in the...
1
by: Tod Birdsall, MCSD for .NET | last post by:
Hi All, I have two ASP.NET applications which I am trying to have share forms authentication. But I am running into problems. App A is an ASP.NET 2.0 Beta 2 application. App B is an ASP.NET...
0
by: Larry Serflaten | last post by:
I am planning to share a Cards.DLL out on Planet Source Code and GotDotNet. But before I send it out to the public I would like to get a peer review to be sure it works as intended, and to avoid...
0
by: Dom Rout | last post by:
Hello. Well, this is my first post on any USENET group anywhere, so I hope I get it right. Basically, I just want to get some opinions on a plan of mine for a new project. I want to produce a...
3
by: Abhinavnaresh | last post by:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. ...
0
by: Avinash Vora | last post by:
On Aug 4, 2008, at 10:44 AM, Trevor Slocum wrote: I've had this problem too. Well, I have about the same level of experience that you do, but I'll take a look at the code and see if I can...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.