Visual Basic .NET at Work Building 10 Enterprise Projects phần 1 potx

52 183 0
Visual Basic .NET at Work Building 10 Enterprise Projects phần 1 potx

Đ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

TEAMFLY Team-Fly ® Visual Basic .NET at Work: Building 10 Enterprise Projects Tony Martin Dominic Selly Wiley Computer Publishing John Wiley & Sons, Inc. Publisher: Robert Ipsen Editor: Theresa Hudson Managing Editor: Angela Smith New Media Editor: Brian Snapp Text Design & Composition: John Wiley Composition Services Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where John Wiley & Sons, Inc., is aware of a claim, the product names appear in initial capital or ALL CAPITAL LETTERS . Readers, however, should contact the appropriate companies for more complete information regarding trademarks and registration. This book is printed on acid-free paper. Copyright © 2002 by Tony Martin . All rights reserved. Published by John Wiley & Sons, Inc., New York Published simultaneously in Canada. No part of this publication may be reproduced, stored in a retrieval system or trans- mitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Pub- lisher, or authorization through payment of the appropriate per-copy fee to the Copy- right Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4744. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 605 Third Avenue, New York, NY 10158-0012, (212) 850-6011, fax (212) 850-6008, E-Mail: PERMREQ @ WILEY.COM. This publication is designed to provide accurate and authoritative information in re- gard to the subject matter covered. It is sold with the understanding that the pub- lisher is not engaged in professional services. If professional advice or other expert assistance is required, the services of a competent professional person should be sought. Library of Congress Cataloging-in-Publication Data: ISBN: 0-471-38631-6 Printed in the United States of America. 10 9 8 7 6 5 4 3 2 1 To my friends [...]... from Visual Basic NET’s new features, we need to think at least a little bit about our needs and how to satisfy them with a decent design The hierarchy of classes in this project is fairly simple but illustrates some of the benefits of a class hierarchy Figure 1. 1 shows the class organization Features of the Design Our design incorporates a few interesting features that bear discussion Some are related... this book is a project that focuses on a specific technology There are 10 projects all told Some build on previous projects, whereas others are completely standalone I’ll let you know which is which They generally follow an order that assumes you know the technologies in the previous projects, but not in the following projects Take a look at what each project is about: Project 1: A WinForms Library Take... interface You’ll see what the new ADO.NET objects are like and how to use them I’ll show you how to use SQL statements along with ADO.NET to perform all the primary database operations You will also see some ADO.NET data binding in action This project makes use of Project 1 Project 3: Bug Reporting with Web Services This project builds on Project 2 We will create a Web service that sits out on your Internet... Project 10 : Employee Intranet with NET This project brings together many of the technologies we learned in other projects to create a company intranet site We have some nice features on this site, including the ability to view how much vacation you have available and make vacation requests, enter and review status reports, and review and modify your personnel information We make use of ASP.NET, ADO.NET,... other projects Setting Up Your Workbench You will need some background knowledge and a small pile of software tools to complete the projects in this book This section will detail exactly what those are Prerequisites This book assumes that you can already create programs with Visual Basic 6.0 and are familiar with Visual Basic NET I am not going to teach you how to use the environment or do very basic. .. is a directory at the root called Projects Underneath that is a folder for each project in the book that contains all the files for each project For example, all the source for project 2 is located at: \Projects\ Project 2 The Web Site A Web site was created for this book to keep you posted on any changes, to let you know about new developments, and to provide additional related information you might... style that we can use as a starting point for all our future applications 1 2 Project 1 The Project We will design and build a set of NET WinForms classes using Visual Basic NET that will encapsulate all the look, functionality, and consistency we need for our enterprise applications There are six classes, or forms, in our collection, which you can use as a starting point for any future applications... seeing how each works and then working through a complete program using that technology The chapters are really projects, complete programs that you can put to use in your own work or other programming We’re covering a lot of material, but the project-oriented approach lets you tackle one issue at a time Organization The projects in the book are all organized the same way Each starts with a statement of... often now referred to as syntax candy Use whatever language you find to be the sweetest 11 12 Project 1 Our Part of the Code I added a few interesting bits that bear explanation Note that there are three controls at the bottom of the form: the OK button, the Cancel button, and the Notify text box An important aspect of any dialog created from this base form is that you may not want or need all these controls... to create your own remote components, configure them to work over an HTTP line, process requests, and ship results back We’ll build a component that logs performance data from your own applications as they execute We’ll also create a class for your own applications that will make it painless to instrument them for performance testing You even get a fancy client program that will get performance data . 91 The Database 91 The Web Service 95 The Client 10 3 Debugging Web Services 11 5 Enhancing the Project 11 6 Project 4: Performance Testing with Remoting 11 9 The Project 12 0 Remoting Overview 12 1 Remote. Installer 16 1 Creating Installations with Visual Studio .NET 16 2 Let’s Start the Project 17 0 Project 5a: Merge Module 17 1 Project 5b: The Application Installation 17 6 Project 5c: Web Setup 19 0 Enhancing. 12 1 Remoting Mechanics 12 2 A Remoting Walkthrough 12 5 Is It Really Working? 12 9 Let’s Start the Project 13 0 The Database 13 0 The Remote Component 13 1 The Client Program 13 8 The Test Program 14 5 Enhancing

Ngày đăng: 14/08/2014, 01:20

Từ khóa liên quan

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

Tài liệu liên quan