antosubash / blog-comments

MIT License
0 stars 0 forks source link

posts/netcore-microservice-with-abp-distributed-event-bus-part-9 #11

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

.Net Core microservice application with ABP - Distributed Event Bus - Part 9 | Anto | Anto Subash

https://blog.antosubash.com/posts/netcore-microservice-with-abp-distributed-event-bus-part-9

RezaPouya commented 2 years ago

hi , thanks for your great tutorial , I don't need tenant management , feature management and setting management in my design , so I only have 2 diffrent module :

my problem is that when I migrate data , the Permission for "admin' doesn't get created , how I work around it !?

RezaPouya commented 2 years ago

I added permission manually to PermissionGrant Table in my database , and now , it works ... but how can I add these automatically in DbMigrator ?

antosubash commented 2 years ago

@RezaPouya take a look at https://blog.antosubash.com/posts/netcore-microservice-with-abp-db-migration-part-6 there is a data seeder for the Identity Server. create something like that for permission.

emilessa commented 2 years ago

I would like to thank you for a great tutorial but I'm a newbie for ABP framework so, so I follow your steps but I face an issue when I try to create a new tenant the save button is disable :) Thanks in advance

antosubash commented 2 years ago

@emilessa It is very hard to say what might be the problem. Are there any logs you can share? there should be an exception somewhere.

JioJun commented 2 years ago

hi , thanks for your great tutorial my result of the code I built is not consistent with the expectation , result is tenant data write in IdentityService database not SaaSService database

may I ask this what could be the reason ?

antosubash commented 2 years ago

@JioJun It seems like you have the wrong connection string. check your connection string.

JioJun commented 2 years ago

It's really the connection string. thank you

emilessa commented 2 years ago

@antosubash it's very funny all things is working good just I don't use a strong password when creating a new tenant and the form don't tell me what is wrong there is no validation message there unlike creating a new user account :) .

antosubash commented 2 years ago

@emilessa Thanks for the update.

nelsonad commented 2 years ago

@antosubash My IdentityServer is responding very slowly, I think because of failures to connect to redis. Can you help me get it set up? I'm using the docker image redis:latest. I tried changing the app settings Redis.Configuration to "Configuration": "redis://default:redispw@localhost:49154" but it's still failing. Thanks in advance. Very cool walkthrough you've put together.

antosubash commented 2 years ago

@nelsonad it seems like your connection string is wrong. check here https://stackexchange.github.io/StackExchange.Redis/Configuration.html#basic-configuration-strings

nelsonad commented 2 years ago

@antosubash thank you. that article was able to get me up and running with redis and things are moving much faster now.

nelsonad commented 2 years ago

Hello @antosubash . Did you ever address the Resource not found! error when navigating to the MyAccount page while logged in?

antosubash commented 2 years ago

@nelsonad No. forgot about that. I will fix it when I'm back from vacation

MrChuJiu commented 2 years ago

Hi Anto Subash,This is a great ABP tutorial, I would like to organize the article for translation, video re-recording and post it to China, I will introduce the original text in the video, do you see it is possible

antosubash commented 2 years ago

@MrChuJiu sure, Why not, let me know if you need any help. Please ensure you provide proper credit to my youtube videos and blog post.

MrChuJiu commented 2 years ago

@antosubash Thanks you

MrChuJiu commented 2 years ago

Hi @antosubash, The current case projects refer to each other "EntityFrameworkCoreModule", the data needed are directly read from the database of other services, is it possible to decouple these coupling

julian-forster commented 2 years ago

@nelsonad @antosubash you have to add the Volo.Abp.Account module to the identityservice to fix the "Resource not found!" error.

nelsonad commented 2 years ago

@JulianForster01 That did it. I had to add DependsOn for AbpAccountApplicationModule and AbpAccountHttpApiModule to the IdentityServiceHttpApiHostModule.

Thanks for the help!

davidayalagt commented 6 months ago

Hi @antosubash I found your tutorial real helpful to get around ABP. I have a question, why is the event handler created in the host project, my first impression was that it should exists in the Application project since this is like a use case for the admin service or the auth server. Can you please help me understand this?

muhammadyudhat commented 1 week ago

Hi, thank you for your great tutorial. I have a question,

  1. What the purpose for this connection string ?

"ConnectionStrings": { "Default": "Server=(LocalDb)\MSSQLLocalDB;Database=Projects_Main;Trusted_Connection=True", "Projects": "Server=(LocalDb)\MSSQLLocalDB;Database=Projects_Module;Trusted_Connection=True"

  1. How if I want to create another microservice like e-commerce, InventoryManagement, OrderManagement?

Thanks in advance

muhammadyudhat commented 1 week ago
  1. How to publish this application in Plesk? Thank you so much