.NET EFCore | Web API Entity Framework Core (EF7) Pagination using Skip and Take methods

Published: 01 February 2023
on channel: Netcode-Hub
502
9

Thanks so much for watching 🙌🏾 LIKE 👍, SUBSCRIBE & turn on Notifications 🔔 to know when I upload new videos EVERYDAY!

/*You can buy a coffee for me*/ ☕️
https://www.buymeacoffee.com/NetcodeHub

Table of Contents:
00:00:00 | Introduction and creating new Web API Project in Visual Studio using .NET 7 framework.
00:01:29 | Installing EFCore, EFCore.SqlServer, EFCore.Tools Nuget packages.
00:02:11 | Creating database connection.
00:02:10 | Creating model and establish relationship.
00:06:52 | Creating Employee model.
00:08:54 | Creating Employee Controller.

Download Source code | https://github.com/Netcode-Hub/Web-AP....

Related Videos
   • .NET EFCore | Entity FrameworkCore CR...   | Entity FrameworkCore CRUD Operations using SQL Server Database
   • .NET EFCore | Scaffold SQL Database w...   | Scaffold SQL Database with DB First migration in Web API using EntityFrameworkCore.
   • .NET EFCore | Web API Entity Framewor...   | Web API EntityFrameworkCore (EF7) Pagination using Skip() and Take() methods.
   • .NET EFCore | Send Email in Web API u...   | Send Email in Web API using Mailkit SMTP.
   • .NET EFCore | AutoMapper Data Transfe...   | AutoMapper Data Transfer Objects DTO with Web API Explained.
   • Video   | Blazor WebAssembly Chat with SignalR using WebSockets.
   • .NET EFCore | Create JSON Web Token (...   | Create JSON Web Token (JWT) for User Registration and Login using Password Hash and Salt.
   • .NET EFCore | EFCore All Relationship...   | EFCore All Relationships (11, 1n, nn ) with Entity Framework Core SQL Server.
   • .NET EFCore | Read JWT Authorization ...   | Web API Role - Based Authorization with JSON Web Token (JWT).

What is Pagination? #
Pagination refers to retrieving results in pages, rather than all at once; this is typically done for large result sets, where a user interface is shown that allows the user to navigate to the next or previous page of the results.

Take() method
The Take() method extracts the first n elements (where n is a parameter to the method) from the beginning of the target sequence and returns a new sequence containing only the elements taken.

Skip() method
The Skip() method can be thought of as the exact opposite of the Take() method. Where the Take() method, returns a sequence containing the first n elements of the target sequence, the Skip() method "skips" over the first n elements in the sequence and returns a new sequence containing the remaining elements after the first n elements.


Watch video .NET EFCore | Web API Entity Framework Core (EF7) Pagination using Skip and Take methods online without registration, duration hours minute second in high quality. This video was added by user Netcode-Hub 01 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 502 once and liked it 9 people.