2003 ms asp net programming with visual c sharp net 2003

802 139 0
2003   ms   asp net programming with visual c sharp net 2003

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Microsoft ASP.NET Programming with Microsoft Visual C# NET Version 2003 Step by Step by G Andrew ISBN:0735619352 Duthie Microsoft Press © 2003 (601 pages) Appropriate for novice developers with some programming experience, this book provides instructions for configuring ASP.NET applications, creating web forms, using server controls, accessing data with ADO.NET, and understanding XML-based web services Companion Web Site Table of Contents Microsoft ASP.NET Programming with Visual C# NET Version 2003 Step by Step Introduction Part 1 - Getting Started with ASP.NET Chapter 1 Chapter 2 - Opening and Running an ASP.NET Web Application Creating: an ASP.NET Web Application Understanding Chapter 3 Programming Basics Part 2 - ASP.NET Infrastructure Chapter 4 - Managing State Configuring an ASP.NET Chapter 5 Application Chapter 6 - Security in ASP.NET Part 3 - ASP.NET Web Forms Chapter 7 - Creating Web Forms Chapter 8 - Using Server Controls Accessing and Binding Chapter 9 Data Part 4 - Beyond the Basics Creating Custom Server Controls Creating and Using Web Chapter 11 Services Using Caching to Improve Chapter 12 Performance Deploying an ASP.NET Chapter 13 Application Tracing and Debugging Chapter 14 ASP.NET Applications Chapter 10 - Part 5 - Appendixes Migrating from ASP to ASP.NET ASP.NET Configuration Appendix B Elements Installing Visual Studio Appendix C Appendix A - .NET 2003 Index List of Tables List of Code Examples List of Sidebars Back Cover Teach yourself how to write high-performance Web applications with ASP.NET and Visual C# NET 2003one step at a time This practical, hands-on tutorial expertly guides you through the fundamental tools and technologies, including the common language runtime, Web Forms, XML Web services, and the Microsoft NET Framework 1.1including new ASP.NET mobile controls Work at your own pace through the easy-to-follow lessons and hands-on exercises to learn essential techniques And accelerate your productivity by working with instructive code examples and best practices for ASP.NET Web development with Visual C# Discover how to: Create a Web application, add a new Web Forms page, and add controls Manage application state and enable session state Configure applications and use side-by-side versioning Implement security features in ASP.NET, including new Request Validation Create Web Forms pages Delve deeper into server controlsand build your own Access and bind data Create and use Web services Use chaching to improve performance Trace and debug ASP.NET applications Deploy applications manually or through Visual Studio NET About the Author G Andrew Duthie is the founder and principal of Graymad Enterprises, Inc., providing training and consulting in Microsoft Web development technologies Andrew has been developing multitier Web applications since the introduction of Active Server Pages He is a frequent speaker at industry events and the author of Microsoft Visual InterDev 6.0 Enterprise Developers Workshop, also from Microsoft Press Microsoft ASP.NET Programming with Visual C# NET Version 2003 Step by Step G Andrew Duthie PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright © 2003 by Microsoft Corporation All rights reserved No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher Library of Congress Cataloging-in-Publication Data Duthie, G Andrew, 1967 Microsoft ASP.NET Programming with Visual C# NET Version 2003 Step by Step / G Andrew Duthie p cm Includes index ISBN 0-7356-1935-2 Active server pages Web sitesDesign Web serversComputer programs I Title TK5105.8885.A26D89 2003 005.276dc21 2003042215 Printed and bound in the United States of America 1 2 3 4 5 6 7 8 9 QWE 8 7 6 5 4 3 Distributed in Canada by H.B Fenn and Company Ltd A CIP catalogue record for this book is available from the British Library Microsoft Press books are available through booksellers and distributors worldwide For further information about international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at fax (425) 936-7329 Visit our Web site at www.microsoft.com/mspress Send comments to mspinput@microsoft.com Active Directory, ActiveX, FrontPage, JScript, Microsoft, Microsoft Press, Outlook, Visual Basic, Visual C++, Visual C#, Visual FoxPro, Visual InterDev, Visual J++, Visual SourceSafe, Visual Studio, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries Openwave and the Openwave logo are trademarks of Openwave Systems Inc All rights reserved Other product and company names mentioned herein may be the trademarks of their respective owners The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred Acquisitions Editor: Anne Hamilton Project Editor: Lynn Finnel Body Part No X09-45931 Acknowledgments I want to express my thanks for the support and assistance provided by my project editor at Microsoft Press, Lynn Finnel, as well as for her persistence and perseverance on the project Thanks also to the editing team for catching my goofs and helping make my work the best it can be My thanks especially to Anne Hamilton for her ongoing support for my work Last but not least, I thank my wife, Jennifer Her love, patience, and support make my work possible and worthwhile G Andrew Duthie March, 2003 G Andrew Duthie G Andrew Duthie is the founder and principal of Graymad Enterprises, Inc (http://www.graymad.com/), providing training and consulting in Microsoft Web development technologies Andrew has been developing multi-tier Web applications since the introduction of Active Server Pages He wrote about developing scalable n-tier applications in Microsoft Visual InterDev 6.0 Enterprise Developers Workshop, also from Microsoft Press Andrew is a frequent speaker at events, including Software Development, the Dev-Connections family of conferences, Microsoft Developer Days, and VSLive! He also speaks at NET user groups as a member of the International NET Association (INETA) Speakers Bureau (http://www.ineta.org/) In addition to his work for Graymad Enterprises, Andrew enjoys spending time with his wife, Jennifer, playing music, and smoking his meerschaum pipe You can reach Andrew by email at andrew@graymad.com The manuscript for this book was prepared and submitted to Microsoft Press in electronic form Pages were composed by nSight, Inc using Adobe FrameMaker+SGML for Windows, with text in Sabon and display type in ITC Franklin Gothic Composed pages were delivered to the printer as electronic pre-press files Cover designer: Greg Hickman Interior Graphic Designer: James D Kramer Principal Compositor: Donald Cowan Copy Editor: Lisa Wehrle Technical Editor: Chris Russo Principal Proofreader: Jennifer Carr Indexer: Jack Lewis, J&J Indexing Introduction Appendix B: ASP.NET Configuration Elements Table B-1: Element Attributes Table B-2: Element Attributes Table B-3: Element Attributes Table B-4: Element Attributes Table B-5: Element Attributes Table B-6: Element Attributes Table B-7: Element Attributes Table B-8: Element Attributes Table B-9: Element Attributes Table B-10: Element Attributes Table B-11: Element Attributes Table B-12: Element Attributes Table B-13: Element Attributes Table B-14: Element Attribute Table B-15: Element Attributes Table B-16: Element Attributes Table B-17: Element Attribute Table B-18: Element Attributes Table B-19: Element Attributes Table B-20: Element Attributes List of Code Examples Chapter 7: Creating Web Forms HelloSimple.aspx Chapter 9: Accessing and Binding Data Authors.xsl AddTitle.xsd SimpleDataBinding.aspx Chapter 10: Creating Custom Server Controls TextBoxPlus_Comp.cs List of Sidebars Chapter 1: Opening and Running an ASP.NET Web Application Inheritance Solutions and Projects Chapter 3: Understanding Programming Basics Namespaces Early vs Late Binding Chapter 7: Creating Web Forms Comparing User Controls to Include Files Page Processing Stages Chapter 8: Using Server Controls Choosing the Right Control Chapter 9: Accessing and Binding Data XML in ADO.NET Chapter 10: Creating Custom Server Controls Private vs Shared Assemblies Event Execution Order Chapter 11: Creating and Using Web Services Precursors to Web Services Metadata Attributes Appendix B: ASP.NET Configuration Elements Fully Qualified vs Relative URLs ... editor) to do all of your NET development The NET Framework SDK includes command-line compilers for Microsoft Visual Basic NET, Microsoft Visual C# (pronounced C sharp) , and Microsoft JScript NET So, you can create your classes, ASP. NET pages, and so on in Notepad,... mspinput@microsoft.com Active Directory, ActiveX, FrontPage, JScript, Microsoft, Microsoft Press, Outlook, Visual Basic, Visual C+ +, Visual C# , Visual FoxPro, Visual InterDev, Visual J++, Visual SourceSafe, Visual Studio, Windows, and...Application Understanding Chapter 3 Programming Basics Part 2 - ASP. NET Infrastructure Chapter 4 - Managing State Configuring an ASP. NET Chapter 5 Application Chapter 6 - Security in ASP. NET Part 3 - ASP. NET Web Forms

