MEF with WCF Startup

Posted By:Mahadesh MahalingappaPosted Date:August 06, 2011Points:200
Category: WCFURL:http://www.dotnetspark.comIn this article I would be creating a Data Access Layer using WCF . I would be using MEF to Export the Data from Data Access Layer class and then Import it .
MEF offers a nice way to Create Composable apps where I can so easily Import and Export Data.

In this article I will be creating a Data Access Layer using WCF. I will be using MEF to export the data from the Data Access Layer class and then import it.

MEF offers a nice way to create Composable applications where I can easily import and export data.

Created a ADO.Net Entity Data Model as shown in diagram below:

Create a new WCF Service as shown below:

Two files would be added to the solution as DataService and IDataService.cs.