Introduction "Introduction"

xiaoxiao2021-03-06  15

Introduction

Simply put, ASP.NET 2.0 is an amazing release! When ASP.NET 1.0 was first introduced in 2000, manyconsidered it a revolutionary leap forward in the area of ​​Web application development. I believeASP.NET 2.0 is just as exciting and revolutionary. Although the foundation of ASP.NET was laid with therelease of ASP.NET 1.0, ASP.NET 2.0 builds upon this foundation by focusing on the area of ​​developerproductivity.Simply put, ASP.NET 2.0 is an amazing release! When ASP.NET 1.0 was First Introducesd IN 2000, MANY

Considered It a revolutionary Leap Forward in The Area of ​​Web Application Developments. I believe

ASP.NET 2.0 IS JUST AS EXCITING AND REVOLUTIONARY. Althought the Foundation of ASNET WAS LAID WITH THE

Release of asp.net 1.0, ASP.NET 2.0 Builds Upon this Foundation by Focusing on The Area of ​​Developer

PRODUACTIVITY.

ASP.NET 2.0 brings with it a staggering number of new technologies that have been built into theASP.NET framework. After reading this book, you will see just how busy the ASP.NET team has been inthe last few years. The number of classes Inside asp.net HAS More Than Doubled, And this Release Contains More Than 40 New Server Controls!

This book covers these new built-in technologies;. It not only introduces new topics, it also shows youexamples of these new technologies in action So sit back, pull up that keyboard, and let's have some fun!

What you need for asp.net 2.0

You Will Probably Install Visual Studio 2005 Beta 1 To Work THROUGH The Examples in this book. To Workthrough Every Example in this book, you need

❑ Windows Server 2003, Windows 2000, or Windows XP ❑ Visual Studio 2005 Beta 1 ❑ SQL Server 2000 ❑ Microsoft Access

The Nice Thing Is That You Are Not Required To Have IIS in Order to Work with ASP.NET 2.0 Because THISRELESE OF ASP.NET INCLUDES A Built-in Web Server. And if you don't have SQL Server, Don't be alamed .Many of the examples that use this database can be altered to work with Microsoft Access.Who Is This Book For? This book was written to introduce you to the new features and capabilities that ASP.NET 2.0 offers.This book is meant to be only an introduction to these new features. Therefore, I do not spend any timeexplaining the basics of ASP.NET and any functionality or capabilities that have not changed between thisrelease and the last release of ASP.NET.

This book is meant for the user who understands or has worked with ASP.NET 1.0 or 1.1. If you arebrand new to Web application development, however, this book can help you get up to speed on thenew features included in the upcoming release of ASP .NET-As Long Asp.Net and the underlying .NET Framework Are Not Covered. If You Are Brand New To ASP.NET, BESURE TO Also Check Out Beginning ASP.NET 1.1 with VB .NET 2003 ( ISBN: 0-7645-5707-6) Or BeginningASP.NET 1.1 with Visual C # .NET 2003 (ISBN: 0-7645-5708-4), Depending On Your Language of Choice, Tohelp You Understand The Basics of Asp.net.

IS this book for the Visual Basic Developer or for the c # developer? I am Happy to Say-Both! Thisbook cover All Examples in Both VB and C # if The code differs considerably.

What This Book CoversAs I stated, this book spends its time reviewing the big changes that have occurred in the 2.0 release ofASP.NET. After the introduction, each major new feature included in ASP.NET 2.0 is covered in moredetail. The following sections present the contents of each chapter.Chapter 1: Introduction to ASP.NET 2.0This first chapter gives a good grounding in the new features of ASP.NET 2.0 The chapter takes a look atsome of the major new features and capabilities included It starts by.. Giving you a little bit of history ofasp.net and

Chapter 2: Visual Studio 2005This chapter takes a look at the next generation of the major IDE for developing .NET applications: Visual Studio 2005. Previous releases of this IDE included Visual Studio .NET 2003 and Visual Studio.NET 2002. This chapter focuses on The 2005 Release and how you can use it to buildbetter asp.net application more quickly Than

