question

rlm42-0116 avatar image
0 Votes"
rlm42-0116 asked rlm42-0116 commented

Cannot get Angular .NET Core App to work in Production / after being Published

I've tried everything, It just doesn't want to display anything after being published or run in Production mode (just a white screen). Works fine in Debug and Release modes with "ASPNETCORE_ENVIRONMENT set to Development.

I've uploaded the whole project on Github:
https://github.com/rlm42/angular12

You can run it in Visual Studio.

If someone can please help I would be grateful :)

dotnet-csharp
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

  • Try logging if you have not

  • I would recommend not using Google drive but instead create a GitHub repository for this project.


0 Votes 0 ·

Ok I've uploaded it to Github, is there anyone who could run it and help? Thank you :)

0 Votes 0 ·

@rlm42-0116
Could you please tell us where you published it?
Does it not display any error messages?

0 Votes 0 ·

You have to copy the Photos folder to the root published folder when published. It doesn't display any error messages just a white screen... I tried just running it in cmd with the dotnet commands

0 Votes 0 ·
Show more comments

Anyone? :( This is killing me

0 Votes 0 ·

1 Answer

rlm42-0116 avatar image
0 Votes"
rlm42-0116 answered

This is what I get when running the published files in CMD, and a white screen output with no errors

120742-image.png



image.png (54.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.