Base solution for your next web application

Activities of "arctechnicalteamaus"

Dear support,

Documentation for OU (Organization Unit) /Role/OrganizationUnitRoles usages seems incomplete. We have setup these:

Teacher Role - with permisisons such as "mark homework for students". OUs - Such as "Class 1", "Class 2", with normal users (students) being put in OU - "Teachers" to store all teachers, such as Teacher 1, with "Teacher" Role (stored by OrganizationUnitRoles entity).

Question - What's the best way to setup Teacher 1 as the teacher for "Class 1" only, so he can onlt mark homework for Class 1? Put the Teacher 1 into "Class 1" OU? Then "Class 1" OU membership will contain all students, teachers, or maybe report viewers later. It feels messy, as all roles are mixed in the OU members. Is there a better way?

On the second query - we have a use case to need OU - User - Role setup. For example, for the "School 1" OU, the User 1 is an Assessor role; but for "School 2" OU, the sane User 1 is an Report Viewer role. Current ASP.NET Zero setup is to grant a role to a user for the whole system, not for selected OUs. Can we confirm this understanding?

Thanks! Richard

Dear Support,

We use the latest (7.2.3) ASP.NET CORE 2.2 & Angular. On function uses IFormFileCollection to upload multiple files. How can we do unit testing under ASP.NET Zero?

Thanks! Richard

For us, on the Tenant admin languages section, every language is shown as 'Default'. Zero 7.1.0, Angular part, file "angular\src\app\admin\languages\languages.component.html" Line 94, should it be like this?

                                    <td *ngIf="appSession.tenantId ? true : false">
                                        <span class="ui-column-title">{{'Default' | localize}}</span>
                                        <span class="kt-badge kt-badge--success kt-badge--inline"
                                              *ngIf="record.name === defaultLanguageName">
                                            {{'Yes' | localize}}
                                        </span>
                                        <span class="kt-badge kt-badge--dark kt-badge--inline"
                                              *ngIf="record.name !== defaultLanguageName">
                                            {{'No' | localize}}
                                        </span>
                                        <!-- Below code display Yes for all languages
                                        <span class="kt-badge kt-badge--success kt-badge--inline"
                                              *ngIf="record.tenantId !== appSession.tenantId">
                                            {{'Yes' | localize}}
                                        </span>
                                        <span class="kt-badge kt-badge--dark kt-badge--inline"
                                              *ngIf="record.tenantId === appSession.tenantId">
                                            {{'No' | localize}}
                                        </span> -->
                                    </td>                                   

Dear support,

With Zero version 7.1.0, Angular + .net core version, we created English-Australia, from the Host Admin - Language section. Then logon as Tenant admin, set it as default lanaguage, from the database table, Abp.Localization.DefaultLanguageName for the tenant is 'en-AU'. The tenant admin can view it from the user interface.

Everytime we selected new language, it still goes back to previous 'English' (US), and the date disaply is still US format, not Australia format.

It seems the database setting is not being used.

In another case, we created own settings, after changed it by adding new record in the settings table, we have the same issue - the database setting is not used - still uses the default value.

Can you let us know what should we check? Thanks!

Dear Support,

It looks like ASP.NET Zero licensing prevented us adding new project in the same solution, and we cannot Start the site without debugging under Debug mode.

Here is what we have done and noticed:

  • We added a new "Framework" project into the generated solution. This project has extra extensions, library code etc. It is used by Product.Core.Shared project.
  • Under Debug mode, Start without debugging shows an error screen - the site cannnot be reached.
  • Works fine if using "Start debugging".
  • Works fine if using Release mode, Start without debugging
  • Renamed the project "Product.Framework", the same issue occurs. The "Product" is our generated code product name.
  • All unit tests run fine, including additions from our own logic.

Is this caused by licesing or anything else? Can we add own extra project into the solution?

Thanks!

Dear Support,

We are trying to use Abp.Domain.Entities for our DDD development. The base Entity class defines:

public virtual TPrimaryKey Id { get; set; }

The interface IEntity<TPrimaryKey> also defines:

TPrimaryKey Id { get; set; }

In DDD work, we suppose property shouldn't allow any public setter, particularly for the Id property. We just wonder why aspnetboilerplate setup in this way. Do we miss anything? How can we change this to only allow public get?

Thanks!

We just downloaded the latest project generated ZIP file for version 7.1.0 (.net core + Angular). Noticed all file are in UNIX format (new lines are not CR/LF). Is it a mistake or on purpose?

Dear support,

We have an existing application, and just purchased ASP.NET Zero. Our current application uses a Microservices approach. Front end is Angular, calling an API Gateway for all API. Behind the API gateway, there are 4 API services, such as authentication API, report API, main business logic API etc. There are multiple PostgreSQL databases too.

I know you have a next version ABP under development, with focus on Microservices. But for the current version of ASP.NET Zero, can you recommend how we can adopt the Microservices approach? Is there a recommended way, so it is easier to migrate to your next version in the future?

Thanks! Richard

Showing 11 to 18 of 18 entries