Chapter 3: Application and Page FrameworksThe third chapter covers the frameworks of ASP.NET applications as well as the structure and frameworksprovided for single ASP.NET pages This chapter shows you how to build ASP.NET applicationsusing IIS or the built-in Web server. That Now Comes With Visual Studio 2005. This Chapter Also ShowSyou The New Folders and Files Added to Asp.Net. It Also Covers New Ways of Compiling Code and how toperform cross Page Posting.

Chapter 4: New Ways to Handle DataADO.NET incorporates some radical changes This chapter takes a look at the new data model providedby ASP.NET, which allows you to handle the retrieval, updating, and deleting of data quickly and logically.This new. data model enables you to use one or two lines of code to get at data stored in everythingfrom SQL Server to XML files.Chapter 5:. Site NavigationIt is quite apparent that many developers do not simply develop single pages Developers build applicationsand, therefore, they need mechanics that deal with functionality throughout the entire application, not just the pages. One of the new application capabilities provided by ASP.NET 2.0 is the site navigationsystem covered in this chapter. The underlying navigation system enables you to define your application'snavigation structure THROUGH AN XML File. Finally, IT Introduces A Whole Series of New NavigationServer Controls That Work with The Data from these XML Files.

Chapter 6: Working with Master PagesIn addition to the new site navigation system provided by ASP.NET 2.0-for working with the entireapplication as opposed to working with singular pages-the ASP.NET team developed a way to createtemplated pages This chapter examines the. Creation of these Templates (KNOWN As Master Pages) Andhow to Apply Them To Your Content Pages THROUGHOUT AN ASP.NET Application.

Chapter 7: Themes and SkinsCSS files provided in ASP.NET 1.0 / 1.1 are simply not adequate, especially in the area of ​​server controls.The developer is never sure of the HTML output that is generated This chapter takes a look at how todeal with. ......................

Chapter 8:. Membership and Role ManagementThis chapter covers the new membership and role management system developed to simplify addingauthentication and authorization to your ASP.NET applications These two new systems are extensiveand make some of the more complicated authentication and authorization implementations of the past adistant memory . The chapter focuses on using the web.config file for controlling how these systems areapplied, as well as the new server controls that work with the underlying systems.Chapter 9: PersonalizationDevelopers are always looking for ways to store information pertinent to the end user. After it is stored, this personalization data has to be persisted for future visits or for grabbing other pages within the sameapplication. The ASP.NET team developed a way to store this information-the ASP.NET personalizationsystem. The great thing about this system, Like the Other Systems IntroducesD Before It, is That Youconfigure The Entire Behavior of The System Fr Om the web.config file.

Chapter 10:. Portal Frameworks and Web PartsThis chapter looks at Web Parts-a new way of encapsulating pages into smaller and more manageableobjects The great thing with Web Parts is that they can be made of a larger Portal Framework, whichthen can enable end users to COMPLETESELY Modify HOW The Web Parts Are Constructed on The page-incrudingthe Appearance and The Layout of The Web Parts on the page.

Chapter 11:. SQL Cache InvalidationThis chapter discusses the biggest change to the caching capabilities in ASP.NET-SQL cache invalidation.This new caching capability allows you to invalidate cached items based on changes thatoccur in the database This new process ensures a new way of keeping your pages as fresh as possible, but use the smallest number of resources to do so.Chapter 12:. Additional New ControlsASP.NET 2.0 contains more than 40 new server controls Many of the controls are covered in the otherchapters of the book, but this chapter looks at the new server controls still unexplained. Included in thischapter are discussions of the BulletedList, HiddenField, FileUpload, MultiView, View, Wizard, DynamicImage, and ImageMap server controls.

Chapter 13:. Changes to ASP.NET 1.0 ControlsIn addition to the new server controls that come with ASP.NET 2.0, you will find considerable changeshave been made to the server controls that we all know and love from ASP.NET 1.0 This chapter takes Alook at The Traditional Server Controls That Have Changed.

