All Articles

Configuration in Silverlight and a Standalone File Uploader

By: Leblanc Meneses

ConfigurationManager, the commonly used .NET configuration API, is unavailable in Silverlight applications. The minimum code option is to deserialize an XML configuration file, or to read from initParams.

UT Dallas .Net User Group - Introduction to Silverlight Training

By: Leblanc Meneses

I have recently had the opportunity to speak at the UTDallas .Net User Group. The "Introduction to Silverlight Training" was a very enjoyable 3 hour session on Saturday, July 17, 2010. It was organized by UTDallas User group for the officers. The officer's goal was to set up a machine environment, and to complete a Silverlight application for people with no background in Silverlight.

Making the case for an XamlViewEngine for ASP.NET MVC

By: Leblanc Meneses

What does a view engine need to meet today's demands for an effective user interface?

Unit test runner in bash for C and CPP libraries

By: Leblanc Meneses

Since I need to support C and C++ versions of the tests, I have decided to use a consistent interface/script, and build a bash script to compile every unit test into its own program. The program's exit code determines a pass or fail. Should the program fail, a standard error will be displayed. Should the program pass, a different text will appear on the screen, as long as the verbose flag has been activated.

Using Isolated Storage in Silverlight with a Generic Repository

By: Leblanc Meneses

Isolated storage is a file system. It is "isolated" because it is rooted to a specific directory, which provides the sandbox needed for browser security.

Web.Config Transformations in VS2010 vs FlexibleConfig.FlexibleConfigTask

By: Leblanc Meneses

Problem: Web.Config Transformations coupled to Solution Configurations

If you do not know what Web.Config Transformations are, please take a look at Chris Koenig's "Hot Do I" video series on the subject.

One of the problems that I see with these types of transformations is that they are highly dependent on "Solution Configurations". Since we have 3 environments/DevLocations to support, i.e. debug, release, and staging, 3 solution configurations had to be created with 3 transformation files. Even using small teams, a DevId had to be supported in a connectionString section, in-case the team is distributed (not collocated).

Whilst working in Silverlight or WPF, it is quite common to have a developer work on UI using mocked services; whilst another developer ties the data services layer with the concrete service versions. A DevTask also needs to be considered in the build, to support this configuration.

Should the Solution Configurations approach be taken to support DevId, DevLocation, and/or DevTask, it would quickly become unmanageable with Web.config Transformations, as too many extra files would be needed.

Automatically generate the table of contents with jQuery

By: Leblanc Meneses

A few years ago, I wrote a table of contents generator in PHP for my development blog.

I am also using it for this site, which has been written in C# ASP.NET MVC. Rather than rebuilding a server side implementation, and considering that client side programming has been simplified with jQuery, I have decided to rebuild the script using jQuery. This allows anyone to add it to their page, regardless of their back-end language.

MSBuild FlexibleConfigTask

By: Leblanc Meneses

A few months ago, we concentrated on a technical debt feature, so that we could improve our team’s development work flow. Our work became an MSBuild task & FlexibleConfig.FlexibleConfigTask, and this solved a lot of issues that used to bother developers.

This feature became high priority as a result. If you are suffering from similar problems, then you are welcome to purchase this feature though our products page.

NI Week 2009

By: Leblanc Meneses

Throughout the year, Robust Haven makes an effort to attend a variety of events that discuss the topics of diverse industries and technologies. In this article, we will discuss why it was important to attend the 2009 NI Week Worldwide Graphical System Design Conference. We will also feature several of the interesting demos that were visible in the show room, as well as share what we discovered about NI products. Lastly, we will explain how Robust Haven will utilize NI products.