Ravisha is not able to answer to your reply from his account as always he is getting error popup saying "you are not authorized"
Can you try to re-login?
hi @Abhinandan
The index.html
exists in wwwroot
folder, right? Can you confirm?
hi
angular route didn't load after that
Can you share the browser's console & app logs?
hi @Mehmet
Do you have any ideas?
hi
return Redirect("/index.html");
Does the first load work now? Does the routing work after refreshing the page?
hi
I think there may be duplicate name
in cliams.
The following code may solve this problem. https://github.com/abpframework/abp/issues/8053 https://github.com/abpframework/abp/commit/e6ab80f6c62961a77b55e6c124ddc56581cdb9a7
hi Leonardo.Willrich
Can you share your current profile? What is the html of name element?
hi Ravisha
It seems to be the right approach. return Redirect("/index.html");
Does the first load work now? Does the routing work after refreshing the page?
There is example to handle the refresh.
<!-- IIS URL Rewrite for Angular routes -->
<rewrite>
<rules>
<rule name="Angular Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
</conditions>
<action type="Rewrite" url="/" />
</rule>
</rules>
</rewrite>
hi
Can you try to disable your other nuget source?
Or just use nuget source?
dotnet tool install -g Volo.Abp.Cli --add-source https://api.nuget.org/v3/index.json
hi
I think there are culture&ui-culture
parameters in the current URL
.
It similar to QueryStringRequestCultureProvider
, It takes precedence over cookies.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-5.0#querystringrequestcultureprovider-2