Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

CRUD operations inside SharePoint Hosted apps . Can I do the following:- Build it using MVC + Show the site navigation + Use the modern interface

$
0
0

Hi All,

I am working on a SharePoint online team site collection. and i want to build a SharePoint hosted App to do some CRUD operations on a list. so i follow somehow the same steps shown in this link:-

https://www.c-sharpcorner.com/article/rest-crud-operations-using-sharepoint-hosted-app-office-365-part-two/

but i have the following question about the result i got:-

1. I built the SharePoint hosted app using Visual Studio 2015 professional. But when i choose to add a SharePoint Add-in >> type >> SharePoint Hosted >> SharePoint online, the project i got was based on the web forms. and i did not get the option to create the SP hosted app using MVC (as i use to get when building sharepoint provider hosted app). so can i say the SP hosted app can not be built using MVC ?

2. i deploy the SP hosted app inside a site collection which is using the modern interface, but the result i got inside the Default.aspx for my App is as follow:-

where the App got rendered inside the classic interface and not inside the modern interface + the site navigation disappeared. so my second question is if i can show the app inside the modern interface and to show the site navigation?

So can anyone advice on my above 2 question ?

Thanks in advance



Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>