Base solution for your next web application

Activities of "adamm"

I can work on it... I could use some assistance as to which classes to focus on that may be affected / which base classes to inherit from to implement differently, etc.

I see there are ABP modules for EntityFramework and NHibernate. Has anyone done others / custom ones? I am looking to see what it would take to implement Telerik Data Access ([http://www.telerik.com/download/data-access])).

I am not sure if I am heading down the wrong path, but I am trying to login automatically (no login page or login) based on the windows identity.

I tried following the instructions for the LDAP, but am a bit lost.

For now, I modified the TokenProviderMiddleware:

public Task Invoke(HttpContext context)
{
    SetCurrentUser(context);

... (rest of code) ...
}

private void SetCurrentUser(HttpContext context)
{
            if (NullAbpSession.Instance.UserId != null) return;
            var currentUser = context.User.Identity.Name;
            var user = _userManager.FindByNameAsync(currentUser);
            if (user?.Result?.Id == null) return;
            //TODO: set Session with this user
}

I haven't yet figured out the setting and authenticating, but I assume there is a different/better way?

Please advise...

Showing 1 to 3 of 3 entries