Monday, November 7, 2016
A few days ago I was in a Big-Data and Open-Source conference hosted by Sela Group.Among the lectures I`ve attended was one that caught my eye on the architecture we can build using Akka. It is an Open-Source project build originally for the JVM environment and now also for the .Net framework. I`ll explain a bit on what it gives us and why should we use it, and I will also show a simple code of usage.
This project is based on the Actor model, where each model is responsible for its children. It is responsible for creating the children,...
Wednesday, February 3, 2016
When we say we want to build a Web API we have in our mind to build a service that will expose the data in a clean way that every device will be able to address in order to use the data.In this post I will do just that. I have built a service that retrieves some products and together in this post we will build a client that will use this data.
I will build the client using Angular framework. Let`s get started.
Open a new empty web project with no authentication and no need for azure service at the...
Tuesday, February 2, 2016
This will be a really short post as it is really easy to use the unity framework in an ASP.NET Web API application. The application I will build is an ASP.NET 4.5 Web API application which brings products to the controller using Dependency Injection.
Short one on Dependency Injection
Dependency Injection is a design pattern that implement IoC (Inversion of Control) for resolving dependencies for your class. Let us says that your controller is using some repository in order to fetch products from the database. You should not create the repository using the new keyboard as this will result in coupling...