Actually i have the same problem with both versions Angular 1 & 2 What is wrong ?
how that considered as normal behavior as it continued to refresh even you left the dashboard page?
Hi
for your first question it's related to this issue [https://github.com/aspnetzero/aspnet-zero/issues/490])
for your second question it's related to this issue [https://github.com/aspnetzero/aspnet-zero/issues/461]) this feature already implemented in Angular 2 version and i don't think so they going to implement it in Angular 1.x version please refer to this post [https://forum.aspnetboilerplate.com/viewtopic.php?f=5&t=9233])
Regards
thank you it works just fine by adding this method and call it in AppPreBootstrap
AppPreBootstrap.getEnums(callback);
private static getEnums(callback: () => void) {
return abp.ajax({
url: AppConsts.remoteServiceBaseUrl + '/Enums',
method: 'GET'
}).done(result => {
AppConsts.Enums = JSON.parse(result.data);
callback();
});
}
but i wounder if you can explain to me this methods in some details 1-
static bootstrap<TM>(moduleType: Type<TM>, compilerOptions?: CompilerOptions | CompilerOptions[]): Promise<NgModuleRef<TM>> {
return platformBrowserDynamic().bootstrapModule(moduleType, compilerOptions);
}
2- (callback: () => void) that exists in many methods
thanks
Thank you for your help
for public website separation i almost get the idea but what about the project web.host that responsible for hosting API do i need to create public website (separated one) in the same solution or in different solution , so what about the existing one ?
Hi i'll try and let you know
Thanks
Hi @ismcagdas
I know that Separation is not that easy and i'm asking you to help me with that because you got the experience as you mention from Angular 2 version so any ideas how can i do that or what point should i start with to make separation as you did in Angular 2? can you share with me your experience about that ? what if i need just to separate public website as first step ?
thanks
Hi @ismcagdas Thank you for ur reply and help BWT i created ticket as u ask :) [https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2232])
thanks
Hi @ismcagdas
BWT i didn't made any changes to users page in both client side and server side and i have the problem all my pages that i use ui-grid ,
returned data
result:
{totalCount: 1, items: [{name: "admin", surname: "System Administrator", userName: "admin",…}]}
thanks
Hi @ismcagdas
yes that what i meant actually as mention in documentation ASP.NET Core's default provider uses culture & ui-culture URL query string values if present but ASP.NET MVC 5.x don't , so how can i implement same behavior here as i still using ASP.NET MVC 5.x
Thanks