Join the p2p.wrox.com. Wrox Programmer to Programmer. Professional ASP.NET 4. in C# and VB. Bill Evjen, Scott Hanselman, Devin Rader

Size: px
Start display at page:

Download "Join the p2p.wrox.com. Wrox Programmer to Programmer. Professional ASP.NET 4. in C# and VB. Bill Evjen, Scott Hanselman, Devin Rader"

Transcription

1 Join the p2p.wrox.com Wrox Programmer to Programmer Professional ASP.NET 4 in C# and VB Bill Evjen, Scott Hanselman, Devin Rader

2 Programmer to Programmer Get more out of wrox.com Interact Take an active role online by participating in our P2P p2p.wrox.com Wrox Online Library Hundreds of our books are available online through Books24x7.com Wrox Blox Download short informational pieces and code to keep you up to date and out of trouble! Join the Community Sign up for our free monthly newsletter at newsletter.wrox.com Browse Ready for more Wrox? We have books and e-books available on.net, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more! Contact Us. We always like to get feedback from our readers. Have a book idea? Need community support? Let us know by ing wrox-partnerwithus@wrox.com

3 PROFESSIONAL ASP.NET 4 INTRODUCTION xxxix CHAPTER 1 Application and Page Frameworks CHAPTER 2 ASP.NET Server Controls and Client-Side Scripts CHAPTER 3 ASP.NET Web Server Controls CHAPTER 4 Validation Server Controls CHAPTER 5 Working with Master Pages CHAPTER 6 Themes and Skins CHAPTER 7 Data Binding CHAPTER 8 Data Management with ADO.NET CHAPTER 9 Querying with LINQ CHAPTER 10 Working with XML and LINQ to XML CHAPTER 11 Introduction to the Provider Model CHAPTER 12 Extending the Provider Model CHAPTER 13 Site Navigation CHAPTER 14 Personalization CHAPTER 15 Membership and Role Management CHAPTER 16 Portal Frameworks and Web Parts CHAPTER 17 HTML and CSS Design with ASP.NET CHAPTER 18 ASP.NET AJAX CHAPTER 19 ASP.NET AJAX Control Toolkit CHAPTER 20 Security CHAPTER 21 State Management CHAPTER 22 Caching CHAPTER 23 Debugging and Error Handling CHAPTER 24 File I/O and Streams CHAPTER 25 User and Server Controls CHAPTER 26 Modules and Handlers

4 CHAPTER 27 ASP.NET MVC CHAPTER 28 Using Business Objects CHAPTER 29 ADO.NET Entity Framework CHAPTER 30 ASP.NET Dynamic Data CHAPTER 31 Working with Services CHAPTER 32 Building Global Applications CHAPTER 33 Confi guration CHAPTER 34 Instrumentation CHAPTER 35 Administration and Management CHAPTER 36 Packaging and Deploying ASP.NET Applications APPENDIX A Migrating Older ASP.NET Projects APPENDIX B ASP.NET Ultimate Tools APPENDIX C Silverlight 3 and ASP.NET APPENDIX D Dynamic Types and Languages APPENDIX E ASP.NET Online Resources INDEX

5 PROFESSIONAL ASP.NET 4

6

7 PROFESSIONAL ASP.NET 4 IN C# AND VB Bill Evjen Scott Hanselman Devin Rader

8 Professional ASP.NET 4: In C# and VB Published by Wiley Publishing, Inc Crosspoint Boulevard Indianapolis, IN Copyright 2010 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: Manufactured in the United States of America No part of this publication may be reproduced, stored in a retrieval system or transmitted 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 Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) , fax (978) Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) , fax (201) , or online at Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read. For general information on our other products and services please contact our Customer Care Department within the United States at (877) , outside the United States at (317) or fax (317) Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Library of Congress Control Number: Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.

9 To Tuija, always. Bill Evjen To Momo and the boys. Toot! Scott Hanselman

10

