Загрузка страницы

Model View Presenter (MVP) Example - #4 Creating A Service Layer

Part 4 of MVP Using WinForms. This video covers creating a services layer for use by the Presenter. The Presenter will use services in the Service Layer to carry out tasks such as send and receive model data from the repository. The Service Layer will also transform model data when needed for data being sent to the Presenter for use by the View.

Note that video #8 is where coverage of the Presenters and Views begin if that is what you are looking for. The overview is in Video #1.
Briefly discussed topics in this Video:

1) Using Visual Studio 2017 to create a new Service Layer
2) Create a Class Library project with .NET Framework support to be used as the Service Layer
3) Creation of folder structure
4) Create interfaces for Department models, repository, and a common services area in the Service Layer.
5) Create a validation service which uses data annotations defined in model classes.

A detailed overview is provided in Video #1
Personal website is at:

http://www.robertmarquez.com

==========================================
CODE CORRECTIONS SINCE VIDEO RELEASE:

Please note the correct declaration for the DepartmentServices class should be as follows:

public class DepartmentServices : IDepartmentServices

The video shows it also has an interface file reference to IDepartmentRepository but that is incorrect. I only had it on there originally to accommodate the auto method name generations but it was supposed to of been removed after that.
======================================
Follow me on twitter to see what I'm working on and news on upcoming videos. My twitter page is at the below URL:

https://twitter.com/RobertGMarquez1

My twitter account is @RobertGMarquez1
Model View Presenter Pattern
Model View Presenter C# example
Model View Presenter WinForms example
Model View Presenter Tutorial
Model View Presenter .NET C#
Updates can be found on my twitter account:

@RobertGMarquez1
rgmvideos
Robert Glenn Marquez Samples
Robert G Marquez Samples
Robert Marquez Samples

Видео Model View Presenter (MVP) Example - #4 Creating A Service Layer канала Robert G Marquez
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
9 мая 2018 г. 2:09:20
00:19:34
Яндекс.Метрика