Building Pagination Directive in Angular and Twitter Bootstrap

One thing that every business app eventually needs is an ability to search for something and show results using paging.  The reason for that is that too many rows in search result set can bring any application to its knees.  Hence, you should always page search results.  If you are building a web application, there …

Continue reading ‘Building Pagination Directive in Angular and Twitter Bootstrap’ »

Building Message Dialog with Angular, Bootstrap and TypeScript

I blogged previously about building a generic Please Wait dialog with Twitter Bootstrap.  One other common scenario that comes up in typical business application is the scenario when you need to show some information to the user and ask him to click a button to select an option based on this information.  Essentially I am …

Continue reading ‘Building Message Dialog with Angular, Bootstrap and TypeScript’ »

Building Dynamic Menu with Angular JS, Web Api and ASP.NET MVC

First I would like to talk about using MVC views (CSHTML files) for Angular views.  In my option, I like powerful features that MVC views bring to the table.  I can for example, use my models to generate input controls and validation messages on the server automatically.  More on that subject in subsequent posts.  I …

Continue reading ‘Building Dynamic Menu with Angular JS, Web Api and ASP.NET MVC’ »

Problem Installing Crystal Reports Redistributable 64 bit version

I was trying to install Redistributable package for one of the software systems I am working on on my Windows 8 64 bit machine.  The install kept failing with an error.  It stated: Error 1935. An error occurred during the installation of assembly component {XXXX I enabled MSI logging.  As a result in the log …

Continue reading ‘Problem Installing Crystal Reports Redistributable 64 bit version’ »

SQL Azure, Entity Framework and HIPAA

I was helping out a friend who is working on healthcare software.  They would like to run the app on Azure.  I am not sure how many of you have heard of HIPAA – Healthcare Insurance Portability and Accountability Act.  It sets some rules for anyone who writes healthcare related software.  One of the requirements …

Continue reading ‘SQL Azure, Entity Framework and HIPAA’ »

Create Jasmine Test Harness Page in ASP.NET MVC

In this post I will document how to quickly create a test harness page in ASP.NET MVC project that runs JavaScript tests using Jasmine unit test framework. First of all, let’s talk about project structure.  I have traditional ASP.MVC project and I am using Angular framework to build Single Page Application.  Hence, my project structure …

Continue reading ‘Create Jasmine Test Harness Page in ASP.NET MVC’ »

Update for Windows Phone Calendar

It was pointed out to me that in some countries calendar week starts with Monday, not Sunday.  I have been working for a bit to support this in my Calendar project.  You can also install or upgrade the project via nuget. Please let me know what you think.  To use new feature, just set the …

Continue reading ‘Update for Windows Phone Calendar’ »

Use Reflection and Expression to Find an Entity by Primary Key

On occasion I maintain a project based on Entity Framework Database First approach.  This project is using ObjectContext.  I was recently working on a generic feature that was requiring me to find an entity based on primary key. In order to do this I have to dynamically create a where clause that filders data based …

Continue reading ‘Use Reflection and Expression to Find an Entity by Primary Key’ »

Talk at Microsoft Integration Architects Atlanta Users Group

Yesterday I spoke on Entity Framework at Microsoft Integration Architects Atlanta users group, and wanted to post my slides and a sample project.  Here is the session description. Entity Framework Code First End to End This session will cover the use Entity Framework in .NET based applications. Discussion will include model creation and organization as …

Continue reading ‘Talk at Microsoft Integration Architects Atlanta Users Group’ »

Talk at AMDev Meetup

I spoke at Atlanta Microsoft Developers Meet up yesterday.   I did the following talk.   Leveraging ASP.NET MVC and Knockout in a Web Application This session is all about leveraging the power of data binding from knockout and traditional ASP.NET MVC views with unobtrusive validation.  We will see how we can inject knockout binding using …

Continue reading ‘Talk at AMDev Meetup’ »