Repository Pattern in ASP.NET Core REST API

preview_player
Показать описание
1. What is Repository Pattern
2. Benefits of Repository Pattern
3. An example that uses repository pattern to store and retrieve data from sql server database

Text Article and Slides

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.

Blazor tutorial for beginners

Blazor Blog

Angular, JavaScript, jQuery, Dot Net & SQL Playlists

Let's gift education together
Рекомендации по теме
Комментарии
Автор

Wow, this guy is the best no doubt. What a teacher!

I have watched Udemy courses from 4.5* + rated tutors. I have bought Murach books from amazon, I have read books Mark Price and Adam Freeman and others.
Look, im somebody who doesn't like to waste time learning... get into the course and grasp the deepest technical stuff. Unfortunately many tutors are unable to break these things down or do not take their time to figure out what students need to know.

This man has done it! 1, 0000, 000*

obiyanko
Автор

Just another day and another gem from kudvenkat

nikhilsharma
Автор

man, you are gold I swear thanks a lot

MusaK
Автор

Really enjoy your videos and really want to watch and understand you more closely. Thanks for wonderful tutorials, and You know I'll be watching :-)

lbify
Автор

Fantastic as usual! Thank you so much!

louisecrowe
Автор

Is async void on the interface really appropriate? Shouldn‘t it be async Task instead?

reneschindhelm
Автор

Hi bro Kudvenkat, can you explain me why did you use tasks async in employee and did not use it on deparments, regards.

marconagel
Автор

Hello, Im a little concused as to why in the EmployeeRepository async was used for getting all enployees and getting employee by id. However, in the DepartmentRepository async was not used. I'd like to know why this approach. Thanks in advance!

wellingtonm
Автор

Good lessons. But async methods in interface also get the same result. Why should we make complications.

antonythomas
Автор

I used some different code:
Instead of: => e.EmployeeId == employeeId);
I used:

Instead of:
I used:

Instead of:
I used:

It works, but I don't know if one is better than the other.

conaxlearn
Автор

How do you paste code without copying or switching windows to copy and paste?

mallikarjunmk
Автор

Hi, I have a doubt.
How to use ApplyTo(), TryValidateModel() functions in a repository instead of a controller, could you explain it?
Ex. code
var entityDTO =
patchDocument.ApplyTo(entityDTO, ModelState);
var isValid = TryValidateModel(entityDTO);

thirumanitheivam
Автор

Why can't we consume these repositories directly in the Blazor application? You won't need an API then.

adds-kzoc
Автор

Getting error - Unable to create an object of type 'AppDbContext'. Add an implementation of to the project

inquilabify
Автор

I'm confused why he didn't use async with the department repository?

AbdelRahmanSeyamEg
Автор

The entity repository interface could easily be generic

davidharrington
Автор

Why am I getting a red squiggly under result.Entity?

parko
Автор

why such bad quality in this video, ony 360p????

Time
visit shbcf.ru