thangchung / modular-starter-kit Goto Github PK
View Code? Open in Web Editor NEWThe starter kit with entire modular approach to help remove boilerplate code in developing
License: MIT License
The starter kit with entire modular approach to help remove boilerplate code in developing
License: MIT License
We need to secure all the application layers like Enterprise Security API (ESAPI).
https://github.com/convisoappsec/swingset-dotnet
Otherwise, we will invest time to work with authorization in each feature (Clean Architecture). Reference to this project for huge authorization requirements, but basically, we can see at https://github.com/blowdart/AspNetAuthorizationWorkshop/blob/master/src/Step_7_Resource_Based_Requirements/Startup.cs
Federated sign out also needs to invest time to have a look at
https://brockallen.com/2016/02/09/federated-sign-out-and-identityserver3/
https://brockallen.com/2016/02/08/single-sign-out-and-identityserver3/
Nice explanation about OAuth 2.0 + OpenID Connect
The workaround solution can be found at https://stackoverflow.com/questions/42236757/handling-backpressure-in-rx-net-without-onbackpressurelatest and the discussion for it at dotnet/reactive#19
Full explanation about it at http://reactivex.io/documentation/operators/backpressure.html
Why do we need the batch requests? Please come to read https://simonmar.github.io/bib/papers/haxl-icfp14.pdf
graphql-dotnet/graphql-dotnet#3
https://github.com/dlukez/dataloader-dotnet
https://github.com/dlukez/graphql-dotnet-dataloader
https://github.com/facebook/Haxl/blob/master/example/sql/readme.md <= N + 1 problems
https://ocharles.org.uk/blog/posts/2014-03-24-queries-in-loops-without-a-care-in-the-world.html
We can consider making this batch with Rx.NET at https://stackoverflow.com/questions/7947580/processing-a-batch-of-request-with-reactive-extension, not sure need to try.
Features architecture with DDD
Beauty CQRS stack (pretty much simple) CoD
[HttpPatch("{id:int}")]
public IActionResult PartiallyUpdate(int id, [FromBody] JsonPatchDocument<Thing> patchDoc)
{
if (patchDoc == null)
{
return BadRequest();
}
Thing existingEntity = _thingsRepository.GetSingle(id);
if (existingEntity == null)
{
return NotFound();
}
Thing thing = existingEntity;
patchDoc.ApplyTo(thing, ModelState);
if (!ModelState.IsValid)
{
return BadRequest(ModelState);
}
Thing updatedThing = _thingsRepository.Update(id, thing);
return Ok(updatedThing);
}
We're gonna build an architecture with GraphQL first approach (GraphQL in mind) so that we need to build the template with real-time notification and updated.
The template can be found at https://github.com/graphql-dotnet/server
The models for social module at http://join-monster.readthedocs.io/en/latest/data-model/
To make it simple for using later, we only need to use BS4 and simple style like https://github.com/kjdion84/bsadmin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.