Dear All,
We need to deploy Latest Version Of Asp Zero .NETCore (two project with Angluar) on IIS We recieve the following error:
Error?statusCode=404
Is there a certain guide on how to Deploy it?
Thanks, Mina.
8 Answer(s)
-
0
Hi WirelessDynamics, The problem may be related to routing, please read this article: https://medium.com/angular-deployment-on-iis/angular-6-production-on-iis-manual-url-refresh-page-error- 88f64fb8d5f4
-
0
Hello Zony,
The issue is in the publish of the ASP.net core not in the angular, please advise.
Thanks, Mina
-
0
Any feedback regarding this case?
Thanks, Mina.
-
0
Hi @WirelessDynamics
Sorry for the delay.
If your project is ASP.NET Core & Angular, you can follow https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS
If it is ASP.NET Core & JQuery, you can follow https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Deployment-Mvc-Core-IIS
- If you already followed these, could you share the steps you have followed ?
- Is your app accessible on the internet ? If so, could you share its URL with us ?
Thanks,
-
0
Dear ismcagdas
It is ASP.NET Core & Angular project and we followed exactly what is the link:
the content of the webconfig is as below:
" <?xml version="1.0" encoding="utf-8"?> <configuration> <location path="." inheritInChildApplications="false"> <system.webServer> <handlers> <add name="aspNetCore" path="" verb="" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> </handlers> <aspNetCore processPath="dotnet" arguments=".\WDx_Asset_Tracking.Web.Host.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" /> </system.webServer> </location> </configuration> <!--ProjectGuid: 9FC37C62-2105-4D32-9724-7323B959504B-->
"
do you see something wrong, can you send a sample webconfig?
Thanks, Mina.
-
0
Hi,
web.config seems fine. I think you didn't post entire content of it. Can you access
yourwebsite.com/swagger
URL ? If not, could you send your app's public URL to [email protected] ?Thanks,
-
0
-
0
Hi,
Could you change Index action of HomeController in the Host project as shown below;
[DisableAuditing] public IActionResult Index() { return Redirect("/index.html"); }
Thanks,