I created a solution in Visual Studio 2022 using ASP.NET Core with React.js templates.
In the screenshot above, you can see the structure of my solution, where both the React.js and Asp.net Core projects are independent. I am using Asp.net Core api in React.js project and want to deploy my solution through IIS but I don't know how to publish this solution? Which project to publish? If anyone knows please help me.
I have a similar setup, but mine is a Blazor server application calling the .net API. You must publish both projects separately, not the entire solution.