Browse by Tags
All Tags »
.Net Framework 3.5 »
DEV (
RSS)
WCF REST Starter Kit Preview 2 Available on Codeplex The WCF REST Starter Kit is a set of features, Visual Studio templates, samples and guidance that enable users to create REST style services using WCF . While the October release of the WCF REST Starter Kit focused on building server-side REST services, the Preview 2 release adds features to make client-side REST development easier. Among the new functionality included in Preview 2 is a new class that provides a staged pipeline model for requesting...
Building an Occasionally Connected ADO.Net Data Service with “Astoria Offline” Preview This is a step by step walkthrough of creating a new ADO.Net Data Service that support offline and synchronization with the recently released “Astoria Offline” alpha preview. 1. Create an ADO.Net Data Service that Allows Synchronization Create a new standard Web Application project. Add a new Entity Data Model. This time, make sure you select the [Offline Preview] ADO.Net Data Model template. Also notice that the...
ADO.Net Data Services Offline (“Astoria” Offline) – Alpha Preview While only a week ago, the Astoria team has announced ADO.NET Data Services v1.5 CTP1 . Today, an alpha preview of Astoria Offline just became available. ADO.NET Data Services v1.5 CTP1 is a tech preview of the next release of ADO.NET Data Services. It will initially target the .NET Framework 3.5 SP1 and Silverlight 2 platforms in a future version support the .NET Framework 4.0 platform. “Astoria Offline” enables developers to add...
ASP.Net MVC RSS Feed Action Result ASP.Net MVC Controller Actions usually returns an object that inherits from the ActionResult class. public abstract class ActionResult { public abstract void ExecuteResult( ControllerContext context); } ASP.Net MVC ships with several Action Results: ContentResult – Simply writes the returned data to the response. EmptyResult – Returns an empty response. HttpUnauthorizedResult – Returns Http 401 code for non authorized access. JsonResult – Serializes the response...
ASP.Net MVC Route Constraints ASP.Net MVC has a powerful Routing Engine that allows mapping between URL Routes and Controller Actions. The default route that is created with an empty ASP.Net MVC application is: {controller}/{action}/{id} But, according to application requirements, other routes can be used, with parameters not necessarily of type string and int, and may require certain constraints to take place. For example, my previous post about Anatomy of an ASP.Net MVC Application can be found...
Building an IE8 Visual Search Provider for my Twitter Friends With the upcoming release of Internet Explorer 8 , one of the new features in it that I am most excited about is the Visual Search Suggestions . In this post I will build a Visual Search Suggestion Provider that displays a list of my twitter friends with their current status and profile image as I type their name in the search box. You can download the source code of the complete version of this guide . This guide is based on the Search...
WCF on IIS7 on Vista - Adding .svc Handler I’ve just formatted and reinstalled my computer yesterday. When I started to build a W CF Service on IIS 7 on my Vista machine, I got the following message: Server Error in Application “Default Web Site/...” HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension of the configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. This is what I did to have it work: Start...
Twitter API from C#: Searching Following my post Twitter API From C#: Getting a User’s Time Line , I’ll talk about how to use the Twitter Search API . The main difference between this post and the previous one, is that Twitter Search API currently does not support XML response, and supports only atom and json. So, in order to search for specific terms, I’ll have to take another approach than the one I took before. Performing a Search To perform a search in the browser for “DevAcademy3”, I can navigate...