Blog First. Ask Questions Later.
Browse by Tags
All Tags »
.NET General (
RSS)
-
|
Often when designing my entity objects, I've used System.Object instead of System.DateTime for dates that can be nullable. (Sidebar: System.DateTime is a value type, so it can't be null) In Whidbey, this is cake using Nullable types : public Nullable<DateTime>...
|
-
|
If you use the System.DirectoryServices namespace to do Active Directory stuff, you may have run into this error: Operation is not valid due to the current state of the object.at System.DirectoryServices.PropertyValueCollection.OnInsertComplete(Int32...
|
-
|
Should start seeing lots of Indigo-related stuff soon (see Indigo - now we can talk... and Today and tomorrow: Will Indigo heal... ? ) as an example, Rockford's blogging about Indigo: the future of asmx/wse/es/msmq/remoting . I'm particularly interested...
|
-
|
In a comment to my previous post on collections, Eddie Garmon posted a link to his Visual Studio Templates (with Installer) . It's a good set of templates, and even better, you can modify them to suit your needs, if you know where to do it . I quickly...
|
-
|
I'm on a quest to find the “Perfect“ collection template - my goal is to create a ReSharper LiveTemplate once I do, so I can easily add them to my projects. Of course, perfect is relative to the task at hand, but I want a good, simple all...
|
-
|
Once, a group of friends and I were standing in the data center of a large Fortune 500 company, and one of us was bragging about his new server with “hot-swappable” disk drives. Keep in mind, this was new technology back then, so he was really...
|
-
|
OBSOLETE CONTENT The author of this post has determined that this content is obsolete. Use at your own risk! Blog posts are a point-in-time snapshot of the blogger's thinking and should not be assumed to represent this blogger's current opinions. This...
|
-
|
OBSOLETE CONTENT The author of this post has determined that this content is obsolete. Use at your own risk! Blog posts are a point-in-time snapshot of the blogger's thinking and should not be assumed to represent this blogger's current opinions. This...
|
-
|
First of all, I have to proclaim my love for the System.DateTime and System.TimeSpan object. I have to say that other than System.Data.DataSet family of objects, they're my favorite. The thing I like most, is that they give you just enough to usefully...
|
-
|
Recently, I was tasked with creating a reporting application that did the following: Allow the user to choose Columns in one DataTable in a DataSet to group by. Render a grouped report from the flat table data. So, for example, if the DataTable looked...
|
-
|
I'm writing a bunch of AD code for adding users, groups, etc. and I got to thinking, “Wouldn't it be cool if there was an AD DataAdapter for managing AD objects using DataSets?” You can, of course, load AD data into DataSets through linked...
|
-
|
This thing's pretty neat, Lutz Roeder's Reflector for .NET . Reflector is a class browser for .NET components (assemblies). It supports assembly and namespace views, type and member search, C# XML documentation viewer, reference search, IL disassembler...
|
-
|
.NET .config files are a nice but limited way to configure all kinds of .NET applications. They're especially good for configuring stuff that can be boiled down into simple name/value pairs, like database connection strings, directory locations, etc....
|
-
|
Sometimes simply knowing who you are can help a great deal. I just figured out some tricky Active Directory permission issues by tracing out the current WindowsIdentity, like so: string strCurrentID = System.Security.Principal.WindowsIdentity.GetCurrent...
|
-
|
I spent last couple of days looking into modifying the default templates that come with VS.NET. It ended up being a strange journey into the guts of the VS.NET template architecture. It's kind of messy down there, which was surprising , but I ended up...
|
More Posts
Next page »