none
Can I have web service client in one solution call a web service in another solution? RRS feed

  • Question

  • I am working on building a client/server solution where the client is Xamarin Forms and the server is MVC.  For several reasons I need to keep these as separate solutions.  Within the server solution I have a very simple client that allows me to test connectivity and basic responses of GET and POST.  These calls work when I run the server solution and access the server using the client in that solution.  However, when I try to hit the server with a very similar call from the client in the mobile solution I am always receiving a "401.2 Unauthorized" error on connecting. 

    I have Windows authentication turned on for the server, and both clients are using HttpClient with the HttpClientHandler set to use default credentials.  Are there some IIS Express or Visual Studio settings I have to setup to allow cross-solution access?

    TIA

    Ron L.


    Ron L

    Friday, March 22, 2019 4:42 PM

All replies

  • Hi Ron,

    Sorry for this delay in reply.

    Our forum is to discuss about Visual studio WPF/SL Designer, Visual Studio Guidence Automation Toolkit, Developer Documentation and Help System, and visual studio editor. Your issue is more related to Xamarin form development, we suggest that you could go to Xamarin.Froms forum to get better support.

    Thank you for your understanding.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com


    Monday, March 25, 2019 10:04 AM