Introduction In .NET Framework 3.5 WCF supports returning JSON serialized data from REST-based Web Service. You can read REST Based WCF Service in ASP.NET 3.5 article to know about developing a REST Web Service. This post explains about creating a REST based Web Service that returns JSON-formatted data to ASP.NET page. 1.Create a new web site in VS20008 and Add a new item to the App_Code...
REST Based WCF Service in ASP.NET 3.5
Introduction This post explains you about building a REST-based service using Windows Communication Foundation(WCF) and ASP.NET 3.5. We develop this service without using the SOAP.You can read the REST Overview to get an understanding of what REST is? In simple tetchier statement we can say REST is WCF Web programming model. 1. Create a new web site in VS 2008 as follows Select the HTTP from the...
Publishing Feed on URI using WCF
Introduction In My previous article “Creating Web feeds with WCF†, I have explained about building a web feed with WCF. This post explains how to build a simple WCF service that exposes the feed data using both RSS and Atom. We are using both formats to emphasize the separation in WCF between the data [SyndicationFeed] and the formatting [SyndicationFeedFormatter].We can write the methods to...
ASP.NET Website vs Web Application project
Introduction This post explains about two project types in Visual studio ie Website and Web Application that we use to build the ASP.NET Applications and the fundamental differences between the two project types.. Background Website project type was introduced in the VS 2005 and Web Application model introduced in VS 2003. Website project type is based on folder structure and does not require a...
ASP.NET 3.5 List Controls Overview
Introduction This post explains the List Controls that are included in the ASP.NET 3.5. List Controls are one of the Data Bound type controls in ASP.NET. The following are the five List Controls in ASP.NET 3.5. BulletedList – It displays the list of items which can be displayed as text, a link button, or a hyperlink. CheckBoxList- It displays the list of checkboxes where user having the option...
Master Pages in ASP.NET 3.5
Introduction Master Pages allows you to display common content in multiple pages. It easier to maintain, extend and modify your web site with master pages. This post post explains about how to use master pages and different methods of modifying the content in a master page from individual content pages. You can create a master page in visual studio by selecting the web site menu option, Add new...
JSON vs XML
Introduction
This post explains the JSON Advantages over XML. JSON is more compact. Consider the following XML data
JSON Fundamentals
Introduction
A new data format which is built on JavaScript is called JavaScript Object Notation[JSON]. It is a lightweight data format based on JavaScript syntax. JSON definitions can be included within JavaScript files. This post speaks about basic syntax of JSON.
It is important to understand the specific syntax for array and object literals before we learn JSON syntax.
Ajax Principles
Introduction Ajax a new web application model which defines a new user experience to the end user. The following principles makes web application as a good Ajax application. Minimal traffic Ajax applications should send and receive a very little information to and from the web server. Ajax can minimize the traffic between server and client by not sending any unnecessary information and images...
AJAX History
Introduction This post explains the origins of Ajax, the technologies uses and where the term is originated.Traditional web model requires a full-page load every time new data or new application logic was accessed from the server. In new web 2.0 model only portion of the page is reloads and sends very small amount of data to the client , resulting in a faster and better user user experience. Open...