All Articles
174 hands-on tutorials, and counting. (Page 2 of 5)

Differences Between Connected and Disconnected Architecture in CSharp
In C#, we work in two different ways with database connectivity. As you know when we create software or website or any other application which is connected to the database...

Exploring Best Practices for aspnet MVC Project Structure
In this articles, I will try to explain the structure of Asp.Net MVC project. When we create a new project than there are lots of folders and files are available....

Exploring Different Types of Polymorphism in Csharp
Polymorphism means one name many forms. It is the main feature of OOPs. Polymorphism is an ability to take more than one form but name will be the same. There...

Exploring Entity Framework: Understanding Code First Database First and Model First Approaches
In this blog, you will see the logical differentiation between following approach which is used to handle database activity using entity framework. Code First Approach It is very popular approach...

Exploring Exception Handling in Csharp: Insights and Examples
Exception handling is the concept where there are lots of methodologies defined to handle the exception or we can say error. It can be run time exception or compile time...

Exploring Instance Creation Methods for the WCF Service
In this article, I will demonstrate you about how to create instance of WCF service with different way. Actually in WCF service, we can create instance of the service in...

Exploring Session in aspnet
In this article, I will demonstrate you about session in asp.net. I will explain you why we use it and how to implement in code. What is Session? Session is...

Exploring SOLID Principles: Focus on Single Responsibility in Typescript
Single Responsibility Principle (SRP): This says that each class or block of code (method) should have a single responsibility to accomplish the task. Means, there should be only one reason...

