Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

A Sample Silverlight 4 Application Using MEF, MVVM, and WCF RIA Services - Part 1

, 7 Jul 2011
Part 1 of a series describing the creation of a Silverlight business application using MEF, MVVM Light, and WCF RIA Services.
IssueVisionforSilverlightSetup20110630.zip
IssueVision for Silverlight Setup
IssueVisionSetup.msi
setup.exe
IssueVision_for_Silverlight_setup.zip
IssueVisionSetup.msi
setup.exe
IssueVision_Silverlight20110630.zip
IssueVision.Silverlight
Assemblies
GalaSoft.MvvmLight.Extras.SL4.dll
GalaSoft.MvvmLight.SL4.dll
MenuControls.dll
System.Windows.Controls.DataVisualization.Toolkit.dll
System.Windows.Controls.Toolkit.dll
System.Windows.Controls.Toolkit.Internals.dll
System.Windows.Interactivity.dll
Database
IssueVision.Client
IssueVision.Client.csproj.user
Assets
Signin.png
Controls
Properties
Views
IssueVision.Common
IssueVision.Common.csproj.user
Controls
Helpers
Models
Properties
Resources
Themes
IssueVision.Data
IssueVision.Data.csproj.user
Properties
Web
Resources
IssueVision.Data.Web
IssueVision.edmx
Helpers
MetadataClasses
Properties
Resources
Services
IssueVision.Model
IssueVision.Model.csproj.user
Properties
IssueVision.Setup
IssueVisionSetup.vdproj
IssueVision.ViewModel
IssueVision.ViewModel.csproj.user
Properties
IssueVision.Web
IssueVision.Web.csproj.user
Properties
IssueVision_Silverlight_20110316.zip
GalaSoft.MvvmLight.Extras.SL4.dll
GalaSoft.MvvmLight.SL4.dll
MenuControls.dll
System.Windows.Controls.DataVisualization.Toolkit.dll
System.Windows.Controls.Toolkit.dll
System.Windows.Controls.Toolkit.Internals.dll
System.Windows.Interactivity.dll
IssueVision.Client.csproj.user
Signin.png
DataSources
IssueVision.Data.Web.IssueVisionContext.datasource
IssueVision.Data.Web.PasswordResetContext.datasource
IssueVision.Common.csproj.user
IssueVision.Data.csproj.user
IssueVision.edmx
DataTypes
IssueVision.Model.csproj.user
IssueVisionSetup.vdproj
IssueVision.ViewModel.csproj.user
IssueVision.Web.csproj.user
IssueVision_Silverlight_20110606.zip
GalaSoft.MvvmLight.Extras.SL4.dll
GalaSoft.MvvmLight.SL4.dll
MenuControls.dll
System.Windows.Controls.DataVisualization.Toolkit.dll
System.Windows.Controls.Toolkit.dll
System.Windows.Controls.Toolkit.Internals.dll
System.Windows.Interactivity.dll
IssueVision.Client.csproj.user
Signin.png
IssueVision.Common.csproj.user
IssueVision.Data.csproj.user
IssueVision.edmx
IssueVision.Model.csproj.user
IssueVisionSetup.vdproj
IssueVision.ViewModel.csproj.user
IssueVision.Web.csproj.user
IssueVision_Silverlight_Setup.zip
IssueVisionSetup.msi
setup.exe
��USE [IssueVision]

GO



/****** Object:  Table [dbo].[SecurityQuestions] ******/

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'In what city were you married? (Enter full name of city)')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What was the name of your High School?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is your father''s middle name?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is your best friend''s first name?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What was your dream job as a child?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'In what city was your high school? (Enter full name of city)')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is the name of the first company you worked for?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is your maternal grandmother''s first name?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is the first name of your oldest nephew?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is your maternal grandfather''s first name?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What was the first name of your first manager?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What was the name of your first girlfriend/boyfriend?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What was the name of your first pet?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is the first name of your oldest niece?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'In what city was your father born? (Enter full name of city)')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'In what city is your vacation home? (Enter full name of city)')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What is your paternal grandmother''s first name?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What was the nickname of your grandfather?')

INSERT [dbo].[SecurityQuestions] ([PasswordQuestion]) VALUES (N'What was your high school mascot?')

/****** Object:  Table [dbo].[Users] ******/

