أنشطة "learnabp"

Why, ABP create them automatically right?? if i follow the BookStore Tutorial then it is all automatic no need to create API Controller

If i have to create a APIController in what project ?

hmmmm thats not good .... it would be good if that was documented somewhere

can you please explain this a little bit more, having explored the samples like the Blogging modules.

I can't see a reason why the API have to be implemented in *.HTTPApi as they are all being implemented, so wouldn't it be better to just automagiclly create them ?

we are trying to create a front end app which is basically runs as a Office Add In using the following library

https://www.initgrep.com/posts/javascript/angular/microsoft-office-addin-using-angular-cli

and we want to use ABP as backend and access API's from the angular app. in aspnetzero we could get a token but with identity server how do we get token by passing username and pass word?

perfect thats exactly what we need .... we also want to take advantage of the abp generate-proxy each time we update the services rather then updating manually could you pleaae show us how we can do that in the custom-angular app in the example you have generated for us ?

Yes thats worked i had to clearn Browser Cache "All time" in advanced tab of chrome

Thank you for the info @bunyamin this is excellent.

Just have a final question about how we can validate and check permissions what are the methods which are in @abp\ng.core to check if the user has been granted the permisssion to show and hid admin buttons?

Just tried running abp generate-proxy and getting the below error

we have switched to using the MVC template with the custom-anular app so do i need to do some config on the *.Web project in the aspnet folder?

Your help would be greatly appricated

here is the error

PS C:\Projects\GitLab\DesertFire.Ppm\word-angular> abp generate-proxy [18:44:59 INF] ABP CLI (https://abp.io) [18:45:00 INF] Version 4.2.0 (Stable) [18:45:03 WRN] Couldn't determinate version of "@abp/ng.schematics" package. [Invalid Module] Backend module "app" does not exist in API definition. PS C:\Projects\GitLab\DesertFire.Ppm\word-angular>

Thanks for your reply @bunyamin we are running the custom-angular app inside of Word Addin which uses IE Edge Legacy Web Viewer

It seems that when I login and supply credentials the AccessToken is not retrived on first attempt i have to press on the Login button quite a few times before it sucessfullt logins.

COuld you please suggest why this behaviour is happening ?

عرض 1 الي 10 من 91 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11