zero version: 8.1.0.0 MVC .net core
For Mobile App (Xamarin) should DefaultHostUrl be set to Web.Host or Web.Mvc URL?
We are currently using the Web.Mvc URL, but continue to get the following error: "A problem occurred while trying to communicate with the server. Do you want to try again? Call failed. stream was reset: PROTOCOL_ERROR GET https://[our website address for MVC app].com/AbpUserConfiguration/GetAll"
We were going to try using the Web.Host project on a different URL for the mobile app API calls, but it seems like that might not work since 'CorsOrigins' only allows for certain domains.
1 Answer(s)
-
0
Hi @ebenzle
Both can be used actually. If your project is an ASP.NET Core & jQuery project and you don't want to host an additional API for this case, you can directly use MVC poroject.
Do you get this error from the beginning or does that happen sometimes ?