{"repo":"Boriszn/DeviceManager.Api","free":true,"listed":false,"github":"https://github.com/Boriszn/DeviceManager.Api","clone":"git clone https://github.com/Boriszn/DeviceManager.Api.git","description":"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","language":"C#","stars":219,"topics":["webapi","dotnet-core","api","entity-framework","multitenancy","webapi-2","multi-tenancy","database","dotnet","docker"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Web API Solution demonstrates mutliteantcy architecture, using Entity Framework, UnitOfWork,Repository patterns Project Todo list, accomplished tasks, can be found Here. Installation 1. Clone repository 2. Apply Entity Framework migration. Run: Update-DataBase . (For Multitenancy testing) Change DefaultConnection to ;Database=DeviceDb-ten2; in appsettings.json . Run EF migration Update-DataBase . It will create another database. Tenants Database configuration stored in DataBaseManager ( tenantConfigurationDictionary ) . 3. Fill up valid database connection string configuration option in appsettings.json . 4. Run UnitTests. 5. (Optional) Run API integration tests 6. Build / Run. Database Connection DatabaseType field is used to specify the database type the application should connect. Currently, the framework contains connection information for: - MsSql (MS SQLServer, Sql Express) - Postgres NoSql (Information how to setup Postgres can be found here) The value of DatabaseType should come from DatabaseType enum in Settings folder and should match the class name inside DatabaseTypes folder and implement IDatabaseType interface. To add a new database type, just add a class implementing IDatabaseType and add the same name inside DatabaseType and change connection string in the DefaultConnection property and DatabaseType to new database type. Localization Support Application supports localization support though resource files. Currently, shared resource file is used to support supp","default_branch":null,"files":null,"tree":[],"storefront":"/r/Boriszn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Boriszn/DeviceManager.Api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}