How to create Custom Filters in AngularJS

Have you ever used filters with the ng-repeat directive as shown in the listing below? If so, then you’ve used a filter in an AngularJS application. AngularJS provides us many in-built directives like search. If required, AngularJS also allows us to create custom filters, which we’ll explore in this post. AngularJS gives us a simple…… Continue reading How to create Custom Filters in AngularJS

What are ViewData, ViewBag, and TempData in ASP.NET MVC?

I have often seen entry level developers struggle with the differences between and usage of ViewData, ViewBag and TempData in ASP.NET MVC. And while there are many articles and blog posts on this topic out there, I’ll try to explain it simply. To start with, ViewData, ViewBag, and TempData all three are objects in ASP.NET…… Continue reading What are ViewData, ViewBag, and TempData in ASP.NET MVC?

How to create relationships between entities in the Entity Framework Code First Approach

The Entity Framework Code First approach allows us to create a model as a plain class and then the database gets created from the domain model or entity class. In the Code First approach, the database gets created from the classes. Some advantages of the Entity Framework Code First approach include (as stated in Scott…… Continue reading How to create relationships between entities in the Entity Framework Code First Approach

Getting started with TypeScript

TypeScript is superset of JavaScript created by Microsoft. TypeScript – according to its website – “lets you write JavaScript the way you really want to. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript”. Some features of TypeScript include: Support standard JavaScript Static typing Encapsulation using the classes and the modules Constructors,…… Continue reading Getting started with TypeScript