Archive for February, 2009
AJAX Enabled WCF Service
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 folder by selecting the AJAX-enabled WCF Service template from the dialogue box as shown below
Related Posts:
1 commentREST 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 location box and type the AdventureWeb in the name location box.
Related Posts:
11 commentsPublishing 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 return the Atom10FeedFormatter or the Rss20FeedFormatter.
Related Posts:
No commentsCreating Web feeds with WCF
Introduction
A feed on the web is data format where users can read content from different web sites by subscribing using client applications. Building and exposing a web feed is not a new idea but in this post we are going to use WCF to build the feeds.WCF allows you to create feeds for both Atom1 and RSS2 standards.
Building a Feed with WCF
The following are two important features in WCF allows us to build the feeds.
Related Posts:
1 commentASP.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 project file. Later in VS 2005 sp1 project file was introduced for the VS 2005 website project type. Now in VS 2008 we can create both project types.
Related Posts:
5 commentsMVVM Pattern for WPF Applications
Introduction
Model-View-ViewModel [MVVM] is a design pattern for developing the UI Applications. It is a variation of MVC and MVP. MVP[Model-View-Presenter] which has been using for years to develop UI platforms.
Bit about MVP
View is what you see on the screen.Model displays the data and Presenter hooks the two elements together.You can read more about this pattern in August 2006 Design Patterns column.
Related Posts:
No commentsUnit Testing with VS 2008 Team edition
Introduction
Unit tests allows the developers and testers to check the logical errors in the methods of classes in C# and VB.NET Projects.Unit test can be created once and can be run every time that source code changes.Unit test cases make sure that no bugs are introduced when you write the new code.
This post speaks about Unit Test Framework that introduced in VS 2008 Team Suite for developers that was not available in VS 2005 and also explains about creating and running Unit Tests.
1. Create a new Class library project in VS 2008 and write the following code in class
Related Posts:
2 commentsMicrosoft “Oslo” Features
Microsoft’s “Oslo” is a platform for building the data-driven applications. This post explains about “Oslo” platform concepts and technologies required to implement those concepts.
Oslo contains three elements
- A set of languages called “M”[MSchema,MGrammar and MGraph]
- Data manipulation tool called “Quadrant”
- A repository for data store
Related Posts:
No commentsMicrosoft Dublin Features
Introduction
Microsoft new extensions to the windows server code named “Dublin” which provides a hosting environment for both WCF and WF applications. Dublin is set of service management extensions built on top of IIS/WAS that will ship with windows server.![]()
Source: MSDN
Related Posts:
1 commentWCF Features in .NET Framework 4.0
Introduction
WCF providing a way to define service contracts and to configure endpoint definitions using the declarative XAML in .NET Framework 4.0.
Consider the WCF service contract definition:
![Recommend [kalyanms1]](http://s3.amazonaws.com/arkayne-media/img/badge/logo-recommend-badge-medium.png)