IVY.Custom.Template
3.0.8
dotnet new install IVY.Custom.Template::3.0.8
CustomTemplate
This package template creates skeleton projects needed for a web application.
Prerequisites:
.net 6, VisualStudio 2022
Installation:
dotnet new install IVY.Custom.Template
Custom template has below projects:
Table of Contents
CustomTemplate.Web
CustomTemplate.Service
CustomTemplate.Providers
CustomTemplate.Processor
CustomTemplate.MetricCounters
CustomTemplate.Kafka
CustomTemplate.IntegrationTests
CustomTemplate.UnitTests
CustomTemplate.GraphQL
CustomTemplate.ElasticSearch
CustomTemplate.DataAccess
CustomTemplate.Contracts
<a name="webproj"></a>
.Web project
It is a webapi project with basic setup. Has nlog, appsettings, program.cs, controllers, healthconfig etc <a name="serviceproj"></a>
.Service project
Provides classes to connect with other API's <a name="providerproj"></a>
.Providers project
Add your providers in this project(eg: Dynacon, hosted services etc.) <a name="metriccounterproj"></a>
.MetricCounters project
Implementation of metric counters <a name="kafkaproj"></a>
.Kafka project
Implementation of kafka. Edit the configurations based on your connection strings.
Creation of Kafka Topic
- Clone the repository
- Create a folder for your project and create a yml file.
- Refer this link for further info about kafka topic creation <a name="integrationproj"></a>
.IntegrationTests project
Basic setup of integration tests for the current web apis <a name="unittestproj"></a>
.UnitTests project
Basic setup of unit tests <a name="graphqlproj"></a>
.GraphQL project
Has basic setup of graphql <a name="elasticsearchproj"></a>
.ElasticSearch project
Has basic setup of ElasticSearch implementation. Creates elastic search client. <a name="dataaccessproj"></a>
.DataAccess project
Contains basic setup to access SQL server objects. <a name="contractsproj"></a>
.Contracts project
Include all your project models in this project
Usage:
Creates basic setup for a web api project with above functionalities. We can choose these projects while creating new solution based on our requirement.
Step1:
Install IVY.Custom.Template with below command
dotnet new install IVY.Custom.Template
Step 2:
Create new project using IVY.Custom.Template in visual studio 2022
Step 3:
Select required projects based on your requirement and click create. Give your project DISME shortcut in place of AppShortName
Selected projects will be created
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.