Base solution for your next web application

Activities of "paddyfink"

your object vm.shiftss is a list but your your service expect an object.

You need to pass an object. For example : shiftsService.create(vm.shiftss[0])

How would you explain the language management feature? I'm not sure to understand the logic. What the base value and the target value represents?

Answer

Hello ABP team,

I had a similar question, so I will ask it on this thread.

In a future scenario, I would like users to be able to sign in without specify the tenant. And in the case they belongs to multiple tenants, they would be able to select, and also change tenant via the menu like Duncan suggest.

What would be the options to accomplish that? Write a custom AbpUserManager class?

Answer

If you deploy from visual studio, you just have to check the option "Update database". If you deploy from TFS with CI, There is a special manipulation to do to make the migration works

Personally i'm not a big fan of code first migration. I don't like having to generate a file just because I added a new column in a database, or create index with C#. I only use code migration to update my db during the develpment. For the deployment I use a DB projec. I use Release management in TFS to deploy both the website and the database to the differents envionments.

<a class="postlink" href="https://msdn.microsoft.com/library/vs/alm/release/examples/azure/azure-web-apps-from-build-and-release-hubs">https://msdn.microsoft.com/library/vs/a ... lease-hubs</a> <a class="postlink" href="https://msdn.microsoft.com/library/vs/alm/release/examples/azure/azure-web-apps-and-sql-db">https://msdn.microsoft.com/library/vs/a ... and-sql-db</a>

$modal has been replaced in the latest vesion of angular bootstrap.

You can check the documentation here : <a class="postlink" href="https://angular-ui.github.io/bootstrap/">https://angular-ui.github.io/bootstrap/</a>

Try with $uibModal instead of $modal

Hello Thanks. it's better. Now I got the right information : A client is connected: {"ConnectionId":"392af956-606e-4187-b1e6-8adb173dd36e","IpAddress":"::1","TenantId":1,"UserId":2,"ConnectTime":"2016-03-09T16:42:08.5693186-05:00","Properties":{}}

I made a little test, I publish three notification like this :

await _notificationPublisher.PublishAsync(AppNotificationNames.NewRequest, notificationData, tenantIds: new int?[] { request.TenantId });
            await _notificationPublisher.PublishAsync(AppNotificationNames.NewRequest, notificationData, userIds: new long[] { 2 });
            await _notificationPublisher.PublishAsync(AppNotificationNames.NewRequest, notificationData);

I only received a notification when I specify a user. I expected :

  • a notification to be received by every users if we don't specify a tenant nor a user
  • a notification to be received by every users of a tenant if we specify just the tenant id
  • a notfication to be received by only a users if we specidfy the user

All those without subscribing to anything. Is not supposed to work like that?

Hi,

Check if you create your interface IProjectAppService and that it derived from IApplicationService

It's the 0.8.2

Showing 11 to 20 of 27 entries