Let's say only specific OrganizationUnits are valid for my entities that implement IMustHaveOrganizationUnit and those valid OrganizationUnit Ids are store elsewhere in the database. How and where should I implement that validation?
Dear Sirs,
Could You please explain, why there are so many packages missing in nuget package manager installed package list? Castle.Core or Newtonsoft.Json for example.
With application pool configured, application stays always on and background jobs (no Hangfire) are running. But after IIS restart application is not started. Is there a way to start application after IIS starts?
Angular ui typeahead works fine with standard $http promise, but how to make it work with ABP services created from dynamic API? Like here: <a class="postlink" href="http://plnkr.co/edit/izqWaLWM6YkrZXyArrHm?p=preview">http://plnkr.co/edit/izqWaLWM6YkrZXyArrHm?p=preview</a> Documentation says, that "Notice that we registered to success handler (instead of done) since it's like that in angular's $http service", but this is deprecated, please see deprecation notice at <a class="postlink" href="https://docs.angularjs.org/api/ng/service/$http">https://docs.angularjs.org/api/ng/service/$http</a>.
Could You please point me to the right direction on how to add navigational properties to non-abstract entities, for example organization unit? If I would like to show the count of shops in this organization unit, it would be easiest to count it's ICollection<Shop> navigational property?
Currently every edit form in ASP.NET Zero is shown in a modal using $uibModal and is only one controller. Following this sample is really easy. But what if I would like to show "edit" form that would have two controllers and their views? For example 1 controller is a controller for shop entities and shows shop list. Second controller is a controller for item prices in that shop and shows item price list. This second controller is reused elsewhere, so should be separated from shop controller. My questions would be: How should I open view with multiple controllers and their views? How should I pass ID of the shop, that is selected in the first controller for the second controller to show correct price list?
And another situation - there is a list of shops, when clicked on an entry in this list another page with shop's edit form and a list of it's prices should be shown. How many controllers should there be and how navigation should be done, if price list and editing code is intended to be reused elsewhere?
Let's say in the application there will be lot's of drop-downs with values Yes/No, so I think it would be good to put such an object somewhere for angular's select to use. There are two ways I can do that - angular constants (using appModule.constant) and global javascript variables (in \Common\Scripts). Using first way, I will need to inject it to my controller, using the second one - no need for that. What would You suggest?
In ITenantAppService there are methods, that do not have return value:
Task CreateTenant(CreateTenantInput input);
Task UpdateTenant(TenantEditDto input);
But in IOrganizationUnitAppService the same methods do have a return value:
Task<OrganizationUnitDto> CreateOrganizationUnit(CreateOrganizationUnitInput input);
Task<OrganizationUnitDto> UpdateOrganizationUnit(UpdateOrganizationUnitInput input);
I do no see any difference in usage of those methods from angular. Could You explain, why they are different?
Following the example in documentation, lets say my Personentity has Statusproperty, that can be one of Active, _Expired_or Blocked. First thing that comes into my head is to put that to enum and use Displayattribute. But then I realize, that in Angular I do not use html helpers and even if I would, I have no idea, how to translate those display names. On the other hand, constant string usage in Asp.Net Zero for me seems better than enums, as this way makes my database values look much better. But then there is a question - should I translate those constants in application service? In angular view? Any other place? So, the question - what way would You suggest and how this status should be translated after all?