Working on a SharePoint Add-in and would use to like Entiry Framework core

Ralph Foster 1 Reputation point
2021-06-06T18:42:38.237+00:00

Has anyone added Entity Framework core to a SharePoint Add in? If yes, could someone point me to a set of steps?

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
719 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,784 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-06-07T01:41:48.923+00:00

    Hi @Ralph Foster ,

    You could create provider-hosted add-in for sharepoint: https://video2.skills-academy.com/en-us/sharepoint/dev/sp-add-ins/get-started-creating-provider-hosted-sharepoint-add-ins

    Then use Entity Framework in it.

    You could refer to this article: https://www.c-sharpcorner.com/uploadfile/a30324/provider-hosted-sharepoint-add-in-with-sql-database-in-azure/

    Here is a similar question: https://social.technet.microsoft.com/Forums/en-US/41f96a3e-5ff3-4316-a3b5-8d6a689a66ec/entity-framework-for-sharepoint-online-list?forum=onlineservicessharepoint


    If an 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.