Geeks With Blogs
Chris Breisch   .NET Data Practices
Search this Blog!

When I first heard of this, I didn’t pay too much attention to it.  That was stupid.  This is a really cool addition to ASP.NET.  The author describes it better than I could.

PageMethods provides a solution for the limitations of the standard way of handling pages, URLs and parameters.
The usual way to proceed is not structured. With PageMethods, the code of your pages is simpler, cleaner and more reliable.

The approach is based on strict page inputs and declarative parameter binding. With PageMethods, each page exposes a set of methods that represent the different ways to call the page.
All you have to do to start benefiting from sharp URLs is to add methods to your pages, and mark these methods with attributes provided by PageMethods.

This approach avoids concatenation of strings in passing parameters, and gives you strongly typed parameters and compile-time checks, even Intellisense for the parameters for your ASP.NET page.

This is beyond cool.

Posted on Friday, February 17, 2006 8:12 AM .NET Development | Back to top


Comments on this post: PageMethods, well-defined URLs for your ASP.NET sites

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Chris J. Breisch | Powered by: GeeksWithBlogs.net