Silverlight -> WCF -> Database -> problem

前端 未结 4 1588
长情又很酷
长情又很酷 2020-12-22 01:44

I have some silverlight code that calls a WCF service which then uses the Entity Framework to access the database and return records.

Everything runs fine but ... wh

4条回答
  •  渐次进展
    2020-12-22 02:25

    John Papa has a great article from MSDN Magazine Data Performance and Fault Strategies in Silverlight 3 that explains this issue and offers a solution. Due to browser limitations, error code 500s aren't routed properly. His solution modifies the outgoing HttpResponse Message back to a 200 for all Silverlight 500 responses.

提交回复
热议问题