|
|
 |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0  | This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

January 20th, 2007, 12:10 PM
|
|
Authorized User
|
|
Join Date: Mar 2006
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
URL Rewriting
I want to integrate URL Rewriting into The Beer House, any tips on the easiest way of doing this, or how I might start implementing this?
|

January 22nd, 2007, 03:15 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It's already being used. Check urlMappings in web.config.
|

August 2nd, 2007, 06:06 AM
|
|
Friend of Wrox
|
|
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 10 Times in 9 Posts
|
|
just caught this thread (ok, i know it ws in january!!). Just wondering how the urlMappings in the config works and if it can be applied in a code scenario. Due to my shared hosting, I can't use the Global.asax Application_BeginRequest method and have rolled my own method which 'kinda' works. However, if the method used in the config for urlMappings can be 'transposed' up into code, then that'd be my preferred option. of course, there could be good reason that this isn't possible, the least of which being that it may be compiled into the code and therefore innacessible dynamically.
anyway - if anyone has an answer on this, that'd be great. My main use for it on my site is for extesionless Vanity URL's. you can see my implementation working if you goto http://www.originaltalent.com/andyward . This is really just http://www.originaltalent.com/ShowHomepage.aspx?ID=46 and the url is 'rewritten' (not URLRewrite) to show the vanity url (i.e. you can type http://www.originaltalent.com/jimibt and if that user exists, then his/her page will be shown, otherwise an error page is shown.
Hope you get the gist of what i'd like to do.
jimi
http://www.jamestollan.com
|

August 7th, 2007, 06:42 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2006
Location: , , .
Posts: 141
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Hi Jimi,
I'm currently testing urlrewriter.net to do this :-)
I will keep you posted
koen
|

August 7th, 2007, 06:48 AM
|
|
Friend of Wrox
|
|
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 10 Times in 9 Posts
|
|
Quote:
quote:Originally posted by vantoko
Hi Jimi,
I'm currently testing urlrewriter.net to do this :-)
I will keep you posted
koen
|
keon - does urlrewriter.net still work on postbacks (both traditional and ajax)?? my implementation works 100% fine until i have a postback (such as the comments in the hompage/articles sections)
jimi
http://www.jamestollan.com
|

August 7th, 2007, 08:45 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2006
Location: , , .
Posts: 141
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Hi Jimi,
it should when you add a forms.browser into your app_browsers folder.
I read this on a blog somewhere.
I have some problems registering the class in my web.config. when it works I will post it
Koen
|

August 7th, 2007, 11:11 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2006
Location: , , .
Posts: 141
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Hi,
I just did a test with urlrewriting, voting and comments and it works fine !
Didn't test ajax (yet)
i only have one problem in createing a tranformationclass in my app_code folder.
and then adding the reference in web.config.
it needs a specification of the namespace and the assembly. But since the code is in the application itself, I dunno how to retrieve the correct assembly name.
any suggestions ?
Koen
|

August 9th, 2007, 02:54 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2006
Location: , , .
Posts: 141
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
I just recieved a message regarding urlrewriter that in a Web site application, you do need to create a seperate DLL to manage transformations.This is too bad since code based on the TBH book puts everything into 1 application, so if I need to create a seperate DLL to manage my transformation, I need to add code to that dll that retrieves information based on the BLL code from my project. (methods like getarticletitlebyID(int ID)
Anyone any idea on how to solve this ?
koen
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |