Activities of "Neozzz"

Hi Liang,

I am already doing it, I'll keep the thread active with errors that I'll run into on the way ;) Btw it'd be good to have something to look into while we do this. May I suggest you that from your next iteration of microservice template, you could include a microservice service that uses mongo as well? Right now we have product-service that uses ef core, why not have one more service that uses mongo. This would be highly helpful.

helooo anybody there?

looks like this error is there in the product-service thats generated by default within the microservice pro template.

Could you please look into it? just run the product service swagger page through the tye dashboard or even try running the project separately and see. you'd see the error.

i followed the docs, and for those info that were missing i followed the product service project.

please look into this asap.

Thank you

Hi,

We were looking at the easycrm example from abp docs.

We've seen the advanced search implementation to retrieve a list of accounts through advanced search. Here we can at a time search and apply filter for only one word per field, for example we can retrieve a list of all accounts where country is USA.

Similarly, do we have any example or reference docs where we can obtain a list of accounts where country is USA, New Zealand, Italy etc. for example? Something where we can pass multiple words as search terms to each fields?

Thank you.

  • ABP Framework version: v4.4.3
  • UI type: swagger/angular
  • DB provider: EF Core & MongoDB

hi,

we haven't started testing this with a domain name yet. this breaks while locally testing the application.

Hi, any updates please.

Sure, will pass this on to the team.

Thank you :)

Hi, but first the app should run in localhost right? I am sorry if I didn't understand you correctly.

I would like to add, how I had to write controller code and DI application service and write:

public class ActionName (Guid id) { return IApplicationService.UpdateEntity(id); }

This was something that was done for each action. While usually writing for an app, we don't edit the controller right? is there something that has to be taken care of at this point?

We have 4 microservice services which are being independently developed as separate applications. They have their own angular projects.

These applications are being ported into the microservice solution. It has it's own angular projects. How should we go about when it comes to merging the UI?

Will we have modules for each of these microservices and can it be generated in the main microservice angular project? If not, is there any best practices to follow while merging these independent angular ui projects of these separate applications?

Thank you

  • ABP Framework version: v4.4.3
  • UI type: Angular
  • DB provider: EF Core & MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): microservice

I have added a microservice service to a microservice solution. I followed the directions given in this doc: https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice#running-the-solution

Then followed this doc: https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication#updating-orderservice-application-contracts

Then did a migration and ran the project using:

tye run --watch

I am able to access the newly added end-point in swagger. But when I post data I get the error mentioned in the title.

The following is the trace.

Request starting HTTP/2 POST https://localhost:44337/api/app/product-type application/json 1122
2021-11-01 13:02:21.649 +04:00 [INF] Executing endpoint 'ZW.ProductSvc.ProductTypes.ProductTypeController.CreateAsync (ZW.ProductSvc.HttpApi)'
2021-11-01 13:02:21.660 +04:00 [INF] Route matched with {action = "Create", controller = "ProductType", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Guid] CreateAsync(ZW.ProductSvc.ProductTypes.ProductTypeCreateDto) on controller ZW.ProductSvc.ProductTypes.ProductTypeController (ZW.ProductSvc.HttpApi).
2021-11-01 13:02:21.662 +04:00 [ERR] The required antiforgery cookie ".AspNetCore.Antiforgery.Schh12Bn9tQ" is not present.
2021-11-01 13:02:21.662 +04:00 [INF] Authorization failed for the request at filter 'Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter'.
2021-11-01 13:02:21.665 +04:00 [INF] Executing HttpStatusCodeResult, setting HTTP status code 400
2021-11-01 13:02:21.665 +04:00 [INF] Executed action ZW.ProductSvc.ProductTypes.ProductTypeController.CreateAsync (ZW.ProductSvc.HttpApi) in 5.2878ms
2021-11-01 13:02:21.665 +04:00 [INF] Executed endpoint 'ZW.ProductSvc.ProductTypes.ProductTypeController.CreateAsync (ZW.ProductSvc.HttpApi)'
2021-11-01 13:02:22.658 +04:00 [DBG] Added 0 entity changes to the current audit log
2021-11-01 13:02:22.658 +04:00 [DBG] Added 0 entity changes to the current audit log
2021-11-01 13:02:22.663 +04:00 [INF] Request finished HTTP/2 POST https://localhost:44337/api/app/product-type application/json 1122 - 400 0 - 1016.7524ms

Please let me know what might be causing this issue.

Thank you

Showing 31 to 40 of 128 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21