Understanding and Enabling CORS on Web api

In this article I will help you to understand the CORS (Cross origin resource sharing). And we will understand enabling cors on a web api which I have developed as an example for this article.

Continue reading

How to add ASP.NET Core Web configuration file

This article will help you to understand about adding the ASP.NET Core Web Configuration File. In my previous article I have discussed about the prerequisites to develop ASP.NET core web project and the asp.net core web project structure. The links are below.

Continue reading

ASP.NET Core Folder & Files Structure

In this article I will discuss the project and folder structure for the ASP.NET core web application, I have created my first application using ASP.NET core framework in my previous article. This article includes the concepts and role of the wwwroot folder present in the application. I will also discuss about the appsettings.json, global.json and project.json files.

Continue reading

ASP.NET Core

ASP.NET Core Prerequisites and First Web Application

Hello, In this article I will discuss about the latest .NET framework introduced by Miscrosoft. The latest framework is known as .NET core. I will discuss about the prerequisites to get started with ASP.NET core. We will develop our first web application in the newly introduced framework.

Continue reading

Composite pattern with two Examples

In this article I will discuss the Composite pattern with two C# code examples. One is the usual leaf node example and other being the binary tree structure example.

Continue reading

How to Wait for Task in C# thread programming

In this article I will discuss the various ways by which we can wait for task completion in C#. There are many ways in which we can wait for a single task or multiple tasks.

Continue reading

Bridge Pattern with C# example

In this article I will discuss about the bridge pattern in C# with practical example. Bridge pattern is also an structural pattern like Proxy and decorator patterns.

Continue reading

Using Enum to store multiple bool fields

Hello, Once I attended an interview for the C# programming job. And programmer asked me a question. Though I was not able to answer the question. But I will share here the question and the answer using enum in this post which can help you to encounter any such scenario in your job.

Continue reading

JQuery Selectors – A Quick Reference

In this article I will discuss the various ways by which we can select an element in HTML page using Jquery. If you want to know how to start Jquery development you can read this article. After setting up the project and environment we can start our development with Jquery selectors.

Continue reading

proxy pattern

Proxy Pattern With Practical C# Example

In this article I will discuss about the proxy pattern. This post will also include the use cases where and how this pattern can be used with live C# example.

Continue reading

C# decorator pattern

When and where to use C# Decorator Pattern

In this article I will discuss one of the important and structural design pattern. The pattern I want to discuss is the decorator pattern. I will use the C# code example to illustrate the use and implementation of this pattern.

Continue reading

How to perform C# Asynchronous operations

In this article I will discuss about the different ways in which we can perform a long running operation asynchronously in C#. I will discuss all the cases with examples. This will help you to decide which method you can opt for while working asynchronous programming. Continue reading

How to Start Jquery Development

In this article I will start with basic of the client side web development using the Jquery library. This article should help you to getting started with UI development

Continue reading

Comparing C# types – IComparable or IComparer

How to make best of the interfaces provided by .NET framework for comparison types? In this article I will discuss why to use IComparable or IComparer interfaces. And why do we need to compare types in .NET at first place.Lets’s start checking all the aspects one by one by using C# examples.

Continue reading

Task output with correct parameter

Correct way to provide parameter to C# Task

In this article I will discuss the correct way to provide input parameter to the task and not to use the shared variable for the tasks. Before reading further you may want to read my previous articles about tasks.

Continue reading

WPF validation using INotifyDataErrorInfo

In this article I will discuss about INotifyDataErrorInfo which is used to validate the data asynchronously in WPF. In my previous articles I have discussed about the ways to validate data entered in the UI.

Continue reading

WCF bindings and Types

WCF or Web Api ? Make your own choice.

There are lots of article out there to explain you the difference between WCF and Web Api. But while working in practical scenarios which one to choose ? In this article I will cover the difference from the pragmatic point of view which should help you to choose the best among WCF and web api.

Continue reading

WPF validations using IDataErrorInfo

In my previous article I have discussed about the first two ways out of total four ways by which we can perform WPF validations. In this article I will discuss the validation using IDataErrorInfo.

Continue reading

Bangalore .NET meetup

My First Experience as Technology Speaker

Since long I had a hidden desire of speaking in front of audience. I wanted to experience how it feels to be in front of people and teach them something useful which they can use in their projects and day to day working scenarios. But I should also admit that I had fear of speaking in front of gathering.

Continue reading

WPF Validation with Examples – Part 1

In this article I will discuss all the ways in which we can validate data in the WPF application. The various WPF validation techniques are as following.

Continue reading