The Factory Method Design Pattern In Asp .Net Core
Published 1/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 393.83 MB | Duration: 0h 32m
Published 1/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 393.83 MB | Duration: 0h 32m
Introduction and implementation of the Factory Method in ASP .Net Core.
What you'll learn
What a Design Pattern is an how they can be useful in solving recurring programming problems.
What the Factory Method Design Pattern is and the general pros and cons are towards it.
How to implement the Factory Method Design Pattern using ASP .NET Core.
Be able to interface with multiple database contexts through the Factory Method Design Pattern.
Requirements
It will be beneficial if you have worked with ASP .Net Core and Entity Framework Core.
I make use of Visual Studio 2022 and SSMS in the video as software.
The database we make use of is hosted in a local SQL server.
Description
Hi there, and welcome to this course on the Factory Method Design Pattern in ASP .Net Core. Through this course, I aim to upgrade your programming skills by giving you a basic introduction to Design Patterns as solutions to common problems in programming and how one of them, specifically the Factory Method Design Pattern, can be used to help reduce repetitive and tightly coupled code.In this course, we are going to explore the Factory Method Design pattern and see how it can be used in two different programming examples. At the end of the course, you should see how the Factory Method Design Pattern can solve some common programming issues such as creating tightly coupled code or having to extend existing code whenever the requirements might change within your business.The technical aspect of this Design Pattern will first be explored through the creation of methods that assist in calculating the Area and Perimeter of a Square, Circle and Triangle. Our methods will be called via an ASP .Net Core Application making use of a RESTful API.This will be followed by a more real life example of an Inventory Management System (also developed in ASP .Net Core making use of a RESTful API) that interfaces with multiple database contexts using Entity Framework Core as an Object Relation Mapper and databases housed in a local SQL server.
Overview
Section 1: Shape Parameters and the Factory Method Design Pattern
Lecture 1 Introduction
Lecture 2 Shapes Introduction
Lecture 3 Introducing the Factory Method
Lecture 4 CreateShapeCalculationService in Action
Section 2: Inventory Management System Example
Lecture 5 Inventory Management System Introduction
Lecture 6 Project Overview
Lecture 7 Entity Framework Core and Multiple DBContexts
Lecture 8 Database Context Factory Method
Lecture 9 Leveraging the Database Context Factory Method
Lecture 10 Demo of the Database Context Factory Method
Lecture 11 Conclusion
Intermediate C# programmers interested in learning about Design Patterns to improve their coding prowess.