Dependency Injection in .NET Core Console Application

In this blog post, I will write about Dependency Injection in .NET Core Console Application. I will start from where I left in my last blog https://dotnetcorecentral.com/blog/docker-running-background-thread/. What is Dependency Injection? In Dependency Injection, dependencies of an object are sent from outside. Meaning, the dependencies of an object are not created inside of the class. … Read more

Docker Container for .NET Core

Welcome back to .NET Core Central. Today I am going to write an introductory blog on docker containers. In this blog, I will create a sample .NET Core Console application and run in docker. Very basic implementation with just a Console.Write statement. In my future blogs, I will dig deeper into some complex implementation and … Read more

Entity Framework Core (A deep dive with SQL Server)

Entity Framework Core is the .Net Core version of Entity Framework. Which is an ORM (Object Relational Mapper) tool for .Net Framework to work with databases.Entity Framework Core has the following features, which differentiates it from the classic Entity Framework: It is cross-platform (by the virtue of being built for .Net Core) Extensible And lightweight … Read more

Unit testing with Machine.Specifications (aka MSpecs) and FakeItEasy – Continued

In the last post Unit testing with Machine.Specifications (aka MSpecs) and FakeItEasy, I have covered basic unit testing with MSpecs and FakeItEasy. Today first I am going to go through some more tests. And then I will cover the concepts of white-box testing with MSpecs and FakeItEasy. New tests for positive cases In the last … Read more

Unit testing with Machine.Specifications (aka MSpecs) and FakeItEasy

Unit testing is very critical for any application. In this blog post, I will walk through unit testing using Machine.Specifications (aka MSpecs) and FakeItEasy. The focus of unit testing is to test a unit of code in isolation of everything around it. Meaning we just test the method in questions and not the dependencies. Also … Read more

Akka in .Net Core – Akka Messages

Akka.Net helps build a solution that can both scale-up as well as scale-out. And the key concept that makes it happens is the messaging infrastructure of Akka.Net. Akka.Net does not provide guaranteed delivery, just like any other actor implementation. What is supports is the at most once delivery of the message. Which means the message … Read more

React.JS with ASP.Net Core SignalR

In my last post Real-Time Web Application in ASP.Net Core SignalR, I have covered real-time web application suing SignalR. For the web page, I used a plain HTML page, and just used Browser Console to write response from the SignalR stream. Today I will build an application using React.JS with ASP.Net Core SignalR. Today I will … Read more

ASP.Net Core Streaming Application Using Kafka – Part 2

Hello everyone, welcome back to .Net Core Central. This post is the continuation of the previous post ASP.Net Core Streaming Application Using Kafka – Part 1. And here I will be creating the Kafka producer in .Net Core. Creating .Net Core Producer Create new Producer Project First of all I will open the TimeManagement application … Read more

ASP.Net Core Streaming Application Using Kafka – Part 1

Hello everyone, welcome back to .Net Core Central. Today I am going to build a streaming application using ASP.Net Core and Kafka. This post is the first of the two post series in streaming in .Net Core. And I will be using Apache Kafka as the streaming platform. I will continue with the same .Net … Read more

ASP.Net Core Web API – Integration Testing With XUnit

Hello everyone, welcome back to .Net Core Central. Today I am going to start the Integration testing of the Time Management application. The application which I have started building from my blog post Creating First ASP.Net Core Web API Application. For the integration test I will use XUnit framework as the testing framework. This is … Read more