Base solution for your next web application

Activities of "gconey"

Hi,

I don't understand this in the Angular sample app (e.g. in "Creating the PhoneBook Component" and on many other pages of the sample App): {{l("PhoneBook" | localize)}}

Why use the l() function and the localize pipe? Surely they are two different ways of doing the same thing and don't need to be used together? There is also an example of this in the framework in "theme-selection-panel.component.html" Also can you explain the difference between the two methods of localization? Why did you introduce the pipe? Should I change my app to use the pipe method everywhere?

Thanks.

Question

Hi,

Could you tell me where/how GetScripts is called in the Angular 2+ version? This builds the dynamic Abp scripts for front-end localization, etc. I need to do something similar. I know that in other versions of the Framework it is called in Layout.cshtml but I can't find where it is called in the Angular 2+ version. Thanks.

George

Question

Hi,

Using the Angular+Core version of the FW. The autofocus directive doesn't work for text boxes in modals. I think this is because it tries to set the focus while the modal is animating open. I want to help my users by using this directive to set focus to the 1st field.

I have got it to work by adding a timeout to the auto-focus directive as follows but I think there may be a better way to fix this. Any ideas?

ngAfterViewInit(): void {
       window.setTimeout(() => {
            $(this._element.nativeElement).focus();
       },500);
Question

Hi,

Is there a guide anywhere on how to migrate an existing application from "ASP.NET MVC 5.X + ANGULARJS 1.X" to "ASP.NET CORE + ANGULAR 6.X". I'd like to upgrade my application and get the benefits of the new features, but I've already completed a lot of development using the older version of Asp.net Zero. Any advice, tutorials, links,etc that could help would be useful. Thanks.

Regards, George

Question

Hi,

I'm looking for a developer to assist me with my project which is using the Angular 1.x and ASP.NET MVC 5.x version of the Framework. If you are interested please contact me privately for more details. Thanks.

Regards, George

Question

Hi,

Has anyone found a date and time picker that works well in the Angular 1.x ver of the Framwork, including handling different timezones, utc, etc. I have been using the one from Angular Strap <a class="postlink" href="http://mgcrea.github.io/angular-strap/#">http://mgcrea.github.io/angular-strap/#</a> I've more or less got it working and handing the timezones correctly, etc. But it's still causing me quite a few problems and took me a lot of hacking to work in the Framework correctly (issues around timezones, moment, etc, etc). And the user experience isn't all that great. Times and dates are fundamental to my application so if anyone has good suggestions that are working well for them please let me know.

Thanks a lot, George

Question

Hi,

Will the Angular 1.x version of Asp.Net Zero get the new features 4.1, i.e. Tenant Subscription System, Payment Integration and new dashboards?

I need these new features but I don't want to rewrite my app.

Regards, George

I've deployed my application to Azure and all seems to work well except when I try to download all logs (from Admin, Maintenance). This works fine running locally but from Azure it fails with an internal error and the following showing in the log.

2017-02-22 00:48:19,924 [38 ] nHandling.AbpApiExceptionFilterAttribute - size was 3375666, but I expected 3375256
ICSharpCode.SharpZipLib.Zip.ZipException: size was 3375666, but I expected 3375256
at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.CloseEntry()
at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.Finish()
at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Close()
at System.IO.Stream.Dispose()
at Cybertron.Sched.Logging.WebLogAppService.DownloadWebLogs()
at Castle.Proxies.WebLogAppServiceProxy.DownloadWebLogs_callback()
at Castle.Proxies.Invocations.IWebLogAppService_DownloadWebLogs.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Abp.Authorization.AuthorizationInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options)
at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options)
at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Abp.Auditing.AuditingInterceptor.PerformSyncAuditing(IInvocation invocation, AuditInfo auditInfo)
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.WebLogAppServiceProxy.DownloadWebLogs()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Abp.WebApi.Controllers.Dynamic.Interceptors.AbpDynamicApiControllerInterceptor`1.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.DynamicApiController`1Proxy_20.DownloadWebLogs()
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.&lt;InvokeActionAsyncCore&gt;d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.WebApi.Uow.AbpApiUowFilter.&lt;ExecuteActionFilterAsync&gt;d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.WebApi.Validation.AbpApiValidationFilter.&lt;ExecuteActionFilterAsync&gt;d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.WebApi.Auditing.AbpApiAuditFilter.&lt;ExecuteActionFilterAsync&gt;d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.&lt;ExecuteAsync&gt;d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.WebApi.Security.AntiForgery.AbpAntiForgeryApiFilter.&lt;ExecuteAuthorizationFilterAsync&gt;d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Abp.WebApi.Authorization.AbpApiAuthorizeFilter.&lt;ExecuteAuthorizationFilterAsync&gt;d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.AuthenticationFilterResult.&lt;ExecuteAsync&gt;d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.&lt;ExecuteAsync&gt;d__0.MoveNext()e

Any ideas what is going wrong? Thanks.

Question

Hi,

I recently updated my app as follows: Abp 0.12 -> 1.2.1 Apb.Zero 0.12 -> 1.2.1 AspNet Zero 1.12.2 -> 3.0

All using the non-Core, SPA, Angular 1 versions.

Everything is working well except one place where I am inserting some records in an application service method. This method inserts a header record, gets the id and then inserts some child records. I'm using Async repository methods. The header record insert works normally and returns an id but the system hangs when trying to insert the child record and eventually times-out. This was working fine when using the earlier versions of the templates. I can't see any breaking change that would have caused this. Can you help?

The exception is "Execution Timeout Expired", "The wait operation timed out" Stack trace: at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.<UpdateAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Data.Entity.Core.Objects.ObjectContext.<ExecuteInTransactionAsync>d__3d1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Data.Entity.Core.Objects.ObjectContext.<SaveChangesToStoreAsync>d__39.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.<ExecuteAsyncImplementation>d__91.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Data.Entity.Core.Objects.ObjectContext.<SaveChangesInternalAsync>d__31.MoveNext()

Thanks.

Question

Hi,

Are you going to keep updating the MPA non-Core Angular 1.x version of ASP.NET Zero? This is what I've developed my application in and I don't want to update to Angular 2 and and Core at the moment.

Also, out of interest, how much effort was involved in updating to Angular 2?

Thanks.

Regards, George

Showing 1 to 10 of 15 entries