Chapter 14:. Administration and ManagementBesides making it easier for the developer to be more productive in building ASP.NET applications, theASP.NET team also put considerable focus into making it easier to manage the application In the past, using ASP.NET 1.0 / 1.1, you managed the ASP.NET applications by changing values ​​in an XML configuration file This chapter provides an overview of the new GUI tools that come with this latest release that enable you to easily and effectively manage Web applications.Chapter 15:. Visual Basic 8.0 and C # 2.0Language EnhancementsIn addition to major changes to ASP.NET, considerable change has occurred in Visual Basic 8.0 and C # 2.0. The changes to these two languages, the primary languages ​​used for ASP.NET development, are discussed in this chapterConventionsI HAVE Used A Number of Different Styles of Text And Layout in The Book to Help Differentiate Among Varioustypes of Information. Here Are Examples of The Styles I Use and an expected of what the Y Mean:

❑ New Words That I'm Defining Are Shown In Italics. ❑ Keys That You Press on The Keyboard, Like Ctrl and Enter, Are Shown in Initial Caps and Spelled ASTHEY APPEAR on the keyboard.

Code appears in a number of different ways. If I'm talking about a code word in paragraph text-forexample, when discussing the if ... else loop-the code word is shown in this font. If it's a block ofcode that you CAN Type As a Program and Run, It's Shown On Separate Lines, ITHIN A GRAY BOX, LIKE THIS: Public Static Void Main () {Afunc (1, 2, "ABC");} Sometimes you see code in a mixture of styles , Like this: // if We Haven't reached the end, return true, otherwise // set the position to invalid, and return false.pos ; if (POS <4) Return True; Else {POS = -1; Return false;} The code with a white background represents code I've already presented and that you do not need toexamine further The code with the gray background is what I want you to focus on at this point.I demonstrate the syntactical usage of. Methods, Properties, And So ON Using The Following Format:

Sqldependency = "Database: Table" Here, The Italicized Parts Indicate PlaceHolder Text: Object References, Variables, or Parameter Values ​​to beinserted.

Most of the code Examples Throughout The Book Are Presented As Numbered Listings with descriptivetitles, LIKE THIS:

Listing 1-3: Targeting WML Devices in Your ASP.NET PAGES IN YOUR

Each listing is numbered as 1-3, where the first number represents the chapter number, and the numberfollowing the hyphen represents the sequential number for where that listing falls within the chapter.Downloadable code from the Wrox Web site (www.wrox.com) Also Uses this Numbering System, So Youcan Easily Locate The Examples You Are Looking For.

