Hey people I have a question related to IIS. I made in there two "sites" one is frontend flutter app that works fine, second one is "IIS published asp.net backend (it doesn't open any html it just handles in background REST API".
Frontend is in port 8000
Backend is in port 8001.
Problem is: I installed asp.net 10 host bundle and when I tried to run the backend from terminal (IIS build) my backend worked fine, but when I tried to run the backend in IIS it simply crashes. And frontend response with CORS issues (which essentially just means that probably the backend cannot find the dotnet installed on computer which is very strange).
Please anyone, help me with this issue. I wish to run front and backend but to run backend is a pain.