Hi alramz
Can you share your project with us to reproduce the problem? Email Address: [email protected]
We're glad we could help, good work.
Hi wingers
You can change the RedirectToAction
value of the Logout method in the AccountController
in main.
Hi wingers
The problem here is that you use _Layout.cshtml
found in the App. You can create a separate layout for the start page.
Hi wingers
Here, you will need to make changes not to the controller in the Area section, but to the HomeController
in the controller in the main. As stated below
public class HomeController : MvcDemoProjectControllerBase
{
//
public async Task<IActionResult> Index(string redirect = "", bool forceNewRegistration = false)
{
if (forceNewRegistration)
{
await _signInManager.SignOutAsync();
}
if (redirect == "TenantRegistration")
{
return RedirectToAction("SelectEdition", "TenantRegistration");
}
return AbpSession.UserId.HasValue ?
RedirectToAction("Index", "Home", new { area = "AppAreaName" }) :
RedirectToAction("WelcomePage", "Home"); // You can specify it on the application opening page
}
public IActionResult WelcomePage()
{
return View();
}
Hi alramz
Can you share the contents of the FillRoleNames
method within the UserAppService
class with us? Have you made any changes to it? If you haven't made any changes here, we will need more information to reproduce the issue. You can send your project to the following email address [email protected].
Hi wingers
*.Web.Public project has been updated with this issue. This change will be reflected in v14.0. By applying the changes here, you will be greeted with a more updated interface. Or, if your project is MVC, you can create a page and change the opening page orientation in HomeController
. If Angular, you can change the start page in app-routing.module.ts
. Changes here will redirect you to this page for the first time.
Hi alramz
Example: Incorrect:
SELECT * FROM Users
WITH UserCTE AS (SELECT * FROM Users WHERE IsActive = 1)
Correct:
SELECT * FROM Users;
WITH UserCTE AS (SELECT * FROM Users WHERE IsActive = 1)
In SQL Server, when using a WITH statement (like in Common Table Expressions - CTE), the previous query must be terminated with a semicolon (;).
If the problem persists after you make this change, can you share with us the content of the FillRoleNames method in the UserAppService?