Conten Appendix B: Implementing the Microsoft Solutions framework 731 Software Development Life Cycle Microsoft solutions framework 732 The Envisioning Phase Problem statement Goals Define roles 733 Create a Scope Document The Planning Phase he Developing Phase 734 Setup: Building Staging Areas for Development and Testing 734 Completing the Prototype Completing the Code Supply Application Documentation 73 he Testing Phase 735 le Deployment Phase Managing Tradeoffs 736 Defining Success with the MSF 737 Summary 737 Appendix C: An Introduction to Security 739 Code Access Security(CAs) 740 Permissions Security Policy 741 Secure Sockets Layer 742 Finding Answ 743 Summary 744 Appendix D: Solutions 745 771
xxv Contents Appendix B: Implementing the Microsoft Solutions Framework 731 Software Development Life Cycle 732 Microsoft Solutions Framework 732 The Envisioning Phase 733 Problem Statement 733 Goals 733 Define Roles 733 Create a Scope Document 734 Risk Analysis 734 The Planning Phase 734 The Developing Phase 734 Setup: Building Staging Areas for Development and Testing 734 Completing the Prototype 735 Completing the Code 735 Supply Application Documentation 735 The Testing Phase 735 The Deployment Phase 735 Managing Tradeoffs 736 Defining Success with the MSF 737 Summary 737 Appendix C: An Introduction to Security 739 Code Access Security (CAS) 740 Permissions 741 Security Policy 741 Evidence 741 Secure Sockets Layer 742 Finding Answers 743 Summary 744 Appendix D: Solutions 745 Index 771 02_574019 ftoc.qxd 9/16/05 9:50 PM Page xxv
02_574019 ftoc.qxd 9/16/05 9:50 PM Page xxvi
Acknowledgments This project was made possible by a number of people. First, thanks go out to Thearon for helping me get involved in a project like this. Thanks buddy. Next is everyone at wiley Publishing, especially Sydney Jones, Katie Mohr, and Todd Meister. Without the help from you three, I would have been so lost nd this book would not have been possible. Also, thanks to Annette Cloninger for helping me. And finally, thanks to my beautiful wife, Jennifer, for putting up with me while i put my life on hold for so onths to get this done(and some pretty I late too -Bryan Newsome
Acknowledgments This project was made possible by a number of people. First, thanks go out to Thearon for helping me get involved in a project like this. Thanks buddy. Next is everyone at Wiley Publishing, especially Sydney Jones, Katie Mohr, and Todd Meister. Without the help from you three, I would have been so lost and this book would not have been possible. Also, thanks to Annette Cloninger for helping me. And finally, thanks to my beautiful wife, Jennifer, for putting up with me while I put my life on hold for so many months to get this done (and some pretty late nights too). —Bryan Newsome 03_574019 flast.qxd 9/16/05 9:48 PM Page xxvii
03_574019 flast.qxd 9/16/05 9:48 PM Page xxviii
Introduction Visual Basic 2005 is Microsoft's latest version of the highly popular Visual Basic. NET programming lan- guage, one of the many languages supported in Visual Studio 2005. Visual Basic 2005s strength lies in its ease of use and the speed at which you can create Windows applications, Web applications, mobile device applications, and Web Services. In this book, we will introduce you to programming with Visual Basic 2005 and show you how to create oriented techniques and learn how to create your own business objects and Windows conto object- the types of applications and services mentioned above. Along the way you'll also learn about object Microsoft's. NET Framework provides Visual Basic 2005 programmers with the ability to create full object oriented programs, just like the ones created using C# or C++. The. NET Framework provides a et of base classes that are common to all programming languages in Visual Studio 2005, which provides you with the same ability to create object-oriented programs as a programmer using C# or C++ This book will give you a thorough grounding in the basics of programming using Visual Basic 2005; from there the world is your oyster. Who is this book for? This book is designed to teach you how to write useful programs in Visual Basic 2005 as quickly and eas- There are two kinds of beginners for whom this book is ideal: o You're a beginner to programming and you' ve chosen Visual Basic 2005 as the place to start. Thats a great choice! Visual Basic 2005 is not only easy to learn; it's also fun to use and very o You can program in another language but you're a beginner to NET programming. Again, ouve made a great choice! Whether you',ve come from Fortran or Visual Basic 6, you'll find that this book quickly gets you up to speed on what you need to know to get the most from Ⅴ isual basic2005 What does this book cover? Visual Basic 2005 offers a great deal of functionality in both tools and language. No one book could ever over Visual Basic 2005 in its entirety--you would need a library of books. What this book aims to do is to get you started as quickly and easily as possible. It shows you the roadmap, so to speak, of what there is nd where to go. Once we've taught you the basics of creating working applications(creating the windows
Introduction Visual Basic 2005 is Microsoft’s latest version of the highly popular Visual Basic .NET programming language, one of the many languages supported in Visual Studio 2005. Visual Basic 2005’s strength lies in its ease of use and the speed at which you can create Windows applications, Web applications, mobile device applications, and Web Services. In this book, we will introduce you to programming with Visual Basic 2005 and show you how to create the types of applications and services mentioned above. Along the way you’ll also learn about objectoriented techniques and learn how to create your own business objects and Windows controls. Microsoft’s .NET Framework provides Visual Basic 2005 programmers with the ability to create full object oriented programs, just like the ones created using C# or C++. The .NET Framework provides a set of base classes that are common to all programming languages in Visual Studio 2005, which provides you with the same ability to create object-oriented programs as a programmer using C# or C++. This book will give you a thorough grounding in the basics of programming using Visual Basic 2005; from there the world is your oyster. Who Is This Book For? This book is designed to teach you how to write useful programs in Visual Basic 2005 as quickly and easily as possible. There are two kinds of beginners for whom this book is ideal: ❑ You’re a beginner to programming and you’ve chosen Visual Basic 2005 as the place to start. That’s a great choice! Visual Basic 2005 is not only easy to learn; it’s also fun to use and very powerful. ❑ You can program in another language but you’re a beginner to .NET programming. Again, you’ve made a great choice! Whether you’ve come from Fortran or Visual Basic 6, you’ll find that this book quickly gets you up to speed on what you need to know to get the most from Visual Basic 2005. What Does This Book Cover? Visual Basic 2005 offers a great deal of functionality in both tools and language. No one book could ever cover Visual Basic 2005 in its entirety—you would need a library of books. What this book aims to do is to get you started as quickly and easily as possible. It shows you the roadmap, so to speak, of what there is and where to go. Once we’ve taught you the basics of creating working applications (creating the windows 03_574019 flast.qxd 9/16/05 9:48 PM Page xxix