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

Pubblicato il: 01 febbraio 2023
sul canale di: Netcode-Hub
581
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 CRUD Op...   | Entity FrameworkCore CRUD Operations using SQL Server Database
   • .NET EFCore | Scaffold SQL Database with D...   | Scaffold SQL Database with DB First migration in Web API using EntityFrameworkCore.
   • .NET EFCore | Web API Entity Framework Cor...   | Web API EntityFrameworkCore (EF7) Pagination using Skip() and Take() methods.
   • .NET EFCore | Send Email in Web API using ...   | Send Email in Web API using Mailkit SMTP.
   • .NET EFCore | AutoMapper Data Transfer Obj...   | AutoMapper Data Transfer Objects DTO with Web API Explained.
   • Video   | Blazor WebAssembly Chat with SignalR using WebSockets.
   • .NET EFCore | Create JSON Web Token (JWT) ...   | Create JSON Web Token (JWT) for User Registration and Login using Password Hash and Salt.
   • .NET EFCore | EFCore All Relationships (11...   | EFCore All Relationships (11, 1n, nn ) with Entity Framework Core SQL Server.
   • .NET EFCore | Read JWT Authorization Claim...   | 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.


In questa pagina del sito puoi guardare il video online .NET EFCore | Web API Entity Framework Core (EF7) Pagination using Skip and Take methods della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Netcode-Hub 01 febbraio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 581 volte e gli è piaciuto 9 spettatori. Buona visione!