Use of Generics to Eliminate Casting
Uuuuuhhhhh, ahhhh…. nice!
Peter Provost touches on the use of generics to replace casting certain interfaces. Now thats what I’m talking ’bout! What a fun concept.
Read more
Development Notes, News and Ramblings
Uuuuuhhhhh, ahhhh…. nice!
Peter Provost touches on the use of generics to replace casting certain interfaces. Now thats what I’m talking ’bout! What a fun concept.
Read more
Jon Galloway explains a technique that I had never heard of before. Sounds nice.
“…Here’s a way to implement a database cache dependency in an ASP.NET 1.1 application. At a high level, it uses a timer on a background thread (in an HTTP Module) that checksums database tables. No database triggers are required.”
read more
MikeG has a quick review of the Constable Authorization Engine. I like the idea behind this product a lot. The only other tool on the market that is somewhat similar is Desaware’s State Coder.
Both products are much better realizations of the “Wizard Tool” that ships with ASP.NET 2.0.
Both tools use a state machine […]
Very interesting. I have friends who work in the Java world. One of my buddies mentioned Spring a few weeks ago as a lighter weight easier to “get your head around” alternatice to Struts. Looking over the Java implementation I had to agree. This morning I was mildly excited (probably need more coffee) to […]
Mea culpa Joel Spolsky for thinking that you are a windbag (or gust pocket). I’ve just finished reading “Joel on Software” by Apress ( my favorite publisher). The book is funny, and chockful of incredible insight and commentary. I even forgive you mentioning the fact that you worked at MS as many times as you […]
Hanselman shows his example of an HTTPHandler. Personally I love working with them - to them point that on days of lesser sanity I contemplate websites composed entirely of handlers and custom controls. All code, no declarative interface. And then I wake up….
Anyways, here is what he says:” …I’ve been writing HttpHandlers lately for […]
Because I had a bit of a slow day I started to wonder what happens when you try to call a .NET assembly from classic asp. Found a link to someone who did it.
read more
Fred discusses the changes in Configuration Section Handlers in .NET 2.0.
“…In this post I will write something about the new section handler feature. I have written about the new way of creating section handler before. But this time I will focus on how to create a collection of adding child elements by using the […]
Tim Price has an example of filtering collections. Its a nice first cut but I think there are better ways to do it. And if I ever got my act together I might write one….
Nonetheless in the meantime Tim’s is an interesting starting point.
read more
Lo and behold an article on MSDN that very nicely verbalizes the stuff I’ve been grunting on about in my own way fro almost 3 years now. Way to go MSDN!
“…..The days of ADODB.RecordSet and the oft-forgotten MoveNext are gone, replaced by the powerful and flexible capabilities of Microsoft ADO.NET. Our new arsenal is […]
Well I hope that Ivan doesnt mind a wordplay on his name. In any case, he did post some interesting work with encryption. He says” I am seeing a lot of question people are asking on how to do encryption/decryption. To help those people I have written a simple class encorporating several encryption/decryption functions…”
Read More
A discussion of a control that tells the user the browser is set to block pop-ups
link here
Scott Hanselman points out that “…You can have the best of both worlds with a rather neat trick. The major differences between the default debug build and default release build are that when doing a default release build, optimization is turned on and debug symbols are not emitted.” read more
Summary: Get guidance on dealing with the Username token: examine two classes of attacks against a typical system that employs Username tokens, and discover mitigating techniques to bolster your system against these attacks. (10 printed pages)
read more
That’s the title of a new book by Mike Gunderloy, one of my favorite bloggers and authors.
I should tell you that Fogbugz is produced by Joel Spolsky who in my opinion seems to be rather taken with himself. I always thought Joel was a bit of a windbag. If I talked about my adventurous […]
I like the note that Brad Abrams made regarding the common usage of code for calling Event Handlers. I had no idea this much publicized approach was not thread safe. Very interesting stuff.
Calculate the number of days between two dates seems really simple, but there are some exceptions. The simplest idea is to substract two DateTime and get the number of days in the resulting TimeSpan. The method doesn’t work when the two dates are set with different year or the number of hour are less than […]
Christoph Nahr has some collection templates for Codesmith. I wonder if these are the same as the ones shipping with Codesmith itself, since Eric is pretty cool about adding third party templates to his tool.
Link here
Mike Gunderloy had a post of Saliks performance comparison. Very interesting results. It seems that Generics are wicked fast compared to the other 2 ways of building code.
I swear that I could have mentioned this before…..
OK, picture it is four or five years ago and you are among the powers that decide how ADO.NET will be shaped. With all the new functionality ( especially oo-centricity of .NET) what would make you come up with such a thing as a Dataset. In […]