Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 13th, 2005, 09:42 AM
FT FT is offline
Authorized User
 
Join Date: Oct 2005
Location: , , .
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default namespace

Hi all
I have a question.
If I want to use the ThePhil source kode for my project.
But I want to change the name of the namespace can I do this?.
And how ?

  #2 (permalink)  
Old November 14th, 2005, 12:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You probably aren't ready to make a change like this. You should learn more about projects, solutions, project references, assembly references, and compilation and deployment first.

Once you'ce studied these subjects, a text editor can easily change your namespace. However, if you cheat and try to do this first you'll quickly learn the error of your ways.
  #3 (permalink)  
Old December 1st, 2005, 11:03 AM
Registered User
 
Join Date: Nov 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What would be a good reference to start learning more about the above topics. Most Asp.net books only talk about asp.net technology and not about projects and so forth.

  #4 (permalink)  
Old December 4th, 2005, 09:52 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I like Dino Esposito's books. Even his beginner books are more advanced than other beginner books. But there are other options:

1) if you do vb.net (or if you do C#, but you aren't afraid to look at vb.net), the desktop videos from www.learnvisualstudio.net are amazing and fairly cheap compared to other videos. Bob Tabor spent many hours showing people exactly how to move around in VS and do many things. There are some videos specific to C#, but most use VB. The best thing you can learn here is all the little tips that you won't find in a book.

2) creating your own solutions, adding projects to it, and playing around with those will teach you a lot.

3) usergroups give you a lot of help. Sometimes you can meet someone who can sit down with you and show you how to do things.

4) other more advanced developers in your company can help you. I do a lot of coaching within my company, and so do a lot of others. If you don't have more experienced co-workers, then the other items here are more important.

5) Open the .sln and project files with Notepad to see what's in there. Don't be concerned about GUIDs - look at the other stuff.

6) Look in the bin folder at the DLLs. Open them with ildasm and look at the manifest. See how the references show up there?

7) Think about what happens in VS when you add a reference to a DLL. It uses reflection to examine that DLL so it can show you intellisense on it. Your "using" ("imports" for VB) merely gives you a shorthand notation for referencing objects in the DLL. That's ALL it does. You don't need "using" at all if you fully qualify all your object names. This is crtical for you to understand. It's small and simple, but it's a critical building block. The difference between a reference and "using" is often misunderstood, and you don't have a chance to move on until you "get it".

8) why is the reference used at compiletime? You know it's for intellisense and code completion inside the VS IDE, but how is it used to compile your program? Unlike VB6, C++, Delphi, and most others, there is no such thing as static linking in .NET. You are NOT linking to DLLs at compiletime, but rather you're only doing syntax and semantic checks on classes and methods (the same stuff you saw in Intellisense), and then you're just making a small entry in your own manifest to point to that assembly. This is also critical to understand - you are not compiling/linking that code into your program's DLL.

9) Consider studying Amit Kalani (C#, 70-315) or Mike Gunderloy's (VB.NET 70-305) certification books on ASP.NET. The big blue books - not the red study guides. They have tons of step-by-step examples that will teach you a TON of great info. You don't have to know anything to start those books - they start at gound 0. The nice thing about these books is that they don't skip important info - they have to cover it all because that's what is needed to pass a test. You don't have to actually take the test to learn a ton of stuff this way.

10) If you don't have local friends into .net, try to make friends in the newsgroups. Use a yahoo or hotmail email addr because you'll get a ton of spam. You can get some penpal friends this way and you can try to stump each other with .NET questions. This will also teach you a lot.

11) You can learn a lot by trying to answer other people's questions in newsgroups. Pick the ones you think you understand, do a few quick google searches on that info, and then post a good response. It will build your confidence and you can keep upping the level of questions you answer, and you can add follow-up questions to other people's posts to learn a little more if you don't understand what they said.

This will get you started. It's hard to teach a lot of general stuff in a message. but you must understand this stuff in order to be a really great .NET programmer.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two namespace contain same name nir_pankaj C# 1 February 21st, 2007 11:30 AM
namespace Ibn_Aziz C# 2 December 25th, 2003 04:41 AM
namespace within namespace Bill Crawley XML 1 December 11th, 2003 09:59 AM
Namespace flute Pro VB.NET 2002/2003 2 October 21st, 2003 09:15 AM



All times are GMT -4. The time now is 10:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.