stopPropogation() vs preventDefault() in JavaScript

In the previous blog post, we looked at what event bubbling is and how we can implement it.

In this article we’ll see what is the difference between stopPropogation() and preventDefault() methods in an event handler.

event bubbling

Event bubbling concept is a way of propagating the events from the element clicked all the way to the ancestor. This is a beginner article so if you are already aware of this you can skip this article.

why func delegate is not translated to sql

This post is a sequence for the previous article which shows why the Func delegate is not translated into the SQL statements.

Unit tests for private methods?

This post as you read from the title is about unit testing for private methods. Do we really need to test the private methods in the unit tests?

Don't use Func delegate on the Entity Framework entities

In this post, I’ll show you what happens when you use a func delegate on the Entity Framework entities.

Building dynamic LINQ queries using Expression Trees and Func

Filtering an item from a list of items is easy but if the item to filter is not known at compile time then filtering a list will be little complicated.

Creating custom tag helpers in ASP.NET Core

In this post, we’ll see how to create a custom tag helper in ASP.NET Core project.

Custom tag helpers can be created by implementing TagHelper class. The Tag helper class has two methods that can be overridden.

Shortest word in a string with LINQ

In this post, we’ll try to find the shortest word in a string using LINQ.

Tag Helpers in ASP.NET Core

In this post, we’ll see how to use the tag helpers inside razor files in ASP.NET Core application.

Get only specific types from List in C#

This is a post to get the specific type of items from a mixed list of items. I have tried couple of solutions for the problem but it looks like there’s more elegant solution than my solution.

Your browser is out-of-date!

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