samedi 31 janvier 2015

Covert routing style .NET app to SharePoint-online hosted app



We have a on-premises IIS hosted web application that uses route information to fetch data from web service and display content to users. For instance, a news URL will look like:


http://ift.tt/1tM5AYH


-which is basically http://www.contoso.com/ {news controller} / {article-id}


All code in existing application is already just HTML/JavaScript, except for Routing.


Now that we have SharePoint 2013 online, and contoso.com will ultimately become a SharePoint site collection, I'm trying to find a way to keep the URLs same.


I realize that there is no way to add routes to the SharePoint 2013 online site collection. Additionally, Apps for SharePoint created via Visual Studio do not allow any server side code and only HTML + JavaScript if deployed using the SharePoint-hosted model.


So are we left with on-premises hosted SharePoint app - which allows arbitrary programming technology - BUT which requires an on-premises SharePoint installation - which basically means two SharePoint environments?


Or is there are simpler way of doing this?








0 commentaires:

Enregistrer un commentaire