Angular JS Application Development Environment Setup

This article introduces that how to set up a development environment for Angular JS application with NodeJs and VS Code IDE. We set up an environment in three steps and develop first Angular JS application using boilerplate project. These steps are: Install Node.js Install Angular CLI Install VS Code IDE Install Node.js Node.js is not… Continue Reading Angular JS Application Development Environment Setup

Design ASP.NET Core MVC Application Using Onion Architecture

This article introduces that how to design ASP.NET Core MVC application using Onion Architecture. It is mostly used architecture to develop a web application. The Onion architecture provides a solution for coupling and separation of concerns. It is a layered architecture. Application design has two types of coupling – tight coupling and loose coupling. Tight… Continue Reading Design ASP.NET Core MVC Application Using Onion Architecture

Generic Repository Pattern In ASP.NET Core MVC And Entity Framework Core

This article introduces the CRUD operations using generic repository pattern in ASP.NET Core MVC and Entity Framework Core. We create two projects one is a web application for UI and another project is a class library for entities. We create the database from these entities using Entity Framework Core migrations. To keep this article simple… Continue Reading Generic Repository Pattern In ASP.NET Core MVC And Entity Framework Core

Repository Pattern In ASP.NET Core MVC And Entity Framework Core

This article introduces the CRUD operations using repository pattern in ASP.NET Core MVC and Entity Framework Core. We create two projects one is a web application for UI and another project is a class library for entities. We create the database from these entities using Entity Framework Core migrations. To keep this article simple and… Continue Reading Repository Pattern In ASP.NET Core MVC And Entity Framework Core

C# 7.1 : New Features With Example

Recently, Microsoft released a new version of C# which is C# 7.1 with Visual Studio 2017 update 3. It is a minor release so it has few features. The features are async Main method, default, infer tuple name and pattern matching with generics. This article intends to explain these features with examples. Configure C# Language… Continue Reading C# 7.1 : New Features With Example

First CRUD Application In ASP.NET Core MVC Using Entity Framework Core

This article intends to explain basic Create, Read, Update and Delete (CRUD) operations in ASP.NET Core MVC using Entity Framework Core. We develop an application using Entity Framework “Code First” approach. To set up a development environment for ASP.NET Core MVC application, we follow steps which mentioned in the article Getting Started With ASP.NET Core… Continue Reading First CRUD Application In ASP.NET Core MVC Using Entity Framework Core

Func, Action And Local Function in C#

This article intends to demonstrate two Func and Action generic delegates and Local function in C# 7.0. The Func and Action are already available in C# while Local function is introduced in C# 7.0. These three methods are used to in another method internally as per requirements. The below table demonstrates about each method. #… Continue Reading Func, Action And Local Function in C#

Getting Started With ASP.NET Core MVC

ASP.NET Core is a web framework which is an open source cross platform version of ASP.NET. It used to build modern Cloud-based internet connected Applications, such as Web apps, IoT apps, and mobile back-ends. It runs on the single source code, based on Windows, Linux, and OSX. It is developed from scratch parallel with .NET… Continue Reading Getting Started With ASP.NET Core MVC

Expression Bodied Members In C#

The Expression-bodied member feature introduced in C# 6. It is enhanced in C# 7 to allow expression bodied member with constructor and destructor. Expression-bodied means method or property body write as an expression. We can use expression body in following cases. When a method returns single value or void. The method has a single expression… Continue Reading Expression Bodied Members In C#