Fault Contract in WCF – WCF Service Tutorial

In this article, we will see how to implement Fault Contract in WCF. In typical ASP.Net code we use try catch block to manage exception, but in WCF Fault Contract is used handle exception so that reason of error can reach to the client. WCF Fault Contract If you are new to WCF Contracts, please … Read more

Data Contract vs Message Contract in WCF – WCF Service Tutorial

If you are new to Data Contract and Message Contract. Please read my earlier blogs. Data Contract Message in WCF Data Contract has very less control over SOAP message, while Message Contract has full control. Data Contract vs Message Contract Data Contract is used to define the structure of data which will be exchanged between … Read more

Message Contract in WCF – WCF Service Tutorial

If you are new to WCF Service, please read my earlier blogs. WCF Introduction and WCF Contracts As we know the default message protocol in WCF is SOAP. Message contract is used to define the SOAP structure. As we know SOAP has Envelope, Header, and Body.  So if you want control over SOAP then you must … Read more

Query with OData in SharePoint 2013

OData, i.e. Open Data Protocol, which defines a protocol for the querying and updating of data.In this blog, we will see the use of oData in ASP.Net.OData is a REST-based protocol for querying and updating data and is built on standardized technologies such as HTTP, Atom/XML, and JSON.Microsoft Visual Studio and .NET provide established support … Read more

What is OAuth?

OAuth stands for Open Authorization for token based authentication and authorization over web.OAuth was first introduced in year 2007. In year 2010 OAuth2.0 was introduced. OAuth acts as an agent for a user to fetch the information.OAuth allows a user’s account information to be used by a 3rd party such as Twitter, Facebook, Google, without … Read more

How to insert Data using Entity Framework

If you are new to Entity Framework, then read my earlier blog – Introduction to Entity FrameworkThis blog will help you about How to insert data into sql using Entity Framework.I have used Database first model approach.HTML File: <html xmlns=”http://www.w3.org/1999/xhtml”> <head>     <title></title>     <script src=”js/jquery.min.js”></script>     <script>         function SubmitData() {             var name … Read more

Introduction to Entity Framework – Entity Framework Tutorial

In my another blog, I have explored about ASP.Net and ASP.Net Core. In this blog, we will see about Entity Framework. What is Entity Framework? Entity Framework is an object-relational mapping which allows developers to work with relational databases. Entity Framework is an open source framework. What is ORM? Before starting with Entity Framework lets know … Read more

RSS
YouTube
YouTube
Instagram