IVY.Custom.Template 3.0.8

dotnet new install IVY.Custom.Template::3.0.8
This package contains a .NET Template Package you can call from the shell/command line.

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
  1. Clone the repository
  2. Create a folder for your project and create a yml file.
  3. 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 New project

Step 3:

Select required projects based on your requirement and click create. Give your project DISME shortcut in place of AppShortName Select Projects

Selected projects will be created End Result

  • 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.

Version Downloads Last updated
3.0.8 586 6/19/2023
3.0.7 143 6/19/2023
3.0.6 150 6/17/2023
3.0.5 172 6/17/2023
3.0.4 173 6/16/2023
3.0.3 140 6/16/2023
3.0.2 165 6/16/2023
3.0.1 184 6/16/2023
3.0.0 192 6/16/2023
2.0.0 172 6/15/2023
1.0.0 188 6/15/2023