BlogEngine.NET 2.5.0.6 prepared for Windows Azure

19. February 2012

Same blog. Different space. I spent a day or two making changes so that BlogEngine 2.5 can be deployed to Windows Azure and it’s almost complete. I have a few finishing items to clean up including using Azure Storage for Membership. Once I have the bits finished I’ll zip them up for all to download.

image

imageimage

.Net Framework 4.0, C#, Windows Azure

RFID Client Application Load Workflow

28. August 2011

What our RFID Client Application does before you even see the landing page.

RFID Client Initial Loading Workflow

C#, Portfolio, Programming, WPF, WCF, .Net Framework 4.0

Warehouse Management–Dynamics Ax 2009 Bulk Transfers

18. August 2011


Business Problem
Logistics needs the ability to create individual or bulk transfer journals in order to either move items between bin locations in the same warehouse or to change the inventory dimensions on items in stock.

Solution
Using the current warehouse management application, include a new module that allows logistics to quickly locate inventory, apply new inventory dimensions, and post the transfer journal to Microsoft Dynamics AX 2009.

Technologies:
.Net Framework 4.0, Silverlight 4.0, WCF, MVVM, Microsoft Dynamics 2009

Bulk-Transfers Start Page:

image


Office Style Ribbon Bar And Search Panel:

image

Inventory Search:

image

Search Results:

image


Invalid destination dimensions validation:

image


Inventory with new destination dimensions added to journal:

image


Posting: Transfer Journal Information

image

.Net Framework 4.0, C#, Microsoft Dynamics Ax 2009, Portfolio, Silverlight, WCF, MVVM

RFID Online Spares Management Web Application

23. May 2011

A Silverlight application was created to provide scaled down functionality for locations that do not have the RFID Touch Screen client installed. Some locations need the ability to consume, count and audit their inventory without an RFID client. In this case a laser barcode scanner is used to scan the RFID barcode. This application was written in Silverlight 4.0, uses WCF Services, and employs the MVVM architectural pattern.

Authentication User Interface

image_thumb26

Warehouse Inventory User Interface

image_thumb27

Warehouse Search User Interface

image_thumb28

Product Consumption User Interface

image_thumb29

Inventory Count User Interface

image_thumb30

.Net Framework 4.0, C#, Portfolio, WPF, WCF, MVVM , , , , , , ,

SOLVED: "The calling thread cannot access this object because a different thread owns it"

8. July 2010

When writing a WPF application using MVVM I  came across this exception when throwing events up to the UI. The problem was that the source events were being thrown from a SmartCard API on a separate thread and I needed to bubble an event up to the UI to update an ObservableCollection in the ViewModel of the current Window.

The problem was I need to cast the DataContext to the correct ViewModel and in order to do that I needed to be on the UI thread. To solve the problem you need to use the Dispatcher but in a very specific way in order to do the cast. Below is the code example I used:

// Need to use the dispatcher with the new SmartCard assemblies to check if needed
// There is a warehouse selection dropdown on the left menu.  This Init() causes it to hook up to 
// the SessionSecurity.UserAuthenticationChanged event to populate that dropdown.
if (!leftMenu.Dispatcher.CheckAccess()) { // Use BeginInvoke with this delegate to pass method as parameter
// without declaring a custom delegate.
Dispatcher.BeginInvoke(new Action(() => { ((LeftMenuControlViewModel)leftMenu.DataContext).EvaluateUserState(); }), System.Windows.Threading.DispatcherPriority.Normal); } else { ((LeftMenuControlViewModel)leftMenu.DataContext).EvaluateUserState(); }

.Net Framework 4.0, C# ,