All code is shown in both VB and C # if warranted. The exception is for code in which the only differenceis, for example, the value given to the Language attribute in the Page directive. In such situations, Idon't repeat the code for the C # Version; So the code is shown only overce, as in the folload = "vb"%> DataSetDataSource </ title> </ head> <body> <form id = "form1" runat = "server"> <ask: DropdownList ID = "DropDownList1" runat = "server" datatextfield = "Name" DatasourceId = "DatasetDataSource1"> </ ask: DropdownList> <ask: DataSetDataSource ID = "datasetdatasource1" runat = "server" datafile = "~ / painters.xml"> </ asp: datasetdataSource> </ form> < / body> </ html> Source CodeAs you work through the examples in this book, you may choose either to type all the code manually oruse the source code files that accompany the book. All the source code used in this book is available fordownload at Http://www.wrox.com. When you get to the Site, SIMPLY LOCATE The BOOK'S TITLE (Either BYUSING THE SEARCH BOX or One of the title LISTS) And Click The Download Code Link on The Book's Detail PageTo Obtain All The Source Code for the Book.</p> <p>Source Code</p> <p>As You Work Through The Example Either to Type All The Code Manually OR</p> <p>Use the Source Code Files That Accompany The Book. All The Source Code Used In this book is available for</p> <p>Download At</p> <p>http://www.wrox.com. when get to the site, simply locate the book's title (Either By</p> <p>Using the search box or one of the title lists) And Click The Download Code Link on The Book's Detail PageTo Obtain All The Source Code for the book.</p> <p>BECAUSE MANY BOOKS HAVE SIMILAR TITLES, You May Find It Easiest to Search by ISBN; this Book's ISBN IS0-7645-7286-5.</p> <p>After you download the code, just decompress it with your favorite compression tool. Alternatively, youcan go to the main Wrox code download page at http://www.wrox.com/dynamic/books/download.aspx to see the code available for this book and all other Wrox books. Remember, you can easily findthe code you are looking for by referencing the listing number of the code example from the book, suchas Listing 1-3. I use these listing numbers when naming the downloadable code files.</p> <p>ErrataWe make every effort to ensure that there are no errors in the text or in the code. However, no one is perfect, and mistakes do occur. If you find an error in one of our books, such as a spelling mistake or faultypiece of Code, We Would Be Very Grateful if You Would Tell US About It. by sending in Errata, You MaySave Another Reader Hours of Frustration; At The Same Time, You Are Helping US Provide Even Higher QualityInformation.</p> <p>To Find The Errata Page for this book, go to http://www.wrox.com and locate the title lists. Then, on the book details page, click the book Errata link. On this page, youcan view all errata that have been submitted for this book and posted by Wrox editors. A complete booklist including links to each book's errata is also available at http://www.wrox.com/misc-pages/booklist.shtml.</p> <p>If you don't spot "Your" Error Already on the book Errata Page, Go to http://www.wrox.com/contact/techsupport.shtml and completion the form four to send us the error you have found. We ' llcheck the information and, if appropriate, post a message to the book's errata page and fix the problemin subsequent editions of the book.p2p.wrox.comFor author and peer discussion, join the P2P forums at p2p.wrox.com. The forums are a Web-based systemfor you to post messages relating to Wrox books and technologies and to interact with other readersand technology users. The forums offer a subscription feature that enables you to receive e-mail on topicsof interest when new posts are made to the forums. Wrox Authors, Editors, Other Industry Experts, And Your Fellow Readers Are Reperesented In There Forums.</p> <p>. At http://p2p.wrox.com you will find a number of different forums that will help you not only as youread this book, but also as you develop your own applications To join the forums, just follow these steps:</p> <p>1. Go to p2p.wrox.com and click the Register link.2. Read the terms of use and click Agree.3. Supply the information required to join, as well as any optional information you want to provide, and click Submit.</p> <p>You will receive and complete thejoining process.</p> <p>You can read Messages In The Forum WITHOINININININININININININININININIORDER TO POST MESSAGES.</p> <p>After you join, you can post new messages and respond to other users' posts. You can read messages atany time on the Web. If you would like to have new messages from a particular forum e-mailed to you, click the Subscribe to this Forum icon by the forum name in the forum listing.</p> <p>For more information about how the forum software works, as well as answers to many common questionsspecific to P2P and Wrox books, be sure to read the P2P FAQs. Simply click the FAQ link on anyP2P page.The Challenge of Writing a Beta BookThis book, ASP.NET 2.0 Beta Preview, was my seventh book, and it was quite a different experience fromother books I've written. I started writing this book at the end of 2003 when ASP.NET 2.0 was literally inpieces, and there was not an IDE to work with. Throughout the writing process, I received many newbuilds-some on CD, some on DVD, some for which I could log on to a remote server and work onlyremotely with the builds. with each new build I received, I Uninstalled Previous Builds and Installed Thenew One. Sometimes I Had to Completely Rebuild My Machine.</p> <p>The look and feel of the IDE-Visual Studio 2005-changed considerably from one build to the next, aswell as names of classes, methods, and properties. I say I wrote this book, but I probably wrote it at leasttwo times during the process . I tell this story because it is important for you to understand that I wrotethis book using numerous ASP.NET builds. in order to get this book to you in a timely fashion, the endproduct, which is in your hands, was retested and changed for the last build I received during the writingprocess. that particular build was one that was also received by more than 10,000 people at TechEd2004 in San Diego, California-the May 2004 Technology Preview of Visual Studio 2005.</p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-48923.html</div><div class="plugin d-flex justify-content-center mt-3"></div><hr><div class="row"><div class="col-lg-12 text-muted mt-2"><i class="icon-tags mr-2"></i><span class="badge border border-secondary mr-2"><h2 class="h6 mb-0 small"><a class="text-secondary" href="tag-2.html">9cbs</a></h2></span></div></div></div></div><div class="card card-postlist border-white shadow"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>New Post</b>(<span class="posts">0</span>) </div><div></div></div></div><ul class="postlist list-unstyled"> </ul></div></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="48923" checked /></div></div></div></div></div><footer class="text-muted small bg-dark py-4 mt-3" id="footer"><div class="container"><div class="row"><div class="col">CopyRight © 2020 All Rights Reserved </div><div class="col text-right">Processed: <b>0.035</b>, SQL: <b>9</b></div></div></div></footer><script src="./lang/en-us/lang.js?2.2.0"></script><script src="view/js/jquery.min.js?2.2.0"></script><script src="view/js/popper.min.js?2.2.0"></script><script src="view/js/bootstrap.min.js?2.2.0"></script><script src="view/js/xiuno.js?2.2.0"></script><script src="view/js/bootstrap-plugin.js?2.2.0"></script><script src="view/js/async.min.js?2.2.0"></script><script src="view/js/form.js?2.2.0"></script><script> var debug = DEBUG = 0; var url_rewrite_on = 1; var url_path = './'; var forumarr = {"1":"Tech"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script><script src="view/js/wellcms.js?2.2.0"></script><a class="scroll-to-top rounded" href="javascript:void(0);"><i class="icon-angle-up"></i></a><a class="scroll-to-bottom rounded" href="javascript:void(0);" style="display: inline;"><i class="icon-angle-down"></i></a></body></html><script> var forum_url = 'list-1.html'; var safe_token = '7KL_2FDSf3m_2Bix85uuKd185ak_2FTnjuE47JBlQvkB89xMSyp2p1MI2epFJBcfHpyoWO4RlniL8wQ1j12V1uZgyzEA_3D_3D'; var body = $('body'); body.on('submit', '#form', function() { var jthis = $(this); var jsubmit = jthis.find('#submit'); jthis.reset(); jsubmit.button('loading'); var postdata = jthis.serializeObject(); $.xpost(jthis.attr('action'), postdata, function(code, message) { if(code == 0) { location.reload(); } else { $.alert(message); jsubmit.button('reset'); } }); return false; }); function resize_image() { var jmessagelist = $('div.message'); var first_width = jmessagelist.width(); jmessagelist.each(function() { var jdiv = $(this); var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); var jmessage_width = Math.min(jdiv.width(), maxwidth); jdiv.find('img, embed, iframe, video').each(function() { var jimg = $(this); var img_width = this.org_width; var img_height = this.org_height; if(!img_width) { var img_width = jimg.attr('width'); var img_height = jimg.attr('height'); this.org_width = img_width; this.org_height = img_height; } if(img_width > jmessage_width) { if(this.tagName == 'IMG') { jimg.width(jmessage_width); jimg.css('height', 'auto'); jimg.css('cursor', 'pointer'); jimg.on('click', function() { }); } else { jimg.width(jmessage_width); var height = (img_height / img_width) * jimg.width(); jimg.height(height); } } }); }); } function resize_table() { $('div.message').each(function() { var jdiv = $(this); jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>'); }); } $(function() { resize_image(); resize_table(); $(window).on('resize', resize_image); }); var jmessage = $('#message'); jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '6rem'); }); jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); }); $('#nav li[data-active="fid-1"]').addClass('active'); </script>