https://github.com/jusemon/onion.template
https://github.com/jusemon/onion.template
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jusemon/onion.template
- Owner: jusemon
- Created: 2022-09-21T21:06:02.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-20T18:37:21.000Z (over 3 years ago)
- Last Synced: 2025-01-31T08:15:24.824Z (over 1 year ago)
- Language: C#
- Size: 761 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Onion Template
Una plantilla con la arquitectura Onion aplicada a .NET Core
## Empezando
### Prerequisitos
- Nuget ([enlace](https://www.nuget.org/downloads))
- .NET Core ([enlace](https://dotnet.microsoft.com/download))
### Instalando
Una vez clonado el repositorio, se deben ejecutar en el cmd las siguientes lineas en la carpeta padre:
```
nuget pack .\onion.template\Company.Project.nuspec
dotnet new -i Onion.Template.1.0.1.nupkg
```
## Creando proyectos
Una vez instalada la plantilla podemos consultar las opciones disponibles con:
```
dotnet new onion -h
```
Y para crear un proyecto nuevo usaremos:
```
dotnet new onion -o Nombre.Proyecto --title "Mi Proyecto" --company "Ejemplo SAS"
```