Base solution for your next web application

Activities of "arctechnicalteamaus"

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

Thanks you all for inputs. Understand there will be modification work until the Abp vNext comes out. Would the following approach work?

  1. Use ASP.NET Zero application as the Access API, and the front-end (Angular). This Access API manages authentication, authorization.
  2. Use ASP.NET Zero application API part (no need for front end) as a base, for other API - our own business logic, but we need to re-route authentication, authorization part to use the above Access API.

Can you see any major problems? allowed by your licensing terms?

Regards, Richard

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 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!

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!

Thank you! Provided solution worked - delete all bin-obj folders, uncheck "Edit and continue" option, restart VS.

The strange thing is - if we reverted code back, just before adding our new project, everyting works fine, even with "Edit and continue" checked. Anyay.

Thanks very much for helping us!

Just more update on this - in case useful for all.

The root cause is the IIS Express Worker Process. It is strangly locking itself Visual Studio to update files in bin folder.

Now we switched to use dotnet.exe, not IIS Express to host the process. It works smooth so far.

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!

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>                                   

Thank you. Fixed by adding localised resource XML file.

Showing 1 to 10 of 26 entries