I have a problem with deployment of a Blazor WASM solution created in C#. It works perfectly when running in development, but I cannot get it to run after deployment to the web test server
My question is related to the standard/recommended approach for this. Do I create a website for each (Client and API) and what do I do with the Shared project? If I try to publish it only gives me option to deploy to folder?
I can publish the Client project fine, and it runs the front-end, but it does not connect to the API
I have tried to publish the API to a separate web application and that does not produce any error - but if I try to call the API through Postman it returns an html page telling me that there is a problem with my resource and it cannot be displayed. The API endpoint returns a Json list of objects and works fine when executed in Postman running locally