Code Snippet: Working with Permissions (ACLs/ACEs) in C# under .Net 1.1

I’ve been working lately on adding “self-healing” capabilities to a certain application.  The idea is to create a set of utility functions which will validate (and fix if needed) various environmental settings such as NTFS permissions, registry permissions, IIS metabase settings, etc.  None if this is rocket science but there still was some work involved…

3

VS.NET Bug? Easter Egg?

After “Collapsing to Definitions” (Cntl-M,Cntl-O), Visual Studio decided to color the collapsed code section in black, white and red: Can anyone clue me in on what/why that is?  It happened consistently while VS.NET was open, but only for that specific method.  After rebooting VS.NET I can’t recreate this, so its a good thing I took a screenshot. …

4

A tip, a tool and a book

The Tip:  If your mouse has thumb buttons, they are usually mapped (by default) to “back” and “forward”  in IE.  Change those to PgUp and PgDown, and give it a test drive in Visual Studio.  I never noticed how much of my development time was being spent on paging… much better now! The Tool:  Resharper is without…

3

WssDal – a Sharepoint Web Services alternative

About 2 months ago I asked if anyone was interested in an alternative to the WSS webservices. A few people responded and tried my WssDal library. The general consensus seems to be that while it isn’t perfect, it is useful enough to continue developing. So if anyone else wants to give it a test drive, the library…

12

Random musings and an Infopath tip

Random musings…  I have had too much sugar today and too little sleep last night, so my brain is a little fried.  Consider yourself warned 🙂 My current gig is for a hospital.  Every evening when I leave the parking lot, the automated toll machine remarks “thank you and please come again”.  Is that really the best farewell they…

1

Are the Sharepoint Web Services too complex? Looking for something better?

I’m looking for a few people to help beta-test an alternative to Sharepoint’s web services.  The solution allows a simple “object modelish” approach to working with WSS, as shown by the following sample code snippets: // display all fields of all items of all listsListsClient ListClient = new ListsClient(); foreach (ListDescriptor list in ListClient.GetLists(“http://WssSite”)){     Console.WriteLine(“List {0}…

9

Fixing Broken Links after Restoring a Sharepoint (WSS) Site with SMigrate

Utility and source code here  (http://www.addysanto.com/blog/fixsitelinks.zip) Introduction   WSS 2.0 includes a utility called SMigrate which can be used to backup the content and structure of a site and to later recreate a site’s content and structure from the backup file. SMigrate also enables migration scenarios – by backing up a site and restoring it…

4

Human Workflow Services (HWS) – Just say no

In my Biztalk projects, I had several scenarios which sounded like a great fit for HWS.  I spent a fair amount of time and effort but could never get HWS to cooperate. After a while I just gave up on it and advised customers to use standard Biztalk orchestrations when possible, or leapfrog HWS and go…

4

.Net Deep Dive wrap-up

Yesterday’s “.Net Deep Dive” day at Microsoft Israel was a huge success. Over 1600 developers came to the event to hear about advanced development topics such as Agile/TDD and Production Time Debugging. Both of Royo’s lectures were packed, with people sitting on the floor after the 700 or so chairs were taken.  I missed Jackie’s…

3