Required Software (Microsoft Base Software needed for Development environment)
- Unity Application Block 1.2 - October 2008
http://www.microsoft.com/downloads/details.aspx?FamilyId=2C8B79E7-AE56-4F90-822E-A1E43C49D12E&displaylang=en
http://msdn.microsoft.com/en-us/library/dd203104.aspx
- PEX v0.90.50303.0, 03/03/2010 - (including Moles) Visual Studio 2010 Power Tools Pre-Release
http://research.microsoft.com/en-us/projects/pex/downloads.aspx#PexMSDN
http://wpf.codeplex.com/releases/view/40535
http://wpf.codeplex.com/
New functionality:
-
New WPF interface- Some new business functionality
- New base beta release aligned with DRAFT documentation
- Added
Specification pattern
How To Setup this project in VS.2010:
After installing pre-required software, do the following steps
- Create an empty SQL Server 2008
DataBase called NLayerApp (conn-string is currently using SQL Server 2008 EXPRESS, like .\SQLEXPRESS)
- Open the VS Solution and within the DATABASE project, execute the sql script called "Script.PostDeployment.sql". This will create all the tables needed bythe app.
- Select the WPF project as 'Default project' for debugging.
- Depending on what you want to execute (
Repositories working against the real DB or against an in-memory 'EF-MOCK' we have), you can change it using just a
Web.config property in the
WCF WebSite project:
key="defaultIoCContainer" value="RealAppContext" will run aganist the Database (For running the App and INTEGRATION TESTS)
key="defaultIoCContainer" value="FakeAppContext" will run against the EF MOCK (Hardcoded data just in memory, much better and faster for UNIT TESTING)
(In the next future we'll create a SETUP PROCEDURE DOCUMENT and we'll publish our Architecture's core/root in an English document)