Base solution for your next web application

Activities of "amrsaafan"

Hello,

Dynamic filters is not supported on effort databases in Test project.. How can we test it?

Microsoft.Azure.WebJobs.Host.FunctionInvocationException : Exception while executing function: JobImportFunction ---> System.NullReferenceException : Object reference not set to an instance of an object. at Abp.Domain.Uow.UnitOfWorkAttribute.GetUnitOfWorkAttributeOrNull(MemberInfo methodInfo) at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.IRepository1Proxy.GetAll() at NetScribe.Organizations.OrganizationManager.GetAll() at D:\TindallMediaProjects\NetScribe\Trunk-Phase4.1\NetScribe.Core\Organizations\OrganizationManager.cs : 292 at Castle.Proxies.OrganizationManagerProxy.GetAll_callback() at Castle.Proxies.Invocations.IOrganizationManager_GetAll.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.OrganizationManagerProxy.GetAll() at NetScribe.Functions.JobImportFunction.Run(HttpRequestMessage req,TraceWriter log) at lambda_method(Closure ,JobImportFunction ,Object[] ) at Microsoft.Azure.WebJobs.Host.Executors.TaskMethodInvoker2.InvokeAsync(TReflected instance,Object[] arguments) at async Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker2.InvokeAsync[TReflected,TReturnValue](Object instance,Object[] arguments) at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.InvokeAsync(IFunctionInvoker invoker,ParameterHelper parameterHelper,CancellationTokenSource timeoutTokenSource,CancellationTokenSource functionCancellationTokenSource,Boolean throwOnTimeout,TimeSpan timerInterval,IFunctionInstance instance) at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithWatchersAsync(IFunctionInstance instance,ParameterHelper parameterHelper,TraceWriter traceWriter,CancellationTokenSource functionCancellationTokenSource) at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(??) at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(??) End of inner exception at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithLoggingAsync(??) at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.TryExecuteAsync(IFunctionInstance functionInstance,CancellationToken cancellationToken) at Microsoft.Azure.WebJobs.Host.Executors.ExceptionDispatchInfoDelayedException.Throw() at async Microsoft.Azure.WebJobs.JobHost.CallAsync(??) at async Microsoft.Azure.WebJobs.Script.ScriptHost.CallAsync(String method,Dictionary2 arguments,CancellationToken cancellationToken) at async Microsoft.Azure.WebJobs.Script.WebHost.WebScriptHostManager.HandleRequestAsync(FunctionDescriptor function,HttpRequestMessage request,CancellationToken cancellationToken) at async Microsoft.Azure.WebJobs.Script.Host.FunctionRequestInvoker.ProcessRequestAsync(HttpRequestMessage request,CancellationToken cancellationToken,WebScriptHostManager scriptHostManager,WebHookReceiverManager webHookReceiverManager) at async Microsoft.Azure.WebJobs.Script.WebHost.Controllers.FunctionsController.<>c__DisplayClass3_0.<ExecuteAsync>b__0(??) at async Microsoft.Azure.WebJobs.Extensions.Http.HttpRequestManager.ProcessRequestAsync(HttpRequestMessage request,Func`3 processRequestHandler,CancellationToken cancellationToken) at async Microsoft.Azure.WebJobs.Script.WebHost.Controllers.FunctionsController.ExecuteAsync(HttpControllerContext controllerContext,CancellationToken cancellationToken) at async System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsync(HttpRequestMessage request,CancellationToken cancellationToken) at async System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsync(HttpRequestMessage request,CancellationToken cancellationToken) at async Microsoft.Azure.WebJobs.Script.WebHost.Handlers.WebScriptHostHandler.SendAsync(HttpRequestMessage request,CancellationToken cancellationToken) at async Microsoft.Azure.WebJobs.Script.WebHost.Handlers.SystemTraceHandler.SendAsync(HttpRequestMessage request,CancellationToken cancellationToken) at async System.Web.Http.HttpServer.SendAsync(HttpRequestMessage request,CancellationToken cancellationToken)

unfortunately , removing the async Task declaration didn't resolve the problem So: the full stack trace.:point_down:

at Abp.Domain.Uow.UnitOfWorkAttribute.GetUnitOfWorkAttributeOrNull(MemberInfo methodInfo) at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.IRepository1Proxy.GetAll() at NetScribe.Organizations.OrganizationManager.GetAll() in D:\TindallMediaProjects\NetScribe\Trunk-Phase4.1\NetScribe.Core\Organizations\OrganizationManager.cs:line 292 at Castle.Proxies.OrganizationManagerProxy.GetAll_callback() at Castle.Proxies.Invocations.IOrganizationManager_GetAll.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.OrganizationManagerProxy.GetAll() at NetScribe.Functions.JobImportFunction.Run(HttpRequestMessage req, TraceWriter log) at lambda_method(Closure , JobImportFunction , Object[] ) at Microsoft.Azure.WebJobs.Host.Executors.TaskMethodInvoker2.InvokeAsync(TReflected instance, Object[] arguments) at Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker`2.

Hello,

When trying to create Azure Functions that will access domain service at my system, domain service have methods that contact with database layer,

this is Code snippet of Azure function [attachment=2:1i2m5o8o]1.jpg[/attachment:1i2m5o8o]

This is the target method that should return all organizations: [attachment=1:1i2m5o8o]2.jpg[/attachment:1i2m5o8o]

And this is the exception: [attachment=0:1i2m5o8o]3.jpg[/attachment:1i2m5o8o]

there is an issue with the unit of work that we are creating it in the function, but that instance is not propagating down to the domain service like we expect.

Hello,

I'm get this error in the initialization of an azure function I'm trying to make a very simple Azure function that uses ABP

@aaron Thank you for your reply. But we are talking about ABP Service not normal WebApi Service

Hello,

How and where to set the maximum message size for an application service? My service fails when a large file is being sent over to the service, so I need to increase the maximum size of bytes the service can receive.

Hello,

We have built a module like "sample blog module" we have installed Core, and FrameworkCore to a new project in the ".Application project"

we added depend on to the appicationModule for both dlls (CoreModule, and FrameworkCoreModule ) when calling a domain service in the core dll in one of the app services it gives this exception message "Can't create component '.Registration.SignupAppService' as it has dependencies to be satisfied.\r\n\r\n'.Registration.SignupAppService' is waiting for the following dependencies:\r\n- Service '.SubscriptionDomainService' which was registered but is also waiting for dependencies.\r\n'.SubscriptionDomainService' is waiting for the following dependencies:\r\n- Service 'Abp.Domain.Repositories.IRepository2[[.Subscription, .Core, Version=1.0.1709.701, Culture=neutral, PublicKeyToken=null],[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' which was not registered.\r\n- Service 'Abp.Domain.Repositories.IRepository2[[.Customer, .Core, Version=1.0.1709.701, Culture=neutral, PublicKeyToken=null],[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' which was not registered.\r\n- Service 'Abp.Domain.Repositories.IRepository`2[[.Invoice, .Core, Version=1.0.1709.701, Culture=neutral, PublicKeyToken=null],[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' which was not registered.\r\n- Service '.IPlanConfiguration' which was not registered."

Hello,

I have found it! Issue link: <a class="postlink" href="https://github.com/aspnetzero/documents/issues/22">https://github.com/aspnetzero/documents/issues/22</a>

Hello @ismcagdas,

Would you send me the link to aspnet zero repository? As I can see only ABP and Module Zero.

Showing 11 to 20 of 28 entries