Base solution for your next web application

Activities of "jaencalo"

Hi, AspNetZero guys.. (abp-zero-template version 11.0.0) In entityname.component.html is used (inside p-table) (My entityname is EstadosProceso, but I changed this name for 'EntityName' here for simplicity, except on image)

for show the modal view component.., and this works because the component is included at bottom as

<viewEntityNameModal #viewEntityNameModal>

but... on the component.ts file, the viewchild is defined

@ViewChild('viewEntityNameModalComponent', { static: true }) viewEntityNameModal: ViewEntityNameModalComponent;

and, when I need show the popup, I got an error about the object viewEntityNameModal is undefined...

clickEnVer(e): void
{
    const objSel = e.row.data;
    this.viewEntityNameModal.show(objSel);
}

I found that If I change the @Viewchild line to (erasing the 'Component' word)

@ViewChild('viewXXXEntityModal', { static: true }) viewXXXEntityModal: ViewXXXEntityModalComponent;

and my function works.

This is a bug on RadTool's templates ?

Thanks a lot.

Failed to generate entity "System.NullReferenceException: Object reference not set to an instance of an object."

Power Tools Versión 3.2.1

-> CarroHeladosAppService.cs is being generated. -> ICarroHeladosAppService.cs is being generated. -> CarroHeladoConsts.cs is being generated. -> CreateOrEditCarroHeladoDto.cs is being generated. -> CarroHeladoDto.cs is being generated. -> GetAllCarroHeladosForExcelInput.cs is being generated. -> GetAllForLookupTableInput.cs is being generated. -> GetAllCarroHeladosInput.cs is being generated. -> GetCarroHeladoForViewDto.cs is being generated. -> GetCarroHeladoForEditOutput.cs is being generated. -> CarroHelado.cs is being generated. -> CarroHeladosExcelExporter.cs is being generated. -> ICarroHeladosExcelExporter.cs is being generated. -> AppPermissions.cs is being modified. -> AppAuthorizationProvider.cs is being modified. -> ReceptorDeMuestrasDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... Build started... Build succeeded. Entity 'Edition' has a global query filter defined and is the required end of a relationship with the entity 'EditionFeatureSetting'. This may lead to unexpected results when the required entity is filtered out. Either configure the navigation as optional, or define matching query filters for both entities in the navigation. See https://go.microsoft.com/fwlink/?linkid=2131316 for more information. No store type was specified for the decimal property 'AnnualPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'DailyPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'MonthlyPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'WeeklyPrice' on entity type 'SubscribableEdition'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'Amount' on entity type 'SubscriptionPayment'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'Puntaje' on entity type 'RespuestaPosibleModeloEncuesta'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. No store type was specified for the decimal property 'Valor' on entity type 'RespuestaPosibleModeloEncuesta'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Initialize(ColumnOperation columnOperation, IColumn column, RelationalTypeMapping typeMapping, Boolean isNullable, IEnumerable1 migrationsAnnotations, Boolean inline) at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Add(IColumn target, DiffContext diffContext, Boolean inline)+MoveNext() at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Enumerable.CastIterator[TResult](IEnumerable source)+MoveNext() at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection) at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Add(ITable target, DiffContext diffContext)+MoveNext() at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.DiffCollection[T](IEnumerable1 sources, IEnumerable1 targets, DiffContext diffContext, Func4 diff, Func3 add, Func3 remove, Func4[] predicates)+MoveNext() at System.Linq.Enumerable.ConcatIterator1.MoveNext() at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.Sort(IEnumerable1 operations, DiffContext diffContext) at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationsModelDiffer.GetDifferences(IRelationalModel source, IRelationalModel target) at Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder.ScaffoldMigration(String migrationName, String rootNamespace, String subNamespace, String language) at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType, String namespace) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType, String namespace) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_0.<.ctor>b__0() at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.

Code generation is complete. Press ENTER to exit...

  • AN0 ver 11.0 Angular .net core

Default Theme Factory settings for Default theme (no changes)

Hi Support,

When I include on index.html two references to metronic bundles files, ( Idownloaded Metronic 8 files from aspnetzero pages, found the files and include them in the right directories)

<br> I got some error messages in browser console...

