Base solution for your next web application

Activities of "ogrodski"

I am using the ASP.NET Core & Angular 7 solution.

When I click on the Login link from the public website, the system redirects me to "http://localhost:4200/account/login?ss=true&returnUrl=http://localhost:45776/Account/Login" which displays the Angular app login. Then, when I login, the sytems redirects back to the public website Account controller, as per the returnUrl, which then redirects me back to the public website home page by default.

After login, I would like to redirect to a page in the Angular app based on the user's role or user preference.

Is this currently possible? If so, where is it documented how to do this? Any suggetions would be appreciated.

Thanks,

Al

Question

I'm using the .NET Core with Angular version and I would like to know how to dynamically update the page title to match the current page.

It looks like the <title> element is hard coded to the project name in the index.html file. This means every pages has the same title. Can we dynamically set the title based on the selected menu item or page?

Thanks,

Al

Showing 1 to 2 of 2 entries