Skip to content

Commit 49020d2

Browse files
authored
Merge pull request #13 from Amitpnk/develop
Develop
2 parents 86da5a6 + 32845db commit 49020d2

File tree

77 files changed

+1592
-703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1592
-703
lines changed

Assert/Step.png

26.7 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"author": "Amit Naik",
3+
"classifications": [],
4+
"description": "WhiteApp or QuickApp API solution template which is built on Domain-Driven Design (DDD)-based with all essential feature using .NET Core",
5+
"name": "Onion Architecture",
6+
"defaultName": "OA",
7+
"identity": "OnionArchitecture.CSharp",
8+
"groupIdentity": "OnionArchitecture",
9+
"tags": {
10+
"language": "C#",
11+
"type": "project"
12+
},
13+
"shortName": "OnionArchitecture",
14+
"sourceName": "OA",
15+
"guids": [],
16+
"primaryOutputs": [
17+
{
18+
"path": "OA\\OA.csproj"
19+
},
20+
{
21+
"path": "OA.Data\\OA.Data.csproj"
22+
},
23+
{
24+
"path": "OA.Domain\\OA.Domain.csproj"
25+
},
26+
{
27+
"path": "OA.Infrastructure\\OA.Infrastructure.csproj"
28+
},
29+
{
30+
"path": "OA.Persistence\\OA.Persistence.csproj"
31+
},
32+
{
33+
"path": "OA.Service\\OA.Service.csproj"
34+
},
35+
{
36+
"path": "OA.Test.Integration\\OA.Test.Integration.csproj"
37+
},
38+
{
39+
"path": "OA.Test.Unit\\OA.Test.Unit.csproj"
40+
}
41+
]
42+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="ProjectGroup">
3+
<TemplateData>
4+
<Name>Onion Architecture</Name>
5+
<Description>WhiteApp or QuickApp API solution template which is built on Onion Architecture using .NET Core</Description>
6+
<TemplateID>OnionArchitecture.CSharp</TemplateID>
7+
<DefaultName>OA</DefaultName>
8+
9+
<Icon>project-icon.png</Icon>
10+
11+
<ProjectType>CSharp</ProjectType>
12+
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
13+
<SortOrder>5000</SortOrder>
14+
<CreateNewFolder>true</CreateNewFolder>
15+
<ProvideDefaultName>true</ProvideDefaultName>
16+
<LocationField>Enabled</LocationField>
17+
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
18+
<LanguageTag>C#</LanguageTag>
19+
<PlatformTag>windows</PlatformTag>
20+
<ProjectTypeTag>API</ProjectTypeTag>
21+
</TemplateData>
22+
<TemplateContent>
23+
<ProjectCollection/>
24+
<CustomParameters>
25+
<CustomParameter Name = "$language$" Value="CSharp" />
26+
<CustomParameter Name = "$uistyle$" Value="none"/>
27+
<CustomParameter Name = "$groupid$" Value="OnionArchitecture" />
28+
<CustomParameter Name = "SideWaffleNewProjNode" Value="CSharp\Web"/>
29+
</CustomParameters>
30+
</TemplateContent>
31+
<WizardExtension>
32+
<Assembly>Microsoft.VisualStudio.TemplateEngine.Wizard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
33+
<FullClassName>Microsoft.VisualStudio.TemplateEngine.Wizard.TemplateEngineWizard</FullClassName>
34+
</WizardExtension>
35+
</VSTemplate>

OnionArchitecture/OnionArchitecture.Data/CustomerContext.cs renamed to OnionArchitecture/OA.Data/CustomerContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.EntityFrameworkCore;
2-
using OnionArchitecture.Domain.Entities;
2+
using OA.Domain.Entities;
33

4-
namespace OnionArchitecture.Data
4+
namespace OA.Data
55
{
66
public class CustomerContext : DbContext
77
{

OnionArchitecture/OA.Data/CustomerContext.dgml

Lines changed: 172 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OnionArchitecture/OnionArchitecture.Data/Migrations/20200615073111_Initial-setup.cs renamed to OnionArchitecture/OA.Data/Migrations/20200627044955_Initial-setup.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using Microsoft.EntityFrameworkCore.Migrations;
2-
using System;
1+
using System;
2+
using Microsoft.EntityFrameworkCore.Migrations;
33

4-
namespace OnionArchitecture.Data.Migrations
4+
namespace OA.Data.Migrations
55
{
66
public partial class Initialsetup : Migration
77
{

0 commit comments

Comments
 (0)