Read full article on the Infragistics blog Recently I heard – “IDE makes you ignorant, so do not over rely on the IDE”. Being a .NET developer, we cannot think our lives beyond Visual Studio and hence somewhere we become ignorant. We really don’t care about the behind the scene complexities. We create a projectContinue reading "How to use NodeJS, Express, and Bower to Create AngularJS apps"
21 points cheat sheet on AngularJS controller and the $scope object
This blog post is a 21 points cheat sheet on the AngularJS controller and the $scope object. These points can be used a quick notes while working with two important components of Angular app controller and the $scope object Notes on $scope object $scope is a glue between the view and the controller. It connectsContinue reading "21 points cheat sheet on AngularJS controller and the $scope object"
11 things about JavaScript functions .NET developers must know: Part 1
I have often seen .NET developers struggle with the JavaScript. They try to compare C# functions with the JavaScript functions and usually do some minor but conceptual mistakes while using it. As we all will agree that JavaScript functions are the backbone of the JavaScript programming language, and if one has good understanding of theContinue reading "11 things about JavaScript functions .NET developers must know: Part 1"
How do I setup ASP.NET Identity 2.0 to use my own connection string
By default ASP.NET Identity 2.0 creates the database inside the App_Data directory of the application. ASP.NET identity 2.0 works on the Entity Framework Code First approach and it reads the connection string mentioned in the web.config as shown below, In the ApplicationDbContext class you can find that connection string named DefaultConnection has been used. YouContinue reading "How do I setup ASP.NET Identity 2.0 to use my own connection string"
Getting started with Unit Testing JavaScript using QUnit
It is good to have automated unit tests for the codes while developing. In unit test we test smallest unit of the code for a particular behaviour. The Unit test helps us to find bugs in the code early in the development cycle. Essentially unit test is the piece of code which verifies behaviour ofContinue reading "Getting started with Unit Testing JavaScript using QUnit"
C# basics: why we override Equals method
You may have come across questions, Why to override Equals method? How to determine whether two object are equal? How to determine whether two objects are identical? To get answer of all the above questions, let us consider Product class as listed next: We are creating two instances of the Product class, foo andContinue reading "C# basics: why we override Equals method"
C-Sharp Basics: What is Checked and Unchecked operations
You may have come across questions, What is checked and unchecked primitive operations? How to handle overflow in C-Sharp? Does CLR handles overflow or developers? So let us start with understanding a program. Consider the code listed below: On running you will get 44 as the output. There is one serious observation about theContinue reading "C-Sharp Basics: What is Checked and Unchecked operations"
How to create a Container in Azure Storage from MVC application
I am working on a MVC application in which I need to work with Microsoft Azure storage .I had a requirement to create An Azure storage container from the MVC application. In this post I will share my learning that how I created a container programmatically. I created the view as shown in below image.Continue reading "How to create a Container in Azure Storage from MVC application"
Related entities in Entity Framework Code First approach
In this post we will learn to create relationship between entities in the Entity Framework Code First approach. Setting up We are going to create three tables and set up the relationship between them. BankUser BankUserAccount Nomniee To create tables we will create entities further in the post. For table creation the context class hasContinue reading "Related entities in Entity Framework Code First approach"
How to Clone a Git repository in Visual Studio
In my trainings, often I get a question from junior developers that how to clone a Git repository in the visual studio? Perhaps it may be very simple for senior developers, however for the developers who struggle to get it right steps are discussed below, Step 1 Find the URL of the remote git repository.Continue reading "How to Clone a Git repository in Visual Studio"