Architecture for testable iframe application - Best practices with Facebook C# SDK

 ̄綄美尐妖づ 提交于 2019-12-04 11:05:23

I am the primary dev and architect of the Facebook C# SDK and the AzureToolkit. We are definitely looking to improve in any way we can. That being said, many of the things you are talking about such as unit testing, local debugging, and building in azure are already supported. We have several apps running in very high load environments that use both the Facebook C# SDK and the AzureToolkit and run on Azure. The other stuff like mocking out Azure and the Facebook APIs are going to be really difficult. If you have some specific ideas on how we could do that, I would love to hear them. The best way to get started with this would be to create a fork of the Facebook C# SDK and start to mock up some of these things. If they work, we will definitely accept them back into the core frameworks.

All the Facebook iframe does is provide you with some query parameters that can easily be faked or stubbed inside of your application. After you remove that complexity you're just building a regular application.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!