Sharing data between Vue JS components

In this post, we’ll see how we can share the data from parent to child and vice-versa.

Understanding computed properties in VueJS

In this post we’ll see what are computed properties, how to write a computed property and let’s understand how a computed property is designed behind the scenes.

Don’t forget to visit the links in the references section.

Getting started with Vue CLI

If you are already familiar with Vue CLI, you can just skip reading this post.

Vue JS is an open-source JavaScript framework for building user interfaces and SPA’s (single-page applications).

If you want to build a project in Vue, I’d recommend Vue CLI templates for those who are new to Vue.

.ToSafeDictionary() extension method in csharp

The .ToDictionary() extension will throw an argument exception if we have duplicate keys added to the dictionary.

Delegates as callback functions in csharp

To update many records in entity framework, it is good to use the .Attach method of the db context instead of looping through every record and fetching the data through EF and updating it.

Data binding in blazor

Blazor has 3 different ways of binding data on the client-side.

Here are the different data binding mechanisms in the client-side blazor framework.

  • One-way data binding
  • Two-way data binding
  • Component parameters

Unable to find debuggable browser tab in Blazor

Debugging blazor applications is a little different from what we’ve been doing for years for debugging the JS files.

The strategy design pattern with an example

A strategy design pattern is the most commonly used design pattern in computer programming.

In this post, we’ll start with a basic switch case statement and then we’ll modify the code into strategy design pattern.

Replacing existing entity framework code with Dapper

Developers choose Entity framework ORM (EF) for better productivity when accessing the database. But, when the product is built that went from bare bones to very complex and heavy data access then comes the performance.

Sometimes its the Entity framework that kills the performance so the choice when searching for a better ORM than Entity framework is Dapper.

In this post, I’ll walk you through how we can replace the existing entity framework code with dapper.

Customizing automatic HTTP 400 error response in ASP.NET Core Web APIs

Annotating the controllers with ApiController attribute in ASP.NET Core 2.1 or higher will enable the behavioral options for the API’s. These behavioral options include automatic HTTP 400 responses as well.
In this post, we’ll see how we can customize the default error response from the ASP.NET Core Web API.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×