Base solution for your next web application

Activities of "reyada"

We using ASPZero ASP.NET MVC 5.x & jQuery we use the model annotation "DTO" to validation client & server side

how can I access to the localization (L)method from data annotation class "DTO" ( application service ) example : [Required(ErrorMessage =<<Localization string >>]

Server Error in '/' Application.

No component for supporting the service Global.Areas.Global.Controllers.HomeController was found Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service Global.Areas.Global.Controllers.HomeController was found

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ComponentNotFoundException: No component for supporting the service Global.Areas.Global.Controllers.HomeController was found] Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy) +78 Castle.MicroKernel.DefaultKernel.Resolve(Type service, IDictionary arguments) +14 Castle.Windsor.WindsorContainer.Resolve(Type service) +13 Abp.Dependency.IocManager.Resolve(Type type) +38 Abp.Web.Mvc.Controllers.WindsorControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +69 System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +88 System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +195 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +50 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +48 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +16 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +443 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +157

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2110.0

I use the below link to add the new project in the solution and reference the DLL into Main Web "ASPZero Web" <a class="postlink" href="https://stackoverflow.com/questions/12911006/asp-net-mvc-4-areas-in-separate-projects-not-working-view-not-found">https://stackoverflow.com/questions/129 ... -not-found</a>

But the problem the side hanging,

what is the missing if ASP Zero support that? what the best way to do that ?

Dear All,

Can I inject the IServiceBase<IBaseClass> in the controller ?

Can't create component 'Rem.ERP.Web.Areas.Mpa.Controllers.PRequestController' as it has dependencies to be satisfied.

'Rem.ERP.Web.Areas.Mpa.Controllers.PRequestController' is waiting for the following dependencies:

  • Service 'Rem.ERP.PurchaseRequest.IPurchaseRequestHdrServiceBase`1[[Rem.ERP.PurchaseRequest.DTO.CreatePrequestHdrInput, Rem.ERP.Application, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Castle.MicroKernel.Handlers.HandlerException: Can't create component 'Rem.ERP.Web.Areas.Mpa.Controllers.PRequestController' as it has dependencies to be satisfied.

'Rem.ERP.Web.Areas.Mpa.Controllers.PRequestController' is waiting for the following dependencies:

  • Service 'Rem.ERP.PurchaseRequest.IPurchaseRequestHdrServiceBase`1[[Rem.ERP.PurchaseRequest.DTO.CreatePrequestHdrInput, Rem.ERP.Application, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

var cachedValue = httpContext.Items["__PerRequestSessionCache"] as GetCurrentLoginInformationsOutput

Dear All,

The ASPZero Framwork use HttpContext for save the users data

is the ASPZero support for cloud & auto scale ??

Dear all,

We have Problem in the send post ajax from DevExpress GridView into ASPzero control ,when click on New, Edit or Delete

the below error appears

Bad Request - 400 Empty or invalid anti forgery header

  1. We are using ASPzero as framework <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2222">https://github.com/aspnetboilerplate/as ... ssues/2222</a>

settings.Name = "grdAccCategoriesPartial" settings.CallbackRouteValues = new { Controller = "Home", Action = "grdAccCategoriesPartial" } settings.SettingsEditing.AddNewRowRouteValues = new { Controller = "Home", Action = "grdAccCategoriesPartialAddNew" } settings.SettingsEditing.UpdateRowRouteValues = new { Controller = "Home", Action = "grdAccCategoriesPartialUpdate" } settings.SettingsEditing.DeleteRowRouteValues = new { Controller = "Home", Action = "grdAccCategoriesPartialDelete" } settings.KeyFieldName = "Id"

Dear All,

we have problem in use the DevExpress control, see the below error

jQuery Validation script was attached after DevExpress scripts. jQuery script was attached after DevExpress scripts. Please check the correctness of script registration on the page. For details

Dears,

We purchase the ASPZERO but the "404" error appears when trying to download the aspnet-zero-samples <a class="postlink" href="https://github.com/aspnetzero/aspnet-ze">https://github.com/aspnetzero/aspnet-ze</a> ro-samples

Showing 1 to 9 of 9 entries