September 2016
What are Idempotent and Non-Idempotent methods?
.
After reading this article, you will be confident about Idempotent and Non-Idempotent methods?Let’s start by understanding the meaning of Idempotent.Idempotent means “unchanged in value following multiplication by itself” Idempotent Methods Idempotent HTTP methods are those methods which will not make any modification…
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…
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. Create a login module using Entity Framework Create Table Script: /******…
How to create secure Web API in asp.net
.
In my earlier blog I wrote about how to create a web api in asp.net , 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.Now…
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. I searched this and found the solution.Inner Exception says: Cannot open database “xxxx” requested by the login. The login failed.Login failed for…
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.BCS allows us to perform operations with external…
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 What are Design Patterns? Design patterns provide…
Dispose vs Close
.
In this blog, we will see the differences between Dispose() and Close() What are the differences between Dispose() and Close() Dispose() and Close() function for is used to dispose or close SharePoint server objects like SPWeb, SPSite. Purpose of these…
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 aboveSQL Server –…
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…
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. Follow the below steps to create ASP.Net Web API Open Visual…
MVC Architecture
.
In this blog, we will try to understand the MVC Architecture with the help of a diagram. MVC Architecture MVC consists of 3 main words: Model View Controller Apart from above mentioned elements one another important element is there in…
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. Versions of MVC After MVC 1.0, 2.0, 3.0, 4.0,…
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…
