Nullable reference types in C# 8

Nullable reference types is the default behavior of reference types in C# 7.3 and below versions. Well, what do I mean by that? When we declare reference types, pre-C# 8, it’s always nullable, meaning it can be assigned a null value. Hence we need to check it against null to avoid NullReferenceException. The newly introduced … Read more

Asynchronous Streams in C# 8/.Net Core 3.0

Asynchronous Streams is a new feature which is recently added to C# language in .NET Conference as a part of C# 8. This is one of the features C# 8 introduced, that I am very excited about. I introduced this feature when I discussed my top 5 features of C#8/.Net Core 3.0 in my previous … Read more

Top 5 new features of C# 8 (My take)

C# 8 was recently released with .Net Core 3.0. These two were released simultaneously in .Net Conf 2019. There are a lot of new features are released as a part of C# 8. Some of them are very interesting. Whereas some not so. C# 8 Top 5 Features Below are the 5 features, which stands … 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

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

Real-Time Web Application in ASP.Net Core SignalR

Hello everyone, welcome back to .Net Core Central. Today I am going to continue with streaming using ASP.Net Core SignalR, which I started by integrating with Kafka, then Reactive Extensions, and today I will be working with SignalR. If you have not gone through my previous posts ASP.Net Core Streaming Application Using Kafka – Part … 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