Exploring the Depths of SQL and LINQ Joining Fundamentals
USE [Inventory] GO /****** Object: Table [dbo].[Customer] Script Date: 1/4/2016 11:20:47 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Customer]( [CustomerId] [int]...

Exploring the Differences: Windows Azure Mobile Service Vs WEB API
In this article, I will demonstrate you why we need to choose Web API and why we need to go with Windows Azure Mobile Service. Last week, I met my...

Exploring the InMemory Provider and SQLite In-Memory Database for Unit Testing in EF Core and Csharp
Writing Unit Test Cases is an essential aspect for any software development which helps us to test small building block an application. While doing development, we write test cases side...

Fixing the No Longer Usable SqlTransaction Error in Csharp
Today, I was working with one of my project and faced a problem. It was an exception: “This SqlTransaction has completed; it is no longer usable”. This type of error...

Four Ways to Read Configuration Settings in Csharp: A Step-by-Step Guide
This article will demonstrate us how we can get/read the configuration setting from Web.Config or App.Config in C#. There are different purposes to set the values inside the configuration file...

Getting or Activating Your MSDN Subscription: A Comprehensive Tutorial
You can buy MSDN Subscriptions either online on msdn.microsoft.com or it can be purchased it by your organization. MSDN subscriptions have so many benefits apart from getting the license version...

Getting Started with Angular JS and MVC: A Basic Example
Angular JS is a JavaScript framework to create SPA (Single Page Application). It is a client side MV* (MVC+MVVM=MV*) framework. Angular JS extends HTML by providing Directives that add functionality...

Getting Started with aspnet MVC First Application: Step-by-Step Tutorial Day 2
This is second article of the series of How to learn Asp.Net MVC step by step. Today, we will learn how to create our first application in Asp.Net MVC. We...

Getting Started with aspnet MVC: Step-by-Step Tutorial Day 1
In this article youI will learn about MVC pattern and ASP.NET MVC. MVC is an architectural pattern to develop enterprise application. What is MVC? MVC stands for Model View Controller....

Getting Started with Creating Custom Routing in aspnet MVC: A Practical Guide
Today, I am going to demonstrate what is routing in Asp.Net MVC and how do we use it in our Asp.Net MVC application. Routing is used to map the incoming...

Getting Started with Custom Routing in aspnet MVC
Today, I am going to demonstrate how to create custom routing in Asp.Net MVC application. I hope you all know the routing concept; in short routing is used to map...

Getting started with Unit Testing using C# and xUnit
Unit Testing is a software testing approach which performs at the time of the development to test the smallest component of any software. It means rather than testing the big...

Getting Started: First Python Project Setup in Visual Studio 2017
As Python is becoming a popular programming language and everyone wants to get started with Python. But we have seen, most of the developers are confused from where they can...

Honoring the Best: Microsoft MVP Award 2016 First Time
I am delighted to share that Microsoft has awarded me Microsoft Most Valuable Professional (MVP) 2016 in Visual Studio and Development Technologies. This is my first Microsoft MVP award and...

How can I create an Azure Web App and deploy it using FTP
Hosting environments are required after building the web application. As per simplicity and availability of cloud, we generally want to host our application on clouds. Microsoft Azure provides different ways...

How to add a Primary and Foreign Key Relationship with Code First in Entity Framework
This article will demonstrate how to implement primary key and foreign key relationship in Code First approach in Entity Framework. To complete this task, I am going to create Employee...

How to add an aspnet MVC project in Visual Studio Online or TFS
Create an ASP.NET MVC Project Open Visual Studio 2015, click on File, choose New and then choose Project. It will open a New ProjectDialog. Inside the Installed Template, choose Visual...

How to Bind DropDown with DdStick Jquery Plugin in aspnet
In this article, I will show you how to bind dropdown using DDSLICK Jquery Plugin. Create a new Asp.net Project. Go to File Menu and choose New and choose Project....

How to Choose Between .Net Framework .Net Core and .Net Standard
.Net Framework and .Net Core both are two different implementations of .Net Runtime. First one is older and .Net Core is newer than .Net Framework. Today, we will understand the...

How to Handle JSON Data with aspnet MVC and JQuery
Today I am going to explain about how to get JSON data with Asp.Net MVC to make ajax call using jquery. As we know JSON is very light weight as...

How to Host or Deploy aspnet Core App on IIS
This article will teach you how you can deploy or host you Asp.Net Core 2.0 web application on IIS. The hosting of Asp.Net Core 2.0 is little different from hosting...

How to Implement Cascading DropDownList in aspnet
Sometimes, it is required to make a dropdown which is dependent to another one, I mean to say if the first dropdownlist will be selected, on the basis of selected...

How to Implement State Management in aspnet MVC
As we all know, HTTP is a stateless protocol, i.e., each HTTP request does not know about the previous request. If you are redirecting from one page to another page,...

How to Implement Various Bindings in WCF
I will show in what scenario you should use which binding. What Is Binding In WCF Binding describes how a client is going to communicate to WCF service. Binding is...

How to Implement ViewState in aspnet: Step-by-Step Guide
ViewState is the method that is used in ASP.NET to preserve page and control value or we can say it is technique to persist the data of page or control...

How to Load Images with Angular JS Custom Directive and Web API in Highcharts
This article will demonstrate how to show loading message or any spinner image when your chart is being loaded or the drill-down chart is being loaded, using Highcharts Library in...

How to Perform CRUD Operations in aspnet Core 2 Razor Page using Dapper and Repository Pattern
This article will demonstrate you about how to perform CRUD operations in Razor Page which introduced Asp.Net Core 2 using Dapper and Repository Pattern. To complete this demonstration in a...

How to Perform CRUD Operations Unit Testing in aspnet Core Web API with xUnit
This article will demonstrate how to write Unit Test Cases for CRUD operations in Asp.Net Core Web API with xUnit project. In this demonstration, we will write the Unit Test...

How to Perform CRUD Operations with JSON File Data in Csharp
This article will demonstrate how to implement CRUD functionality with JSON file in a project using C# code. As we know, JSON [JavaScript Object Notation] is a subset of JavaScript...

How to Resolve TF30063 Error: Unauthorized Access to Team Foundation Service
Recently I was working with Microsoft Visual Studio 2017 and got the following error with TFS, which says, “You are not authorized to access Team Foundation Service”. The error code...

How to Run and Debug Typescript Projects in Visual Studio Code
Visual Studio Code (VS Code) and Visual Studio 2017 are the two most popular IDE nowadays. Visual Studio Code is a very lightweight and powerful editor for multiple programming languages...

How to Send an Email Using Csharp in a WPF Application
Microsoft provides us functionality to send email using C# code. We can use System.Net and System.Net.Sockets namespace to send email. Basically these namespace is responsible for sending the data and...