Ngày đăng: 25/03/2019, 16:34

Mục lục

  • Table of Contents

  • BackCover

  • Microsoft ASP.NET Programming with Visual C# .NET Version 2003 Step by Step

  • Introduction

    • Installing the Sample Files

    • Conventions Used in This Book

  • Part 1: Getting Started with ASP.NET

    • Chapter 1: Opening and Running an ASP.NET Web Application

      • Understanding Microsoft .NET

      • Getting Started with Visual Studio .NET

      • The Visual Studio .NET IDE

      • What’s New in ASP.NET

      • Chapter 1 Quick Reference

    • Chapter 2: Creating: an ASP.NET Web Application

      • ASP.NET Project Types

      • ASP.NET File Types

      • Visual Studio .NET

      • Chapter 2 Quick Reference

    • Chapter 3: Understanding Programming Basics

      • Expressions, Variables, and Constants

      • Methods

      • Flow Control

      • Error Handling

      • Understanding Object-Oriented Programming Basics

      • Chapter 3 Quick Reference

  • Part 2: ASP.NET Infrastructure

    • Chapter 4: Managing State

      • Using Application State

      • Using Session State

      • State and Scalability

      • Configuring Session State Storage

      • Using Client-Side Cookies for State Storage

      • ASP.NET Server Control State

      • Chapter 4 Quick Reference

    • Chapter 5: Configuring an ASP.NET Application

      • Understanding ASP.NET Configuration

      • Introducing Web.config

      • Chapter 5 Quick Reference

    • Chapter 6: Security in ASP.NET

      • The Importance of Security

      • Security Basics

      • Enabling Authentication

      • Using Authorization

      • Using Impersonation

      • Understanding Code Access Security

      • Security Resources

      • Chapter 6 Quick Reference

  • Part 3: ASP.NET Web Forms

    • Chapter 7: Creating Web Forms

      • Anatomy of an ASP.NET Web Form

      • Event Handling

      • Page Runtime Structure

      • Chapter 7 Quick Reference

    • Chapter 8: Using Server Controls

      • Types of Controls

      • ASP.NET Mobile Web Applications and Controls

      • Chapter 8 Quick Reference

    • Chapter 9: Accessing and Binding Data

      • Understanding ADO.NET

      • Creating and Opening Connections

      • Reading and Updating Data with Commands

      • Using Datasets

      • Reading Data with DataReader Objects

      • Data Binding

      • Chapter 9 Quick Reference

  • Part 4: Beyond the Basics

    • Chapter 10: Creating Custom Server Controls

      • Creating Your First Control

      • Adding Functionality

      • Creating More Advanced Controls

      • Chapter 10 Quick Reference

    • Chapter 11: Creating and Using Web Services

      • Understanding XML-Based Web Services

      • Creating a Web Service

      • Using a Web Service

      • Chapter 11 Quick Reference

    • Chapter 12: Using Caching to Improve Performance

      • Understanding Caching

      • Using Output Caching

      • Caching Arbitrary Data

      • Chapter 12 Quick Reference

    • Chapter 13: Deploying an ASP.NET Application

      • Understanding the Structure of ASP.NET Applications

      • Deploying a Web Application Manually

      • Deployment Options in Visual Studio .NET

      • Chapter 13 Quick Reference

    • Chapter 14: Tracing and Debugging ASP.NET Applications

      • Tracing

      • Debugging

      • Chapter 14 Quick Reference

  • Part 5: Appendixes

    • Appendix A: Migrating from ASP to ASP.NET

      • Migration Overview

    • Appendix B: ASP.NET Configuration Elements

      • Setting and Retrieving Custom Application Settings

    • Appendix C: Installing Visual Studio .NET 2003

      • Before You Install

      • Installing Visual Studio .NET 2003

  • Index

    • Index_A

    • Index_B

    • Index_C

    • Index_D

    • Index_E

    • Index_F

    • Index_G

    • Index_H

    • Index_I

    • Index_J

    • Index_K

    • Index_L

    • Index_M

    • Index_N

    • Index_O

    • Index_P

    • Index_Q

    • Index_R

    • Index_S

    • Index_T

    • Index_U

    • Index_V

    • Index_W

    • Index_X

  • List of Tables

  • List of Code Examples

  • List of Sidebars

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan