Browse by Tags
All Tags »
Ajax (
RSS)
To JSON or not to JSON? I want to introduce some performance testing about DataContractJsonSerializer against DataContractSerializer . But first, I want to explain what is JSON and DataContractJsonSerializer? What is JSON? JSON (JavaScript Object Notation) is a lightweight syntax for representing data that enabling fast exchanges of small amount of data between client browsers and AJAX -enabled Web services. JSON encodes data using subset of the JavaScript object literals, and it easier to "parse"...
WCF and ASP.NET AJAX Integration This post is part of WCF REST Presentation I show last week at Microsoft. I played with the WCF and ASP.NET AJAX integration, and created a sample web site which by can integrate WCF service with Microsoft Virtual Earth . The Service Contract The following contract is simple service contract with one method GetLocation(). The namespace "Sample.Services" will be used later as a prefix to the generated proxy. AspNetCompatibilityRequirementsMode allows the...
Using DragPanelExtender to Drag and Drop Silverlight Control In previous post ASP.NET AJAX DragPanelExtender I was displaying how to use ASP.NET AJAX DragPanelExtender Control to drag and drop content in your ASP.NET web pages. In order to drag and drop a Silverlight Control you need to: Create your Silverlight Project . Add DragPanelExtender into your page as described in the previous post: ASP.NET AJAX DragPanelExtender The html content of your web page should contain something like: < body...
ASP.NET AJAX DragPanelExtender Hi, In this post, I will show you how to create and use the DragPanel Control of ASP.NET AJAX . The DragPanel Control allow you to move the panel around your web page in your ASP.NET application. So lets start with creating new AJAX Control Toolkit Web Site in your Visual Studio. In previous post Using the ASP.NET AJAX Calendar Control you can see how to install the AJAX Control Toolkit . The Panel Control Lets drag a Panel Control into our page and call it PanelContainer...
Using the ASP.NET AJAX Calendar Control This post is about using of the Calendar extender control from the ASP.NET AJAX Control Toolkit. For using the ASP.NET AJAX Control Toolkit toolkit, you need to download the ASP.NET AJAX Control Toolkit from http://www.asp.net/ajax/downloads/ . Installing the ASP.NET AJAX Control Toolkit Download the AJAX Control Toolkit source code, extract it into folder ..\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit , create new folder...
Creating Silverlight Controls and Web Service with ASP.NET Futures In this post I will demonstrates how Silverlight 1.1 can received and display data from a web service using the controls from ASP.NET Futures package. Microsoft ASP.NET Futures July 2007 The Microsoft ASP.NET Futures July 2007 release contains an early developer preview of features providing new functionality for ASP.NET and Silverlight . There are two new ASP.NET server controls: a Media server control for integrating media sources...
WCF Services and Ajax In this post I show a sample of a WCF 3.5 service which supports Json . WebGetAttribute.ResponseFormat Property The WebMessageFormat property determines the format of responses sent from a service operation. The two possibe values are Xml and Json . The following example demonstrates how to set the ResponseFormatProperty: [ ServiceContract ] public interface IService { [ OperationContract ] [ WebGet (ResponseFormat = WebMessageFormat .Json)] String SayHello( String name); }...