Answered by:
Hosting MVC app in SharePoint 2013 site collection

Question
-
I developed an MVC application which I would like to host on SharePoint 2013 on-prem server. I do not want to host it as a provider hosted app but rather tightly integrate it with existing SharePoint web applications, maybe, in layouts directory or some other directory? Is that possible?
Thanks!
Thursday, February 7, 2019 9:59 PM
Answers
-
Hi,
I think this isn’t the right direction.
Asp.net MVC has it’s own authentication/authorization based on your implementation.
You could implement SSO between MVC and SharePoint if you don’t want to convert MVC as provider-hosted add-in.
Here is one thread for you reference.
Best Regards,
Lee
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click here to download it.
Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.- Proposed as answer by Dennis Guo Thursday, February 14, 2019 10:09 AM
- Marked as answer by diffident Friday, February 22, 2019 7:10 PM
Friday, February 8, 2019 2:06 AM
All replies
-
please check the below article to have a idea
https://sharepoint.stackexchange.com/questions/219088/when-how-to-use-asp-net-mvc-inside-sharepoint-on-premises-and-sharepoint-online
https://www.chakkaradeep.com/2013/10/18/building-apps-for-sharepoint-with-mvc/
Please remember to click Mark as Answer on the answer if it helps you
Friday, February 8, 2019 1:31 AM -
Hi,
I think this isn’t the right direction.
Asp.net MVC has it’s own authentication/authorization based on your implementation.
You could implement SSO between MVC and SharePoint if you don’t want to convert MVC as provider-hosted add-in.
Here is one thread for you reference.
Best Regards,
Lee
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click here to download it.
Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.- Proposed as answer by Dennis Guo Thursday, February 14, 2019 10:09 AM
- Marked as answer by diffident Friday, February 22, 2019 7:10 PM
Friday, February 8, 2019 2:06 AM -
Hi,
Would you please provide us with an update on the status of your issue?
Best Regards,
DennisPlease remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click here to download it.
Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.Monday, February 18, 2019 8:51 AM -
Sorry Dennis.
I am hosting mvc app on a dedicated server different from SP server
Friday, February 22, 2019 7:10 PM