Print Screen in Silverlight

One of the simple tasks I needed to work on last week was to implement simple screen printing on certain screens in a Silverlight application.  Once I got home, I wrote a very generic routine that could print any control at all.  I wrote it as an extension method on System.Windows.Controls.Control class.  I used a …

Continue reading ‘Print Screen in Silverlight’ »

Calling MVC Controller On Periodic Basis in JavaScript

Here is a business use case I am trying to address.  After a web page is loaded, I need to make a server call every so often and make certain parts of the web page visible or hidden based on server call results.  In my case I am checking the state of the object in …

Continue reading ‘Calling MVC Controller On Periodic Basis in JavaScript’ »

Binding to Models with Array Properties in ASP.NET MVC

One of the common tasks I encounter periodically is submitting a simple array of strings or numbers from JavaScript to a controller method for processing.  It seems like I struggle often trying to make it work.  So, this time I decided to develop a simple and easy to use solution.  I decided to utilize custom …

Continue reading ‘Binding to Models with Array Properties in ASP.NET MVC’ »

Atlanta Code Camp 2013

Atlanta code camp 2013 preparation is officially underway! Atlanta Code Camp is taking place on August 24th, 2013 The Atlanta Code Camp is your opportunity to join your other Atlanta developer and design community members in a free day of training. It will be held at Southern Polytechnic State University. You can get directions here. …

Continue reading ‘Atlanta Code Camp 2013’ »

Combining Twitter Bootstrap and Angular Validation

Here is what I would like to achieve.  I would like to create a form, login form for example, where I have some required fields and submit button.  I would like to have submit button disabled until the input is valid.  I also would like to display invalid input error messages, but not initially.  I …

Continue reading ‘Combining Twitter Bootstrap and Angular Validation’ »

Microsoft and User Interface Platforms Now

I have been pondering today on user interface platforms in the modern world.  But first, let’s take a look at history of UI.  If you are a Microsoft developer, you had been accustomed to Microsoft dominance in the world of UI platforms since maybe mid nineties.  Visual Basic 6 was truly the platform for business …

Continue reading ‘Microsoft and User Interface Platforms Now’ »

Getting Started with Angular (Modules, Controllers, oh My)

I have started studying Angular framework a few weeks ago.  I always try to keep up with frameworks out there in the world to see if any of them can save me time and fill in specific needs for my projects.  I was attracted by apparent simplicity of Angular, judging by few demos I viewed.  …

Continue reading ‘Getting Started with Angular (Modules, Controllers, oh My)’ »

Creating Simple Please Wait Dialog with Twitter Bootstrap

As I was working on my new web project, I decided to use Twitter Bootstrap as the foundation for my styling and components.  One common feature that all web usually have is showing some kind of “Please Wait” dialog to let the user know that application is processing something in the background.  Typically in web …

Continue reading ‘Creating Simple Please Wait Dialog with Twitter Bootstrap’ »

Failed to install key pair–Object already exists

As I was working on a build server, I ran into an issue importing pfx (assembly signing) files.  I kept getting an error – “Failed to install key pair–Object already exists” trying to run the following command: sn –I myfile.pfx VS_KEY_XXXXXX Of course, I have to import my files on build machine in order to …

Continue reading ‘Failed to install key pair–Object already exists’ »