Code Monkey home page Code Monkey logo

boriszn / devicemanager.api Goto Github PK

View Code? Open in Web Editor NEW
219.0 32.0 103.0 1.36 MB

Web API Framework demonstrates scalable, multitenant, architecture and allows building its own solution in the minutes. Uses: Entity Framework, UnitOfWork, Repository patterns. Wrapped in Docker, Kubernetes

Home Page: https://itnext.io/building-multi-tenant-web-api-using-dot-net-core-and-best-practices-8dce439bfae7

C# 88.60% Dockerfile 0.69% TSQL 3.38% HTML 6.33% CSS 0.40% JavaScript 0.08% Shell 0.01% Less 0.52%
webapi dotnet-core api entity-framework multitenancy webapi-2 multi-tenancy database dotnet docker

devicemanager.api's People

Contributors

boriszn avatar rudreshgp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devicemanager.api's Issues

UOW for multiple entities instead of Transaction

Good day,

First of all, I should appreciate you for the time and resources you have spent to develop such this platform. In the second, may I ask you a question ?.

If we add more Entity to have a real case study, can he trust the UOW and not to implement any kind of Transaction if we want to ADD/UPDATE/DELETE some records from multiple entities or no ?.

Regards
Ali

Connect from Docker container to the (local) resources like SQL, NoSQL etc.

Issue occurs when trying to connect to:

  • (local)\SQLServer
  • (local) NoSql

Possible solutions:

  • use IP instead of (local) OR named instances
  • create users and modify connection string by adding user_name and password
  • modify firewall rules for ports etc...

Links:

UOW - Stored Proc

@Boriszn
I would like to change UOW to call stored proc which is not tied to any repository. thinking to create a repository for stored proc and call FromSql. please let me know otherwise.

Thanks

Get multiple child objects

Hi,
I would be very grateful if you can write me which method from repository can i use through automapper to get multiple nested objects of parent object and how can i do that.
Thanks in advance.

Dapper incorporation

@Boriszn I was going through the code to check how to incorporate Dapper. It looks like right from ContextFactory we need to add new classes to accommodate Dapper.

EF Global Query filters

Hi, @Boriszn according to this task you are saying we should add query filter for id. I am quite confused about this task.

But, what is the use of defining query filter for id?? Global Query filters like deleted make sense.

IdentityServer4

Hi, @Boriszn Good day!

I am going through IdentityServer4 samples and have following doubts

  1. Do we need to support Forms Authentication?
  2. Use external authentication systems like Google, Facebook?

Delete Opertaion Query

@Boriszn
I would like to know more about delete, since there's no context in api, i want to know how to delete row from a particular table.

Cannot run the project

I cann't run the project, Please help me!!!
I have clone the project and then run update-database in PCM ,but the database isn't created in even though I use valid Connection String , What should I do?

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.