Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

  • VB.NET and Enums

    Tags: .NET, VB

    I've run into several problems with the way the VB.NET compiler handles enums. I've described one here, a while ago. In a nutshell, an enum exposed by SPS was based on the non-CLSCompliant UInt32 … more

  • Top 5 Web Service Mistakes

    Tags: .NET

    Paul Ballard on common Web Service mistakes. I try to avoid posting link-only entries since I try to not feel totally useless in my own blog, but this is a really good article that has good points … more

  • CAML still has its humps.

    Tags: SharePoint

    The last few days I found myself wrestling quite a bit with CAML. The basic idea was to replace the standard "Create New Document" button in a document library with some logic - if no document … more

  • NT Networks, Delegation, Kerberos and Impersonation.

    Tags: .NET

    The issue of delegation of permissions over a network is one of the most confusing issues people run into, it seems. I don't think I've been to a project that involves web pages or services in some … more

  • The Good, the Bad and the DataViewWebPart

    Tags: SharePoint

    Been wrestling lately with Sharepoint's DataViewWebPart (DVWP, from now on). I'm still pretty ambivalent about it. Pros: Easy to set up  - just add a list as a web-part, open it in Frontpage, … more

  • Conditional Publication

    Tags: .NET, C#

    This is a nice trick I ran into when going over the sourcecode for the XML-RPC.NET library: #if (DEBUG)public#endifvoid Serialize(...) This lets you run your unit tests when developing, but remember … more

  • A man's home (network) is his Castle

    Tags: Miscellaneous Debris

    The Longhorn Identity System (codename "Castle") is a long-awaited feature.It replaces the ancient Workgroup model in home Windows installation with something that's more lightweight than a full- … more

  • IBF Debugging

    Tags: .NET, Office

    The hour is late, so I will be brief. If you want to debug an Office 2003 IBF solution, you must have C++ installed as part of your VS.NET 2003 installation. If you click on "Build Solution and … more