Office Automation

A Windows desktop app that moved internal letters, requests and approvals off paper for a company of 100+ employees. WPF, Entity Framework, .NET 4.

Full Stack Developer · 2011 - 2015 · Enterprise

Tech: WPF, Entity Framework, .NET 4

The problem

Letters, requests and approvals moved on paper between departments. Routing was slow and nobody could see where a document was.

The approach

A WPF desktop client using MVVM, with Entity Framework on .NET 4 talking to a shared SQL Server database on the company LAN. Documents move through defined states with tracking at each step.

The architecture

WPF client (XAML views and view models) over Entity Framework to one shared SQL Server database used by all clients.

Outcomes

  • Paper workflows replaced for a 100+ employee company
  • Routing and approval history tracked for every document
  • Shared database handling concurrent users with optimistic concurrency

Overview

A Windows desktop app for a company with more than 100 employees. It took internal correspondence and approvals off paper. I built it with WPF and Entity Framework on .NET Framework 4.

The problem

Letters, requests and approvals moved on paper. Routing was slow and there was no way to track anything. They needed a desktop tool that could:

  • Route correspondence and requests between departments.
  • Track approval status and history.
  • Handle 100+ users at once on the corporate network.

Architecture

flowchart TB
  subgraph Desktop[WPF Client - .NET 4]
    V[Views - XAML]
    VM[ViewModels - MVVM]
  end
  EF[Entity Framework]
  DB[(SQL Server)]

  V --> VM
  VM --> EF
  EF --> DB

How it's built

  • The UI is WPF with MVVM. XAML views bind to view models, which kept the UI code maintainable and testable.
  • Every client uses Entity Framework on .NET 4 against one shared SQL Server database on the LAN.
  • Documents move through defined states, with assignment and approval tracked at each step.

Document routing

stateDiagram-v2
  [*] --> Created
  Created --> Routed: Assign to dept
  Routed --> InReview
  InReview --> Approved
  InReview --> Returned: Needs changes
  Returned --> Routed
  Approved --> Archived
  Archived --> [*]

What was tricky

  • 100+ users editing shared documents: I relied on EF and SQL Server transactions plus optimistic concurrency so nobody silently overwrote someone else's change.
  • Heavy data operations run in the background so the desktop app doesn't freeze.

Result

Paper workflows were replaced across the company, every document's routing and approvals are tracked, and the WPF/MVVM codebase stayed easy to maintain.