Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "robrechtbelien"

Hi, I have a situation where directly after a login attempt (an unsuccessfull one) the usermanager doesn't get the latest values from the database. After running logInManager.LoginAsync() i see that the [AccessFailedCount] is updated in the database. But when running userManager.FindByNameAsync() in the same function after the login, the values of the returned user are the ones from before the login attempt. Is this some kind of caching somewhere? And how can I make sure to get the latest values. I'm using the .net core & MVC version .

Regards, Robrecht

Hi, I have a project entity where the creator is the admin, but the entity has linked users: It has trainers and students (which are aspnetzero users) . I want to limit the access to a project to admins and all linked students and trainers. What would be the best practice to implement this?

Hi, I'm trying to add a custom method to all my repositories. So in the baserepository code I added this:

    public abstract class AppRepositoryBase<TEntity, TPrimaryKey> : EfCoreRepositoryBase<AppDbContext, TEntity, TPrimaryKey>
        where TEntity : class, IEntity<TPrimaryKey>
    {
        protected AppRepositoryBase(IDbContextProvider<AppDbContext> dbContextProvider)
            : base(dbContextProvider)
        {

        }

        //add your common methods for all repositories

        public async Task BulkInsert(List<TEntity> entities)
        {
            await Context.BulkInsertAsync(entities);
        }

    }

That is ok, but when trying to use it in a repository : IRepository&lt;classname, long> the method is not available.

Am I missing something?

Question

Hi,

In our application I created a scheduling app. Now I want to send a notification (not an email but an in app notification) to a user 5 minutes before an event starts. I don't see an easy way to do this. Any tips are much appreciated.

(I'm using the .net core version with jquery)

Regards, Robrecht

Question

Hi,

I have an HTML table and I want to use datatables to show it in a better way. When I just use the default: $('#example').DataTable(); All rows disappear and instead it shows one row with the "Loading..." text.

Any help would be greatly appreciated.

Hi,

I just upgraded my code to 6.3.1 and the login page genrates this warning in the console: abp.ui.setBusy is not implemented! When looking at the bundles everything looks fine, The account-layout-libs.js bundele looks likes this, and all filles seem to be there: "wwwroot/lib/json2/lib/JSON2/static/json2.js", "wwwroot/lib/jquery/dist/jquery.js", "wwwroot/lib/popper.js/dist/umd/popper.js", "wwwroot/lib/bootstrap/dist/js/bootstrap.js", "wwwroot/lib/jquery-validation/dist/jquery.validate.js", "wwwroot/lib/block-ui/jquery.blockUI.js", "wwwroot/lib/jquery.uniform/dist/js/jquery.uniform.standalone.js", "wwwroot/lib/js-cookie/src/js.cookie.js", "wwwroot/lib/toastr/build/toastr.min.js", "wwwroot/lib/spin.js/spin.js", "wwwroot/lib/sweetalert/dist/sweetalert.min.js", "wwwroot/lib/moment/min/moment-with-locales.js", "wwwroot/lib/moment-timezone/builds/moment-timezone-with-data.js", "wwwroot/lib/cookieconsent/build/cookieconsent.min.js", "wwwroot/lib/abp-web-resources/Abp/Framework/scripts/abp.js", "wwwroot/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.jquery.js", "wwwroot/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.toastr.js", "wwwroot/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.blockUI.js", "wwwroot/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.spin.js", "wwwroot/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.sweet-alert.js"

Question

Hi, I noticed the username is case sensitive. I can think of a number of ways to make it ignore the case of the username or email address. But I was wondering if there is a best practice or a reason it is case sensitive.

Regards, Robrecht

Hi, I'm using the .net core MVC version 4.1 (targeting the .net framework) I can get a token succesfully but when I try to use an API function I get this error:

entication.JwtBearer.JwtBearerMiddleware - Successfully validated the token. entication.JwtBearer.JwtBearerMiddleware - HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Bearer. ERROR 2017-09-12 07:35:23,196 [22 ] entication.JwtBearer.JwtBearerMiddleware - Exception occurred while processing message. System.InvalidOperationException: IDX10803: Unable to obtain configuration from: '{TENANCY_NAME}.domain.com/.well-known/openid-configuration'. ---> System.IO.IOException: IDX10804: Unable to retrieve document from: '{TENANCY_NAME}.domain.com/.well-known/openid-configuration'. ---> System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.

I have no idea why this is happening.
Does anybody have suggestions to solve this issue?

Question

Hi everybody,

I'm currently working an a new platform for our company. I started working based on ASP.Net zero core & jquery and i'm very satisfied with it. However due to lack of time I'm looking for some additinal help with this project. So if there's anyone out there wo knows the platform and wants to help me with it that would be great.

Regards, Robrecht

Hi,

What would be the best way to achieve the following?

When an admin (or another custom role name) user is in a specific OU he or she should only be able to create/edit/view users from that OU or child OU's. Also I have a couple of other entity's that are linked to users. I only want these users to get the records for users in the same or child OU's.

I'm using the .net core with jquery version. on the full framework.

Regards, Robrecht

Showing 1 to 10 of 15 entries