SignalR & WebApi - colliding Newtonsoft.Json references

前端 未结 1 667
一向
一向 2021-01-17 12:38

I have a windows client that connects to a SignalR 2.0 back-end, now I am trying to make it connect to a ASP.NET Web API 2.1 back-end as well.

The library that I use

1条回答
  •  伪装坚强ぢ
    2021-01-17 13:05

    Web API & SignalR were built with reference to 4.5 assembly version of Json.net..if you would like to use 6.0 version of Json.net, you would need to add an assembly binding redirect in your configuration file.

    
      
        
          
            
            
          
    

    0 讨论(0)
提交回复
热议问题