Best Front Loading washing machine under 25000 in India in June 2020

Introduction: Every one need washing machine to clean all types of house hold cloths. I was also searching for a front loading washing machine for my home. IFB Diva Aqua SX Front Loading washing machine is best front loading washing machine under 25000 in India in 2020. I found a fully automatic front loading washing … Read more

Working with Action Selectors in MVC

Action selectors are attribute in MVC. It is used with action method and in routing by routing engine to handle a request. ActionName NonAction ActionVerbs 1. ActionName: ActionName attribute allow us to specify different action name than method name. [ActionName(“GetData”)] public ActionResult About(){ return View(); } Now URL will be http://localhost:port/controler/GetData/. Action name “About” is … Read more

How For is Different from Foreach Loop in C#

This is very basic question asked in many interviews: The for loop executes a statement or a block of statements repeatedly until a specified expression evaluates to false. There is need to specify the loop bounds (minimum or maximum). Following is a code example of a simple for loop that starts 0 till <= 5. … Read more

Nullable Type in C#

Introduction: Nullable types are introduced in C#2.0. Primitive data type like int, long cannot be assign null. int x = null;//Compile time error Example: Nullable<int> i = null; Nullable Types are instance of System.Nullable<T> struct. [Serializable] public struct Nullable<T> where T : struct { public bool HasValue { get; } public T Value { get; … Read more

Using Tuple in C#

Introduction: Tuple<T> is class in .NET. It is data structure which can hold elements of different data types. It can be used like any entity which can hold element of different data types. We can use Tuple instead of a class with properties. It is introduced in .NET Framework 4.0. Syntax: Tuple<T1,T2,T3,T4,T5,T6,T7,T8> How to Create … Read more

Merge in SQL Server

Introduction: I attended one interview and interviewer asked me below question. Q 1: Id EName ECode 1 Rajesh E001 2 Suresh E002 3 Ram E003 Write a single statement to insert, update and delete operation in this table. Q 2: Id EName ECode 1 Rajesh E001 2 Tiger E002 Write a insert query to insert … Read more

Authentication in WebAPI

What is Authentication: Authentication is process of determining that some one who is going to use the resources, is genuine person and has access right or in other way we can say Authentication is process to allow authorized user to access the resources of WebAPI rest service. Why Authentication required: WebAPI is used by broad … Read more

Facade Design Pattern in C#

Why Design Pattern: Design patterns provide general solutions to complex problems There is three categories of design pattern: Creational, Structural, and Behavioral. Facade design pattern comes under structural design pattern. It is used when we want to handle a complex system that has multiple independent subsystems. It provides an abstraction to implement the functionality of … Read more

The Evolution of ASP.NET Core

ASP.NET developer will be wondering why we need ASP.NET Core. You will learn about this in this tutorial. Introduction: ASP.NET Core is a web framework from Microsoft for web applications, APIs, and microservices. It uses common patterns like MVC, dependency injection, and request pipeline. It is not a new version of ASP.NET 4.6. It is … Read more