Sample code Asp.Net Core Datatables Jquery pagination MVVM Services

murtaza gandhi 81 Reputation points
2021-01-29T07:41:29.96+00:00

Hi,

I would like a template
sample code to get started,
with

Asp.Net Core CRUD operations with search pagination , master detail pages.

Dependency Injection

CODE FIRST ENTITY Framework

Datatables Jquery

I have a solution developed on these, which needs to be maintained and further developed.
So I need to learn all of these.

Thanks,
Regards.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
749 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
0 comments No comments
{count} votes

Accepted answer
  1. Zhi Lv - MSFT 32,436 Reputation points Microsoft Vendor
    2021-02-01T02:10:16.457+00:00

    Hi @murtazagandhi-5184,

    Asp.Net Core CRUD operations with search pagination , master detail pages.

    To implement CRUD Functionality in ASP.NET MVC with EF Core, you could refer the following tutorial:

    Tutorial: Implement CRUD Functionality - ASP.NET MVC with EF Core

    After that, you could add sorting, filtering, and paging - ASP.NET MVC with EF Core

    If you want to check the sample code, you could download or view the completed application.

    Dependency Injection

    CODE FIRST ENTITY Framework

    In previous tutorials, the sample already using Dependency Injection and EF core code first, if you want to learn more information about them, you can check the following links:

    Tutorial: Get started with EF Core in an ASP.NET MVC web app

    Dependency injection in ASP.NET Core

    Datatables Jquery

    JQuery DataTables is a plug-in to display records in the web page, you could check the official document and refer the sample code to use it, after getting data from the action method using JQuery Ajax, then, bind to the DataTables plugin.

    Finally, you could refer to the above tutorials to create the application, if meeting any question in the future, please feel free to create a new thread in this forum.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Dillion

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.