INSERT [dbo].[Users] ([Name], [FirstName], [LastName], [Email], [PasswordHash], [PasswordSalt], [PasswordQuestion], [PasswordAnswerHash], [PasswordAnswerSalt], [UserType], [ProfileReset]) VALUES (N'admin1', N'Fred', N'Bloggs', NULL, N'LvnDL3Iy/h2nm1FO2/rD0yrch24sKSrCZpmTv4wQc4PmILDLhgpcfqCgXWi06WyM3Mx2AY93oJzNwVqVrER/rQ==', N'I1nIRw==', N'In what city is your vacation home? (Enter full name of city)', N'teIPQA==', N'X0najw==', N'A', 1)

INSERT [dbo].[Users] ([Name], [FirstName], [LastName], [Email], [PasswordHash], [PasswordSalt], [PasswordQuestion], [PasswordAnswerHash], [PasswordAnswerSalt], [UserType], [ProfileReset]) VALUES (N'user1', N'John', N'Doe', NULL, N'p13yuVCMCIgTy6jOf0ypzUPKWdSkYqcqYJAUwC2WGAOdk9EQD5ciEBD8s8hVPd+i36icrnH4SK+1sWLUQ5ZTpg==', N'qUCPFQ==', N'In what city is your vacation home? (Enter full name of city)', N'kqTjVA==', N'iCQYWA==', N'U', 1)

/****** Object:  Table [dbo].[SubStatuses] ******/

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (0, N'Blocked')

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (1, N'Understood')

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (2, N'Testing fix')

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (3, N'Fix available')

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (4, N'Investigating cause')

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (5, N'Need repro')

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (6, N'Staging')

INSERT [dbo].[SubStatuses] ([SubStatusId], [Name]) VALUES (7, N'Working on fix')

/****** Object:  Table [dbo].[Statuses] ******/

INSERT [dbo].[Statuses] ([StatusID], [Name]) VALUES (0, N'Open')

INSERT [dbo].[Statuses] ([StatusID], [Name]) VALUES (1, N'Active')

INSERT [dbo].[Statuses] ([StatusID], [Name]) VALUES (2, N'Pending')

INSERT [dbo].[Statuses] ([StatusID], [Name]) VALUES (3, N'Resolved')

/****** Object:  Table [dbo].[Resolutions] ******/

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (0, N'No Resolution')

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (1, N'By Design')

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (2, N'Fixed')

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (3, N'Duplicate')

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (4, N'External')

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (5, N'No Repro')

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (6, N'Postponed')

INSERT [dbo].[Resolutions] ([ResolutionID], [Name]) VALUES (7, N'Won''t Fix')

/****** Object:  Table [dbo].[Platforms] ******/

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (0, N'Internet Explorer', N'8', N'Windows', N'7', N'en-us', N'x86')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (1, N'Internet Explorer', N'8', N'Windows', N'7', N'en-us', N'x64')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (2, N'Internet Explorer', N'7', N'Windows', N'Vista', N'en-us', N'x86')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (3, N'Internet Explorer', N'8', N'Windows', N'Vista', N'en-us', N'x64')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (4, N'Internet Explorer', N'7', N'Windows', N'Vista', N'en-us', N'x86')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (5, N'Internet Explorer', N'8', N'Windows', N'Vista', N'en-us', N'x64')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (6, N'Internet Explorer', N'6', N'Windows', N'XP', N'en-us', N'x86')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (7, N'Internet Explorer', N'7', N'Windows', N'XP', N'en-us', N'x86')

INSERT [dbo].[Platforms] ([PlatformID], [Browser], [BrowserVersion], [OS], [OSVersion], [Language], [Processor]) VALUES (8, N'Internet Explorer', N'8', N'Windows', N'XP', N'en-us', N'x86')

/****** Object:  Table [dbo].[IssueTypes] ******/

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (0, N'Code Defect                                       ')

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (1, N'Design Change                                     ')

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (2, N'Documentation Issue                               ')

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (3, N'Sample Issue                                      ')

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (4, N'Spec Issue                                        ')

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (5, N'Test Defect                                       ')

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (6, N'Work Item                                         ')

INSERT [dbo].[IssueTypes] ([IssueTypeID], [Name]) VALUES (7, N'Tracking                                          ')

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Weidong Shen
Software Developer (Senior)
United States United States
Weidong has been an information system professional since 1990. He has a Master's degree in Computer Science, and is currently a MCSD .NET

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 7 Jul 2011
Article Copyright 2010 by Weidong Shen
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid