chore: configuración inicial del proyecto .NET

This commit is contained in:
javiermengual 2025-12-29 16:37:45 +01:00
commit f98870bbe6
3 changed files with 83 additions and 0 deletions

37
.gitignore vendored Normal file
View File

@ -0,0 +1,37 @@
## Build artifacts
bin/
obj/
/packages/
out/
## IDE - Rider / IntelliJ
.idea/
*.iml
riderModule.iml
/_ReSharper.Caches/
.idea_modules/
## IDE - Visual Studio
.vs/
*.user
*.suo
*.userosscache
*.sln.docstates
## User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
## OS files
.DS_Store
Thumbs.db
## Logs
*.log
## Environment variables
.env
.env.local

21
DoliMiddlewareApi.sln Normal file
View File

@ -0,0 +1,21 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoliMiddlewareApi", "DoliMiddlewareApi\DoliMiddlewareApi.csproj", "{9A700A1E-080F-4B0D-BD3D-3E5B31B488EC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{80B950A9-EE40-496C-8168-82D2E82668DD}"
ProjectSection(SolutionItems) = preProject
compose.yaml = compose.yaml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9A700A1E-080F-4B0D-BD3D-3E5B31B488EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9A700A1E-080F-4B0D-BD3D-3E5B31B488EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9A700A1E-080F-4B0D-BD3D-3E5B31B488EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9A700A1E-080F-4B0D-BD3D-3E5B31B488EC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0"/>
</ItemGroup>
<ItemGroup>
<Content Include="..\.dockerignore">
<Link>.dockerignore</Link>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="Controllers\" />
<Folder Include="Models\" />
</ItemGroup>
</Project>