{"id":30443518,"url":"https://github.com/holomodular/servicebricks-examples","last_synced_at":"2025-08-23T09:20:28.248Z","repository":{"id":236604120,"uuid":"792927324","full_name":"holomodular/ServiceBricks-Examples","owner":"holomodular","description":"ServiceBricks Example Quickstart Applications","archived":false,"fork":false,"pushed_at":"2025-01-14T21:39:46.000Z","size":2971,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-14T22:36:06.626Z","etag":null,"topics":["architecture","barebones","examples","microservices","quickstart","servicebricks"],"latest_commit_sha":null,"homepage":"http://ServiceBricks.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/holomodular.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"holomodular"}},"created_at":"2024-04-28T00:11:51.000Z","updated_at":"2025-01-14T21:39:50.000Z","dependencies_parsed_at":"2025-01-14T22:30:59.350Z","dependency_job_id":"965f5028-8c1f-493c-901c-180347024d6c","html_url":"https://github.com/holomodular/ServiceBricks-Examples","commit_stats":null,"previous_names":["holomodular/servicebricks-examples"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/holomodular/ServiceBricks-Examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holomodular%2FServiceBricks-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holomodular%2FServiceBricks-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holomodular%2FServiceBricks-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holomodular%2FServiceBricks-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holomodular","download_url":"https://codeload.github.com/holomodular/ServiceBricks-Examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holomodular%2FServiceBricks-Examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746313,"owners_count":24813558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["architecture","barebones","examples","microservices","quickstart","servicebricks"],"created_at":"2025-08-23T09:20:18.746Z","updated_at":"2025-08-23T09:20:28.234Z","avatar_url":"https://github.com/holomodular.png","language":"C#","readme":"![ServiceBricks Logo](https://github.com/holomodular/ServiceBricks/blob/main/Logo.png)  \n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n# ServiceBricks Example QuickStart Applications\n\n## Overview\n\nThis repository contains example applications built using the ServiceBricks foundation.\nThese examples are intended to provide you guidance on how to build your own applications quickly.\nAll of these examples use the official pre-built microservices we have available:\n\n* [Cache Microservice](https://github.com/holomodular/ServiceBricks-Cache)\n* [Logging Microservice](https://github.com/holomodular/ServiceBricks-Logging)\n* [Notification Microservice](https://github.com/holomodular/ServiceBricks-Notification)\n* [Security Microservice](https://github.com/holomodular/ServiceBricks-Security)\n\n\n# Starting Multiple Projects\nEach of the examples below contain multiple web applications.\nAfter opening the solution in Visual Studio, right click the solution and select the options for **Configure Startup Projects**. \nSelect the radio option for Multiple Startup Projects and change the drop down for each project to be Start.\nWhen you run the application, multiple browser windows will be displayed for each web application.\n\n\n# Deployment Examples\n\n## Example 1 - One Application One Database\n\n### Purpose\n\nThis example demonstrates how to host the ServiceBricks platform in a **single web application** and have all pre-built microservices store their data in a **single database** using the database engine you specify.\n\n#### In-Memory Service Bus\n\nSince all microservices are hosted within the same web application, we use the In-Memory Service Bus provider to allow microservices to communicate with each other.\n\n### Diagram\n\n![Example 1 Diagram](https://github.com/holomodular/ServiceBricks-Examples/blob/main/Example1-OneApplicationOneDatabase/Example1.png)  \n\n\n## Example 2 - One Application Multiple Databases\n\n### Purpose\n\nThis example demonstrates how to host the ServiceBricks platform in a **single web application** and have all pre-built microservices store their data in **multiple databases** using the database engine(s) you specify.\n\n#### In-Memory Service Bus\n\nSince all microservices are hosted within the same web application, we use the In-Memory Service Bus provider to allow microservices to communicate with each other.\n\n### Diagram\n\n![Example 2 Diagram](https://github.com/holomodular/ServiceBricks-Examples/blob/main/Example2-OneApplicationMultipleDatabases/Example2.png) \n\n\n## Example 3 - Multiple Applications One Database\n\n### Purpose\n\nThis example demonstrates how to host the ServiceBricks platform in **multiple web applications** and have all pre-built microservices store their data in a **single database** using the database engine you specify.\n\n#### Service Bus Required\n\nThis example requires the use of a Service Bus provider to communicate asynchronous messages between microservices.\nIt is setup to use Azure Service Bus, Basic with queues, but you can also use standard/advanced with topics and subscriptions.\n\n### Diagram\n\n![Example 3 Diagram](https://github.com/holomodular/ServiceBricks-Examples/blob/main/Example3-MultipleApplicationsOneDatabase/Example3.png) \n\n\n## Example 4 - Multiple Applications Multiple Databases\n\n### Purpose\n\nThis example demonstrates how to host the ServiceBricks platform in **multiple web applications** and have all pre-built microservices store their data in **multiple databases** using the database engine(s) you specify.\n\n#### Service Bus Required\n\nThis example requires the use of a Service Bus provider to communicate asynchronous messages between microservices.\nIt is setup to use Azure Service Bus, Basic with queues, but you can also use standard/advanced with topics and subscriptions.\n\n#### Service-Specific Logging (option)\n\nBy using a separate logging database for each web application, you achieve service-specific logging. \nYou will have to query each logging microservice on each web application to view all messages in the infrastructure.\n\n#### Centralized Logging (option)\n\nBy using the same logging database for all logging microservices in all web applications, you achieve centralized logging. \nYou can query one place to view logging messages for the entire infrastructure.\n\n### Diagram\n![Example 4 Diagram](https://github.com/holomodular/ServiceBricks-Examples/blob/main/Example4-MultipleApplicationsMultipleDatabases/Example4.png) \n\nAlternatively, you can also setup:\n\n![Example 4 Diagram](https://github.com/holomodular/ServiceBricks-Examples/blob/main/Example4-MultipleApplicationsMultipleDatabases/Example4CentralizedLogging.png) \n\n\n## Example 5 - Simple Security Web Application\n\n### Purpose\n\nThis is a copy of Example 1,  with the addition of controller methods, models and views to enable security for your website. \nIt contains example pages for registering, logging in, confirming your password, resetting your password and other standard pages to help secure your web application.\n\n\n\n# Feedback\n\nWe want to hear from our users. Let us know if you would like any more examples.\n\n\n# About ServiceBricks\n\nServiceBricks is the cornerstone for building a microservices foundation.\nVisit http://ServiceBricks.com to learn more.\n","funding_links":["https://github.com/sponsors/holomodular"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholomodular%2Fservicebricks-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholomodular%2Fservicebricks-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholomodular%2Fservicebricks-examples/lists"}