 |
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

September 16th, 2016, 05:10 PM
|
|
Registered User
|
|
Join Date: Aug 2016
Posts: 6
Thanks: 0
Thanked 4 Times in 3 Posts
|
|
Confusion in chapter 7 about .aspx extension in the sitemap
Hi Imar..
Thanks for this great book. it's helping me a lot to understand core ASP.NET programming in C#.
There are some few aspects that's not clear to me. As at the time of writing this, i'm on page 252. where you instructed for us to add folders and web forms using the BasePage template. After doing all that and adding the title in each new page and save, if i try to navigate to a particular page it brings an error. going back to the sitemap on page 245, you didn't add the .aspx extension though later in the chapter you introduced the concept of FriendlyUrls(extension-less Urls). i want to know if you already implemented the FriendlyUrls package on page 252 to the Site project before you introduced it later in the chapter.
Please know that when i added the .aspx extension in the sitemap all the pages worked perfectly. i know i still have to remove them when i get to the concept of FriendlyUrls(extension-less Urls).
Please reply
|
|
The Following User Says Thank You to zinedu5 For This Useful Post:
|
|
|

September 17th, 2016, 05:34 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Are you using an ebook version of this book? My hard copy does have the .aspx extensions on page 245. However, it does have urls mistakenly end in a dot (.) so maybe when applying the errata to the ebook something went wrong. What do you see on page 245?
Imar
|
|

September 17th, 2016, 08:46 PM
|
|
Registered User
|
|
Join Date: Aug 2016
Posts: 6
Thanks: 0
Thanked 4 Times in 3 Posts
|
|
Hello Imar
Hello Imar,
I'm using the hard copy of the book and no, it doesn't have the .aspx extension on page 245
|
|

September 18th, 2016, 12:01 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You must have a reprint then where they have updated the errata, but incorrectly ;-)
On page 245 all URLs should have an aspx extension.
Hope this helps,
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

September 21st, 2016, 12:51 PM
|
|
Registered User
|
|
Join Date: Sep 2016
Posts: 3
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Yep, I've just hit the same problem!
couldn't work out why I was getting broken links. But now all is ok!
Best wishes,
Mike
|
|

October 8th, 2016, 11:22 AM
|
|
Registered User
|
|
Join Date: Oct 2016
Posts: 7
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Interestingly when you add the .aspx extensions on page 245 and then install the friendly urls on page 252 the menus still work but the breadcrumbs functionality doesn't. I had to remove all .aspx extensions for the breadcrumbs functionality to work again.
|
|
The Following User Says Thank You to harvazad For This Useful Post:
|
|
|
 |
|