Click here to Skip to main content
15,892,746 members
Articles / Web Development / HTML

RESTful routing in ASP.NET MVC

Rate me:
Please Sign up or sign in to vote.
4.00/5 (2 votes)
26 May 2008MPL3 min read 43.5K   259   19  
This sample application demonstrates how to use the SimplyRestfulRouteHandler to provide a RESTful approach to client-server communication.
using System;
using System.Collections.Generic;
using System.Web.UI;

namespace RestfulSample
{
	public partial class _Default : Page
	{
		public void Page_Load(object sender, System.EventArgs e)
		{
			Response.Redirect("~/Home");
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Mozilla Public License 1.1 (MPL 1.1)


Written By
CEO Technology Today, LLC
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions