Starts in:
2 DAYS
1 HR
37 MIN
48 SEC
Starts in:
2 D
1 H
37 M
48 S

Activities of "MahmoudA"

Hi there,

I use abp framework in this qualification :

  • ABP Framework version: v5.1.4
  • UI type: MVC
  • DB provider: EF Core

How to add Microsoft Graph in my abp solution to read my e-mails ? later on i might add webhook to get notified about new e-mails.

Thanks, Mahmoud

I want to logout all open tabs (or show popup describe he logout out) automatically when user logs out in one of them. how can i do this ?

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
Question

How to apply password setting ? ( Required length, Required lower case character, Required upper case character, Required digit )

I use mvc project

Answer

I solved it by return Task.FromResult<IActionResult>(Redirect("~/Account/Login")); when i not authorized Big Thanks .

Answer

when i not authrized , i want to go to login page not home ? i means i don't want home page to show

Answer

hi

You can redirect the user in Index page.

public class IndexModel : MyProjectNamePageModel 
{ 
    public Task<IActionResult> OnGetAsync() 
    { 
        if (CurrentUser.IsAuthenticated) 
        { 
            if (CurrentUser.TenantId == null) 
            { 
                return Task.FromResult<IActionResult>(Redirect("~/Dashboard")); 
            } 
            else 
            { 
                return Task.FromResult<IActionResult>(Redirect("~/HostDashboard")); 
            } 
        } 
 
        return Task.FromResult<IActionResult>(Page()); 
    } 
} 
 

Thank you for your solution. it works with me after change the condition (CurrentUser.TenantId == null) to (CurrentUser.TenantId != null)

Question

I want to change default page to dashboad.

Exmaple : when login as host redirect to host dashboard (not home) when login as tenant redirect to tenant dashboard (not home)

How can i do this ? I use mvc project.

hi

This demo has been tested by many developer. How do you run it? What steps are not working?

hi No exception appear. Can u tell me the steps to configure subdomain to use it in local or azure ?

hi

Is the demo works on your localhost?

https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver

no, not

and i want it to work in development environment (localhost) and production environment (azure)

Showing 1 to 10 of 22 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06