Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Muhammd Majid
    @majumajid
    Awaiting for english version
    Piotr Gankiewicz
    @spetz
    if there's a market for it, we will think of recording the course in English
    it's about 20 hours of deep technical stuff and there's also Event Storming session recorded by experts (as a "modelling technique" and a business/soft part of the overall course)
    Muhammd Majid
    @majumajid
    👌 Great
    Nico Sap
    @NicoJuicy

    Mmm, 2 questions:

    • Muhammed mentioned that the UserHandler is in the infrastructure. I haven't noticed it before, i suspected it would be in the Application, since the .Application can use IRepostory<Item> and then do what it wants. Independant of the Infrastructure. No? What is the reason behind putting it in Infrastructure and not in Application

    • if you have a customer with a List<Guid> CompletedOrders (like in Pacco). Where would you place the GetOrdersByCustomerId? In the Customer module or in the ordering module? I see the customer in the CustomerModule has a List<Guid> CompletedOrders , but i don't see the appropriate handlers. Just the GetOrders with a optional CustomerId in the Orders module. How would a "GetCompletedOrdersByCustomerId" handler look like? Similar?

    Gary
    @Graphimage
    image.png
    can you tell me what the use of payload and schema in the customer-service?
    Gary
    @Graphimage
    this was available in the ntrada.yml
    Gary
    @Graphimage
    i removed payload and schema in the ntrada.yml then created new customer there is no effect in the program and in the mongodb customer-service
    Mike
    @Micky-G
    @spetz @GooRiOn Hi guys, I am messing about with trying to get a better understanding of Kubernetes at the moment and have managed to get your DShop application up and running on a MicroK8s installation. There are still a couple of infrastructure components that I need to get sorted like Prometheus and Grafana but was just wondering if its something you guys would like me to share with you? Its obviously not production ready or anything like that and just there to help with learning the topic of k8s but its a start. Anyway, thought I would ask.
    Nico Sap
    @NicoJuicy
    @spetz what do you guys think of http://jasperfx.github.io/ ?
    Muhammd Majid
    @majumajid
    Should we required virtual machine or app service is enough from azure/alibaba cloub/aws to host distributed application ? Any vm configuration advise ?
    amilcarwong
    @amilcar34706591_twitter
    Hello all, I dont found one link to the complete solution sln. can you help to me . thanks
    amilcarwong
    @amilcar34706591_twitter
    sorry I understood, each solution is independent , thanks
    another question , can I run all the project on Ubuntu system?
    Nico Sap
    @NicoJuicy
    @amilcar34706591_twitter If it's .net core or .net shared, yes
    There is a sln to combine all projects fyi
    ( a seperate project that combines all of them)
    Muhammd Majid
    @majumajid
    Authors waiting for your answer
    Nico Sap
    @NicoJuicy
    Lol @majumajid Here's where to find the information for Pacco: https://github.com/devmentors/Pacco/blob/master/docker-images.txt
    It uses docker...
    Muhammd Majid
    @majumajid
    @NicoJuicy What about version of Api in micro service ?
    Example :
    api/v1/customer
    api/v2/customer
    provanguard
    @provanguard
    Hi Guys, I am impressed with your work and would like to hear whether the source code you provide on github is close to being production ready? I am in particular interested in securing inter-service communication on production where all services are running in publicly available web applications in Azure (not inside k8s). Can you point me to any specific resources - in your source code or presentations that cover this topic?
    Olli Elolähde
    @Olli64
    @majumajid that can be implemented in several ways. You can either have application that internally supports multiple different versions.
    You may also do this on infrastructure side with versioning in containers for example.
    /api/v1 points from ingress/load balancer to a container that is version 1
    /api/v2 points from ingress/load balancer to a container that is version 2
    asp.net has versioning supported in asp.net core.
    you can use attributes to tell what action is supported for what version.
    https://github.com/microsoft/aspnet-api-versioning
    Muhammd Majid
    @majumajid
    Thank you @Olli
    Olli Elolähde
    @Olli64
    And then of course you could have different branches for different supported versions
    Muhammd Majid
    @majumajid
    2nd option not seems nice
    I have 3 web application system that shares same micro services , and apart from this mobile app and POS also there to consume this micro services. And external integrators.
    I am suppose to implement Identity server which have more capability to handle security. As per my earlier question's answer identity server has nothing to do with micro service. Still i think its has something to do with my case .
    Could anyone suggest to create 3 API gateway (for mob/POS, web, external integrator) ??
    I use PostgreSQL with Efcore instead of mangodb .
    Olli Elolähde
    @Olli64
    of course you can implement api gateway to every application separately if you need to. just dont overcomplicate things. as for identity server, i dont think it has nothing to do with apis themselves. it is an implementation to give you an token which you validate inside your apis. doesnt matter if its aad, 0auth, identity server
    altnp
    @altnp

    @spetz any idea why the latest PACO Api Gateway is not working when role: admin is enforced?

    I pulled down the latest version and keep getting 403's. As soon as I remove the claims: role: admin everything works fine.

    There are not any additional details in the logs for me to provide.

    Muhammd Majid
    @majumajid
    Anyone using Windows VPS ? Or Azure VM ?
    Any suggestion ?
    I have to host micro services with PostgreSQL
    Olli Elolähde
    @Olli64
    @majumajid have you considered using kubernetes or app service?
    Muhammd Majid
    @majumajid
    we need to install lot of app like seq, redis cache, rabbit . Is it possible in app service ? AFAIK, no
    Olli Elolähde
    @Olli64
    Well if im not mistaken, you can run containers in app services.
    You may also look into creating aks cluster if you have multiple microservices with infra apps like seq, redis, prometheus, grafana, rmq.
    You may also look into azure container instances where you can run containers without managing servers.
    There should be a better way than running your own virtual machines where you need to handle all the updates etc by yourself.
    If you're using cloud, use its features
    Muhammd Majid
    @majumajid
    Ok
    Thank you , will check that
    Muhammd Majid
    @majumajid
    Dear Authors
    I have seen that Pacco.Web is Blazor server side app.
    Do you have any production app running on blazor server side app ?
    Muhammd Majid
    @majumajid
    ANYONE PLEASE HELP,
    I have project , need someone help to verify my project structure .
    I have 3 web application which customer use. (Built in angular)
    Abc.project.com
    Mnp.project.com
    Xyz.project.com
    I have around 10 microservices which have following user via API gateway
    MobileApp
    Above 3 web app.
    External integration system
    Now point ,project owner want to use IdentityServer for identity
    To allow external integrator , i hope i can use clientcredintial flow
    2 . How to make login for angular js app ?
    (Redirect to authentication server for login and call back to angular web app ??)
    3 . How to make login for mobileapp ?
    (ResourceOwnerPassword ?)
    Muhammd Majid
    @majumajid
    Hey Guys ,
    anyone could tell , when events published via _messageBroker
    What happening next
    Any video available ?
    ShareDev
    @ShareDev
    Hi everyone! can anyone tell me, how can I change mongo to postgressql using convey?
    Muhammd Majid
    @majumajid
    @ShareDev Its better create another nuget package which dealing with postgresql if u want to use it or u can install postgresql package in all ur project
    Dear Author or Anyone, How do you track database schema changes when doing database first approach in pacco and dshop
    Muhammd Majid
    @majumajid
    What is reason behind using all table PK as guid ??
    Muhammd Majid
    @majumajid
    Any one explain where is jwt token is used ?
    Leonardo Moreno
    @Leitee
    Jwt is one of the most used library for Web Token management. When you add auth based on token on your login. This means you app is consuming a service which requires a token for validation.
    A common case is send your credentials to a login server and then it will response you with a token, then you are gonna use that token for secure communication with server, sending it int the http header for each request.
    Muhammd Majid
    @majumajid
    @Leonaardo I have understand , my question how its used for protecting micro services in Paccor Or Dshop , because i cannot see any [Authorize] attribute is used or any Extension.