Code reuse using Angular 1 directives

by Van 16. October 2016 21:31


The code and the sliides for my presentation can be found at :


Don’t Fear Charge : An Approach to Build Testable ASP.Net Applications

by Van 18. April 2015 13:53

The slides for my presentation can be found at :


The code for my presentation can be found at :

Visual Studio for database developers

by Van 15. December 2014 18:38

Visual Studio Database.pptx (594.29 kb)

This is the slides for my talk on Visual Studio for database developers.

Mini SPA code samples

by Van 13. October 2014 01:40

This is the code samples I used for my talk "Building a mini-SPA In a Legacy MVC application with Angular and Breeze". Event1 ( ) is a SPA application using the HotTowel Nuget package. Event2 ( ) is an MVC application with a SPA added by using the HotTowel Nuget package. Event3 ( ) is an MVC application with a SPA with the Hot Towel Nuget package. This is the database scripts ( ) to create the database used by the 3 applications. All 3 solution used the data model project and the data access projects, but the source code is only with the event1 solution.

Mini SPA Slides

by Van 11. October 2014 22:07

Mini SPA.pptx (1.51 mb)


Here are my slides on my talk "Building a mini-SPA In a Legacy MVC application with Angular and Breeze" the code samples will be posted later.

Open XML Samples fron RADNUG presentation

by Van 19. March 2014 16:27

Here is the link code samples for my RADNUG Open XML talk:

This is an update of my previous code sample using Visual Studio 2013 and Open Office SDK 2.5. Look at my older sample for Visual Studio 2010 code.


Here are some related resources:


Open XML Developer website:


Brain Jones Blog:


Welcome to the Open XML SDK 2.5 for Office:


OpenXML SDK Productivity Tool 2.5

Problems with Xbox Video in Windows 8

by Van 7. March 2013 23:02

This is a copy of the letter I jjust sent to Microsoft support telling them of the issues double charging in Xbox Video on Windows 8:



I have been buying season passes to various TV show from the Zune marketplace for over 2 years. The Zune HD device with the TV adapter is great (too bad you no longer make them). It is an easy way to carry lots of TV show when traveling. It is very easy to hook up to any TV. I could do the same with my iPod but the experience is not as good. Therefor for years I would buy from the iTunes store if the show was not available from the Zune marketplace.   The idea of a season pass for shows currently in progress is that when the shows episodes becomes available, generally the day after it airs, I will be able to download it to my device.

This has been working great for me for years, until the middle of February 2013. I have a season pass for “Once Upon A Time” Season 2, when episode 13 “Tiny” became available; I started getting an error when I tried to download it. I thought this problem would be resolve the next day so I did not worry about it.  A couple of days later I had the same issue with “Nikita” Season 3 episode 10 “Brave New World” when that became available. Following the help from the Microsoft web site, I reinstalled my Zune software, but the issue remained. Being a Microsoft Certified Solution Developer and having a MSDN subscription, I loaded the Zune Software on one of my Windows 7 virtual images, which I use for developing software and had the same problem. Since I also have a Surface RT, I was able to download the episode form “Once Upon A Time” in the XBOX Video app in Windows 8. However that format will not play on my Zune.

At the time I decided start a chat with Microsoft support. At first they were trying to tell me it was my machine with the issue, until I explained that it was happen on various machines. While I was in the chat suddenly I was able to download the current episode of “Once Upon A Time”. The technical did tell me that there is a problem with season passes, but sounded like a different issue. After hours on chat the technician escalated my issue and “Nikita” was still not working. A couple of days later I was able to download the “Nikita” episode, I thought the problem was resolved.

When episode 6 of “Continuum” season 1, episode 6 of “Being Human” season 3 and episode 3 of “Touch” season 2 became available, I realize that the problem had not been resolved. At that time I decided to use my surface RT and not my Zune since I could download the shows in windows 8 and have my Surface RT connected to my TV instead of my Zune. I decided to uses my Windows 8 slate to down the shows via Ethernet and move them to my Windows Home Server then copy them from my server to my RT.

Yesterday, March 6, 2013, was when I realize the how big this problem really is. This happen when I downloaded the latest episode of “Continuum” Season 1 episode 8 “Playtime”, I got an email stating that I have been charge $1.99. I immediately got on an Xbox chat; the technician told me I was not charge. I then went to my account screen and saw the charge, told that to the technician and they reimburse me. While looking at my account, to my horror, I realize that I have been charge for every episode of every show that I have a season pass for since the problem started with episode 13 of “Once Upon A Time.  I also realize the reason that start working in in the zune marketplace was because I had paid for it again in the Xbox Video app on windows 8. Xbox video did not send any notification or give any indication that I was being charged. The reason why I was charge yesterday was because I did not have enough Xbox live points left. This was 9 shows, I told this to the technician, they said they can only reimburse me for 3 episodes and escalate my problem and someone will get within 3 days, this was again after spending hours in chat.

