Skip to content
| Marketplace
Sign in
Visual Studio>Templates>OnionTopGear
OnionTopGear

OnionTopGear

Cristiano Andrade Franco

|
1,052 installs
| (1) | Free
A simple Onion architecture template. This package includes AutoMapper, Flunt Notifications, EF Core SqlServer and Swagger.
Download

Tope-Gear-game-3.jpg


Welcome to our template. It is an entry point for Onion architecture and comes from the factory with some treats.

Please remember to change the connection string in the appsettings.json file.

This model considers the existence of a table in the database, according to the following scheme:

USE [VehicleDb]
GO

/****** Object:  Table [dbo].[Vehicle]    Script Date: 26/05/2021 16:49:03 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Vehicle](
	[Id] [uniqueidentifier] NOT NULL,
	[LicensePlate] [varchar](10) NOT NULL,
	[Manufacturer] [nvarchar](50) NOT NULL,
	[Model] [nvarchar](50) NOT NULL,
	[Year] [smallint] NOT NULL,
	[Tariff] [decimal](16, 2) NOT NULL,
 CONSTRAINT [PK_Veiculo] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO

Evolution

v2.1

  • Added support for Microsoft Visual Studio 2022

v2.0

  • Added Microsoft.EntityFrameworkCore.SqlServer
  • General refactoring
  • Unit Tests with XUnit and Moq
  • Swagger

v1.0

  • Onion Architecture with suopport to Flunt Notifications and AutoMapper

Please report the improvements.

You are welcome.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft