Base solution for your next web application

Activities of "blewis"

Answer

Built in AI support would be awesome. Just voting for this integration!

@ismcagdas,

Is OpenId Connect support for Angular on the roadmap yet now that 5.4 is out? I don't see any issues on GitHub for it.

Thanks, Bryan

I want to second this question and piggy back on it. When will proper, configurable session timeouts be added? It's been on the roadmap page of a long time and seems like a pretty important function. I don't really care much about a lock screen...but timeouts are important.

Bryan

OK, I misunderstood. I thought this setting would change the entire top bar space from white to dark. I didn't realize it was associated with a menu that you didn't implement.

Bryan

I am playing around with version 5.3 CORE MVC + jQuery and I have a question concerning customizing a table that is using DataTable. I discovered that ABP has a set of customizations for DataTable located in the datatables.default.js and datatables.ajax.js files. I can follow most of the logic in these files, but I cannot figure out how to override the defaults in the datatable.defaults.js file on a page by page basis. For example, I want to change the default page length from 10 row to 25, but only for certain pages. I see the default of 10 in the defaults.js, but in my page specific js, when I call DataTable, it ignores any attempt to override the default of 10. For example, if I try something like:

var dataTable = _$myPageTable.DataTable({
            paging: true,
            pageLength: 25,
            serverSide: true,
            processing: true,
            listAction: {
                ajaxFunction: _auditLogService.getAuditLogs,
                inputFilter: function () {
                    return createRequestParams();
                }
            }...

I have tried various combinations of possible settings, but I cannot figure this out. What am I missing? I want o do similar overrides for other features, like changing the "entries" in "Showing X to Y entries" to something that's more page specific.

Thanks, Bryan

Question

I think I know the answer to this is "No", but I wanted to ask just to see if anyone had a thought about it. We have a need to associate roles with specific Organization Units (OU) and allow users to have different roles with different units.

Our company is in education, and typically we have users who are administrators, aides or teachers. However, we often have users who have multiple jobs and so they may act as a teacher within the context of a specific school, but may have an administrative role in the context of their district. Setting up a hierarchy of districts and schools within the OU data structure is easy. But how hard is it to say that User A has role Adminfor OU District 1, but role Teacher for OU School 2? As I understand it, this is not possible. The user is simply a member of each OU and has both roles in all contexts. Any ideas?

Thanks, Bryan

Just like rvanwoezik,

On 5.3 CORE MVC + jquery, changing the Header desktop skin from light to dark doesn't do anything. It seems to always be set to light.

@alper,

I have setup a local redis cache and made the necessary changes to ABP. When I look at the cache, I see a bunch of standard Abp stuff in there (AbpApplicationSettings, TenantSettings, UserSettings, etc). However, I don't see anything related to user sessions. My goal is to eliminate the in-memory session provider so that I can turn off sticky cookies on our Azure web cluster.

This web page goes through the "normal" steps to do that with an ASP.Net web app : [https://docs.microsoft.com/en-us/azure/redis-cache/cache-aspnet-session-state-provider]). However, I know that Abp uses it's own session management, so I wasn't sure if anything else needed to be done to ensure that the session state was being stored in the cache and not in the web server. I'm sorry to ask again, but your response didn't speak directly to the session question that I am trying to resolve.

Thanks, Bryan

Thanks. I did see all of the documentation for the Redis setup. I just wanted to confirm that AbpSession would automatically utilize that so that if I disabled sticky sessions on Azure I would not break anything. Because ABP does its own session management, I just wasn't sure.

Thanks again, Bryan

P.S. -- I have found just keeping my sig updated is easier than including my Zero version in every post. ;)

We have an AspNetZero app currently deployed on an Azure WebApp that runs between 3 and 5 instances at a given time. Currently we are using the default in-memory cache provider, but I am looking to changing this to Redis. If we do that (by creating an Azure Redis cache and uncommenting the Redis config in WebCoreModule), will Abp use Redis for its session info also?

I would like to disable the Afinity Cookie in the Azure web app so that user sessions are no longer sticky to a specific machine and can be served by any machine in the cluster for any request (with all session state being in Redis). Is that the only change needed? Or is there something different for session storage?

Thanks, Bryan

Showing 1 to 10 of 36 entries