Giter VIP home page Giter VIP logo

dotnetarchitecture's Introduction

DotNetArchitecture

Solution to apply and share new knowledge and technologies and to serve as architecture for new projects.

Tools, Practices and Technologies

  • 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)

Build

Build Status

Code Analysis

Codacy

Layers

Screenshot

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.

Projects

Screenshot

Application

Screenshot

Domain

Screenshot

Repository

Screenshot

Unit Test

Screenshot

ASP.NET Core + Angular

Screenshot

ASP.NET Core Startup

Screenshot

ASP.NET Core Controller

Screenshot

Angular Guard

Screenshot

Angular Error Handler

Screenshot

Angular HTTP Interceptor

Screenshot

Angular Service

Screenshot

Angular Component

Screenshot

ASP.NET Core + Angular + Entity Framework Core + SQL Server Performance

Screenshot

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.

Visual Studio Extensions

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

Run in Visual Studio Code

  1. Install .NET Core SDK: https://aka.ms/dotnet-download.

  2. Install C# extension in Visual Studio Code: https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp.

  3. Open solution folder in Visual Studio Code.

  4. Press F5 to run and fun!

Deploy to IIS

  1. Install .NET Core Runtime: https://aka.ms/dotnet-download.

  2. In the Solution.Web.UserInterface\AppSettings.json file change the Connection String.

  3. In the Solution.Web.UserInterface\ClientApp\angular.json file change the baseHref to IIS_APPLICATION_NAME.

  4. Publish Solution.Web.UserInterface project in Visual Studio or by dotnet publish command.

  5. Copy the published files to IIS folder (inetpub\wwwroot\IIS_APPLICATION_NAME).

  6. In the IIS create an Application Pool with NET CLR Version = No Managed Code.

  7. In the IIS execute Convert to Application using the created Application Pool.

  8. Run and fun!

dotnetarchitecture's People

Contributors

rafaelfgx avatar

Stargazers

Roman avatar Batuhan avatar Emre Keskin avatar Abhishek B. avatar

Watchers

James Cloos avatar Abhishek B. avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.