About the Authors |
|
xv | |
About the Technical Reviewer |
|
xix | |
Acknowledgments |
|
xxi | |
Introduction |
|
xxiii | |
Chapter 1 An IDE Tour |
|
1 | (44) |
|
|
1 | (35) |
|
|
|
|
7 | (1) |
|
|
8 | (6) |
|
|
14 | (1) |
|
|
15 | (12) |
|
|
27 | (2) |
|
|
29 | (2) |
|
|
31 | (3) |
|
|
34 | (1) |
|
|
34 | (2) |
|
|
36 | (3) |
|
|
36 | (1) |
|
|
37 | (1) |
|
|
37 | (2) |
|
|
39 | (1) |
|
|
40 | (3) |
|
|
40 | (1) |
|
|
41 | (1) |
|
Versions of the IDE and .NET |
|
|
41 | (1) |
|
|
42 | (1) |
|
|
42 | (1) |
|
|
43 | (2) |
Chapter 2 Building Windows Applications |
|
45 | (48) |
|
|
45 | (1) |
|
|
46 | (5) |
|
Creating a WinForms Project |
|
|
47 | (2) |
|
|
49 | (1) |
|
|
50 | (1) |
|
|
51 | (16) |
|
Controlling Form Elements |
|
|
53 | (7) |
|
UI Controls and Components |
|
|
60 | (1) |
|
|
61 | (6) |
|
Menus, Toolbars, and Dialog Boxes |
|
|
67 | (10) |
|
Message Boxes and Dialogs |
|
|
68 | (3) |
|
|
71 | (2) |
|
|
73 | (1) |
|
|
74 | (3) |
|
Creating Additional Forms |
|
|
77 | (3) |
|
|
79 | (1) |
|
|
80 | (7) |
|
|
80 | (1) |
|
|
81 | (3) |
|
|
84 | (1) |
|
The Command Window/Immediate Window |
|
|
84 | (1) |
|
|
85 | (1) |
|
|
86 | (1) |
|
Importing Additional Functionality |
|
|
87 | (4) |
|
|
88 | (1) |
|
|
89 | (2) |
|
|
91 | (1) |
|
|
91 | (2) |
Chapter 3 Web Application Development |
|
93 | (54) |
|
|
93 | (1) |
|
Microsoft's Vision of Web Development |
|
|
93 | (1) |
|
|
94 | (1) |
|
The Death of ASP As We Know It |
|
|
95 | (1) |
|
The New Presentation Layer |
|
|
95 | (2) |
|
Dividing the Presentation Layer into Logical Segments |
|
|
97 | (1) |
|
Web Page Development Using the ASRNET Web Application |
|
|
|
|
98 | (49) |
|
Visual Studio .NET 2003 and ASP.NET Version 1.1 |
|
|
99 | (1) |
|
|
100 | (4) |
|
|
104 | (32) |
|
ASP.NET Mobile Web Application |
|
|
136 | (9) |
|
|
145 | (2) |
Chapter 4 Data Tool Orientation |
|
147 | (56) |
|
|
147 | (1) |
|
|
148 | (1) |
|
|
149 | (1) |
|
|
150 | (1) |
|
A First Taste of Visual Studio .NET |
|
|
150 | (9) |
|
Data Components in the ToolBox |
|
|
159 | (27) |
|
Connection Data Component |
|
|
161 | (6) |
|
|
167 | (7) |
|
The DataAdapter Data Component |
|
|
174 | (7) |
|
The DataSet Data Component |
|
|
181 | (3) |
|
The DataView Data Component |
|
|
184 | (2) |
|
Using Third-Party Data Access Components in Visual Studio .NET |
|
|
186 | (4) |
|
Connecting to a Data Source Through an SqlDataSource Control in Visual Studio .NET |
|
|
187 | (3) |
|
Visual Studio .NET = Rapid Application Development |
|
|
190 | (13) |
|
|
190 | (11) |
|
|
201 | (2) |
Chapter 5 Mobile Client Development |
|
203 | (34) |
|
|
204 | (16) |
|
The .NET Mobile Framework |
|
|
204 | (4) |
|
Designing for Mobile Devices |
|
|
208 | (3) |
|
A Look at the Mobile Controls |
|
|
211 | (3) |
|
Debugging Mobile Web Applications |
|
|
214 | (3) |
|
Security for Small Screens |
|
|
217 | (3) |
|
|
220 | (15) |
|
Installing Windows Mobile Support |
|
|
220 | (1) |
|
Similarities Between .NET CF and the .NET Framework |
|
|
220 | (1) |
|
Differences Between .NET CF and the .NET Framework |
|
|
221 | (2) |
|
Creating a Smart Device Application |
|
|
223 | (7) |
|
.NET CF in VS.NET: The Internals |
|
|
230 | (2) |
|
Data Access in Smart Device Applications |
|
|
232 | (1) |
|
CE .NET Versus Pocket PC Development |
|
|
233 | (2) |
|
|
235 | (2) |
Chapter 6 Team Development with VS .NET |
|
237 | (18) |
|
Getting Started with Source Control |
|
|
238 | (4) |
|
Team Development Strategy |
|
|
242 | (7) |
|
|
243 | (1) |
|
|
243 | (1) |
|
|
243 | (6) |
|
|
249 | (1) |
|
Collaborative Development |
|
|
249 | (1) |
|
|
249 | (1) |
|
Working in an Isolated Development Model |
|
|
250 | (1) |
|
|
250 | (3) |
|
MSSCCI and Other Source Control Packages |
|
|
250 | (2) |
|
|
252 | (1) |
|
|
253 | (2) |
Chapter 7 Performance Testing |
|
255 | (36) |
|
|
256 | (1) |
|
|
257 | (2) |
|
|
258 | (1) |
|
|
258 | (1) |
|
|
259 | (5) |
|
Walkthrough: Creating a New Test |
|
|
264 | (4) |
|
Recording a Browser Session |
|
|
264 | (1) |
|
|
265 | (1) |
|
|
265 | (3) |
|
Reading and Analyzing test Results |
|
|
268 | (15) |
|
|
268 | (7) |
|
|
275 | (3) |
|
|
278 | (2) |
|
|
280 | (2) |
|
|
282 | (1) |
|
|
283 | (4) |
|
|
284 | (1) |
|
|
284 | (3) |
|
ACT in Visual Studio .NET |
|
|
287 | (2) |
|
|
287 | (1) |
|
Configuring Test Properties |
|
|
288 | (1) |
|
|
288 | (1) |
|
|
289 | (2) |
Chapter 8 Project Deployment |
|
291 | (38) |
|
Windows Installer and Visual Studio .NET |
|
|
292 | (1) |
|
|
293 | (23) |
|
A Simple Windows Application |
|
|
293 | (1) |
|
|
294 | (12) |
|
|
306 | (5) |
|
Applications with Dependent Assemblies |
|
|
311 | (2) |
|
A Setup Project for Applications Using COM |
|
|
313 | (2) |
|
When You Don't Need Setup Projects |
|
|
315 | (1) |
|
|
316 | (1) |
|
|
316 | (4) |
|
|
317 | (1) |
|
Installation Locations for Client Projects |
|
|
318 | (2) |
|
|
320 | (3) |
|
|
320 | (2) |
|
|
322 | (1) |
|
The Cab Project as a Compression Tool |
|
|
322 | (1) |
|
|
323 | (4) |
|
XCopy Deployment for Web Applications |
|
|
323 | (1) |
|
|
324 | (1) |
|
Deploy a Windows Application |
|
|
324 | (3) |
|
|
327 | (1) |
|
|
328 | (1) |
Chapter 9 Crystal Reports for .NET |
|
329 | (24) |
|
.NET Integration Features and Options |
|
|
329 | (1) |
|
|
330 | (2) |
|
|
332 | (1) |
|
|
333 | (1) |
|
Creating Reports with the Crystal Designer |
|
|
333 | (3) |
|
|
336 | (3) |
|
Integrating Reports into Applications |
|
|
339 | (11) |
|
|
339 | (1) |
|
Adding a ReportDocument Component |
|
|
340 | (1) |
|
Previewing with Report Files |
|
|
341 | (1) |
|
Printing the Report Without Previewing It |
|
|
341 | (1) |
|
|
342 | (1) |
|
Adding the Report to the Project |
|
|
343 | (1) |
|
Adding a ReportDocument Component |
|
|
344 | (1) |
|
Previewing with Report Files |
|
|
345 | (3) |
|
|
348 | (2) |
|
|
350 | (1) |
|
|
351 | (2) |
|
http://support.BusinessObjects.com |
|
|
351 | (1) |
|
http://support.BusinessObjects.com/forums |
|
|
351 | (1) |
|
http://www.CrystalReportsBook.com |
|
|
352 | (1) |
|
NNTP:microsoft.public.vb.crystal |
|
|
352 | (1) |
|
http://groups.yahoo.com/group/CrystalReportsDotNet |
|
|
352 | (1) |
|
http://www.Experts-Exchange.com |
|
|
352 | (1) |
|
|
352 | (1) |
|
|
352 | (1) |
Chapter 10 Customization |
|
353 | (46) |
|
Visual Studio .NET Customization Options |
|
|
353 | (1) |
|
|
354 | (10) |
|
|
354 | (2) |
|
|
356 | (1) |
|
|
357 | (1) |
|
Learning Keyboard Shortcuts |
|
|
358 | (1) |
|
Creating Keyboard Shortcuts |
|
|
358 | (1) |
|
|
358 | (1) |
|
|
358 | (1) |
|
|
359 | (1) |
|
Auto-Reload Externally Changed Documents |
|
|
359 | (1) |
|
|
360 | (1) |
|
Custom Keywords in Visual C++ |
|
|
360 | (1) |
|
Customizing the Text Editor |
|
|
361 | (3) |
|
|
364 | (8) |
|
|
364 | (4) |
|
Solution Build Configurations |
|
|
368 | (2) |
|
Dependencies and Build Orders |
|
|
370 | (2) |
|
|
372 | (3) |
|
Restoring the Default Configuration |
|
|
372 | (1) |
|
|
372 | (1) |
|
|
372 | (1) |
|
|
372 | (2) |
|
Window Configuration (Normal, Debug, Full Screen) |
|
|
374 | (1) |
|
|
374 | (1) |
|
|
375 | (2) |
|
|
375 | (1) |
|
|
376 | (1) |
|
Passing Command Line Arguments |
|
|
376 | (1) |
|
|
377 | (5) |
|
|
377 | (1) |
|
|
378 | (1) |
|
|
378 | (2) |
|
|
380 | (2) |
|
|
382 | (5) |
|
|
387 | (5) |
|
|
388 | (4) |
|
|
392 | (7) |
|
|
393 | (1) |
|
|
393 | (2) |
|
|
395 | (1) |
|
Visual Studio .NET Integration Kit |
|
|
395 | (2) |
|
|
397 | (2) |
Chapter 11 Add-Ins |
|
399 | (42) |
|
|
399 | (1) |
|
|
400 | (2) |
|
The Visual Studio Add-In Wizard |
|
|
402 | (5) |
|
The Default Connect.cs Code |
|
|
407 | (2) |
|
Modifying the Add-in Code |
|
|
409 | (1) |
|
Tracing Add-In Methods in the Debugger |
|
|
410 | (2) |
|
|
412 | (9) |
|
The Connect Class in More Detail |
|
|
413 | (4) |
|
|
417 | (4) |
|
Exploring the EnvDTE Automation Model |
|
|
421 | (13) |
|
|
423 | (10) |
|
Language-Specific Features of EnvDTE |
|
|
433 | (1) |
|
A Multiline Find & Replace Add-In |
|
|
434 | (5) |
|
Additional Resources for Add-Ins |
|
|
439 | (1) |
|
|
440 | (1) |
Chapter 12 Macros |
|
441 | (22) |
|
|
441 | (2) |
|
|
443 | (1) |
|
|
443 | (1) |
|
Running and Editing Macros |
|
|
444 | (1) |
|
Hot Keys and IDE Integration |
|
|
444 | (2) |
|
|
446 | (4) |
|
|
446 | (1) |
|
|
447 | (1) |
|
|
447 | (1) |
|
|
448 | (1) |
|
|
448 | (1) |
|
|
448 | (1) |
|
|
449 | (1) |
|
|
449 | (1) |
|
|
449 | (1) |
|
|
449 | (1) |
|
|
449 | (1) |
|
|
450 | (9) |
|
|
450 | (1) |
|
|
451 | (2) |
|
|
453 | (4) |
|
|
457 | (2) |
|
|
459 | (1) |
|
|
459 | (1) |
|
|
460 | (2) |
|
|
460 | (2) |
|
|
462 | (1) |
Chapter 13 Wizards |
|
463 | (28) |
|
Visual Studio .NET Wizards Overview |
|
|
463 | (3) |
|
|
466 | (4) |
|
|
470 | (1) |
|
|
470 | (1) |
|
Wizards in Visual Basic .NET |
|
|
470 | (19) |
|
|
489 | (2) |
APPENDIX A Project Files |
|
491 | (8) |
|
Project Types and Their Associated Files |
|
|
491 | (3) |
|
Project File Types Explained |
|
|
494 | (5) |
APPENDIX B Visual Studio .NET Directory Structure |
|
499 | (12) |
|
|
499 | (2) |
|
|
499 | (1) |
|
|
500 | (1) |
|
|
500 | (1) |
|
|
500 | (1) |
|
|
500 | (1) |
|
|
501 | (1) |
|
|
501 | (1) |
|
.NET Framework Directories |
|
|
502 | (3) |
|
|
502 | (1) |
|
The Global Assembly Cache |
|
|
503 | (2) |
|
|
505 | (3) |
|
|
505 | (1) |
|
|
506 | (1) |
|
|
507 | (1) |
|
|
507 | (1) |
|
|
508 | (3) |
APPENDIX C Certification |
|
511 | (26) |
|
Overview of Microsoft Certification |
|
|
511 | (4) |
|
|
511 | (1) |
|
|
512 | (1) |
|
|
513 | (1) |
|
Preparing for a Microsoft Exam |
|
|
514 | (1) |
|
|
514 | (1) |
|
Microsoft Certified Professional |
|
|
515 | (1) |
|
What You Are Being Tested For |
|
|
515 | (1) |
|
|
515 | (1) |
|
Microsoft Certified Application Developer |
|
|
516 | (10) |
|
What You Are Being Tested For |
|
|
516 | (1) |
|
|
516 | (4) |
|
|
520 | (1) |
|
|
521 | (5) |
|
Microsoft Certified Solutions Developer |
|
|
526 | (2) |
|
Solution Architectures Exam Topics |
|
|
526 | (2) |
|
|
528 | (6) |
|
Microsoft Certified Database Administrator |
|
|
528 | (1) |
|
Microsoft Certified Systems Administrator |
|
|
529 | (2) |
|
Microsoft Certified Systems Engineer |
|
|
531 | (1) |
|
|
532 | (1) |
|
Non-Microsoft Certification |
|
|
532 | (2) |
|
|
534 | (2) |
|
|
535 | (1) |
|
|
535 | (1) |
|
|
535 | (1) |
|
|
535 | (1) |
|
|
536 | (1) |
INDEX |
|
537 | |