We have a SharePoint online site collection. and we want to develop an ASP.NET Core MVC web application which integrate with SharePoint online lists and libraries. The asp.net core MVC web application will authenticate the users using Office 365 credentials. but we have the following questions:-
Can we define some parts of the integration to run using the login user while other to be done with elevated privileges ?
i think we can integrate either using REST API or using CSOM ? so what are the main differences between those 2 approves?
Thanks