Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 543 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
543
Dung lượng
10,16 MB
Nội dung
[...]... programmers out there who just love a good NET book to get them up and running fast in a new technology, you are in luck ASP.NET2.0InstantResults is the perfect fast-track book for the programmer or architect to pick up on the new features and tools available in the 2.0 version of ASP.NET Sure, you could read a traditional book, and spend countless hours guessing what you really have to do in order... creation of full projects in the 2.0 version of ASP.NET The book references some of the advancements since the older version 1.1, but not to any level of detail Most of the logic and material is gauged toward explaining the deeper concepts within the 2.0 version in its entirety How This Book Is Structured This book is designed in similar fashion to other Wrox Press InstantResults titles, in that it serves... Unlike a blog, where you want the world to see it! This whole project demonstrates the power of ASP.NET2.0 and how easy it makes creating projects like this Gone are the days of hundreds of lines of code to do security logons, create new users, and so on This chapter employs the new security components of ASP.NET2.0 to show just how easy it is to create fun, exciting, and useful projects The first section... lots of code to make the security function, in fact with the new security controls in ASP.NET2.0 it’s very easy and not much work at all If you have not registered, a link will take you to the Sign Up page, depicted in Figure 1-2 Chapter 1 Figure 1-1 Figure 1-2 This shows another of the new security controls in ASP.NET 2.0; creating a registration process is now just a matter of adding a control to a... properties, and have a near-instantaneous security system Another new feature is the enhancements to the design-time user interfaces for binding data controls A wizard-like aspect surrounds most of the controls, which are in fact very easy to operate Other exciting controls exist, but they are not the end of the story A vast amount of changes has been planted within ASP.NET 2.0, involving the architecture... projects provided in a short amount of time Some of the compelling reasons to produce this book are tied to the incredible reviews about the 2.0 version of the NET Framework, along with the development advancements seen within the Visual Studio 2005 environment ASP.NET 2.0 is a hot technology, poised for rapid adoption and growth compared to the 1.1 version, thanks to some exciting features that focus on... ASP.NET 2.0, involving the architecture of sites, speed of page requests, management of stateful information, and efficiency of development overall Sound too good to be true? Well, if you are taking on ASP.NET 2.0, your programming effort just got a whole lot easier Who This Book Is For This book is ideal for any programmer with NET experience to learn the new technology Anyone who has experimented with... but not difficult Figure 1-10 shows the tables in the Online Diary database (DiaryDB) Figure 1-10 6 The Online Diary and Organizer The default database created using the new membership features of ASP.NET 2.0 is also used The database is a SQL Server Express database and not modified from the one created by Visual Studio Express However, to link the log on and the diary details, the UserName field in... Edition, you can use one of the full versions of Visual Studio 2005, including the Standard and Professional editions It is understood with the development tools mentioned that the NET Framework version 2.0 is required to run the project samples as well Source Code As you work through the examples in this book, you may choose either to type in all the code manually or to use the source code files that... Current Head Code and Code Explanation Root Files Web.config Survey.vb Config.vb SurveyDB.vb WebForms Default.aspx Login.aspx TakeSurvey.aspx User Controls header.ascx footer.ascx navigation.ascx surveyresults.ascx currentsurvey.ascx Setting up the Project Hosted Web Site Installation Local Developer Installation Summary 122 122 122 122 123 124 126 126 126 126 127 127 128 128 129 130 130 131 131 132 . Explanation 22 1 Root Files 22 2 Web.config 22 2 Masterpage.master and Admin.master 22 2 Web.sitemap 22 3 WebForms 22 3 Photos.aspx 22 3 Login.aspx 22 4 Admin.aspx 22 5 Editphotos.aspx 22 7 Secure Area Files 22 8 User. 122 Root Files 122 Web.config 122 Survey.vb 122 Config.vb 123 SurveyDB.vb 124 WebForms 126 Default.aspx 126 Login.aspx 126 TakeSurvey.aspx 126 User Controls 127 header.ascx 127 footer.ascx 128 navigation.ascx. x0 y0 w0 h0" alt="" ASP. NET 2. 0 Instant Results Imar Spaanjaars, Paul Wilton, and Shawn Livermore 01 _749516 ffirs.qxp 2/ 16 /06 5:57 PM Page i 01 _749516 ffirs.qxp 2/ 16 /06 5:57 PM Page i ASP. NET