Skip to content

Commit 2d8465e

Browse files
committed
improvement: Forders are renamed
1 parent 963c2d8 commit 2d8465e

6 files changed

Lines changed: 13 additions & 1 deletion

File tree

ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/App_Start/Profiles/DefaultProfile.cs renamed to ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/Configuration/AutoMapperProfiles/DefaultProfile.cs

File renamed without changes.

ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/App_Start/Modules/DefaultModule.cs renamed to ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/Configuration/AutofacModules/DefaultModule.cs

File renamed without changes.

ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/App_Start/DependenciesConfig.cs renamed to ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/Configuration/DependenciesConfig.cs

File renamed without changes.

ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/App_Start/MiddlewareConfig.cs renamed to ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/Configuration/MiddlewareConfig.cs

File renamed without changes.

ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/Dto/Product.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/// <summary>
44
/// DTO for reading product (-s)
55
/// </summary>
6+
67
public class Product
78
{
89
/// <summary>
@@ -13,6 +14,7 @@ public class Product
1314
/// <summary>
1415
/// Product name
1516
/// </summary>
17+
/// <example>lime</example>
1618
public string Name { get; set; }
1719
}
1820
}

ProjectTemplates/AspNetCore.WebApi/ReferenceProject/ReferenceProject/ReferenceProject.csproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<LangVersion>latest</LangVersion>
56
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
89
<DefineConstants>DEBUG;TRACE</DefineConstants>
910
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10-
<WarningsAsErrors>NU1605</WarningsAsErrors>
11+
<WarningsAsErrors></WarningsAsErrors>
1112
<NoWarn>1701;1702;1591</NoWarn>
13+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
14+
</PropertyGroup>
15+
16+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
17+
<NoWarn>1701;1702;1591</NoWarn>
18+
<DefineConstants />
19+
<DocumentationFile>obj\Release\netcoreapp2.1\ReferenceProject.xml</DocumentationFile>
20+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
21+
<WarningsAsErrors />
1222
</PropertyGroup>
1323

1424
<ItemGroup>

0 commit comments

Comments
 (0)