Hi We have AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core
in chat window of user, it seems there is some issue with slimscroll , when we scroll it is doing multiple calls to server on one scroll. This seems to be happening more when we have reached end of scroll : http://prntscr.com/pn2clz
Please let us know if there is any solution for same or is it something related to slimscroll plugin?
AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core
Display timing issue on chat window when refreshing a page, (Ex. When we initiate chat it showing send time "less than a minute ago" and at same time we refresh page it will increase time and showing send time "about 6 hours ago" and we have server time in utc but seems serverTimeDifference is causing issue)
"What is your ValidateIPAddress method code inside?" ==>It checks allowed IP address for user if that user is flagged to validate.
Do you do ip restriction for the whole project or only for specific endpoints? ==>Whole
If the user has ip authorization, will the application check the normal permissions or bypass it and authorize user? ==>It will check rest permissions as it is but first we want to validate IPaddress.
We need to use default AbpCommonHub for sending some signalR messages. We are able to inject it in controller and also user is connected to it but when we send message from it _hubContextAbpCommon.Clients.User(userId.ToString()).SendAsync("test", "test"); message is not received on client side, where we have registered callback also as below in abp.signalr-client.js:
// Configure the connection function configureConnection(connection) { // Set the common hub abp.signalr.hubs.common = connection;
// Reconnect if hub disconnects
connection.onclose(function (e) {
if (e) {
abp.log.debug('Connection closed with error: ' + e);
}
else {
abp.log.debug('Disconnected');
}
if (!abp.signalr.autoConnect) {
return;
}
setTimeout(function () {
connection.start();
}, 5000);
});
// Register to get notifications
connection.on('getNotification', function (notification) {
abp.event.trigger('abp.notifications.received', notification);
});
connection.on('test', function (notification) {
alert(notification);
});
}
Hi
We are trying to apply ip based access for specific tenants/users, we tried below code but it seems to be firing for each request on system.
app.Use(async (context, next) => { var test = context.Request.Path; IocManager.Instance.Using<TenantManager>(async tenantManager => { if (!tenantManager.ValidateIPAddress()) { throw new AbpAuthorizationException(); } });
await next.Invoke();
});
Is there any other better approach available? or can we override AbpMVCAuthorize?
We are using .Net Core 2.1.
AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core
Hello
Is there a any way to generate css file from less file ? As we have some less files in project solution but doesn't seems to be changing while save or compile. Let us know if need to install any tool or vsix in visual studio?
Thanks