I have installed Foundation and can log in to Episerver entering edit and admin mode but all pages in preview or full url are responding with a 404.
Is this uisng IIS or IIS Express?
I'm actually asking for a friend! :-)
But now that you are asking we had a discussion about him not getting the IIS Express to work and was using IIS. How do you setup IIS to work properly? Do yo point at the root catalog or the www catalog?
I got IIS working by using publish to folder, I followed directions similar to these: https://www.endpointdev.com/blog/2021/09/deploying-dotnet-5-app-iis/
i also had to add
in the CreateHostBuilder method.
He is running IIS Express on Windows 11, could that have something to do with it?
When hitting F5 the site started as Foundation and not IIS Express, that is now corrected so the site runs as https://localhost:44397.Edit mode still works but not browsing the URL above. In edit mode there is only the All properties view showing the On-page editing is missing?
Is he using the branch "main", or the older "net5" branch? "Main" has a lot of newer updates, including fixes to the issue that he's seeing where the Views aren't found correctly.
That should solve most of his problems, I suspect. I also have some instructions on running Foundation under IIS that I'll try to get fully written up in the next day or two.
We are using the net5, and will now try the main bransch.
Thanks for the tip Daniel!
That did the trick Daniel and great with PR for updated documentation.
And if you want to set it up under IIS, this might help: https://blog.danisaacs.net/running-with-foundation/