Base solution for your next web application

Activities of "mengvisal"

thanks!

Hi!

After i update to version 0.9.3.0, I have the following error when debugging in chrome. I also cloned the latest version from github to test and also have same error. The only solution for me now is to remove the line "map" all min library javascripts containing this .map but it is too annoying. Do you have any other ideas how to solve this?

System.Web.HttpException was unhandled by user code HResult=-2147467259 Message=The controller for path '/libs/toastr/toastr.js.map' was not found or does not implement IController. Source=System.Web.Mvc ErrorCode=-2147467259 WebEventCode=0 StackTrace: at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) at Abp.Web.Mvc.Controllers.WindsorControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) in D:\Halil\GitHub\aspnetboilerplate\src\Abp.Web.Mvc\Web\Mvc\Controllers\WindsorControllerFactory.cs:line 47 at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() InnerException:

Hi! I also have the problem of "Found more than one concrete type for given dbcontext type" after I upgrade from 0.8.2.0 to 0.9.3.0. Actually, I use DD design and i have many bounded contexts based on modules i have. Those bounded contexts uses only one single database or one connection string. For 0.8.2.0 version, I can do it without any problems and no need to define a custom repository since different bounded contexts contain different entities mapping and ASP.NET Zero design is smart enough to use the right bounded context. Here, i would like to confirm, for version 0.9.3.0, do i need to define each custom repository for each bounded context i have or is there anyway I can still enjoy using one repository for all bounded contexts?

Thanks!

Hi!

I am trying to update to ASP.NET Zero the latest version. However, i have compilation error for the $ sign in GetTimezoneInfos method of TimingAppService.

var defaultTimezoneName = $"{L("Default")} [{defaultTimezone.DisplayName}]";

Do you have any suggestion?

I try to extend timeout and save all 20,000 records at once but it seems much slower than saving or instantiating new unit of work for every 1,000 records.

I saw people talking about bulkinsert extension but I am wondering how or where I can apply it with ASP.net Zero since I do not explicitly instatiate the context? I use unit of work and repository as illustrated in the asp.net zero examples.

Hi,

What is the best way to do bulk insert of 10,000 rows? I cannot find "AddRange" or "BulkInsert" extension of entity framework in ASP.NET Zero generic repository. When i try to do single insert for 10,000 rows and then it times out. My current method is to call save change method or create new unit of work for every 1000 rows. So what is your suggestion?

Best,

Visal

Hi!

Can you let me know how to how to inject Dynamic routes from abp (DynamicApiControllerBuilder) into the HttpSelfHostConfiguration?

Best

Hi! Honestly, I wanna validate a function on get request in SPA and I am doing on resolve. Do you know if it is the best solution to do it? Example, when deleting an organization unit, the user enters the delete url with Id param. For this case, I need to validate on server side to see if the organization unit is allowed to delete or the organization still exists (not yet deleted). If not allowed or not exist, i will reroute the user to another page. I do not want to validate in controller load because i do not want the controller view content to load. That's why I am doing in resolve. I am curious if you have another solution for this.

Showing 11 to 20 of 31 entries