Ok, thanks.
Hey, i am using angular.
I am formatting number at client side as well i can see in browser network tab what a request contains correct value e.g. price: "99,99", but when BE receives it the value is 9999.00.
As I understood a default model binder do this trick. Do you have any recommendation on how to overcome this issue?
Hello, any recommendation on how to use ',' as decimal separator. Currently BE automatically converts 99,99 to 9999.00
Sorry, i have wrongly enabled google API, there is no issue.
Hello, i have setup google api to login using google account, but after i click google icon on login page i am getting an error:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Abp.AspNetZeroCore.Web.Authentication.External.Google.GoogleAuthProviderApi.GetUserInfo(String accessCode) at Kaktusas.Web.Controllers.TokenAuthController.GetExternalUserInfo(ExternalAuthenticateModel model) in C:\Users\Mano\Documents\Visual Studio 2017\Projects\Kaktusas\aspnet-core\src\Kaktusas.Web.Core\Controllers\TokenAuthController.cs:line 385 at Kaktusas.Web.Controllers.TokenAuthController.ExternalAuthenticate(ExternalAuthenticateModel model) in C:\Users\Mano\Documents\Visual Studio 2017\Projects\Kaktusas\aspnet-core\src\Kaktusas.Web.Core\Controllers\TokenAuthController.cs:line 266 at lambda_method(Closure , Object ) at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()
to be more precise - a call: var userInfo = await _externalAuthManager.GetUserInfo(model.AuthProvider, model.ProviderAccessCode);
throws an exeption.
Currently we prepare our asp.net zero project (not the "ASP.NET Core/MVC based public web site", but that side with angular/metronic) to the public users maybe could you suggest easiest way how to achieve that?
Currently we see the trouble with angular because by default on each start of the project web UI call the "/AbpUserConfiguration/GetAll" in AppPreBootstrap.ts and after set all properties of "abp" like clock, localization, etc. So first we think maybe the easiest way would be modify back-end code in "AbpUserConfigurationController" which use "abpUserConfigurationBuilder.GetAll()" (looks like this method set all return values which are after used in angular) and prepare some default return config for all not register users. Still not sure if this is the best approach?! However, to implement this, we need override abpUserConfigurationBuilder > GetAll() method, how we could do this?
Thanks for your answer. Any planned date for a next release?
Hello, I did some performance testing. After all, I am bit confused - main.js takes ~8,5s to load as well as 1,2 gzipped size looks too big (https://prnt.sc/lkuiw5). Most size is occupied by node modules (https://prnt.sc/lkug7e).
Do we really need all modules from package.json?
Currently we prepare our asp.net zero project to the public (not the "ASP.NET Core/MVC based application for your public web site", but that side with angular/metronic) and I have question regarding that, maybe is exists any easy possibilty to create new role for for all not register users(public), this would help us to control all permision in one place for all users, registered and not?