I'm using AspnetZero 8.1 with Asp.Net Core with Angular. AspnetZero comeup with Metronic theme, like this https://keenthemes.com/metronic/preview/angular/demo1/material/form-controls/input Metronic has support for Angular Material theme like below -
<mat-form-field class="mat-form-field-fluid">
<input type="email" matInput placeholder="Enter IP Address" formControlName="name" />
<mat-error>
IP Address
<strong>required</strong>
</mat-error>
<mat-hint align="start">
We'll never share customer
<strong>IP Address</strong> with anyone else
</mat-hint>
</mat-form-field>
So, can I use it Angular controls in AspnetZero? If Yes, then how?
Logged in via Swaggger/API as well as the Angular App. But when try to create a entity in the DB, getting this exception.
at Abp.Authorization.AuthorizationHelper.Authorize(IEnumerable1 authorizeAttributes) at Abp.Authorization.AuthorizationHelper.CheckPermissions(MethodInfo methodInfo, Type type) at Abp.Authorization.AuthorizationHelper.Authorize(MethodInfo methodInfo, Type type) at Abp.Authorization.AuthorizationInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformAsyncUow(IInvocation invocation, UnitOfWorkOptions options) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Auditing.AuditingInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Runtime.Validation.Interception.ValidationInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.TripsAppServiceProxy.Create(CreateOrEditTripDto input) at App.Trips.TripsAppService.<CreateOrEdit>d__6.MoveNext() in D:\github\App\aspnet-core\src\App.Application\Trips\TripsAppService.cs:line 91 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at App.Trips.Importing.ImportTripsToExcelXlsJob.<CreateTripAsync>d__15.MoveNext() in D:\github\App\aspnet-core\src\App.Application\Trips\Importing\ImportTripsToExcelXlsJob.cs:line 135 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.Run(Func
1 action)
at Abp.Threading.AsyncHelper.RunSync(Func1 action) at App.Trips.Importing.ImportTripsToExcelXlsJob.CreateTrips(ImportTripsFromExcelJobArgs args, List
1 trips) in D:\github\App\aspnet-core\src\App.Application\Trips\Importing\ImportTripsToExcelXlsJob.cs:line 89
Severity Code Description Project File Line Tool Suppression State Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Configuration\Tenants\TenantSettingsAppService.cs 314 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Authorization\Users\Importing\UserListExcelDataReader.cs 18 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Authorization\Users\Profile\ProfileAppService.cs 225 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Gdpr\ProfileUserCollectedDataProvider.cs 71 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Install\InstallAppService.cs 119 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\MultiTenancy\Payments\StripePaymentAppService.cs 173 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Sessions\SessionAppService.cs 39 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Sessions\SessionAppService.cs 40 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Sessions\SessionAppService.cs 41 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 115 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 118 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 121 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Tenants\Dashboard\DashboardRandomDataGenerator.cs 124 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.Application\bin\Debug\netcoreapp3.1\App.Application.dll' could not be found App.Test.Base D:\github\App\aspnet-core\test\App.Test.Base\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.Application\bin\Debug\netcoreapp3.1\App.Application.dll' could not be found App.GraphQL.Tests D:\github\App\aspnet-core\test\App.GraphQL.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.GraphQL\bin\Debug\netcoreapp3.1\App.GraphQL.dll' could not be found App.GraphQL.Tests D:\github\App\aspnet-core\test\App.GraphQL.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\test\App.Test.Base\bin\Debug\netcoreapp3.1\App.GraphQL.Test.Base.dll' could not be found App.GraphQL.Tests D:\github\App\aspnet-core\test\App.GraphQL.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\src\App.Application\bin\Debug\netcoreapp3.1\App.Application.dll' could not be found App.Tests D:\github\App\aspnet-core\test\App.Tests\CSC 1 Compiler Active Error CS0006 Metadata file 'D:\github\App\aspnet-core\test\App.Test.Base\bin\Debug\netcoreapp3.1\App.GraphQL.Test.Base.dll' could not be found App.Tests D:\github\App\aspnet-core\test\App.Tests\CSC 1 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\AppAppServiceBase.cs 25 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.Application D:\github\App\aspnet-core\src\App.Application\Authorization\Users\Importing\ImportUsersToExcelJob.cs 61 Compiler Active Error CS0433 The type 'AppConsts' exists in both 'App.Application.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' and 'App.Core.Shared, Version=8.1.0.0, Culture=neutral, PublicKeyToken=null' App.GraphQL D:\github\App\aspnet-core\src\App.GraphQL\Queries\UserQuery.cs 95 Compiler Active