This project is read-only.

HB Code - Line of business application for WPF


  • Object-oriented programming using C#.NET and LINQ.
  • Nuget package usage.
  • Basic knowledge of WPF application building such as input controls, container controls, triggers, styles, templates.
  • Entity Framework, currently knowing any of versions of Entity Framework will work to check the working sample.
  • Sql Server 2005 database configuration and Sql queries.


Technologies: .NET 4.0, WPF, Entity Framework 4.3 Code First,

Control toolkits: Avalon Dock, Avalon Dock MVVM, WPF Toolkit, WPF Extended toolkit, Microsoft Ribbon for WPF

Tools: Visual Studio Professional 2010, Sql Server 2005 Express, Entity Framework Power tools extension, Nuget Package Manager.

Please note: Current implementation is kept intentionally strongly-typed to keep it easy to understand and reduce development time at intial stage.

Solution Projects Overview

  1. HBCode Application (View)

Description: This is the main entry point of the application. In this part, we have all the WPF and UI specific code implementations. It basically contains the WPF resources, WPF converters, Extended User Controls, Images, Application and Database Configurations, and Views (UserControls) used in the application.

  1. HBCode Business Logic (Model)

Description: This project contains all the business modules, business logic validations, and database connectivity, property change notifications implementations. Currently it uses Entity Framework 4.3 Code First with migrations to connect with the database. The Entity Framework 4.3 building blocks such as Database Context, Models, and Migration classes exist in this project.

  1. HBCode Presentation (ViewModel)

Description: This project contains the middle-tier ViewModel classes. View Model contains Collection of models, single models and sometimes aggregate properties for display purposes. The UserControls aka View are Databound to ViewModels containing model instances. ViewModels are built considering the UI layout and requirements. Such as if we consider a Sales billing UI will be containing Item list in grid and there will be one ComboBox column to display items to select from, so to DataBound the Combobox we could either List<ItemModel> property in ViewModel at top level or we can implement List<ItemModel> per row instance in List<ItemSaleModel> which would be bound to grid.

MVVM architecture Overview 

 MVVM Architechture Overview

Last edited Sep 9, 2012 at 11:32 AM by hj_hj1917, version 1


No comments yet.