Giter Club home page Giter Club logo

configurationcase's Introduction

Configuration Case

Asp.net Core 5 ile Farklı Projelerin Ortak Bir servis üzerinden Db Read ve Write Operasyonları Yapıldığı ve RabbitMq üzerinden Message Broker ile Farklı bir Web Api Projesinin Hangfire Jobları ile Güncel kayıtları dinleyip Redis Cache'e kayıt atan bir solution.

Projede Kullanılan Teknolojiler:

  • .Net 5 Core Restful Web Servisleri
  • EF Core Code First Migrations
  • Hangfire Jobs
  • Masstransit ve RabbitMq ile Message Broker
  • AutoMapper
  • Redis Cache
  • MsSql Server

Common DAL:

Db Context Nesnesinin ve Migrationların Bulunduğu Class Librarydir

CommonService:

Okuma ve Yazma Operasyonlarının Yönetildiği Ortak Bir Servistir. Listeleme, Ekleme, Güncelleme ve Silme İşlemleri Yönetilir. GetValue methoduna da bu servis üzerinden erişebilir. DAL Librarysini referans alıp veritabanına erişim işlemlerini DAL projesi içerisindeki Db Context nesnesi ile sağlar

ConfigurationSource

Bu proje bağımsız bir web projesi olup, Service A ve Service B'den publish olan eventları consume ederek, event consume edildiği anda, parametreden gönderilen ConString, AppName ve Miliseconda göre belli aralıklarda Confgiuraton DB'ye istek atıp, son ve güncel dataları distributed Redis Cachea atar.

Bu projede Hangfire Job perform edilmiştir ve istenilen zaman aralıklarına göre Joblar execute edilir. Dashboard üzerinden de joblar monitoring edilebilir.

ServiceA ve ServiceB

Bu 2 proje de bağımsız projeler olup CommonService ile haberleşir ve bu servisler üzerinden Configuration CRUD operasyonlarını gerçekleştirir. Sadece kendi ApplicationName isimlerine göre confgiuration kaydı atıp listeleyebilirler. Ayrıca her iki proje de ConfigurationSource projesine event publish edip Job başlatabilir.

configurationcase's People

Contributors

mustafaalkan64 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.