Blog posts:
dotnetcqrsdemo's Introduction
dotnetcqrsdemo's People
Forkers
qadeer05 rioka codeinpeace ngbrown-forks arrebagrove chengwhynot msepahvand chubbson ajmal744 tkocjan cravedevelopment unclebuddhabelly renant totpero mylovecc vinhch virajs dodohee lulzzz aarym lessismore1 ranganathsb rowdy1 cfsanchez ijemid jamalkaksouri liang-zhinian wangsic shockzinfinity poliset epoulsen priyanr joshuastather hudasharings vinothvkr patrick-kuo rafigi w-ke alfxp jptouron islam-samy rafaelfcarneiro adilson bhrl bionstt xyichengdotnetcqrsdemo's Issues
Unit tests
Hi,
I'm struggling to find a good unit testing example when using CQRS and just wondering if you've any plans on adding some unit tests to the solution?
Failing that, what parts of the system would you usually expect to see tests for when using CQRS? If you could recommend any good resources on the web in this area, that would be good too.
Thanks.
ASP.net Core 2.0
are you planning to migrate this awesome solution to asp.net core 2.0
Employee Controller Error
Thank you for the sample, I have been enjoying looking it over.
From what I see in the Initializer project to populate the Write Model it looks like the Create Employee Command is also assigning an Employee however later down you have explicitly configured to assign employees on the Location Controller; this makes perfect sense as each command is nearly atomic this way. Is it safe to say that the extra logic in the Employee Create method can simply be removed/commented out?
[HttpPost]
[Route("create")]
public IHttpActionResult Create(CreateEmployeeRequest request)
{
var command = _mapper.Map<CreateEmployeeCommand>(request);
_commandSender.Send(command);
//var locationAggregateID = _locationRepo.GetByID(request.LocationID).AggregateID;
//var assignCommand = new AssignEmployeeToLocationCommand(locationAggregateID, request.LocationID, request.EmployeeID);
//_commandSender.Send(assignCommand);
return Ok();
}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.