Strongly Typed Url Generator for ASP.NET

Nova Software has release a new Open Source project, UrlGenerator. The UrlGenerator tool is used to generate strongly typed Urls according to the website directory. So you could navigate to a URL or receive the request parameters safely. The project is developed based on C# and ASP.NET 2.0.

The bigest feature of the tool is that you can use any Entity Class as the type of request parameter.

Published Thursday, September 18, 2008 5:14 PM by chanva

Comments

# re: Strongly Typed Url Generator for ASP.NET

Thursday, September 18, 2008 5:09 AM by Fabrice Marguerie

I'll have to investigate, but it sounds similar to PageMethods, which has been available for a while.

metasapiens.com/PageMethods

Note: PageMethods works with VS 2003, 2005 and 2008.

# re: Strongly Typed Url Generator for ASP.NET

Thursday, September 18, 2008 6:42 AM by chanva

I have studied PageMethods before developing the tool. The PageMethods is more like the MVC pattern, it dynamically generates the URL string at runtime. The Url Generator genereates the static URL string in which parameter values will just be changed at runtime. I think that Url Generator will work better with normal ASP.NET websites.

# re: Strongly Typed Url Generator for ASP.NET

Thursday, September 18, 2008 4:39 PM by anas

I think it must be "add on " for visual studio, which will be responsible for keeping the generated classes in synchronous with website structure .

# re: Strongly Typed Url Generator for ASP.NET

Sunday, September 21, 2008 4:46 PM by Fabrice Marguerie

> I think it must be "add on " for visual studio, which will be responsible for keeping the generated classes in synchronous with website structure.

This is how PageMethods work. It's integrated with Visual Studio.

PageMethods has nothing to do with MVC. It's here to generate URLs with type safety, and is designed to work with "normal" ASP.NET websites.

URLs have to be generated at runtime as soon as they contain parameters, so, I don't understand how UrlGenerator can be more static than PageMethods, and what that means.

# re: Strongly Typed Url Generator for ASP.NET

Saturday, September 27, 2008 9:16 AM by chanva

The "addin" feature has been added into Url Generator now. Please see weblogs.asp.net/.../updated-version-of-strongly-typed-url-generator.aspx.

Leave a Comment

(required) 
(required) 
(optional)
(required)