How to manage shared library in c# project

Best article I have ever seen so far regarding this topic. https://www.devtrends.co.uk/blog/creating-your-first-shared-library-in-.net-core

Published
Categorised as C#

EF Core 7 deadly sin

Load testing tool Bombardier https://github.com/codesenberg/bombardier   EF Core 7 deadly sin Get only the rows that you need Casting IQueryable -> IEnumerable use .Count() from IQueryable rather than IEnumerable, which will query all data and parsing all. Not using AsNoTracking Can be faster 4x times. Explicit joins Select and map to the object directly rather… Continue reading EF Core 7 deadly sin

Domain centric architiecture – best refactoring example

One great example of refactoring data-centric .net application into domain-centric architecture is this. https://app.pluralsight.com/library/courses/n-tier-apps-part1/table-of-contents This training was released in 2012, which is 9 years old. But, this is the best example for me to apply in our company and myself, because 1) this course targets a legacy code, which we have in areas and wasn’t… Continue reading Domain centric architiecture – best refactoring example

4 Types of Event-Driven Architecture by Martin Fowler

Event Notification Address change in CRM can be sent to  Quoting System through the event. e.g. address changed. – Reverse the dependency from CRM to Quote system. – Message becomes a thing(object) to record and pass around. – events vs commands – pub/sub is nice as subscribers can sub independently.Cons: How to know what’s happening… Continue reading 4 Types of Event-Driven Architecture by Martin Fowler