-
Serializing DataSets
When you serialize a dataset, an XML document is created containing the data (everyone knows this, right?) I just recently did some investigation on the string that gets created for a serialized dataset... Dang! It contains a lot more info than I thought. The reason is that it contains the XML Schema plus the data that is contained in the rows. For copying the data from a query into session, viewstate, or the cache (so that you can re-use the data later), this is way overkill.
So I had already come up with a better way (doing some caching of data via...
-
Jumping on the bandwagon...
This week I have been experimenting with Test-Driven development. When I can get myself out of my old habits I think I'm going to be very proficient with this. I find myself fixing issues long before I've left the initial development of the code.
This is awesome!
If you don't know what I'm talking about, the latest issue of MSDN magazine has an article on it - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet-testwithnunit.asp
I should mention that there is also a framework for working with asp.net (NunitASP) -- which I'm using. If you haven't checked this out you should! I'm not sure where I stand with the rest...
-
What I don't like about DPAPI...
I know that right after Dev Days right now there is a big buzz about DPAPI. I think the main reasons is that it really simplifies cryptography to a point that we can essentially ignore key generation (at least this appears to be the case for every example that I haven't seen). Key generation is defined by looking at when you want the data to be able to be decrypt (do I tie this data to the user, or to this machine, for instance).
I know that the goal here is to make it easier for “Joe Programmer“ (I hate the term “Mort“)...
-
ASP/vbscript Codebehind
I'm one of the unlucky ones who has to still deal with old ASP. In my day job, I work on a site that is for the most part pure ASP. I've developed a pretty cool technique to make me forget that I'm using Asp and not ASP.NET (at least I think it is cool). I think the technique should make it easy to convert a page over to ASP.Net.
As you may or may not remember Microsoft added class support to VBScript (in one of the last iterations I think), so you can create classes in ASP. Since I'm really in...
-
Definition of a Dev Theologian
Alright, I'm sure if you're one of the couple people I have invited to my blog, you may or may not be wondering what a “Dev Theologian” is.
Blame Joe HealyBlame Joe Healy of Microsoft for it. He inadvertantly gave it to me. Joe is the .Net Evangelist for the local region here in Florida.
It's a rather long story that I won't go heavily into, but in the course of an email conversation, I mentioned to Joe that I have a degree in Theology (actually the official title of my Degree is “B.A. in Christian Ministries”). Joe told me that I was...
-
My first post (please ignore)
Ok, I have been blogging privately for a little bit. I already know that I'll be sporadic (probably not everyday).
But for what it is worth, <rant> what is with people? I recently went through all the blogs at msdn. There are entries for back in the November/December timeframe that have 1 post. The 1 post points out that “yes, this is my first post, but I plan to write a lot more. I have a cool perspective cause... well, I work for Microsoft.” Decmber was a long time ago...
I wonder what happened to this person? I know that they wouldn't...