Fabrice's weblog

Tools and Source

News

My .NET Toolbox
An error occured. See the script errors signaled by your web browser.
No tools selected yet
.NET tools by SharpToolbox.com

Read sample chapters or buy LINQ in Action now!
Our LINQ book is also available on AMAZON

.NET jobs

Emplois .NET

Tuneo

ASP.NET Hosting transatlantys

Contact

Me

Others

Selected content

Archives

PageMethods for VS 2005 1.6

A big update for PageMethods for VS 2005 has just been published: PageMethods for VS 2005 1.6

This version provides lots of new features, some bug fixes and improvements:

  • Added support for the new Visual Studio 2005 Web Application Project Model (highly recommended)
  • Added support for partial classes (if they are in files below the aspx files - "DependentUpon" in the project files)
  • Added support for solution folders
  • Added the ability to use the base namespace of your choice instead of MyPageMethods
  • Added the ability to call an external web site by importing its list of page methods
  • Improved support for HTTP POST
  • Fixed a bug that was happening when there was no page method in the site's root

Please update your version. Please uninstall the previous version first.

Later this week, I will publish a short article to show some of the exciting new features included.

Comments

Dorin Andreica said:

How can I change the default MyPageMethods namespace? Can you please point me to relevant documentation?

Thanks
# February 8, 2006 5:42 AM

Fabrice said:

I haven't documented this yet.
I will show this in an article later today.

Meanwhile, you can try this:
- If you use Web Applications, you can change the CustomToolNamespace property of the PageList.xml file.
- If you use Web Sites (VS 2005's default mode) or even Web Applications, you can edit the PageList.xml file and change the baseNamespace attribute in Pages/Settings to any namespace of your choice.

Please note that you should avoid using the same namespace as the web project to avoid name conflicts.
# February 8, 2006 5:53 AM

Fabrice said:

I have an article that describes how to change the default namespace here:
http://metasapiens.com/PageMethods/Tutorial/Bases/
# February 11, 2006 4:20 AM