Last post Nov 21, 2020 08:39 AM by Mikesdotnetting
Member
1 Points
6 Posts
Nov 20, 2020 08:22 PM|ctreslovehayes|LINK
Hi,
When I have deployed my ASP.net core app, all end points return a 404.0 error. I have used Kestrel too. This app previously deployed fine, as soon as I updated vb.net this started occuring.
Where can I look for detail logs as to what's causing this?
Thanks
All-Star
53091 Points
23659 Posts
Nov 20, 2020 09:02 PM|mgebhard|LINK
Have you followed the .NET Core deployment and configuration instructions for your hosting environment?
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/?view=aspnetcore-5.0
Are you deploying a out of process application and that's why you're mentioning Kestrel?
Nov 20, 2020 09:10 PM|ctreslovehayes|LINK
mgebhard Have you followed the .NET Core deployment and configuration instructions for your hosting environment? https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/?view=aspnetcore-5.0 Are you deploying a out of process application and that's why you're mentioning Kestrel?
I am. This time, I noticed that there are a lot less files and the wwwroot folder is missing. On my last deployment, it was not.
194524 Points
28081 Posts
Moderator
Nov 21, 2020 08:39 AM|Mikesdotnetting|LINK
wwwroot should always be included in the published output. What steps did you take when publishing?
Member
1 Points
6 Posts
404 when ASP app deployed
Nov 20, 2020 08:22 PM|ctreslovehayes|LINK
Hi,
When I have deployed my ASP.net core app, all end points return a 404.0 error. I have used Kestrel too. This app previously deployed fine, as soon as I updated vb.net this started occuring.
Where can I look for detail logs as to what's causing this?
Thanks
All-Star
53091 Points
23659 Posts
Re: 404 when ASP app deployed
Nov 20, 2020 09:02 PM|mgebhard|LINK
Have you followed the .NET Core deployment and configuration instructions for your hosting environment?
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/?view=aspnetcore-5.0
Are you deploying a out of process application and that's why you're mentioning Kestrel?
Member
1 Points
6 Posts
Re: 404 when ASP app deployed
Nov 20, 2020 09:10 PM|ctreslovehayes|LINK
I am. This time, I noticed that there are a lot less files and the wwwroot folder is missing. On my last deployment, it was not.
All-Star
194524 Points
28081 Posts
Moderator
Re: 404 when ASP app deployed
Nov 21, 2020 08:39 AM|Mikesdotnetting|LINK
wwwroot should always be included in the published output. What steps did you take when publishing?