Have you had enough of revising out of the textbook? You’ve also made your own notes but you still can’t get enough revision.
Fortunately for you, the brains at Education Flow have already thought about this and bring to you the first ever application to help you learn or revise.
Education Flow brings you a simple, crisp and to-the-point eBook for "Learn ASP.NET".
The following topics are covered in "ASP.NET":
ASP.NET Web Forms Model
The ASP.NET Component Model
ASP.NET Application Life Cycle
ASP.NET Page Life Cycle
Application and Session Events
Page and Control Events
Event Handling Using Controls
Properties and Methods of the Server object
Properties and Methods of the Request Object
Properties and Methods of the Response Object
Properties of the Server Controls
Methods of the Server Controls
Client Side Scripts
Client Side Source Code
Text Boxes and Labels
Check Boxes and Radio Buttons
Radio Button list and Check Box list
Bulleted lists and Numbered lists
Retrieve and display data
The DataSet Class
The DataTable Class
The DataRow Class
The DataAdapter Object
The DataReader Object
DbCommand and DbConnection Objects
Data Source Views
The SqlDataSource Control
The ObjectDataSource Control
The AccessDataSource Control
Simple Data Binding
Declarative Data Binding
The Debug Windows
Implementing Forms-Based Security
Copying a Website
Creating a Setup Project
The content of this eBook is for study purpose only. Education Flow makes no claims, promises, or guarantees about the accuracy, completeness or adequacy of the content of this eBook and no legal liability or other responsibility is accepted by Education Flow for any errors, omissions or statement on this eBook.
Anyone new to web programming should be able to follow along because no prior background in web development is assumed. The book starts at the very beginning of web development by showing you how to obtain and install Visual Web Developer. The chapters that follow gradually introduce you to new technologies, building on top of the knowledge gained in the previous chapters.
Do you have a strong preference for Visual Basic over C# or the other way around? Or do you think both languages are equally cool? Or maybe you haven't made up your mind yet and want to learn both languages? Either way, you'll like this book because all code examples are presented in both languages!
To build effective and attractive database-driven web sites, you need two things: a solid and fast framework to run your web pages on and a rich and extensive environment to create and program these web pages. With ASP.NET 3.5 and Visual Web Developer 2008 you get both. Together they form the platform to create dynamic and interactive web applications.
ASP.NET 3.5 builds on top of its popular predecessor ASP.NET 2.0. While maintaining backward compatibility with sites built using this older version, the Microsoft .NET Framework 3.5 in general and ASP.NET 3.5 in particular add a lot of new, compelling features to the mix.
Continuing the path of "less code" that was entered with the 2.0 version of the .NET Framework, ASP.NET 3.5 lets you accomplish more with even less code. New features like LINQ that are added to the .NET Framework allow you to access a database with little to no hand written code. The integration of Microsoft ASP.NET Ajax into the ASP.NET Framework and Visual Web Developer means you can now create fast responding and spiffy web interfaces simply by dragging a few controls onto your page and setting a few properties. This book gives you an in-depth look at both these technologies.
The support for cascading style sheets (CSS), the language to lay out and format web pages, has undergone a major overhaul in Visual Web Developer. The design time support, that shows you how a page will eventually look in the browser, has been vastly improved. Additionally, Visual Web Developer now ships with a lot of tools that make writing CSS a breeze.
Under the hood, ASP.NET 3.5 makes use of the same run-time as version 2.0. This ensures a great backward compatibility with that version, which means that ASP.NET 2.0 applications continue to run under the new framework. But don't be fooled by the fact that the run-time hasn't changed. Although the technical underpinnings needed to execute your web application haven't changed, the .NET 3.5 Framework and ASP.NET add a lot of new features, as you'll discover in this book.
Probably the best thing of Visual Web Developer 2008 is its price: it's available for free. Although the commercial versions of Visual Studio 2008 ship with Visual Web Developer, you can also download and install the free Express Edition. This makes Visual Web Developer 2008 and ASP.NET 3.5 probably the most attractive and compelling web development technologies available today.
This book teaches you how to create a feature-rich, data-driven, and interactive web site. Although this is quite a mouthful, you'll find that with Visual Web Developer 2008 this isn’t as hard as it seems. You'll see the entire process of building a web site, from installing Visual Web Developer 2008 in Chapter 1 all the way up to putting your web application on a live server in Chapter 18. The book is divided into 18 chapters, each dealing with a specific subject.
Chapter 1, “Getting Started With ASP.NET 3.5.” In this chapter you'll see how to obtain and install Visual Web Developer 2008. You'll get instructions for downloading and installing the free edition of Visual Web Developer 2008, called the Express Edition. You are also introduced to HTML, the language behind every web page. The chapter closes with an overview of the customization options that Visual Web Developer gives you.
Chapter 2, “Building an ASP.NET Web Site.” This chapter shows you how to create a new web site and how to add new elements like pages to it. Besides learning how to create a well-structured site, you also see how to use the numerous tools in Visual Web Developer to create HTML and ASP.NET pages.
Chapter 3, “Designing Your Web Pages.” Visual Web Developer comes with a host of tools that allow you to create well-designed and attractive web pages. In this chapter, you see how to make good use of these tools. Additionally, you learn about CSS, the language that is used to format web pages.
Chapter 4, “Working with ASP.NET Controls.” ASP.NET Server controls are one of the most important concepts in ASP.NET. They allow you to create complex and feature-rich web sites with very little code. This chapter introduces you to the large number of server controls that are available, explains what they are used for, and shows you how to use them.
Chapter 5, “Programming Your ASP.NET Web Pages.” Although the built-in CSS tools and the ASP.NET server controls can get you a long way in creating web pages, you are likely to use a programming language to enhance your pages. This chapter serves as an introduction to programming with a strong focus on programming web pages. Best of all: all the examples you see in this chapter (and the rest of the book) are in both Visual Basic and C#, so you can choose the language you like best.
Chapter 6, “Creating Consistent Looking Web Sites.” Consistency is important to give your web site an attractive and professional appeal. ASP.NET helps you create consistent-looking pages through the use of master pages, which allow you to define the global look and feel of a page. Skins and themes help you to centralize the looks of controls and other visual elements in your site. You also see how to create a base page that helps to centralize programming code that you need on all pages in your site.
Chapter 7, “Navigation.” To help your visitors find their way around your site, ASP.NET comes with a number of navigation controls. These controls are used to build the navigation structure of your site. They can be connected to your site's central site map that defines the pages in your web site. You also learn how to programmatically send users from one page to another.
Chapter 8, “User Controls.” User Controls are reusable
In just 24 sessions of one hour or less, you’ll learn how to build complete, professional-quality web solutions with ASP.NET 4 and Microsoft Visual Web Developer 2010. Using this book’s straightforward, step-by-step approach, you’ll master the entire process, from site design through data collection, user management through debugging and deployment. Scott Mitchell, editor of top ASP.NET resource site 4GuysFromRolla.com, shows how to use the newest ASP.NET 4 enhancements and make the most of free tools like ASP.NET Ajax and Microsoft SQL Server 2008 Express Edition. Each lesson builds on what you’ve already learned, giving you a strong, practical foundation for success!
Step-by-step instructions carefully walk you through the most common ASP.NET 4 development tasks.
Quizzes and Exercises at the end of each chapter help you test your knowledge.
By the Way, Did You Know?, and Watch Out! boxes point out shortcuts and solutions.
Learn how to…Get started fast with ASP.NET 4 and Visual Web Developer 2010 Use Visual Web Developer 2010 to quickly build professional-quality ASP.NET websites Design, create, and test ASP.NET web pages Collect, process, and validate input from your site’s visitors Build a website that supports user accounts Create web pages that access, display, and edit database data using Microsoft SQL Server 2008 Express Edition Define site maps to provide efficient, easy navigation Use master pages to build more consistent and well-designed sites Create more responsive and interactive web pages with ASP.NET Ajax Host, upload, deploy, and update production web sites
"ASP.NET 2 Beta Preview" is timed to coincide with the first widespread beta release of ASP.NET "Whidbey" - the new version of Microsoft's popular technology for creating dynamic Web sites that pull unique information for each visitor rather that showing everyone the same static HTML pages. The book gets developers up to speed with the new features and capabilities that ASP.NET 2.0 provides. Developers will learn how to build ASP.NET 2.0 applications for themselves from the examples that the book provides.
This book is for ASP.NET developers making the transition to this new version of the technology. The changes are many, and in some cases, they're quite dramatic. The book spends a good deal of time alerting you to all that has changed and explaining what you need to know to make the transition to ASP.NET 2.0.
Finally, the book focuses on both the Visual Basic .NET and C# developer. Examples throughout the book do not favor one developer over another. Instead, every example is provided in both languages.
“This book is a phenomenal start for someone new to ASP.NET, as well as a complete guide to the new features of version 2.0 for programmers familiar with an earlier version. The beginning chapters detail concepts using a hypothetical company, examining the myriad sorts of requests and situations often requested by clients. The authors deal with these in an eloquent, realistic manner. They have clearly worked in the industry and have faced real-world challenges that programmers encounter daily. The content covers everything from the most basic tasks to the most complex, and is a comprehensive collection of information on ASP.NET 2.0. Every topic is well-referenced for additional information, but contains clear examples that work. The content is technical but the clear writing makes it easy to understand. Difficult concepts are explained in such a way that this book will quickly become your favorite reference for ASP.NET!”
—Ronda Pederson, consultant, Microsoft MVP Visual Developer, ASP/ASP.NET “As to be expected from two of today’s leading technical authors, this book is a cracking guide to getting the most from the ASP 2.0 Framework. Detailed chapters, concise yet practical examples, and clear explanation provide the grounding and support necessary to leverage the new features that ASP 2.0 brings to the table—all explained with a logical, no-nonsense approach. This book will be borrowed by every developer you work with, so guard it wisely!”
—John Timney, Microsoft MVP, senior Web services consultant, British Telecom “This book will absolutely change the way you view ASP.NET technology. Read it and your existing Web sites will suddenly appear to be underperforming.”
—Chris Carpenter, senior software engineer, L3 Communications, Inc. “The authors have worked closely with the ASP.NET team at Microsoft to makesure that this book is authoritative, accurate, and informative. Anyone usingASP.NET will find a wealth of useful information on ASP.NET 2.0.”
—Scott Guthrie, general manager, .NET Developer Platform, Microsoft Corporation
Developers moving to ASP.NET 2.0, the breakthrough Web development environment from Microsoft, will want to learn how to take full advantage of the new features that make this the most productive and powerful Web development environment ever. ASP.NET 2.0 Illustrated teaches developers exactly what they need to know to create exciting Web sites and applications quickly and easily using ASP.NET 2.0.
Renowned authors, developers, and conference speakers Alex Homer and Dave Sussman have written a concise, detailed exploration of the “must learn” features of ASP.NET 2.0. The book’s many original examples, fully updated for the release version of ASP.NET 2.0, are all downloadable from the authors’ Web site, and many can be run live online.
The authors provide detailed coverage ofConnecting to databases, using data source and data display controls with SQL statements and stored procedures; creating business layers and data layers with custom classes and Typed DataSets; and providing declarative access to business and data layers Techniques for improving the scalability and responsiveness of data-driven sites, including caching techniques for data and ASP.NET pages Binding to XML, transforming XML, updating XML data, and managing XML data stored in SQL Server 2005 Building interactive Web forms with a wide variety of ASP.NET controls Understanding and using the core functionality of the Page class and key .NET Framework classes Providing a consistent sitewide look and feel using Master Pages Six ways to provide site navigation, including the new navigation controls Securing sites and implementing membership and roles Using profiles, personalization, and themes in your applications Building user-customizable Web portals with Web Parts Supporting multiple browsers, disabled users, mobile devices, and international users Creating and consuming Web services
Developers will come away from this book knowing exactly how to build secure, efficient, visually consistent, easy-to-navigate, data-driven Web sites with ASP.NET 2.0.
First, you'll get an introduction to all the tools and terminology you need to understand ASP.NET. If you've used earlier versions of ASP.NET and Visual Web Developer, you can probably skip that part and jump right into what's new in 3.5. You'll make friends with LINQ and SQL, create sites in Visual Web Developer 2008 Express, and much more. Before you know it, you'll discover how to: Integrate data, track shopping cart contents, and whisk away bugs Create user interfaces with easy navigation Use the ListView control for sophisticated formatting Write LINQ queries Add a table to a database Create an event handler Take advantage of the drag 'n' drop feature that lets you write less code Put all the features to work to develop dynamic Web applications
The softball team is going to love that Web site, and your customers might enjoy shopping on your site so much that you'll have to expand your business to fill all the orders! We can't promise that, of course, but we're pretty sure that "ASP.NET 3.5 For Dummies" will make creating Web sites easier and a lot more fun.