Useful tips when using Patterns and Practices Component Application Block (CAB)

The CAB is an excellent resource for application development.  With the proper techniques, it leads to clean, separated logic and definite, manageable layers of code.  However, there is one problem: little documentation.  With the Smart Client Factory, more example code has been added, and there is more guidance.  I thought that I would make a…

0

Making WiFi secure for shared use

WiFI Hot-spot Security: Accessible and secure   The only real answer to creating a secure hotpot is via a VPN solution.  There are few other alternatives which make any sense, and none of which have been widely adopted.  The problems have to do with disparte WiFi technology and non-existent standard provisioning policies or protocols to…

0

An .NET archival tool using Serialization and Compression/Encryption IOStreams

Recently I was looking at writing a file archival, encryption and compression utility in managed code.  Since I didn’t want re-invent anything, I wrote a simple pipe-line framework, where each section uses the output of the previous stage’s stream.  The head file stream is then used for any read or write IO.  Each stage is…

1

.NET Enumerators vs. STL- STL.NET is still not released

As a frequent STL user, I can say that iterators are indispensable, but often an Achille’s heel for those new to STL.  It is easy to use iterators incorrectly, such as by not obeying the conventions, or modifying the collection in an inobvious way such as to invalidate the iterator.One common STL problem is deletion,…

2

ClickOnce problems: Windows Authentication and the ClickOnce boot-strapping process

I was testing my “Hello World” application today and validating that it worked correctly with the ClickOnce deployment tools and with our SharePoint setup.  The requirements of the final application include that it be launchable from external partner sites and via a secure SharePoint site (over HTTPS, using NTLM authentication).  I discovered that this is…

0

Patterns-based frameworks for .NET

With the first major project that I worked on .NET for a private company, I realize that we would have benefited from having richer, deeper patterns for doing the development that would have served as a guideline when trying to tackle such important issues as testability and maintainability.  In .NET, many programmers are coming aboard…

1