11 ABOUT THE AUTHORS BILL EVJEN is an active proponent of.net technologies and community-based learning initiatives for.net. He has been actively involved with.net since the first bits were released in In the same year, Bill founded the St. Louis.NET User Group ( one of the world s first such groups. Bill is also the founder and former executive director of the International.NET Association ( which represents more than 500,000 members worldwide. Based in St. Louis, Missouri, Bill is an acclaimed author and speaker on ASP.NET and Services. He has authored or coauthored more than 20 books including Professional C# 2010, Professional VB 2008, ASP.NET Professional Secrets, XML Web Services for ASP.NET, and Web Services Enhancements: Understanding the WSE for Enterprise Applications (all published by Wiley). In addition to writing, Bill is a speaker at numerous conferences, including DevConnections, VSLive!, and TechEd. Along with these items, Bill works closely with Microsoft as a Microsoft Regional Director and an MVP. Bill is the Global Head of Platform Architecture for Thomson Reuters, Lipper, the international news and financial services company ( He graduated from Western Washington University in Bellingham, Washington, with a Russian language degree. When he isn t tinkering on the computer, he can usually be found at his summer house in Toivakka, Finland. You can reach Bill on Twitter SCOTT HANSELMAN works for Microsoft as a Principal Program Manager Lead in the Server and Tools Online Group, aiming to spread the good word about developing software, most often on the Microsoft stack. Before this, Scott was the Chief Architect at Corillian, an efinance enabler, for 6+ years, and before Corillian, he was a Principal Consultant at Microsoft Gold Partner for 7 years. He was also involved in a few things like the MVP and RD programs and will speak about computers (and other passions) whenever someone will listen to him. He blogs at podcasts at and runs a team that contributes to and Follow Scott on DEVIN RADER works at Infragistics where he focuses on delivering great experiences to developers using their controls. He s done work on all of the.net platforms, but most recently has been focused on Web technologies ASP.NET and Silverlight. As a co-founder of the St. Louis.NET User group and a former INETA board member, and a member of the Central New Jersey.NET user group, he s an active supporter of the.net developer community. He s also co-author or technical editor of numerous books on.net, including Wrox s Silverlight 3 Programmer s Reference. Follow Devin on

12 ABOUT THE TECHNICAL EDITORS CARLOS FIGUEROA has been developing and designing Web solutions for the last 8 years, participating in international projects for the pharmaceutical industry, banking, commercial air transportation, and the government. During these years, Carlos has been deeply involved as an early adopter of Microsoft Web development technologies, such as ASP.NET and Silverlight. He has been awarded Microsoft Most Valuable Professional for the last 5 years and holds the MCAD certification. Carlos is a Senior Software Developer at Oshyn, Inc. ( a company specialized on delivering innovative business solutions for the web, mobile devices and emerging technology platforms. At Oshyn, Carlos is dedicated to help some of the most recognizable brands in the world to achieve technology success. You can reach Carlos at cfigueroa1982@hotmail.com or follow him on ANDREW MOORE is a graduate of Purdue University Calumet in Hammond, Indiana, and has been developing software since 1998 for radar systems, air traffic management, discrete-event simulation, and business communications applications using C, C++, C#, and Java on the Windows, UNIX, and Linux platforms. Andrew is also a contributor to the Wrox Blox article series. He is currently working as a Senior Software Engineer at Interactive Intelligence, Inc., in Indianapolis, Indiana, developing server-side applications for a multimedia unified business communications platform. Andrew lives in Indiana with his wife Barbara and children Sophia and Andrew.

13 CREDITS ACQUISITIONS EDITOR Paul Reese SENIOR PROJECT EDITOR Kevin Kent TECHNICAL EDITORS Carlos Figueroa Andrew Moore PRODUCTION EDITOR Daniel Scribner COPY EDITOR Paula Lowell EDITORIAL DIRECTOR Robyn B. Siesky EDITORIAL MANAGER Mary Beth Wakefi eld ASSOCIATE DIRECTOR OF MARKETING David Mayhew PRODUCTION MANAGER Tim Tate VICE PRESIDENT AND EXECUTIVE GROUP PUBLISHER Richard Swadley VICE PRESIDENT AND EXECUTIVE PUBLISHER Barry Pruett ASSOCIATE PUBLISHER Jim Minatel PROJECT COORDINATOR, COVER Lynsey Stanford PROOFREADERS Word One INDEXER J & J Indexing COVER DESIGNER Michael E. Trent COVER IMAGE Jon Feingersh Photography Inc / Blend Images / Jupiter Images

14

15 ACKNOWLEDGMENTS THANKS TO KEVIN KENT, PAUL REESE, AND JIM MINATEL for the opportunity to work on such a great book. In addition to my co-authors, I would like to thank my family for putting up with all the writing. Thank you Tuija, Sofia, Henri, and Kalle! Bill Evjen

16

17 CONTENTS INTRODUCTION xxxix CHAPTER 1: APPLICATION AND PAGE FRAMEWORKS 1 Application Location Options 1 Built-in Web Server 2 IIS 3 FTP 3 Web Site Requiring FrontPage Extensions 4 The ASP.NET Page Structure Options 4 Inline Coding 6 Code-Behind Model 7 ASP.NET 4 Page Directives ASP.NET Page Events 19 Dealing with Postbacks 20 Cross-Page Posting 21 ASP.NET Application Folders 26 App_Code Folder 27 App_Data Folder 30 App_Themes Folder 31 App_GlobalResources Folder 31 App_LocalResources Folder 31 App_WebReferences Folder 31 App_Browsers Folder 31 Compilation 32 Build Providers 35

18 CONTENTS Using the Built-in Build Providers 36 Using Your Own Build Providers 36 Global.asax 41 Working with Classes Through Visual Studio Summary 47 CHAPTER 2: ASP.NET SERVER CONTROLS AND CLIENT-SIDE SCRIPTS 49 ASP.NET Server Controls 49 Types of Server Controls 50 Building with Server Controls 51 Working with Server Control Events 53 Applying Styles to Server Controls 54 Examining the Controls Common Properties 54 Changing Styles Using Cascading Style Sheets 56 CSS Changes in ASP.NET 4 58 HTML Server Controls 59 Looking at the HtmlControl Base Class 60 Looking at the HtmlContainerControl Class 61 Looking at All the HTML Classes 61 Using the HtmlGenericControl Class 62 Identifying ASP.NET Server Controls 63 Manipulating Pages and Server Controls with JavaScript 65 Using Page.ClientScript.RegisterClientScriptBlock 66 Using Page.ClientScript.RegisterStartupScript 68 Using Page.ClientScript.RegisterClientScriptInclude 69 Client-Side Callback 69 Comparing a Typical Postback to a Callback 70 Using the Callback Feature A Simple Approach 72 Using the Callback Feature with a Single Parameter 75 Using the Callback Feature A More Complex Example 78 Summary 83 CHAPTER 3: ASP.NET WEB SERVER CONTROLS 85 An Overview of Web Server Controls 85 The Label Server Control 86 The Literal Server Control 88 The TextBox Server Control 88 Using the Focus() Method 89 Using AutoPostBack 89 Using AutoCompleteType 90 xvi

19 CONTENTS The Button Server Control 91 The CausesValidation Property 91 The CommandName Property 92 Buttons That Work with Client-Side JavaScript 93 The LinkButton Server Control 94 The ImageButton Server Control 95 The HyperLink Server Control 96 The DropDownList Server Control 96 Visually Removing Items from a Collection 98 The ListBox Server Control 100 Allowing Users to Select Multiple Items 100 An Example of Using the ListBox Control 100 Adding Items to a Collection 102 The CheckBox Server Control 102 How to Determine Whether Check Boxes Are Checked 103 Assigning a Value to a Check Box 104 Aligning Text Around the Check Box 104 The CheckBoxList Server Control 104 The RadioButton Server Control 106 The RadioButtonList Server Control 108 Image Server Control 109 Table Server Control 110 The Calendar Server Control 112 Making a Date Selection from the Calendar Control 112 Choosing a Date Format to Output from the Calendar 113 Making Day, Week, or Month Selections 114 Working with Date Ranges 115 Modifying the Style and Behavior of Your Calendar 116 AdRotator Server Control 119 The Xml Server Control 121 Panel Server Control 122 The PlaceHolder Server Control 124 BulletedList Server Control 124 HiddenField Server Control 129 FileUpload Server Control 130 Uploading Files Using the FileUpload Control 130 Giving ASP.NET Proper Permissions to Upload Files 132 Understanding File Size Limitations 133 Uploading Multiple Files from the Same Page 134 Placing the Uploaded File into a Stream Object 137 Moving File Contents from a Stream Object to a Byte Array 137 xvii

20 CONTENTS MultiView and View Server Controls 138 Wizard Server Control 141 Customizing the Side Navigation 142 Examining the AllowReturn Attribute 143 Working with the StepType Attribute 143 Adding a Header to the Wizard Control 143 Working with the Wizard s Navigation System 144 Utilizing Wizard Control Events 145 Using the Wizard Control to Show Form Elements 146 ImageMap Server Control 150 Chart Server Control 152 Summary 155 CHAPTER 4: VALIDATION SERVER CONTROLS 157 Understanding Validation 157 Client-Side versus Server-Side Validation 158 ASP.NET Validation Server Controls 159 Validation Causes 160 The RequiredFieldValidator Server Control 160 The CompareValidator Server Control 164 The RangeValidator Server Control 167 The RegularExpressionValidator Server Control 171 The CustomValidator Server Control 172 The ValidationSummary Server Control 176 Turning Off Client-Side Validation 179 Using Images and Sounds for Error Notifications 180 Working with Validation Groups 181 Summary 185 CHAPTER 5: WORKING WITH MASTER PAGES 187 Why Do You Need Master Pages? 187 The Basics of Master Pages 189 Coding a Master Page 190 Coding a Content Page 192 Mixing Page Types and Languages 196 Specifying Which Master Page to Use 197 Working with the Page Title 198 Working with Controls and Properties from the Master Page 199 Specifying Default Content in the Master Page 205 Programmatically Assigning the Master Page 207 xviii

21 CONTENTS Nesting Master Pages 207 Container-Specific Master Pages 211 Event Ordering 212 Caching with Master Pages 213 ASP.NET AJAX and Master Pages 214 Summary 216 CHAPTER 6: THEMES AND SKINS 217 Using ASP.NET Themes 217 Applying a Theme to a Single ASP.NET Page 217 Applying a Theme to an Entire Application 219 Removing Themes from Server Controls 219 Removing Themes from Web Pages 220 Understanding Themes When Using Master Pages 221 Understanding the StyleSheetTheme Attribute 221 Creating Your Own Themes 222 Creating the Proper Folder Structure 222 Creating a Skin 222 Including CSS Files in Your Themes 224 Having Your Themes Include Images 227 Defining Multiple Skin Options 229 Programmatically Working with Themes 231 Assigning the Page s Theme Programmatically 231 Assigning a Control s SkinID Programmatically 231 Themes, Skins, and Custom Controls 232 Summary 235 CHAPTER 7: DATA BINDING 237 Data Source Controls 237 SqlDataSource Control 239 AccessDataSource Control 247 LinqDataSource Control 247 EntityDataSource Control 253 XmlDataSource Control 255 ObjectDataSource Control 256 SiteMapDataSource Control 259 Data Source Control Caching 259 Storing Connection Information 260 Using Bound List Controls with Data Source Controls 262 GridView 262 xix

22 CONTENTS Editing GridView Row Data 275 Deleting GridView Data 281 Other GridView Formatting Features 283 DetailsView 283 Inserting, Updating, and Deleting Data Using DetailsView 287 ListView 289 FormView 296 Other Databound Controls 300 TreeView 300 AdRotator 301 Menu 301 Inline Data-Binding Syntax 302 Data-Binding Syntax 302 XML Data Binding 303 Expressions and Expression Builders 303 Summary 308 CHAPTER 8: DATA MANAGEMENT WITH ADO.NET 309 Basic ADO.NET Features 310 Common ADO.NET Tasks 310 Basic ADO.NET Namespaces and Classes 314 Using the Connection Object 315 Using the Command Object 317 Using the DataReader Object 318 Using DataAdapter 320 Using Parameters 322 Understanding DataSet and DataTable 325 Using Oracle as Your Database with ASP.NET 329 The DataList Server Control 330 Looking at the Available Templates 331 Working with ItemTemplate 331 Working with Other Layout Templates 334 Working with Multiple Columns 336 The ListView Server Control 336 Connecting the ListView to a Database 337 Creating the Layout Template 338 Creating the ItemTemplate 340 Creating the EditItemTemplate 341 Creating the EmptyItemTemplate 341 Creating the InsertItemTemplate 341 Viewing the Results 342 xx

23 CONTENTS Using Visual Studio for ADO.NET Tasks 344 Creating a Connection to the Data Source 344 Working with a Dataset Designer 345 Using the CustomerOrders DataSet 348 Asynchronous Command Execution 352 Asynchronous Methods of the SqlCommand Class 352 IAsyncResult Interface 353 AsyncCallback 354 WaitHandle Class 354 Approaches of Asynchronous Processing in ADO.NET 355 Canceling Asynchronous Processing 370 Asynchronous Connections 370 Summary 370 CHAPTER 9: QUERYING WITH LINQ 371 LINQ to Objects 371 Understanding Traditional Query Methods 371 Replacing Traditional Queries with LINQ 378 Data Grouping 384 Using Other LINQ Operators 385 Making LINQ Joins 385 Paging Using LINQ 386 LINQ to XML 387 Joining XML Data 390 LINQ to SQL 391 Making Insert, Update, and Delete Queries through LINQ 399 Extending LINQ 403 Summary 403 CHAPTER 10: WORKING WITH XML AND LINQ TO XML 405 The Basics of XML 406 The XML InfoSet 408 XSD XML Schema Defi nition 409 Editing XML and XML Schema in Visual Studio XmlReader and XmlWriter 413 Using XDocument Rather Than XmlReader 415 Using Schema with XmlTextReader 416 Validating Against a Schema Using an XDocument 417 Including NameTable Optimization 419 Retrieving.NET CLR Types from XML 420 xxi

24 CONTENTS ReadSubtree and XmlSerialization 422 Creating CLR Objects from XML with LINQ to XML 423 Creating XML with XmlWriter 424 Creating XML with LINQ for XML 426 Improvements for XmlReader and XmlWriter 429 XmlDocument and XPathDocument 429 Problems with the DOM 429 XPath, the XPathDocument, and XmlDocument 430 DataSets 434 Persisting DataSets to XML 434 XmlDataDocument 435 The XmlDataSource Control 437 XSLT 441 XslCompiledTransform 442 XSLT Debugging 445 Databases and XML 446 FOR XML AUTO 446 SQL Server and the XML Data Type 451 Summary 456 CHAPTER 11: INTRODUCTION TO THE PROVIDER MODEL 457 Understanding the Provider 458 The Provider Model in ASP.NET Setting Up Your Provider to Work with Microsoft SQL Server 7.0, 2000, 2005, or Membership Providers 466 Role Providers 469 The Personalization Provider 473 The SiteMap Provider 474 SessionState Providers 476 Web Event Providers 478 Confi guration Providers 485 The Web Parts Provider 487 Configuring Providers 489 Summary 489 CHAPTER 12: EXTENDING THE PROVIDER MODEL 491 Providers Are One Tier in a Larger Architecture 491 Modifying Through Attribute-Based Programming 492 Simpler Password Structures Through the SqlMembershipProvider 492 Stronger Password Structures Through the SqlMembershipProvider 495 xxii

25 CONTENTS Examining ProviderBase 496 Building Your Own Providers 497 Creating the CustomProviders Application 498 Constructing the Class Skeleton Required 499 Creating the XML User Data Store 502 Defi ning the Provider Instance in the web.confi g File 502 Not Implementing Methods and Properties of the MembershipProvider Class 503 Implementing Methods and Properties of the MembershipProvider Class 504 Using the XmlMembershipProvider for User Login 510 Extending Pre-Existing Providers 511 Limiting Role Capabilities with a New LimitedSqlRoleProvider Provider 511 Using the New LimitedSqlRoleProvider Provider 515 Summary 518 CHAPTER 13: SITE NAVIGATION 519 XML-Based Sitemaps 520 SiteMapPath Server Control 521 The PathSeparator Property 523 The PathDirection Property 525 The ParentLevelsDisplayed Property 525 The ShowToolTips Property 526 The SiteMapPath Control s Child Elements 526 TreeView Server Control 527 Identifying the TreeView Control s Built-In Styles 530 Examining the Parts of the TreeView Control 531 Binding the TreeView Control to an XML File 532 Selecting Multiple Options in a TreeView 534 Specifying Custom Icons in the TreeView Control 537 Specifying Lines Used to Connect Nodes 538 Working with the TreeView Control Programmatically 540 Menu Server Control 545 Applying Different Styles to the Menu Control 546 Using Menu Events 550 Binding the Menu Control to an XML File 551 SiteMap Data Provider 552 ShowStartingNode 552 StartFromCurrentNode 553 StartingNodeOffset 554 StartingNodeUrl 555 SiteMap API 555 xxiii

26 CONTENTS URL Mapping 557 Sitemap Localization 558 Structuring the Web.sitemap File for Localization 558 Making Modifications to the Web.confi g File 559 Creating Assembly Resource (.resx) Files 560 Testing the Results 561 Security Trimming 561 Setting Up Role Management for Administrators 562 Setting Up the Administrators Section 563 Enabling Security Trimming 564 Nesting SiteMap Files 566 Summary 567 CHAPTER 14: PERSONALIZATION 569 The Personalization Model 570 Creating Personalization Properties 570 Adding a Simple Personalization Property 570 Using Personalization Properties 571 Adding a Group of Personalization Properties 574 Using Grouped Personalization Properties 575 Defi ning Types for Personalization Properties 576 Using Custom Types 576 Providing Default Values 579 Making Personalization Properties Read-Only 579 Anonymous Personalization 579 Enabling Anonymous Identification of the End User 579 Working with Anonymous Identifi cation 582 Anonymous Options for Personalization Properties 583 Warnings about Anonymous User Profi le Storage 583 Programmatic Access to Personalization 584 Migrating Anonymous Users 584 Personalizing Profi les 585 Determining Whether to Continue with Automatic Saves 586 Personalization Providers 587 Working with SQL Server Express Edition 587 Working with Microsoft s SQL Server 7.0/2000/2005/ Using Multiple Providers 590 Managing Application Profiles 590 Properties of the Profi lemanager Class 591 Methods of the Profi lemanager Class 591 Building the Profi lemanager.aspx Page 592 xxiv

27 CONTENTS Examining the Profi lemanager.aspx Page s Code 594 Running the Profi lemanager.aspx Page 595 Summary 596 CHAPTER 15: MEMBERSHIP AND ROLE MANAGEMENT 597 ASP.NET 4 Authentication 598 Setting Up Your Web Site for Membership 598 Adding Users 600 Asking for Credentials 613 Working with Authenticated Users 620 Showing the Number of Users Online 622 Dealing with Passwords 623 ASP.NET 4 Authorization 627 Using the LoginView Server Control 627 Setting Up Your Web Site for Role Management 630 Adding and Retrieving Application Roles 632 Deleting Roles 634 Adding Users to Roles 635 Getting All the Users of a Particular Role 635 Getting All the Roles of a Particular User 637 Removing Users from Roles 638 Checking Users in Roles 638 Understanding How Roles Are Cached 639 Using the Web Site Administration Tool 640 Public Methods of the Membership API 640 Public Methods of the Roles API 641 Summary 642 CHAPTER 16: PORTAL FRAMEWORKS AND WEB PARTS 643 Introducing Web Parts 643 Building Dynamic and Modular Web Sites 645 Introducing the WebPartManager Control 645 Working with Zone Layouts 646 Understanding the WebPartZone Control 649 Allowing the User to Change the Mode of the Page 651 Modifying Zones 660 Working with Classes in the Portal Framework 666 Creating Custom Web Parts 669 Connecting Web Parts 674 Building the Provider Web Part 675 xxv

28 CONTENTS Building the Consumer Web Part 677 Connecting Web Parts on an ASP.NET Page 679 Understanding the Difficulties in Dealing with Master Pages When Connecting Web Parts 681 Summary 682 CHAPTER 17: HTML AND CSS DESIGN WITH ASP.NET 683 Caveats 684 HTML and CSS Overview 684 Creating Style Sheets 685 CSS Rules 687 CSS Inheritance 694 Element Layout and Positioning 695 Working with HTML and CSS in Visual Studio 702 Working with CSS in Visual Studio 703 Managing Relative CSS Links in Master Pages 706 Styling ASP.NET Controls 706 Summary 708 CHAPTER 18: ASP.NET AJAX 709 Understanding the Need for AJAX 709 Before AJAX 710 AJAX Changes the Story 710 ASP.NET AJAX and Visual Studio Client-Side Technologies 713 Server-Side Technologies 714 Developing with ASP.NET AJAX 714 Building ASP.NET AJAX Applications 714 Building a Simple ASP.NET Page without AJAX 716 Building a Simple ASP.NET Page with AJAX 718 ASP.NET AJAX s Server-Side Controls 722 The ScriptManager Control 723 The ScriptManagerProxy Control 725 The Timer Control 726 The UpdatePanel Control 727 The UpdateProgress Control 731 Using Multiple UpdatePanel Controls 733 Working with Page History 737 Script Combining 741 Summary 745 xxvi

29 CONTENTS CHAPTER 19: ASP.NET AJAX CONTROL TOOLKIT 747 Downloading and Installing the AJAX Control Toolkit 749 The ASP.NET AJAX Controls 750 ASP.NET AJAX Control Toolkit Extenders 751 AlwaysVisibleControlExtender 751 AnimationExtender 753 AutoCompleteExtender 755 CalendarExtender 757 CollapsiblePanelExtender 758 ColorPickerExtender 760 Confi rmbuttonextender and ModalPopupExtender 761 DragPanelExtender 763 DropDownExtender 764 DropShadowExtender 766 DynamicPopulateExtender 768 FilteredTextBoxExtender 772 HoverMenuExtender 772 ListSearchExtender 774 MaskedEditExtender and MaskedEditValidator 774 MutuallyExclusiveCheckBoxExtender 776 NumericUpDownExtender 778 PagingBulletedListExtender 778 PopupControlExtender 780 ResizableControlExtender 781 RoundedCornersExtender 783 SliderExtender and MultiHandleSliderExtender 784 SlideShowExtender 785 TextBoxWatermarkExtender 788 ToggleButtonExtender 789 UpdatePanelAnimationExtender 790 ValidatorCalloutExtender 791 ASP.NET AJAX Control Toolkit Server Controls 793 Accordion Control 793 CascadingDropDown 795 NoBot Control 798 PasswordStrength Control 799 Rating Control 800 TabContainer Control 801 Summary 803 xxvii

30 CONTENTS CHAPTER 20: SECURITY 805 Applying Authentication Measures 806 The <authentication> Node 806 Windows-Based Authentication 807 Forms-Based Authentication 813 Passport Authentication 821 Authenticating Specific Files and Folders 822 Programmatic Authorization 822 Working with User.Identity 823 Working with User.IsInRole() 824 Pulling More Information with WindowsIdentity 824 Identity and Impersonation 827 Securing Through IIS 828 IP Address and Domain Name Restrictions 829 Working with File Extensions 829 Using the ASP.NET MMC Snap-In 832 Using the IIS 7.0 Manager 832 Summary 833 CHAPTER 21: STATE MANAGEMENT 835 Your Session State Choices 835 Understanding the Session Object in ASP.NET 838 Sessions and the Event Model 838 Confi guring Session State Management 839 In-Process Session State 840 Out-of-Process Session State 846 SQL-Backed Session State 851 Extending Session State with Other Providers 854 Cookieless Session State 855 Choosing the Correct Way to Maintain State 856 The Application Object 856 QueryStrings 857 Cookies 857 PostBacks and Cross-Page PostBacks 857 Hidden Fields, ViewState, and ControlState 859 Using HttpContext.Current.Items for Very Short-Term Storage 863 Summary 864 xxviii

Join the p2p.wrox.com. Wrox Programmer to Programmer. Professional ASP.NET 4. in C# and VB. Bill Evjen, Scott Hanselman, Devin Rader

Join the p2p.wrox.com. Wrox Programmer to Programmer. Professional ASP.NET 4. in C# and VB. Bill Evjen, Scott Hanselman, Devin Rader Join the discussion @ p2p.wrox.com Wrox Programmer to Programmer Professional ASP.NET 4 in C# and VB Bill Evjen, Scott Hanselman, Devin Rader Programmer to Programmer Get more out of wrox.com Interact

More information

ASP.NET 3.5 SP1. In C# and VB. Professional. Covers. Service Pack 1. Bill Evjen, Scott Hanselman, Devin Rader

ASP.NET 3.5 SP1. In C# and VB. Professional. Covers. Service Pack 1. Bill Evjen, Scott Hanselman, Devin Rader Wrox Programmer to Programmer TM Professional ASP.NET 3.5 SP1 In C# and VB Covers Service Pack 1 Bill Evjen, Scott Hanselman, Devin Rader CD-ROM includes the full book in PDF format Programmer to Programmer

More information

Professional ASP.NET 2.0 Databases. Thiru Thangarathinam

Professional ASP.NET 2.0 Databases. Thiru Thangarathinam Professional ASP.NET 2.0 Databases Thiru Thangarathinam Professional ASP.NET 2.0 Databases Professional ASP.NET 2.0 Databases Thiru Thangarathinam Professional ASP.NET 2.0 Databases Published by Wiley

More information

ASP.NET 3.5 SP1. In C# and VB. Professional. Covers. Service Pack 1. Bill Evjen, Scott Hanselman, Devin Rader

ASP.NET 3.5 SP1. In C# and VB. Professional. Covers. Service Pack 1. Bill Evjen, Scott Hanselman, Devin Rader Wrox Programmer to Programmer TM Professional ASP.NET 3.5 SP1 In C# and VB Covers Service Pack 1 Bill Evjen, Scott Hanselman, Devin Rader CD-ROM includes the full book in PDF format Programmer to Programmer

More information

Join the p2p.wrox.com. Wrox Programmer to Programmer. Beginning PHP 5.3. Matt Doyle

Join the p2p.wrox.com. Wrox Programmer to Programmer. Beginning PHP 5.3. Matt Doyle Join the discussion @ p2p.wrox.com Wrox Programmer to Programmer Beginning PHP 5.3 Matt Doyle Programmer to Programmer Get more out of WROX.com Interact Take an active role online by participating in our

More information

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

Beginning ASP.NET. 4.5 in C# Matthew MacDonald Beginning ASP.NET 4.5 in C# Matthew MacDonald Contents About the Author About the Technical Reviewers Acknowledgments Introduction xxvii xxix xxxi xxxiii UPart 1: Introducing.NET. 1 & Chapter 1: The Big

More information

CHAPTER 1: GETTING STARTED WITH ASP.NET 4 1

CHAPTER 1: GETTING STARTED WITH ASP.NET 4 1 FOREWORD INTRODUCTION xxv xxvii CHAPTER 1: GETTING STARTED WITH ASP.NET 4 1 Microsoft Visual Web Developer 2 Getting Visual Web Developer 3 Installing Visual Web Developer Express 3 Creating Your First

More information

7 Windows Tweaks. A Comprehensive Guide to Customizing, Increasing Performance, and Securing Microsoft Windows 7. Steve Sinchak

7 Windows Tweaks. A Comprehensive Guide to Customizing, Increasing Performance, and Securing Microsoft Windows 7. Steve Sinchak Take control of Windows 7 Unlock hidden settings Rev up your network Disable features you hate, for good Fine-tune User Account control Turbocharge online speed Master the taskbar and start button Customize

More information

Microsoft ASP.NET Using Visual Basic 2008: Volume 1 Table of Contents

Microsoft ASP.NET Using Visual Basic 2008: Volume 1 Table of Contents Table of Contents INTRODUCTION...INTRO-1 Prerequisites...INTRO-2 Installing the Practice Files...INTRO-3 Software Requirements...INTRO-3 Installation...INTRO-3 The Chapter Files...INTRO-3 Sample Database...INTRO-3

More information

Beginning Transact-SQL with SQL Server 2000 and Paul Turley with Dan Wood

Beginning Transact-SQL with SQL Server 2000 and Paul Turley with Dan Wood Beginning Transact-SQL with SQL Server 2000 and 2005 Paul Turley with Dan Wood Beginning Transact-SQL with SQL Server 2000 and 2005 Beginning Transact-SQL with SQL Server 2000 and 2005 Paul Turley with

More information

ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p.

ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p. Preface p. xix ASP.NET 2.0 p. 1.NET Framework 2.0 p. 2 ASP.NET 2.0 p. 4 New Features p. 5 Special Folders Make Integration Easier p. 5 Security p. 6 Personalization p. 6 Master Pages p. 6 Navigation p.

More information

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett Beginning Web Programming with HTML, XHTML, and CSS Second Edition Jon Duckett Beginning Web Programming with HTML, XHTML, and CSS Introduction............................................... xxiii Chapter

More information

Linux Command Line and Shell Scripting Bible

Linux Command Line and Shell Scripting Bible Linux Command Line and Shell Scripting Bible Richard Blum Wiley Publishing, Inc. Linux Command Line and Shell Scripting Bible Linux Command Line and Shell Scripting Bible Richard Blum Wiley Publishing,

More information

Introduction... xxix. Part I: Introduction to ASP.NET 4.0. Chapter 1: ASP.NET 4.0 Essentials... 1

Introduction... xxix. Part I: Introduction to ASP.NET 4.0. Chapter 1: ASP.NET 4.0 Essentials... 1 Introduction... xxix Part I: Introduction to ASP.NET 4.0 Chapter 1: ASP.NET 4.0 Essentials... 1 Section I Introduction to.net... 2 Evolution of.net... 2 Benefits of.net Framework... 2 Overview of.net Framework

More information

Pro ASP.NET 4 in C# 2010

Pro ASP.NET 4 in C# 2010 Pro ASP.NET 4 in C# 2010 ii n in Matthew MacDonald, Adam Freeman, and Mario Szpuszta Apress Contents Contents at a Glance - About the Author About the Technical Reviewer Introduction... Hi xxxii xxxiii

More information

Introduction... xxvii. Chapter 1: ASP.NET 4.5 Essentials... 1

Introduction... xxvii. Chapter 1: ASP.NET 4.5 Essentials... 1 Introduction... xxvii Chapter 1: ASP.NET 4.5 Essentials... 1 Section I Introduction to.net...2 Evolution of.net...2 Benefits of.net Framework...2 Overview of.net Framework 4.5...3 Common Language Runtime...4

More information

Mastering UNIX Shell Scripting

Mastering UNIX Shell Scripting Mastering UNIX Shell Scripting Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus Second Edition Randal K. Michael Wiley Publishing, Inc. Mastering UNIX Shell

More information

Linux Command Line and Shell Scripting Bible. Third Edtion

Linux Command Line and Shell Scripting Bible. Third Edtion Linux Command Line and Shell Scripting Bible Third Edtion Linux Command Line and Shell Scripting BIBLE Third Edition Richard Blum Christine Bresnahan Linux Command Line and Shell Scripting Bible, Third

More information

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010

10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010 10267A CS: Developing Web Applications Using Microsoft Visual Studio 2010 Course Overview This instructor-led course provides knowledge and skills on developing Web applications by using Microsoft Visual

More information

Flash Lite. Mobile Development. Professional. Build Flash Applications for Mobile Devices. Jermaine G. Anderson. Join the p2p.wrox.

Flash Lite. Mobile Development. Professional. Build Flash Applications for Mobile Devices. Jermaine G. Anderson. Join the p2p.wrox. Join the discussion @ p2p.wrox.com Wrox Programmer to Programmer Professional Flash Lite Mobile Development Build Flash Applications for Mobile Devices Jermaine G. Anderson Programmer to Programmer Get

More information

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days 2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days Certification Exam This course will help you prepare for the following Microsoft Certified

More information

Study Guide. Robert Schmidt Dane Charlton

Study Guide. Robert Schmidt Dane Charlton Study Guide Study Guide Robert Schmidt Dane Charlton Senior Acquisitions Editor: Kenyon Brown Development Editor: Candace English Technical Editors: Eric Biller and Brian Atkinson Production Editor: Christine

More information

Linux. The book you need to succeed! Boot up to Ubuntu, Fedora, KNOPPIX, Debian, opensuse, and 13 Other Distributions Edition.

Linux. The book you need to succeed! Boot up to Ubuntu, Fedora, KNOPPIX, Debian, opensuse, and 13 Other Distributions Edition. DVD and CD-ROM Included Run or install 18 different Linux distributions from the multi-boot DVD and CD-ROM! Christopher Negus Linux 2009 Edition Boot up to Ubuntu, Fedora, KNOPPIX, Debian, opensuse, and

More information

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION

OVERVIEW ENVIRONMENT PROGRAM STRUCTURE BASIC SYNTAX DATA TYPES TYPE CONVERSION Program: C#.Net (Basic with advance) Duration: 50hrs. C#.Net OVERVIEW Strong Programming Features of C# ENVIRONMENT The.Net Framework Integrated Development Environment (IDE) for C# PROGRAM STRUCTURE Creating

More information

Developing Web Applications Using ASP.NET Duration:56 Hours

Developing Web Applications Using ASP.NET Duration:56 Hours Developing Web Applications Using ASP.NET Duration:56 Hours Chapter 1 Chapter 2 Rationale Introducing Web Development Server-Side Scripting Client-Side Scripting Exploring ASP.NET ASP.NET in the.net Framework

More information

XSLT 2.0 and XPath 2.0

XSLT 2.0 and XPath 2.0 Wrox Programmer to Programmer TM Michael Kay Michael Kay has been working in the XML field since 1997. He became a member of the XSL Working Group soon after the publication of XSLT 1.0 and took over as

More information

DOT NET COURSE BROCHURE

DOT NET COURSE BROCHURE Page 1 1Pointer Technology Chacko Towers,Anna nagar Main Road, Anna Nager(Annai Insititute 2nd Floor) Pondicherry-05 Mobile :+91-9600444787,9487662326 Website : http://www.1pointer.com/ Email : info@1pointer.com/onepointertechnology@gmail.com

More information

Agile Database Techniques Effective Strategies for the Agile Software Developer. Scott W. Ambler

Agile Database Techniques Effective Strategies for the Agile Software Developer. Scott W. Ambler Agile Database Techniques Effective Strategies for the Agile Software Developer Scott W. Ambler Agile Database Techniques Effective Strategies for the Agile Software Developer Agile Database Techniques

More information

Hands-On Oracle Application Express Security

Hands-On Oracle Application Express Security Hands-On Oracle Application Express Security BUILDING SECURE APEX APPLICATIONS Recx Hands-On Oracle Application Express Security: Building Secure Apex Applications Published by John Wiley & Sons, Inc.

More information

Certified ASP.NET Programmer VS-1025

Certified ASP.NET Programmer VS-1025 VS-1025 Certified ASP.NET Programmer Certification Code VS-1025 Microsoft ASP. NET Programming Certification allows organizations to strategize their IT policy and support to easily connect disparate business

More information

Audience: Experienced application developers or architects responsible for Web applications in a Microsoft environment.

Audience: Experienced application developers or architects responsible for Web applications in a Microsoft environment. ASP.NET Using C# (VS 2010) This five-day course provides a comprehensive and practical hands-on introduction to developing Web applications using ASP.NET 4.0 and C#. It includes an introduction to ASP.NET

More information

ASP.NET Web Forms Programming Using Visual Basic.NET

ASP.NET Web Forms Programming Using Visual Basic.NET ASP.NET Web Forms Programming Using Visual Basic.NET Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.

More information

Beginning Visual Basic 2015

Beginning Visual Basic 2015 Beginning Visual Basic 2015 Introduction................................................... xxvii Chapter 1 Welcome to Visual Basic 2015................................ 1 Chapter 2 The Microsoft.NET Framework..............................

More information

Practical Database Programming with Visual Basic.NET

Practical Database Programming with Visual Basic.NET Practical Database Programming with Visual Basic.NET IEEE Press 445 Hoes Lane Piscataway, NJ 08854 IEEE Press Editorial Board Lajos Hanzo, Editor in Chief R. Abari M. El-Hawary S. Nahavandi J. Anderson

More information

Apex TG India Pvt. Ltd.

Apex TG India Pvt. Ltd. (Core C# Programming Constructs) Introduction of.net Framework 4.5 FEATURES OF DOTNET 4.5 CLR,CLS,CTS, MSIL COMPILER WITH TYPES ASSEMBLY WITH TYPES Basic Concepts DECISION CONSTRUCTS LOOPING SWITCH OPERATOR

More information

Ruby on Rails. Bible

Ruby on Rails. Bible Ruby on Rails Bible Ruby on Rails Bible Timothy Fisher Ruby on Rails Bible Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright 2008 by Wiley Publishing,

More information

MCITP Windows Server 2008 Server Administrator Study Guide

MCITP Windows Server 2008 Server Administrator Study Guide MCITP Windows Server 2008 Server Administrator Study Guide Darril Gibson MCITP Windows Server 2008 Server Administrator Study Guide MCITP Windows Server 2008 Server Administrator Study Guide Darril Gibson

More information

Contents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6

Contents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6 Contents ***Introduction*** Introduction to Programming... 1 Introduction... 2 What is a Program?... 2 Role Played by a Program to Perform a Task... 2 What is a Programming Language?... 3 Types of Programming

More information

Implementing Security and Tokens: Current Standards, Tools, and Practices

Implementing  Security and Tokens: Current Standards, Tools, and Practices Implementing Email Security and Tokens: Current Standards, Tools, and Practices Sean Turner Russ Housley Wiley Publishing, Inc. Implementing Email Security and Tokens: Current Standards, Tools, and Practices

More information

SOFTRONIICS Call:

SOFTRONIICS Call: Microsoft ASP.NET Programming Certification - Syllabus Section I - The Interface of Microsoft ASP.NET What Is ASP.NET, and Why Is It So Great? Understanding Web Servers and Browsers Understanding Static

More information

Cloud Phone Systems. Andrew Moore. Making Everything Easier! Nextiva Special Edition. Learn:

Cloud Phone Systems. Andrew Moore. Making Everything Easier! Nextiva Special Edition. Learn: Making Everything Easier! Nextiva Special Edition Cloud Phone Systems Learn: What cloud phone systems are and how they can benefit your company About the many advantages a cloud phone system offers Features

More information

Microsoft ASP.NET Whole Course Syllabus upto Developer Module (Including all three module Primary.NET + Advance Course Techniques+ Developer Tricks)

Microsoft ASP.NET Whole Course Syllabus upto Developer Module (Including all three module Primary.NET + Advance Course Techniques+ Developer Tricks) Microsoft ASP.NET Whole Course Syllabus upto Developer Module (Including all three module Primary.NET + Advance Course Techniques+ Developer Tricks) Introduction of.net Framework CLR (Common Language Run

More information

ASP.NET Training Course Duration. 30 Working days, daily one and half hours. ASP.NET Training Course Overview

ASP.NET Training Course Duration. 30 Working days, daily one and half hours. ASP.NET Training Course Overview ASP.NET Training Course Duration 30 Working days, daily one and half hours ASP.NET Training Course Overview Introduction To Web Applications [Prerequisites] Types of Applications Web, Desktop & Mobile

More information

Oracle PL/SQL. DUMmIES. by Michael Rosenblum and Dr. Paul Dorsey FOR

Oracle PL/SQL. DUMmIES. by Michael Rosenblum and Dr. Paul Dorsey FOR Oracle PL/SQL FOR DUMmIES by Michael Rosenblum and Dr. Paul Dorsey Oracle PL/SQL For Dummies Published by Wiley Publishing, Inc. 111 River Street Hoboken, NJ 07030-5774 www.wiley.com Copyright 2006 by

More information

.NET FRAMEWORK. Visual C#.Net

.NET FRAMEWORK. Visual C#.Net .NET FRAMEWORK Intro to.net Platform for the.net Drawbacks of Current Trend Advantages/Disadvantages of Before.Net Features of.net.net Framework Net Framework BCL & CLR, CTS, MSIL, & Other Tools Security

More information

Introduction 13. Feedback Downloading the sample files Problem resolution Typographical Conventions Used In This Book...

Introduction 13. Feedback Downloading the sample files Problem resolution Typographical Conventions Used In This Book... Contents Introduction 13 Feedback... 13 Downloading the sample files... 13 Problem resolution... 13 Typographical Conventions Used In This Book... 14 Putting the Smart Method to Work 16 Visual Studio version

More information

TEACHING PLAN. Credit: hours lab per week (1 credit hour) Semester: Semester 5 (Spring 2015) Computer Programming - CSC-113

TEACHING PLAN. Credit: hours lab per week (1 credit hour) Semester: Semester 5 (Spring 2015) Computer Programming - CSC-113 BAHRIA UNIVERSITY 13 NATIONAL STADIUM ROAD, KARACHI WEBSITE: www.bahria.edu.pk Course Title: Course Code: Credit: 2+1 Contact Hours: Web Engineering SEN-310 2 hours lecture per week 3 hours lab per week

More information

Developing Web Applications Using Microsoft Visual Studio 2008

Developing Web Applications Using Microsoft Visual Studio 2008 Course 2310C: Developing Web Applications Using Microsoft Visual Studio 2008 Length: 5 Day(s) Published: April 24, 2008 Language(s): English Audience(s): Developers Level: 100 Technology: Microsoft Visual

More information

Course ID: 2310C Course Name: Developing Web Applications Using Microsoft Visual Studio 2008

Course ID: 2310C Course Name: Developing Web Applications Using Microsoft Visual Studio 2008 Course ID: 2310C Course Name: Developing Web Applications Using Microsoft Visual Studio 2008 Audience This course is intended for introductory-level Web developers who have knowledge of Hypertext Markup

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Introducing Microsoft Expression Web 1. Chapter 2: Building a Web Page 21. Acknowledgments Introduction

COPYRIGHTED MATERIAL. Contents. Chapter 1: Introducing Microsoft Expression Web 1. Chapter 2: Building a Web Page 21. Acknowledgments Introduction Acknowledgments Introduction Chapter 1: Introducing Microsoft Expression Web 1 Familiarizing Yourself with the Interface 2 The Menu Bar 5 The Development Window 7 The Development Area 8 The Tabbed File

More information

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p.

.NET, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p. Introduction p. xix.net, C#, and ASP.NET p. 1 What Is.NET? p. 2 The Common Language Runtime p. 2 Introducing C# p. 3 Introducing ASP.NET p. 4 Getting Started p. 5 Installing Internet Information Server

More information

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING IN PRACTICE Daniele Bochicchio Stefano Mostarda Marco De Sanctis Includes 106 practical techniques MANNING contents preface xv acknowledgments xvii about this book xix about the authors xxiii about the

More information

Microsoft SQL Server 2008 Integration Services

Microsoft SQL Server 2008 Integration Services Microsoft SQL Server 2008 Integration Services Problem Design Solution Erik Veerman Jessica M. Moss Brian Knight Jay Hackney Wiley Publishing, Inc. Microsoft SQL Server 2008 Integration Services Problem

More information

Introduction to Controls Introduction

Introduction to Controls Introduction page 1 Meet the expert: Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft

More information

Introduction to Web Development with Microsoft Visual Studio 2010

Introduction to Web Development with Microsoft Visual Studio 2010 Introduction to Web Development with Microsoft Visual Studio 2010 Course 10267; 5 Days, Instructor-led Course Description This five-day instructor-led course provides knowledge and skills on developing

More information

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio Introduction XXV Part I: C# Fundamentals 1 Chapter 1: The.NET Framework 3 What s the.net Framework? 3 Common Language Runtime 3.NET Framework Class Library 4 Assemblies and the Microsoft Intermediate Language

More information

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( )

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( ) SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM (2013-2014) MODULE: C# PROGRAMMING CHAPTER 1: INTRODUCING.NET AND C# 1.1 INTRODUCTION TO LANGUAGES C++ C# DIFFERENCES BETWEEN

More information

MCTS:.NET Framework 4, Web Applications

MCTS:.NET Framework 4, Web Applications MCTS:.NET Framework 4, Web Applications Course Description and Overview Overview SecureNinja s Web applications development with.net Framework 4 training and certification boot camp in Washington, DC will

More information

Professional Visual Studio 2013

Professional Visual Studio 2013 Professional Visual Studio 2013 Introduction.... xliii Part I Integrated Development Environment Chapter 1 A Quick Tour....3 Chapter 2 The Solution Explorer, Toolbox, and Properties.... 15 Chapter 3 Options

More information

.NET-6Weeks Project Based Training

.NET-6Weeks Project Based Training .NET-6Weeks Project Based Training Core Topics 1. C# 2. MS.Net 3. ASP.NET 4. 1 Project MS.NET MS.NET Framework The.NET Framework - an Overview Architecture of.net Framework Types of Applications which

More information

10267 Introduction to Web Development with Microsoft Visual Studio 2010

10267 Introduction to Web Development with Microsoft Visual Studio 2010 10267 Introduction to Web Development with Microsoft Visual Studio 2010 Course Number: 10267A Category: Visual Studio 2010 Duration: 5 days Course Description This five-day instructor-led course provides

More information

ASP.NET Using C# (VS2013)

ASP.NET Using C# (VS2013) ASP.NET Using C# (VS2013) This five-day course provides a comprehensive and practical hands-on introduction to developing Web applications using ASP.NET 4.5.1 and Visual Studio 2013. It includes an introduction

More information

ASP.NET 3.5. In C# and VB. Beginning. Wrox Programmer to Programmer TM. Imar Spaanjaars

ASP.NET 3.5. In C# and VB. Beginning. Wrox Programmer to Programmer TM. Imar Spaanjaars Wrox Programmer to Programmer TM Beginning ASP.NET 3.5 In C# and VB Imar Spaanjaars Updates, source code, and Wrox technical support at www.wrox.com Beginning ASP.NET 3.5 Chapter 1: Getting Started with

More information

Data Binding in ASP.NET 2.0

Data Binding in ASP.NET 2.0 Data Binding in ASP.NET 2.0 Brian Noyes Principal Software Architect IDesign, Inc. (www.idesign.net) About Brian Principal Software Architect, IDesign Inc. (www.idesign.net) Microsoft MVP in ASP.NET Writing

More information

DE Introduction to Web Development with Microsoft Visual Studio 2010

DE Introduction to Web Development with Microsoft Visual Studio 2010 DE-10267 Introduction to Web Development with Microsoft Visual Studio 2010 Summary Duration 5 Days Audience Developers Level 100 Technology Microsoft Visual Studio 2010 Delivery Method Instructor-led (Classroom)

More information

PHP & MySQL. Learn to: Janet Valade. Making Everything Easier! 4th Edition. Create well-formed PHP code that s compliant with PHP 4, 5, and 6

PHP & MySQL. Learn to: Janet Valade. Making Everything Easier! 4th Edition. Create well-formed PHP code that s compliant with PHP 4, 5, and 6 Making Everything Easier! 4th Edition PHP & MySQL Learn to: Create well-formed PHP code that s compliant with PHP 4, 5, and 6 Easily install and set up PHP and MySQL using XAMPP Choose a Web host and secure

More information

ASP.NET Using C# (VS2017)

ASP.NET Using C# (VS2017) ASP.NET Using C# (VS 2017) This five-day course provides a comprehensive and practical hands-on introduction to developing Web applications using ASP.NET and Visual Studio 2017. It includes an introduction

More information

10264A CS: Developing Web Applications with Microsoft Visual Studio 2010

10264A CS: Developing Web Applications with Microsoft Visual Studio 2010 10264A CS: Developing Web Applications with Microsoft Visual Studio 2010 Course Number: 10264A Course Length: 5 Days Course Overview In this course, students will learn to develop advanced ASP.NET MVC

More information

Microsoft ASP.NET Using Visual C# 2008: Volume 2 Table of Contents

Microsoft ASP.NET Using Visual C# 2008: Volume 2 Table of Contents Table of Contents INTRODUCTION...INTRO-1 Prerequisites...INTRO-2 Installing the Practice Files...INTRO-3 Software Requirements...INTRO-3 Installation...INTRO-3 The Chapter Files...INTRO-4 Sample Database...INTRO-4

More information

Join the p2p.wrox.com. Wrox Programmer to Programmer. Beginning. Python. Using Python 2.6 and Python 3.1. James Payne

Join the p2p.wrox.com. Wrox Programmer to Programmer. Beginning. Python. Using Python 2.6 and Python 3.1. James Payne Join the discussion @ p2p.wrox.com Wrox Programmer to Programmer Beginning Python Using Python 2.6 and Python 3.1 James Payne Programmer to Programmer Get more out of wrox.com Interact Take an active role

More information

Securing SCADA Systems. Ronald L. Krutz

Securing SCADA Systems. Ronald L. Krutz Securing SCADA Systems Ronald L. Krutz Securing SCADA Systems Securing SCADA Systems Ronald L. Krutz Securing SCADA Systems Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis,

More information

SQL Server Administration. Beginning Microsoft. Chris Leiter, Dan Wood, Michael Cierkowski, Albert Boettger

SQL Server Administration. Beginning Microsoft. Chris Leiter, Dan Wood, Michael Cierkowski, Albert Boettger Beginning Microsoft SQL Server 2008 Administration Chris Leiter, Dan Wood, Michael Cierkowski, Albert Boettger Updates, source code, and Wrox technical support at www.wrox.com Programmer to Programmer

More information

DOT NET SYLLABUS FOR 6 MONTHS

DOT NET SYLLABUS FOR 6 MONTHS DOT NET SYLLABUS FOR 6 MONTHS INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate

More information

DOT NET Syllabus (6 Months)

DOT NET Syllabus (6 Months) DOT NET Syllabus (6 Months) THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In- Time Compilation and CLS Disassembling.Net Application to IL

More information

Developing Web Applications Using Microsoft Visual Studio 2008 SP1

Developing Web Applications Using Microsoft Visual Studio 2008 SP1 Developing Web s Using Microsoft Visual Studio 2008 SP1 Introduction This five day instructor led course provides knowledge and skills on developing Web applications by using Microsoft Visual Studio 2008

More information

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary Description Course Summary This course provides knowledge and skills on developing Web applications by using Microsoft Visual. Objectives At the end of this course, students will be Explore ASP.NET Web

More information

Real-Time Optimization by Extremum-Seeking Control

Real-Time Optimization by Extremum-Seeking Control Real-Time Optimization by Extremum-Seeking Control Real-Time Optimization by Extremum-Seeking Control KARTIK B. ARIYUR MIROSLAV KRSTIĆ A JOHN WILEY & SONS, INC., PUBLICATION Copyright 2003 by John Wiley

More information

DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1

DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1 DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1 Summary Duration 5 Days Audience Developers Level 100 Technology Microsoft Visual Studio 2008 Delivery Method Instructor-led (Classroom)

More information

iwork DUMmIES 2ND EDITION FOR

iwork DUMmIES 2ND EDITION FOR iwork FOR DUMmIES 2ND EDITION iwork FOR DUMmIES 2ND EDITION by Jesse Feiler iwork For Dummies, 2nd Edition Published by John Wiley & Sons, Inc. 111 River Street Hoboken, NJ 07030-5774 www.wiley.com Copyright

More information

Microsoft Exam Questions & Answers

Microsoft Exam Questions & Answers Microsoft 98-363 Exam Questions & Answers Number: 98-363 Passing Score: 800 Time Limit: 120 min File Version: 20.3 http://www.gratisexam.com/ Microsoft 98-363 Exam Questions & Answers Exam Name: Web Development

More information

COURSE OUTLINE: OD10267A Introduction to Web Development with Microsoft Visual Studio 2010

COURSE OUTLINE: OD10267A Introduction to Web Development with Microsoft Visual Studio 2010 Course Name OD10267A Introduction to Web Development with Microsoft Visual Studio 2010 Course Duration 2 Days Course Structure Online Course Overview This course provides knowledge and skills on developing

More information

Creating Web Pages. Learn to: Bud E. Smith. Making Everything Easier! 9th Edition. Design, build, and post a Web page

Creating Web Pages. Learn to: Bud E. Smith. Making Everything Easier! 9th Edition. Design, build, and post a Web page Making Everything Easier! 9th Edition Creating Web Pages Learn to: Design, build, and post a Web page Build pages using HTML, Web design software, and online tools Optimize photos, video, and audio for

More information

DEVELOPING WEB APPLICATIONS WITH MICROSOFT VISUAL STUDIO Course: 10264A; Duration: 5 Days; Instructor-led

DEVELOPING WEB APPLICATIONS WITH MICROSOFT VISUAL STUDIO Course: 10264A; Duration: 5 Days; Instructor-led CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: DEVELOPING WEB APPLICATIONS WITH MICROSOFT VISUAL STUDIO 2010 Course: 10264A; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN In this course, students

More information

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Welcome to SQL Server Integration Services 1. Chapter 2: The SSIS Tools 21

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Welcome to SQL Server Integration Services 1. Chapter 2: The SSIS Tools 21 Introduction xxix Chapter 1: Welcome to SQL Server Integration Services 1 SQL Server SSIS Historical Overview 2 What s New in SSIS 2 Getting Started 3 Import and Export Wizard 3 The Business Intelligence

More information

MacBook Air PORTABLE GENIUS

MacBook Air PORTABLE GENIUS MacBook Air PORTABLE GENIUS MacBook Air PORTABLE GENIUS MacBook Air PORTABLE GENIUS by Paul McFedries MacBook Air Portable Genius Published by Wiley Publishing, Inc. 10475 Crosspoint Blvd. Indianapolis,

More information

Introduction to Web Development with Microsoft Visual Studio 2010

Introduction to Web Development with Microsoft Visual Studio 2010 10267 - Introduction to Web Development with Microsoft Visual Studio 2010 Duration: 5 days Course Price: $2,975 Software Assurance Eligible Course Description Course Overview This five-day instructor-led

More information

FileMaker. Pro 10. The book you need to succeed! Companion Web Site. Ray Cologon. Go from basics to full-scale development

FileMaker. Pro 10. The book you need to succeed! Companion Web Site. Ray Cologon. Go from basics to full-scale development Companion Web Site Example FileMaker Pro 10 application Demos, tips, and additional resources Ray Cologon FileMaker Pro 10 Go from basics to full-scale development Write your own FileMaker applications

More information

The Processing Directives of a Page p. 91 The Page Class p. 99 Properties of the Page Class p. 100 Methods of the Page Class p.

The Processing Directives of a Page p. 91 The Page Class p. 99 Properties of the Page Class p. 100 Methods of the Page Class p. Acknowledgments p. xv Introduction p. xvii Building an ASP.NET Page The ASP.NET Programming Model p. 3 What's ASP.NET, Anyway? p. 4 Programming in the Age of Web Forms p. 5 Event-Driven Programming over

More information

Course Outline: Course 10267A: Introduction to Web Development with Microsoft Visual Studio 2010 Learning Method: Instructor-led Classroom Learning

Course Outline: Course 10267A: Introduction to Web Development with Microsoft Visual Studio 2010 Learning Method: Instructor-led Classroom Learning Course Outline: Course 10267A: Introduction to Web Development with Microsoft Visual Studio 2010 Learning Method: Instructor-led Classroom Learning Duration: 5.00 Day(s)/ 40 hrs Overview: This five-day

More information

BEGINNING CSS PART I THE BASICS PART II PROPERTIES PART III ADVANCED CSS AND ALTERNATIVE MEDIA

BEGINNING CSS PART I THE BASICS PART II PROPERTIES PART III ADVANCED CSS AND ALTERNATIVE MEDIA BEGINNING CSS INTRODUCTION............................................................ xxiii PART I THE BASICS CHAPTER 1 Introducing Cascading Style Sheets.............................. 3 CHAPTER 2 The

More information

Web Development with ASP.Net

Web Development with ASP.Net Western Technical College 10152187 Web Development with ASP.Net Course Outcome Summary Course Information Description Career Cluster Instructional Level Total Credits 3.00 Total Hours 72.00 This programming

More information

PDSA. Developer's Guide to Reporting Services 2008 R2. design» architecture» security» training» best practices:pdsa.com

PDSA. Developer's Guide to Reporting Services 2008 R2. design» architecture» security» training» best practices:pdsa.com PDSA Developer's Guide to Reporting Services 2008 R2 design» architecture» security» training» best practices:pdsa.com Developer s Guide to Reporting Services 2008 R2 By: John A. Kuhn & Paul D. Sheriff

More information

ASP.NET MVC 1.0. Website Programming. Nick Berardi, Al Katawazi, Marco Bellinaso. Wrox Programmer to Programmer TM

ASP.NET MVC 1.0. Website Programming. Nick Berardi, Al Katawazi, Marco Bellinaso. Wrox Programmer to Programmer TM Wrox Programmer to Programmer TM ASP.NET MVC 1.0 Website Programming Nick Berardi, Al Katawazi, Marco Bellinaso Updates, source code, and Wrox technical support at www.wrox.com Programmer to Programmer

More information

Program Contents: DOTNET TRAINING IN CHENNAI

Program Contents: DOTNET TRAINING IN CHENNAI DOTNET TRAINING IN CHENNAI NET Framework - In today s world of enterprise application development either desktop or Web, one of leaders and visionary is Microsoft.NET technology. The.NET platform also

More information

Microsoft Office Simply the Easiest Way to Learn. Kate Shoup

Microsoft Office Simply the Easiest Way to Learn. Kate Shoup Microsoft Office 200 Simply the Easiest Way to Learn Kate Shoup OFFICE 200 by Kate Shoup OFFICE 200 SIMPLIFIED Published by Wiley Publishing, Inc. 0475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com

More information

COWLEY COLLEGE & Area Vocational Technical School

COWLEY COLLEGE & Area Vocational Technical School COWLEY COLLEGE & Area Vocational Technical School COURSE PROCEDURE FOR ASP.NET PROGRAMMING CIS1865 3 Credit Hours Student Level: This course is open to students on the college level in either the Freshman

More information

OpenSolaris. The book you need to succeed! Nicholas A. Solter, Gerald Jelinek, and David Miner. Explore the OpenSolaris operating environment

OpenSolaris. The book you need to succeed! Nicholas A. Solter, Gerald Jelinek, and David Miner. Explore the OpenSolaris operating environment Nicholas A. Solter, Gerald Jelinek, and David Miner OpenSolaris Explore the OpenSolaris operating environment Master networking and systems administration Deploy web services using open source applications

More information

Windows. 7 Desktop Support and Administration. Real World Skills for MCITP Certification and Beyond. Darril Gibson

Windows. 7 Desktop Support and Administration. Real World Skills for MCITP Certification and Beyond. Darril Gibson Windows 7 Desktop Support and Administration Real World Skills for MCITP Certification and Beyond Darril Gibson Acquisitions Editor: Jeff Kellum Development Editor: Gary Schwartz Technical Editors: Troy

More information

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 9 Web Applications McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives - 1 Explain the functions of the server and the client in Web programming Create a Web

More information

Professional. Learning and Applying Patterns. Foreword... xix

Professional. Learning and Applying Patterns. Foreword... xix Professional ASP.NET Design Patterns Foreword................................................................ xix Introduction...xxi Part I Introducing Patterns and Principles Chapter 1 The Pattern for

More information