- Follow MSDev.pro blog on WordPress.com
Volg ons
-
Recent Posts
Categories
Recent Comments
Archives
- January 2019
- April 2018
- February 2018
- August 2017
- April 2017
- March 2017
- January 2017
- October 2016
- September 2016
- August 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- October 2015
- November 2014
- September 2014
- April 2014
- September 2012
- August 2012
- October 2011
- July 2011
- May 2011
- April 2011
- February 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- November 2008
- May 2008
- February 2008
- January 2008
Monthly Archives: March 2016
Using the repository pattern
In most applications database access is necessary. In .NET there are 2 main ways of doing this: ADO.NET or using the Entity Framework. Of course there are great 3rd party libraries like NHibernate that do the trick as well, and … Continue reading
Posted in .Net, Architecture, Codeproject, Development, MVC, WCF
Tagged Repository; separation of concerns
3 Comments
Mocking functionality using MOQ
What is wrong with this code? class Program { static void Main(string[] args) { DateTime dob = new DateTime(1967, 7, 9); int days = CalcDays(dob); Console.WriteLine($”Days: {days}”); } private static int CalcDays(DateTime dob) { return (DateTime.Today – dob).Days; } … Continue reading
Handling a “Microservices” Project
I’m currently working on a big application that has been built up using microservices. The application is composed of small(ish) apps that compose the application. The idea is that these small apps work together to create the final application. This … Continue reading
Posted in Analysis, Architecture, Codeproject, Development, Methodology, Testing
Tagged microservices
Leave a comment