Nov 16 2017 05:29 AM
Greetings.
I couldn't find a direct answer for this. As the title suggests, can you use SPFx webparts with anonymous access enabled SharePoint sites? For ex: Public facing SharePoint site, SharePoint Server 2016 with FP2.
Thanks.
Nov 28 2017 05:14 AM
Nov 28 2017 05:46 AM
In this case I would use the Graph APIs (I think they are about to be released as GA) or an Azure Function / Azure Web API (depends on the complexity of the operations) solution to make calls utilizing the Add-in context (Client ID / Client Secret).
Nov 28 2017 05:58 AM
Nov 28 2017 06:09 AM - edited Nov 28 2017 06:11 AM
In this case, I would use to call an web API which could be based on microservices architecture for contacting different LoB systems - including SP Online, on-premises server, etc.
This architecture could give you the benefit of running different DLLs (required for both online and on-premises - they use different DLLs) in their own context (as a daemon). For example, in our implementations we call these "adapters" and we just plug them into our "service bus" application, expose adapter properties (for example these could be credentials or query parameters) through an interface and we work with any LoB system that way.
Nov 28 2017 06:14 AM - edited Nov 28 2017 06:17 AM
Kiril - I am sorry but I think you are thinking (overthinking) this question way beyond its intention. Microservices arch. / Diff. LoB... These are not my questions.
I am not sure if something has fallen thru the translation here.