ABC of WCF

In this article, we will focus on ABC of WCF which is the core of WCF service endpoints. This is one of the most important interview questions. What is the ABC of WCF?  ABC is the main foundation of WCF learning. WCF service comes into existence with a valid Endpoint.  An endpoint consists of 3 … Read more

First WCF Service Application – WCF Tutorial

In this blog, I will be creating a WCF service application project. If you want to learn WCF from the beginning, please read my earlier blog. Let’s create the first WCF Service Application To create a WCF project open Visual Studio 2012 and select File->New Project. Click on WCF from an installed template (Left area) … Read more

How to maintain page scroll position after page post back in asp.net

In this blog, I will write about How to maintain page scroll position after page post back in ASP.Net. Suppose there is a page with a huge number of inputs and in one case some error/exception occurs at bottom of the page. But in the postback, the page scroll position moved to the top. In … Read more

Differences between Stored Procedure and Functions

Very frequent question asked in interview is Differences between Stored Procedure and Functions.Below are the differences between these 2. 1) Functions must return a value. Stored procedure need not be.2) Stored procedures can be called using EXEC command where as Functions can be called from another SQL Statement.3) Stored Procedures are precompiled. Functions are not precompiled.4) Generally Stored procedures are … Read more

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

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

RSS
YouTube
YouTube
Instagram