All Projects → Ignition-Group-Open-Source-Contrib → Dapr-Microservice-Template

Ignition-Group-Open-Source-Contrib / Dapr-Microservice-Template

Licence: MIT license
A Microservice Template using Dapr.io and Kubernetes

Programming Languages

C#
18002 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to Dapr-Microservice-Template

Codist
A visual studio extension which enhances syntax highlighting, quick info (tooltip), navigation bar, scrollbar, display quality and brings smart tool bar to code editor.
Stars: ✭ 134 (+332.26%)
Mutual labels:  visual-studio, vsix
Community.VisualStudio.Toolkit
Making it easier to write Visual Studio extensions
Stars: ✭ 165 (+432.26%)
Mutual labels:  visual-studio, vsix
Unchase.OpenAPI.Connectedservice
📜 Visual Studio extension to generate OpenAPI (Swagger) web service reference.
Stars: ✭ 69 (+122.58%)
Mutual labels:  visual-studio, vsix
OptionsSample
A Visual Studio extension sample
Stars: ✭ 14 (-54.84%)
Mutual labels:  visual-studio, vsix
PrivateGalleryCreator
Create private extension galleries for Visual Studio
Stars: ✭ 96 (+209.68%)
Mutual labels:  visual-studio, vsix
vsixbootstrapper
An installer that can be chained with other packages to locate the latest VSIXInstaller.exe to use for installing VSIX extensions.
Stars: ✭ 19 (-38.71%)
Mutual labels:  visual-studio, vsix
fsharp-linting-for-vs
Visual Studio Linter for F#
Stars: ✭ 33 (+6.45%)
Mutual labels:  visual-studio, vsix
Vsvim
Vim Emulator Plugin for Visual Studio 2015+
Stars: ✭ 3,232 (+10325.81%)
Mutual labels:  visual-studio, vsix
FineCodeCoverage
Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
Stars: ✭ 391 (+1161.29%)
Mutual labels:  visual-studio, vsix
vsSolutionBuildEvent
🎛 Event-Catcher with variety of advanced Actions to service projects, libraries, build processes, runtime environment of the Visual Studio, MSBuild Tools, and …
Stars: ✭ 66 (+112.9%)
Mutual labels:  visual-studio, vsix
Unchase.Odata.Connectedservice
📜 A Visual Studio extension for connecting to OData services with generating client-side C# proxy-classes
Stars: ✭ 39 (+25.81%)
Mutual labels:  visual-studio, vsix
moosefs-csi
Container Storage Interface (CSI) for MooseFS
Stars: ✭ 44 (+41.94%)
Mutual labels:  kubernetes-cluster
kubectl-janitor
List Kubernetes objects in a problematic state
Stars: ✭ 48 (+54.84%)
Mutual labels:  kubernetes-cluster
kubernetes-mongodb-shard
Deploy a mongodb sharded cluster on kubernetes.
Stars: ✭ 38 (+22.58%)
Mutual labels:  kubernetes-cluster
EmptyLicensesLicx
Easy continuous integration of apps using third-party controls that rely on licenses.licx files
Stars: ✭ 57 (+83.87%)
Mutual labels:  visual-studio
terraform-aws-eks-node-group
Terraform module to provision EKS Managed Node Group
Stars: ✭ 14 (-54.84%)
Mutual labels:  kubernetes-cluster
MushROMs
Super Nintendo game editing libraries and tools
Stars: ✭ 24 (-22.58%)
Mutual labels:  visual-studio
mck8s
mck8s: Orchestration platform for multi-cluster k8s environments
Stars: ✭ 60 (+93.55%)
Mutual labels:  kubernetes-cluster
KubeScrape
KubeScrape: An open-source dev tool that provides an intuitive way to view the health, structure, and live metrics of your Kubernetes cluster
Stars: ✭ 133 (+329.03%)
Mutual labels:  kubernetes-cluster
crash-diagnostics
Crash-Diagnostics (Crashd) is a tool to help investigate, analyze, and troubleshoot unresponsive or crashed Kubernetes clusters.
Stars: ✭ 157 (+406.45%)
Mutual labels:  kubernetes-cluster

Dapr-Microservice-Template

A Microservice Template for visual studio using Dapr.io and Kubernetes

Introduction

This VS template makes it easy to create microservices that can be deployed as Dapr applications into a Kubernetes Cluster. Includes a .VSIX project to create a VS Extention installer.

Available from the Visual Studio Marketplace : Visual Studio 2022 - https://marketplace.visualstudio.com/items?itemName=IgnitionGroup.DaprMicroServiceVS2022

Older versions -https://marketplace.visualstudio.com/items?itemName=IgnitionGroup.DaprMicroService

Prerequisites

  • Visual Studio 2022 or Visual Studio 2019
  • .NET Core 3.1

Getting Started

Install the Dapr microservice template from the link above. Once installed click on Extensions -> Manage Extensions from the menu in visual Studio. Under installed extentions you should find the Extension Installed.

VS Dapr template Extension

To create a new project in visual studio using the template

  • Add a new project by selecting File -> New Project.
  • Select Dapr Microservice Template for the project type and fill in the project information. Click on Create
  • A custom prompt will ask for the microservice application name to be used by the Dapr on deployment into the Kubernetes cluster.

The information captured in the customer prompt will replace the template variables in the yaml files found in the project.

annotations: dapr.io/enabled: "true" dapr.io/id: "$daprAppName$" dapr.io/port: 3000

A new project will be created as below

Microservice Project

DaprMicroserviceTemplate project

Building a Docker Image

DockerFile - Contains the commands to build a Docker image for the microservice.

YAML Files

T4 Templating - Deployment files are generated using T4 template. See Data.txt for settings.

DeployDev.yaml - For development - Contains the information for deployment into a dev/Test kubernetes cluster

DeployProd.yaml - For Production - Contains the information for deployment into a production kubernetes cluster

Azure-Pipelines.yaml - File used to Create the microservice Deployment pipeline for Micrsoft Azure Dev Ops

Custom Nuget Sources

Nuget.config - Add any additional package sources to this file. Required to build the docker image correctly using dot net Restore.

Log4Net Logging

Log4Net.config - This template uses Log4net for logging. Contains a console and Gelf4Net.UdpAppender logger. Development and Production files generated by T4 template

Open Api (Swagger) Support

Swagger is a set of open-source tools built around the OpenAPI Specification that can help you design, build, document and consume REST APIs

Api Response Wrapper

Uses AutoWrapper.Core for a consistent api response format across microservices :https://github.com/proudmonkey/AutoWrapper

TemplateInstaller - VSIX Project

This project will create a .VSIX installer for the Microservice Template.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].