I generally do not write letters when I am unhappy with service or products; I simply just never buy from that company again. However since I make my living developing software with Microsoft products I felt I should let you know how bad this problem is. The thing I am most upset about is the when I pointed out that I was double charged my money was not immediately refunded, I know I will get my money back eventually. I also feel this is a broken promise for season passes, I would like to have the episode when they become available with no hassle (like it used to be). Obviously there is a problem in the backend, when an enhancement was done it broke something, which means it was not tested well. Also double charging does not seem to be a big deal to you as you can let this problem persist. I think windows 8 is a great platform, however I really lost trust of the Microsoft apps since it was charging me without telling me. This could cause ordinary customers to lose faith with the whole platform.

I currently have 7 season passes for shows in progress; the remaining episodes I will buy them from the iTunes Store when they become available, even though I would much rather have them on Microsoft hardware. I will be much cheaper for me to do that rather than using my time to get this issue straight. Because I spent several hours in chat with your technicians (my time is valuable), I will never (never) buy a season pass again from Microsoft (you are probably unaware of how customers you are losing because of this) 

Tags: ,

Observations in the Tech-Ed 2012 Timeframe

by Van 26. June 2012 14:22

             About a week ago I attend the 20th Tech-Ed(; it was my 13th. Tech-Ed is the premier Microsoft conference for developers and It professionals. Since my trip to Tech-Ed Microsoft made a number of important announces, which I will sum up along with observations of Tech-Ed.   

Just prior to Tech-Ed Microsoft made a big announce about Windows Azure, which continue at Tech-Ed. I have to admit that their announcement made Windows Azure more appealing to me. In fact so much so that I have actually deployed a DotNetNuke Site in Azure using Sql Azure. They really expanded Azure and I think everyone needs to take another look at it.


The biggest announcement, for me, was that Lightswich will be generating HTLM5, javascript and CSS and not just Silverlight, This is big for me because now my Lightswich applications will be able run on an Ipad.


Other things of note at Tech-Ed: they showed Office (Excel) running on an arm device; new T-Sql commands in SQL Server 2012 very impressive (you can try them out at; TFS Service ( being open to every one (I have been using for a couple of month and very happy with it); the new Web Site in Azure (up to 10 free for a year); Infrastructure as a service in Windows Azure; new feature in Visual Studio 2012; and of course Windows 8.


Just days after Tech-Ed, Microsoft announce their new Surface Arm device, which I believe to be a real challenge to the IPad. The device will be made by Microsoft, taking a page out of it Xbox360 book ( ).


The next day at the Windows Phone Summit Microsoft ( ) announce a change of direction with windows phone 8. It will use the same kernel as windows 8, this means that I can very easily make a companion application for the one I am developing on Windows 8 for the phone.

Windows 8 Development on a Mac with Parallels

by Van 12. March 2012 01:59

At Build, I was very excited about Windows 8 and Metro Apps. I had some ideas for some Metro Apps. Then, I went home and life happens; no Metro development.

Two weeks ago I decided I want to have one of my App ideas in the Window Store this month (March 2012). I started working on my App idea.

I have been using my Mac Book Pro for development and Parallel for my virtual environment. At Build I was using Parallel 6 the latest version at the time. While I was able to load Windows 8 Developers Preview into Parallel, I could not run metro apps. Since then Parallel 7 has been released and Metro Apps run fine.  Anyway I started working on my app.

On March 1 I downloaded Windows 8 Customer Preview. I tried to load into Parallel; it loaded however I could not do anything. I then took a VM with the Windows 8 Developers Preview and updated it with Windows 8 Customer Preview and it worked fine. There were some minor problems but nothing stopping me from developing a Metro App. On March 5 Parallel issued an update which fixes some on the minor issues and also the VM I created from scratch with Windows 8 Customer Preview is now working.

Code samples for "Odata in the real world" presentation

by Van 23. November 2011 11:18 (4.71 mb)

Finally I am getting out my samples for my "Odata in the Real World" session which I presented at the Fall 2011 Richmond Code Camp, 2011 CMAP Code Camp and the November meeting of the Richmond .Net User Group. These samples contain 3 projects; one using Entity Framework, one using Linq to SQL and the last using POCO classes.

About Van

Van, a Senior Web Developer for Innervisions Software, Inc. since 1996, started programming Mainframes using COBOL, JCL for AT&T in 1979. While at AT&T, Van was part of many development teams that produced enterprise level applications and systems using CICS, IMS and other mainframe technologies. 

Van bought his first personal computer in 1982, an Apple II+, and started to write programs for home use in Applesoft (Basic Microsoft created for the Apple II) . 

Van first started working with Microsoft technologies using Access 1.0 and Visual Basic 3.0. In 2000, Van attended VS Live in Orlando where he was first exposed to .Net. He started programming .Net with Visual Studio .Net Beta 2. He became an Independent Consultant in 1996 and started Innervisions Software, Inc. 

In 2003 he wrote his first professional ASP.Net app. Since 2004 Van has been subcontracting on an IRS project using ASP.Net, VB.Net, and SQL Server.

He spends his spare time working on the web site for Prince William Special Olympics which was created using Dot Net Nuke.   Van is currently working on a Silverlight app for Prince William Special Olympics to manage their volunteers.

Van has a BA in Mathematics from Lehman College in New York City and a MS in Computer Science from George Washington University. Van holds MCP certifications in Visual Basic, Access, ASP.Net and SQL Server.

Month List

Page List