Showing posts from September, 2016

What are Idempotent and Non Idempotent methods?

Idempotent Methods and Non Idempotent methods Let's start by understanding the meaning of Idempotent. Idempotent means  "unchanged in value following multiplication by itself" Idempotent HTTP methods are those methods which will not make any modification event after calling multiple times.

Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery) is not supported - Entity Framework

In the previous blog, we have seen about Entity Framework. In this blog, we will see error resolution related to Data binding directly to a store query. In Visual Studio 2015 I was using Entity Framework and wrote a code to bind data with GridView. I wrote the normal Linq and browse my web page. And surprised to see below line of error:

Create a login module using Entity Framework

If you are new to Entity Framework then read my earlier blog on this. In this blog I will explain about how to create a login module using entity framework.

How to create secure Web API in

In my earlier blog I wrote about how to create a web api in  , now your WebAPIi is ready to work. Web API security is very important especially if you are allowing it to external users to consume it.

The underlying provider failed to open - Entity Framework Error

I found this error - " The underlying provider failed to open " while I was working on Entity framework project.

Business Connectivity Service in SharePoint 2013

In this blog, we will see what's new in BCS in SharePoint 2013. BCS stands for Business Connectivity Services which returns the result to the user through an external list or data sources.

Design Patterns in ASP.Net

If you are an ASP.Net developer or any other programming technologies, then you must have came across the word Design Patter. In this blog, we will see What are design patterns and their types

Dispose vs Close

In this blog, we will see the differences between Dispose() and Close()

SharePoint 2013 Installation step by step

In this blog, I will explain about SharePoint 2013 installation on Windows Server 2008 R2, which I did recently on my system. Below is minimum software requirement for SharePoint 2013 installation. OS-  Windows Server 2008 R2 (Service Pack1) or above SQL Server - SQL Server 2008 SP1 or above.

How do i get ASP.Net Web API to return JSON

In my earlier blog, we have seen How to create a Web API?  In this blog, we will see about how to return JSON data instead of XML in Web API. ASP.Net Web API returns XML by default. But we can change so that it should return JSON instead of XML.

How to create ASP.Net Web API

In this blog, I have created ASP.Net web api using Visual Studio 2015. If you need to know what is web api then please read one of my previous blog .

MVC Architecture

In this blog, we will try to understand the MVC Architecture with the help of a diagram.

MVC Version

MVC was first introduced in .Net 3.5 framework. MVC 1.0 was available in year 2009 with following features: Routing, HTML Helpers, Auto Binding. Since then multiple versions were introduced with various .Net framework.

What is Web API? When should we use in our projects?

Web API is the Microsoft open source technology for developing REST services based on HTTP protocol. ASP.Net Web API is a framework for building, consuming HTTP based service. The advantage of Web API is that it can be consumed by a wide range of clients like a web browser and mobile applications.