Jeff Makes Software
The software musings of Jeff Putz
-
ParameterizedThreadStart: Good call!
I just noticed that a new overload of the Thread constructor was added to .NET v2, accepting a ParameterizedThreadStart object. Cleverly enough, it allows you to call the thread's Start() method with a parameter to pass in to the method you're firing in its own thread. I don't understand why that wasn't there from the start, but good call!
-
Search for "http" on Google
I was trying to remember if the second "T" in HTTP stood for "transfer" or "transport," because let's face it, even code monkey geeks don't think about it every day. To find out, I typed it into Google because of their convenient link to the definition.
-
Access vs. SQL Express providers in ASP.NET v2
I noticed that the Access providers for Membership and such won't be there, or am I reading that they just won't be the default providers?
-
SQL paging advice needed
OK, so saying that SQL Server isn't really my thing is kind of lame, but I'm not one to pretend I know everything. Generally I use a procedure like this to get paged data (parameters replaced with actual values for simplicity).
-
Jeers for LoginView control
Awhile back I was crying about how LoginView is designed wrong. Apparently Microsoft doesn't agree with me. At issue is the fact that controls inside of a LoginView are created late in the page lifecycle so they can't be accessed directly from PageLoad or postback events. The stated purpose of the control, according to the documentation, says: "Displays the appropriate content template for a given user, based on the user's authentication status and role membership."
-
Why electronic banking is better
Last month I went inside of my bank to make a deposit and get some cash, somehing I almost never do because I use the ATM. That particular day, the ATM was broken, so I had little choice.
-
.NET seems to make everything easier
Back when I used Overture, I always thought it was kind of a cool security feature where you had to type in letters in a graphic that is, theoretically, not machine readable. This deters automated attacks. It occurred to me that'd be a nice feature for the forum registration.
-
More adventures in Web app threading
Responses in my last post about this were either, "Threading in a Web app isn't a good idea," or a lengthy example that works, but wasn't really what I was after. After looking a little harder, I realized the error of my ways. The goal was to launch a Timer from an HttpModule. This is where I started:
-
Why is threading so much work in a Web app?
Doing stuff in seperate threads in a Web app is a pain when you need a reference to general application state. Why does it have to be so hard?
-
XP SP2 issues
I'm sure that 90% of people running SP2 will not have any problems, but we've already had a lot of issues.