Solution to apply and share new knowledge and technologies and to serve as architecture for new projects.
- Cross-Platform (Windows, Linux, macOS)
- Visual Studio 2017
- Visual Studio Code
- .NET Core 2.1.1
- ASP.NET Core 2.1.1
- Entity Framework Core 2.1.1
- SQL Server 2017
- MongoDB
- C# 7.3
- SPA (Single Page Application)
- Angular 6.1.0
- Typescript 2.9.2
- HTML5
- CSS3
- SASS (Syntactically Awesome Style Sheets)
- DDD (Domain-Driven Design)
- SOLID Principles
- Dependency Injection
- Unit Test
- JWT (Json Web Token)
- Code Analysis (Ruleset for C# and TSLint for Typescript)
Web: This layer contains the user interface, responsible for interaction with the user to obtain and display data.
Application: This layer is the main entry point of the application.
Domain: This layer contains the requirements and the business logic, is the core of the application.
Infrastructure: This layer isolates and abstracts the logic required for data persistence.
Model: This layer is responsible for modeling the domain classes according with the business context.
CrossCutting: This layer provides generic features for the other layers.
Tests: It is responsible for testing individual units of the code, which can be a class, a method, an integration, a business rule, among others.
Specifications:
Processor: Intel Core I7 8700K Coffee Lake 8th-generation.
Memory: 16GB 2400Mhz DDR4.
Storage: Samsung Evo 960 SSD M2 250gb.
OS: Windows 10 Pro 64 bits.
Web Server: IIS 10.
Database: SQL Server 2017 Developer Edition.
CodeMaid: https://marketplace.visualstudio.com/items?itemName=SteveCadwallader.CodeMaid
Roslynator: https://marketplace.visualstudio.com/items?itemName=josefpihrt.Roslynator2017
SonarLint: https://marketplace.visualstudio.com/items?itemName=SonarSource.SonarLintforVisualStudio2017
TSLint: https://marketplace.visualstudio.com/items?itemName=vladeck.TSLint
-
Install .NET Core SDK: https://aka.ms/dotnet-download.
-
Install C# extension in Visual Studio Code: https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp.
-
Open solution folder in Visual Studio Code.
-
Press F5 to run and fun!
-
Install .NET Core Runtime: https://aka.ms/dotnet-download.
-
In the Solution.Web.UserInterface\AppSettings.json file change the Connection String.
-
In the Solution.Web.UserInterface\ClientApp\angular.json file change the baseHref to IIS_APPLICATION_NAME.
-
Publish Solution.Web.UserInterface project in Visual Studio or by dotnet publish command.
-
Copy the published files to IIS folder (inetpub\wwwroot\IIS_APPLICATION_NAME).
-
In the IIS create an Application Pool with NET CLR Version = No Managed Code.
-
In the IIS execute Convert to Application using the created Application Pool.
-
Run and fun!