Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : 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
 
Old August 18th, 2011, 08:51 AM
Registered User
 
Join Date: Aug 2011
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Thumbs down I was doing ok until Chap. 4 - Templates

Correction: I meant to say Chapter 6

So far I've been able to follow along with the fine instruction and 'Try It Out' exercises in the book. What I'm about to say isn't anything about a problem that I'm having or the way the information was presented. This is about Microsoft's implementation of template creation. When I got to the part where I had to rename the class to $relurlnamespace$_$safeitemname$ that's where I started asking myself a lot of questions. With all the automatic code creation and all the Intellisense that is available with the Visual Studio development tools, this is the best that MS has to offer? First of all this parameter name, and others like it, is about as obscure as it could possibly be. As a complete novice to ASP.NET how in the world would I ever figure this out on my own? My 5 minute search on "How to create an ASP.NET template" doesn't really lead to anything about these parameters. I just can't believe that I'm going to have to remember the "magic code" in order to create a template. Please tell me there's a better way.

Last edited by Wrong Planet; August 18th, 2011 at 09:01 AM.. Reason: syntax improvement
 
Old August 18th, 2011, 12:28 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

No, unfortunately you're corrrect. There is no easier way, and creating them is not documented very well either. I had to get in touch with the Web Development team from Microsoft to find out this specific tag. That's why I wanted to mention it in my book so it's at least documented somewhere.

Good thing is: you don't have to deal with this very often.... ;-)

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Wrong Planet (August 23rd, 2011)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap 2 - Avatars and uploading files, (would apply to Chap 6 too) kenj BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 0 October 18th, 2009 03:14 PM
"templates" Somesh ASP.NET 2.0 Professional 8 March 27th, 2007 08:53 AM
Templates pilcher85 Dreamweaver (all versions) 1 March 21st, 2007 05:51 PM
Templates ervinel Classic ASP Basics 0 July 13th, 2006 02:47 PM
Templates Neal XSLT 1 February 10th, 2006 07:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.