There is a dirty little secret in the Grid market: making a Grid Editable, on a row-by-row basis (not in its entirety), is a nightmare. So, as we all know, MVVM is the cure-all for everything UI, so apply MVVM to the Grid form and away we go. Right? Doh! Wrong. You see, hosting the … Continue reading MVVM and the Editable Grid
Year: 2010
Why can’t I debug into my Windows Workflow?
I had a test project that I was using to Unit Test my Windows Workflow activities. Green across the board. I put all the activities together into a workflow and set up the test for the workflow, but the Output Parameters were always empty. I put breakpoints in the code. The debugger never stopped at … Continue reading Why can’t I debug into my Windows Workflow?
IdeaBlade DevForce – Model Setup Walk-through – Sample Code
Attached here is the finished sample project, created by following the steps outlined in the IdeaBlade DevForce – Model Setup Walk-through: Background Step 1: The Entity Framework Project Step 2: The DevForce Projects Attached Code: Sample Code Notes: Of course I had to adjust the connection string in the ModelEF's app.config file. The SQL to … Continue reading IdeaBlade DevForce – Model Setup Walk-through – Sample Code
Configure the Key when using Views as the basis for Entities
When using a View as the basis for an Entity in the Entity Framework (rather than a Table), make sure that the Key fields/properties are configured properly in the Model (EDMX). We recently experienced an anomaly where a Select All from a View-based Entity was not returning All the Entities we expected. There weren't any … Continue reading Configure the Key when using Views as the basis for Entities
Purpose and Principles of the Data Layer
At its core, the Data Layer’s main purpose is: Data Layer’s Main Purpose: To abstract all interactions with the database so that business objects can be written to deal with business rules, not with database interaction. For example, when promoting a standard Deal, the business logic comprises: validate that the Deal is in a promotable … Continue reading Purpose and Principles of the Data Layer
IdeaBlade DevForce – Model Setup Walk-through – Step 2: The DevForce Projects
Our Problem: We need to create an Enterprise application that is web-based, has an Excel-ish interface and pulls data from an Oracle database. Technologies Chosen*: Silverlight for the UI Prism 2 for the modular framework Unity for DI IdeaBlade DevForce for the Business Object Layer and Async functionality MS Entity Framework for the ORM DevArt … Continue reading IdeaBlade DevForce – Model Setup Walk-through – Step 2: The DevForce Projects
IdeaBlade DevForce – Model Setup Walk-through – Step 1: The Entity Framework Project
Our Problem: We need to create an Enterprise application that is web-based, has an Excel-ish interface and pulls data from an Oracle database. Technologies Chosen*: Silverlight for the UI Prism 2 for the modular framework Unity for DI IdeaBlade DevForce for the Business Object Layer and Async functionality MS Entity Framework for the ORM DevArt … Continue reading IdeaBlade DevForce – Model Setup Walk-through – Step 1: The Entity Framework Project
IdeaBlade DevForce – Model Setup Walk-through – Background
I know the world is about to change in April when VS2010 goes live, however, we are still using VS2008 and will be for at least a few more weeks. In the hopes that this walk-through provides some insight to someone, even if it is just me, here goes. Background We are creating a Silverlight … Continue reading IdeaBlade DevForce – Model Setup Walk-through – Background
Mysteries of Silverlight Deployment – Error Code 2104 – Could not download the Silverlight application
So I'm trying to open a newly deployed Silverlight site/app in my browser. I have the latest version of Silverlight, the files are deployed, the security is configured. Still, one of my Silverlight apps is downloading to the browser properly, the other one, gives me the following error: Error: Unhandled Error in Silverlight Application Code: … Continue reading Mysteries of Silverlight Deployment – Error Code 2104 – Could not download the Silverlight application
Moving Code from the Developer’s Integration Environment to the QA Environment
When we've completed coding (and, if we're feeling especially adventurous, testing said code), we promote our locally developed code to the Dev server. This serves as our integration environment. CruiseControl.Net watches our SCM for any changes promoted to the DEV branch, then it: Updates the configuration files to point to the Dev server instead of … Continue reading Moving Code from the Developer’s Integration Environment to the QA Environment