GithubHelp home page GithubHelp logo

tpd.api's Introduction

============= Appying =============

  1. .Net Core 2.2
  2. Swagger
  3. DependencyInjection
  4. Elmah
  5. SignalR
  6. CQRS
  7. EFCore
  8. Fluent API
  9. Repository/ Unit of Work
  10. SignalR
  11. Bulk Extension
  12. Timer

===================================================

============= How To Run =============

  1. Set Tpd.Api.Example.Interface as start up project.
  2. Change the connection string in file connectionstrings.json under project Tpd.Api.Example.Interface.
  3. Run EF command in file EFCommands.txt in folder Appendices.
  4. Ctr + F5.

==================================================

============= Meaning of each project =============

  1. *.Database : The project for defining an database. - Entity classes, DBContext - DB relations, Constraints.
  2. *.DataAccess: The project for accessing the database. - Repository - Unit of Work
  3. *.Service The project for doing business logic. - CQRS
  4. *.Interface The project for communicating with clients
  5. *.Share The project for sharing data/ component across projects
  6. *.DataTransferObject: The project for defining objects for transferring data across projects.
  7. Utility: The libs for resusing, sharing to all projects.
  8. Core: Core Libs for reusing to create a new project.
  9. Example: Example for real implementation.

==================================================

============= References =============

Create a web API with ASP.NET Core MVC https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.2&tabs=visual-studio

Getting Started with Entity Framework Core https://docs.microsoft.com/en-us/ef/core/get-started/

Clean Architecture with ASP.NET Core https://www.youtube.com/watch?v=_lwCVE_XgqI

Command and Query Responsibility Segregation (CQRS) pattern https://docs.microsoft.com/en-us/azure/architecture/patterns/cqrs

Best Practices: https://code-maze.com/aspnetcore-webapi-best-practices/ https://code-maze.com/top-rest-api-best-practices/

Global Error Handling in ASP.NET Core Web API https://code-maze.com/global-error-handling-aspnetcore/

Implementing Action Filters in ASP.NET Core https://code-maze.com/action-filters-aspnetcore/

Dependency injection in ASP.NET Core https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-2.2

Get started with Swashbuckle and ASP.NET Core https://docs.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-2.2&tabs=visual-studio

ElmahCore - Log exception https://www.nuget.org/packages/ElmahCore/#

.NET Design Patterns https://www.dofactory.com/net/design-patterns

SOLID principles https://www.c-sharpcorner.com/UploadFile/damubetha/solid-principles-in-C-Sharp/

POCO https://www.c-sharpcorner.com/UploadFile/5d065a/poco-classes-in-entity-framework/

Fluent API https://docs.microsoft.com/en-us/ef/core/modeling/relationships http://www.entityframeworktutorial.net/efcore/fluent-api-in-entity-framework-core.aspx

==================================================

tpd.api's People

Contributors

levankhanh avatar

Watchers

 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.