Transition Asp.net Web API to SharePoint Online

%3CLINGO-SUB%20id%3D%22lingo-sub-1379257%22%20slang%3D%22en-US%22%3ETransition%20Asp.net%20Web%20API%20to%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1379257%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20in%20relation%20to%20deploy%20Asp.net%20solutions%20to%20SharePoint%20online.%20I%20have%20a%20product%20developed%20in%20Asp.net%20MVC%20with%20Restful%20services%20built%20on%20top%20of%20Asp.net%20Web%20API%202.%20I%20want%20to%20enable%20this%20product%20for%20the%20client%20however%20the%20client%20is%20suggesting%20to%20host%20this%20product%20inside%20SharePoint%20online.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20there%20is%20a%20way%20to%20achieve%20it%20and%20that's%20through%20provider%20hosted%20apps%20where%20Asp.net%20part%20will%20be%20hosted%20on%20Azure%20and%20used%20in%20SPO.%20The%20client%20does%20not%20recommend%20to%20go%20with%20provider%20hosted%20apps%20so%20i%20have%20to%20figure%20out%20a%20way%20to%20host%20the%20product%20inside%20SharePoint%20online%20other%20than%20provider%20hosted.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooking%20forward%20for%20the%20community%20expertise%20to%20guide%20me%20how%20to%20solve%20this%20problem%20and%20if%20i%20can%20deploy%20either%20of%20the%20web%20api%20or%20mvc%20web%20application%20without%20provider%20hosted%20apps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you%20need%20more%20details.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ETayyab%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1379257%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESPFx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1379957%22%20slang%3D%22en-US%22%3ERe%3A%20Transition%20Asp.net%20Web%20API%20to%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1379957%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F168863%22%20target%3D%22_blank%22%3E%40Tayyab%20Suhail%3C%2FA%3E%26nbsp%3BThere%20is%20no%20%22hosting%22%20of%20applications%20like%20this%20within%20SharePoint%20Online.%20Even%20provider-hosted%20apps%20are%20hosted%20on-premises%20or%20somewhere%20else%20(Azure).%20If%20by%20hosting%20you%20mean%20just%20showing%20in%20SharePoint%2C%20this%20can%20be%20done%20with%20just%20an%20IFrame%20(of%20course%20the%20user%20experience%20won't%20be%20great).%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20your%20client%20is%20actually%20asking%20to%20host%20the%20application%20in%20SharePoint%20Online%2C%20this%20wouldn't%20be%20possible.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi Community,

 

This is in relation to deploy Asp.net solutions to SharePoint online. I have a product developed in Asp.net MVC with Restful services built on top of Asp.net Web API 2. I want to enable this product for the client however the client is suggesting to host this product inside SharePoint online.

 

I know there is a way to achieve it and that's through provider hosted apps where Asp.net part will be hosted on Azure and used in SPO. The client does not recommend to go with provider hosted apps so i have to figure out a way to host the product inside SharePoint online other than provider hosted.

 

Looking forward to seek help from the community to guide me how to solve this problem and if i can deploy either of the web api or mvc web application without provider hosted apps.

 

Let me know if you need more details.

 

Regards,

Tayyab

1 Reply

@Tayyab Suhail There is no "hosting" of applications like this within SharePoint Online. Even provider-hosted apps are hosted on-premises or somewhere else (Azure). If by hosting you mean just showing in SharePoint, this can be done with just an IFrame (of course the user experience won't be great).

If your client is actually asking to host the application in SharePoint Online, this wouldn't be possible.