To work with enterprise library you have to download required from this URL. Here we will use Enterprise Library 5.0 version.
We need to give reference in Bin folder to the following dlls:
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.dll
we will make a sample application using Asp.Net MVC4. Open Visual Studio 2010, then go to File -> New Project. This will open the New Project
dialog box. From there make sure .Net Framework 4 is selected. Then select the Visual C# -> Web templates list. From the web template lists, Select ASP.NET MVC 4 Web Application and
give a name.
Mainly there are 3 things in OOPs concept.
1- Inheritance
2- Abstraction
3- Polimorphism
Inheritance is one of the key feature of oops concept and C# supports inheritance. Inheritance is a process of deriving the new class from already existing class. It allows you to reuse existing code.
MVVM is nothing but Model view and viewModel.This is the best architecture for WPF.
VIEW:
A View is defined in XAML and should not have any logic in the code-behind. It binds to the view-model by only using data binding.
The View contains the visual controls that will be shown to the user.This is the UI.
We will discuss how to create a WCF service and how we can consume the WCF service.
Open Visual Studio 2010, then go to File -> New -> Project. Then from the New Project dialog box, From the Installed Templates Select WCF from the left hand site, And then Choose WCF Service Library and Give a proper name and Click on OK.