I want use the bootstrap toggle component from metronic to add radio button behavior to the square buttons (the list must be single-selection)

How to fix this errors on browser's console ?

Thanks a lot

Hi, AspNetZero guys...

Today, I downloaded a final project (not demo), and I got several errors (repeated) about ngx-bootstrap... I do not used RAD Tool yet... just download, set string connections on server project, compile and run server project, all right... on angular project, I ran yarn and yarn upgrade, refresh on nswag directory and npm start...

The errors :

ERROR in src/app/shared/layout/link-account-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'.

4 import { ModalDirective } from 'ngx-bootstrap'; ~~~~~~~~~~~~~~~ src/app/shared/layout/linked-accounts-modal.component.ts:6:32 - error TS2307: Cannot find module 'ngx-bootstrap'.

6 import { ModalDirective } from 'ngx-bootstrap'; ~~~~~~~~~~~~~~~ src/app/shared/common/lookup/common-lookup-modal.component.ts:5:32 - error TS2307: Cannot find module 'ngx-bootstrap'.

5 import { ModalDirective } from 'ngx-bootstrap'; ~~~~~~~~~~~~~~~ src/app/shared/layout/create-new-user-delegation-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'.

4 import { ModalDirective } from 'ngx-bootstrap'; ~~~~~~~~~~~~~~~ src/app/shared/layout/user-delegations-modal.component.ts:4:32 - error TS2307: Cannot find module 'ngx-bootstrap'.

.......... several lines, same error

Aspnetcore 3.1 + angular 8.5

Javier Carreño From Bogota, Colombia

Hi, AspNetZero guys...

Today, I am creating a new entity using RAD Tool... On auditing, I got a gray message : Your Project doesn't support this feature!... I Created an aspnetcore + angular project... this project type does not support entity auditing ???

Thanks a lot for your help,

Javier Carreño From Bogota, Colombia

Hi Aspnetzero guys,

There are any way to eliminate an entity created with RAD Tool ???

Thanks a lot,

Javier Carreño From Bogota, Colombia

Hi, AspNetZero guys, greetings from Bogota, Colombia

I am using RAD Tool to create my first entity... I am getting errors on add-migration step and update-database step, when I clicked generate button... I am including the error messages... can you help me ?

-> AppPermissions.cs is being modified. -> AppAuthorizationProvider.cs is being modified. -> SamplerPADemoDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... No se pudo ejecutar porque no se encontró el comando o archivo especificados. Algunas de las posibles causas son:

  • Escribió mal un comando dotnet integrado.
  • Intentó ejecutar un programa .NET Core, pero dotnet-ef no existe.
  • Tiene planeado ejecutar una herramienta global, pero no se encontró un ejecutable con prefijo dotnet con este nombre en la RUTA DE ACCESO. Running update-database... No se pudo ejecutar porque no se encontró el comando o archivo especificados. Algunas de las posibles causas son:
  • Escribió mal un comando dotnet integrado.
  • Intentó ejecutar un programa .NET Core, pero dotnet-ef no existe.
  • Tiene planeado ejecutar una herramienta global, pero no se encontró un ejecutable con prefijo dotnet con este nombre en la RUTA DE ACCESO. -> zonasGeograficas.component.ts is being generated. -> zonasGeograficas.component.html is being generated. -> create-or-edit-zonaGeografica-modal.component.html is being generated. -> create-or-edit-zonaGeografica-modal.component.ts is being generated. -> view-zonaGeografica-modal.component.html is being generated. -> view-zonaGeografica-modal.component.ts is being generated. -> admin.module.ts is being modified. -> admin-routing.module.ts is being modified. -> app-navigation.service.ts is being modified. -> service-proxy.module.ts is being modified. -> SamplerPADemo.xml is being modified.

Code generation is complete. Press ENTER to exit...

Hi, aspnetzero support.

I am a new customer, and I am installing prerequisites for my first demo project source code. I am using VS2019 and I try install Typescript using Nuget manager... I got this errors:

This is the package

This is the check list for the projects (solution)

Can you help me ?

Thanks a lot.

Javier Carreño From Bogota, Colombia

Showing 1 to 8 of 8 entries