Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Stewart, Rufus & Bach, John

Rating No ratings yet

No description

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A beginner-friendly, lesson-by-lesson walkthrough of ASP.NET Web Forms using C#, teaching you to build dynamic, server-driven pages with Microsoft's standard controls. Best for newcomers who want hands-on practice with .aspx pages, IIS hosting basics, and form handling rather than deep architectural theory. 【Book Arc】 - **Opening (~0%–4%)**: Frames what ASP.NET is — server-side technology for dynamic sites, the .aspx extension, the role of IIS as a local server, and why the book focuses on C# over VB.NET. Solves the "what am I even building?" question before any code. - **Early (~4%–15%)**: Introduces the fundamental display and input controls — Label vs. Literal for output, and TextBox, CheckBox, RadioButton for user input — with property tables and small runnable examples. - **Early (~15%–31%)**: Moves into form submission via Button, LinkButton, and ImageButton, covering Click/Command events, AutoPostBack, and how a page round-trips to the server. - **Middle (~31%–46%)**: Extends navigation and interaction — HyperLink, ImageButton coordinate handling, and cross-page posting using PostBackUrl, PreviousPage, and FindControl. - **Middle (~46%–54%)**: Refines form behavior with default buttons, the Command event pattern (CommandName/CommandArgument), and Panel-related defaults. - **Late/Ending**: Excerpts do not cover the closing chapters; the sample stops mid-way through command-event handling, so later topics (likely data controls, validation, or state management) are not represented here. 【Key Takeaways】 - **ASP.NET is a server-side framework for dynamic sites** (Opening): pages carry the .aspx extension, require IIS (bundled with Visual Studio), and are hosted on Windows hosting — the baseline mental model before touching controls. - **Label and Literal both display text but differ in capability** (Early): Label supports rich formatting (BackColor, BorderStyle, Font, CssClass, ToolTip) and wraps output in a `<span>`, while Literal stays simple — choose based on whether you need styling. - **TextBox modes drive input behavior** (Early): SingleLine, MultiLine, and Password modes, plus properties like AutoPostBack, MaxLength, and AutoCompleteType, shape how user input is captured and when it reaches the server. - **CheckBox and RadioButton answer different questions** (Early): CheckBox is a yes/no toggle returning True/False; RadioButton must be grouped via GroupName so only one option is selectable — removing GroupName breaks that exclusivity. - **Three button types, one job, different skins** (Early): Button, LinkButton, and ImageButton all submit form data; they differ in appearance and in supporting events like Click and Command. - **Command events carry extra payload** (Middle): Unlike Click, the Command event passes CommandName and CommandArgument, enabling one handler to serve multiple buttons — a reusable pattern for color pickers or similar grouped actions. - **Cross-page posting is explicit, not automatic** (Middle): Setting PostBackUrl redirects to another page, and the target reads data via PreviousPage.FindControl — a deliberate technique rather than default behavior. - **AutoPostBack controls when the server hears you** (Early): Setting it True sends data immediately on change (e.g., TextChanged), which matters for responsive forms but adds round-trips. 【Reading Tips】 - **Deep-read the property tables** for each control; they are the practical reference you will return to, and the book repeats them deliberately. - **Skim the dual C#/VB code listings** if you only need C# — the book presents both, so pick your language and skip the other to save time. - **Type and run the small examples** (time display, checkbox toggle, image coordinates); they are short and reinforce the event model better than reading alone. - **Watch the AutoPostBack and GroupName notes** — these are the spots where beginners most often get surprising behavior. - **Treat the opening chapter as setup, not filler**: IIS, hosting type, and .aspx context prevent confusion later. 【Coverage Limits】 This guide reflects only the sampled excerpts, which cover the introductory and control-focused chapters; later chapters on data, validation, or advanced topics are not represented. No chapter titles beyond "Chapter One" and "Chapter II" appear in the excerpts, so the arc beyond the middle is inferred only loosely.
Page 5
ral tools, and how to accept and handle user income through the TextBox, CheckBox, and RadioButton tools. View information The ASP.NET platform supports two...
View in text
Page 12
ution, and it triggers the CheckedChanged event when a user changes their choice whether to reject or accept. A simple example: Create a new page with the to...
View in text
Page 20
ck Label1.Text = DateTime.Now.ToString ("T") End Sub Full Code Page: ASP.net code <div> <asp: Button ID = "Button1" runat = "server" Text = "Button" onclick...
View in text
Excerpt 4
a button is pressed on a page, it is sent to the server and the data is processed and then displayed on the same page, i.e., the page reloads with modified d...
View in text
Excerpt 5
text that displays if the selected image is not displayed. DescriptionUrl: Specifies a link to a page with details about the image. GenerateEmptyAlternateTex...
View in text
Excerpt 6
ageMap tool as we will see, page code: ASP.net code <div> <asp: ImageMap ID = "ImageMap1" runat = "server" HotSpotMode = "PostBack" ImageUrl = "~ / images /...
View in text
Excerpt 7
ds: FileUpload.FileName HttpPostedFile.FileName The SaveAs method is also present in the HttpPostedFile row even though it is explicitly available with the F...
View in text
Excerpt 8
RequestLength = "10240" /> </system.web> </configuration> The maximum size is set at 10240 KB (10 MB).
View in text
Tags
AI categories
ProgrammingWeb TechnologyBackend
Publish Year: 2021
Language: English
File Format: PDF
File Size: 421.3 KB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…