help.net
<font size="2"><br />Musing on .Net</font>
-
Design patterns
-
Creating barcodes in .Net
-
Coding performances
Indexed positions are always going to be faster than string comparisons, not matter what the context of the collection is. Still, even faster would be to use protected members of your class, which ASP.NET will automatically set if you are using usercontrol or web forms. The style code isn't going to make much difference either way, but I would recommend setting the actual property (ie. BackColor instead), since the webcontrols support down level rendering when you use these properties.
If you are so concerned about performance that you need to be wondering about the impact of things like this, you might want to take a look at output caching or just bypass web controls all together and directly output HTML using the Render method instead.
From Jesse Ezell
First thanks for your comment. I will do as you say for the controls properties.
For output caching, that's another story.
the site I build is portal with a lot of things going on on each page.
I tried different options for caching, but it doesn't work very well.
I need a level of granularity for each object, and apparently I can't have on a same page very different cache functions.
Render HTML controls directly yes this is an option which I keep for when I will have time.
My post was also about finding something to help on performance checking.
It's not just tracing, but it's more about what the .Net community think about using a method rather than another. -
Coding optimization and performances
-
ASP.Net lifecycle
Nikhil Kothari (member of the ASP.Net Team) posted this. I learned som from the slides and the code. -
Barcodes with .Net
Don write this comment to my post searching for barcodes with .Net
-
Barcodes for .Net
I was waiting for a good barcode solution with .Net since few months. Now 123aspx mention this one, and I think it's the one I was waiting for. -
Writing is hard
Roy posted earlier something about the difficulty to write an article. It's so true.
I post here the comment I found very interesting that he received from randy
I would like also to know how you can do your daily job and doing some coding that you probably do for the fun. Where is the time ? ;-)
Get your ideas down on paper first, then let them sit for a period of time before you come back to them (could be a day, could be weeks in some cases). If the ideas don't seem solid, do a little more work and let them sit again. If they still seem valid, proceed by starting an outline to lay out the structure of your article. Depending on your comfort level with writing, it may need to be a detailed outline. If the article involves code though, have the code ready before you move past the outline. As things go in software development, sometimes the end result isn't exactly what you had imagined when you started.
Once you start writing, force yourself to complete it in sections that correlate to the original outline. Then review them as they are finished to ensure that you're comfortable. Lather, rinse, repeat.
Once you have the article completely written, review it several times in the same manner that you reviewed the individual sections. -
Spam
Interesting analysis on spam filtering and tools -
Pocket PC Samsung i700 available
i700 is one of the most amazing Pocket PCs (not only phones) of all times: it features GSM/GPRS, integrated camera, superfast XScale processor and SDIO slot to feature Wi-Fi and other input output cards.
[Source: msmobiles]