ASP.NET 2.0 MVP hacks and tips:
Gespeichert in:
Format: | Buch |
---|---|
Sprache: | English |
Veröffentlicht: |
[Birmingham]
Wrox
2006
Hoboken, NJ Wiley |
Schriftenreihe: | Programmer to programmer
|
Schlagworte: | |
Online-Zugang: | Publisher description Contributor biographical information lizenzfrei Inhaltsverzeichnis |
Beschreibung: | XXV, 400 S. graph. Darst. |
ISBN: | 0764597663 9780764597664 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV036460268 | ||
003 | DE-604 | ||
005 | 00000000000000.0 | ||
007 | t | ||
008 | 100519s2006 d||| |||| 00||| eng d | ||
020 | |a 0764597663 |9 0-7645-9766-3 | ||
020 | |a 9780764597664 |9 978-0-7645-9766-4 | ||
035 | |a (OCoLC)254648879 | ||
035 | |a (DE-599)GBV491668546 | ||
040 | |a DE-604 |b ger |e aacr | ||
041 | 0 | |a eng | |
049 | |a DE-M347 | ||
082 | 0 | |a 005.276 | |
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
245 | 1 | 0 | |a ASP.NET 2.0 MVP hacks and tips |c David Yack ... |
264 | 1 | |a [Birmingham] |b Wrox |c 2006 | |
264 | 1 | |a Hoboken, NJ |b Wiley | |
300 | |a XXV, 400 S. |b graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a Programmer to programmer | |
650 | 0 | 7 | |a ASP.NET 2.0 |0 (DE-588)4831603-9 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a ASP.NET 2.0 |0 (DE-588)4831603-9 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Yack, David |e Sonstige |4 oth | |
856 | 4 | |u http://www.loc.gov/catdir/enhancements/fy0653/2006017139-d.html |y Publisher description |z lizenzfrei | |
856 | 4 | |u http://www.loc.gov/catdir/enhancements/fy0740/2006017139-b.html |y Contributor biographical information |z lizenzfrei | |
856 | 4 | |u http://www.loc.gov/catdir/toc/ecip0614/2006017139.html |z lizenzfrei |3 Inhaltsverzeichnis | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020332184&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-020332184 |
Datensatz im Suchindex
_version_ | 1804142951296663552 |
---|---|
adam_text | Titel: ASP.NET 2.0 MVP hacks and tips
Autor: Yack, David
Jahr: 2006
Contents
Acknowledgments xvii
Introduction xix
Chapter 1: Hacks Revisited 1
Wizards Hacks Replaced by ASP.NET 2.0 1
ASP.NET Wizard Pioneers 1
Wizards in ASP.NET v2.0 2
Implementing an ASP.NET 2.0 Wizard 2
Master Pages: Then and Now 10
Master Page Templates in ASP.NET vl.l 10
Master Pages in ASP.NET v2.0 10
Implementing Master Pages 10
URL Rewriting 14
Why URL Rewriting? 14
The ASP.NET vl.l Hack 15
The ASP.NET v2.0 Replacement 15
Implementing the URL Mapping Capability 15
Wrapping Up 24
Chanter 2: Getting Started 25
Organizing Projects and Solutions 26
Creating the Solution 27
Creating the Web Project 28
Excluding Files from Web Folders 29
A Hack from the ASP.NET Team 29
Creating a Common Class Library Project 30
Selecting Namespaces 31
Using Database Projects 32
Using a SQL Server Project 34
Using Web Setup and Deploy Projects 35
Creating Project References 35
Using Source Control 37
Using a Base Page Class 38
Using Master Pages 39
Contents
Setting Up Your First Content Page 41
Setting Up Themes 42
Skins or CSS? 43
Building Your Skin Files 43
Naming the Skin File 43
Web Config and Your Team 44
The Sledgehammer Approach 44
External File Approach 44
Exporting a Template 45
Wrapping Up 45
Chapter 3: The Power of Providers_47
What Is the Provider Model? 48
Providers That Come with ASP.NET 2.0 48
Extending a Built-in Provider 51
Inheriting from SqIMembershipProvider 51
Configuring Your New Provider 51
Checking Your Provider Configuration 52
Overriding ValidateUser 53
Building Your Own Membership Provider 54
Building Your Own Role Provider 58
Building a Role Provider Proxy 50
Implementing the Role Proxy Provider 51
Web.Config Changes for Role Proxy Provider 52
Building a Custom Provider 53
Example of Custom Providers 53
The Basics of a Custom Provider 54
But I m Using ASP.NET 1.1 70
Wrapping Up 70
Other Providers Resources 7:*-
Chapter 4: The Smarter Web Client___75
On the Road to a Smarter Web Client 74
The AJAX Experience 74
And Then There Was ASP.NET 2.0 74
How Client Callbacks Work 79
Implementing Client Callback into a Custom Control 83
Along Comes Atlas 97
A Hack from the ASP.NET Team 87
Not Just a Client-Side Script Library 87
Help! What Do I Do Now? 97
Wrapping Up 99
x
Contents
Chapter 5: Debugging What You Created_101
One-Stop Visualization 101
What Is a Visualizer? 101
Building a Visualizer 102
Testing the Visualizer 107
Deploying the Visualizer 108
Tuning Objects for Debugging 109
Setting Object Member Visibility 109
Simplifying the Object View with a Type Proxy 111
Adding Debugging Logic to Your Business Objects 113
Recap 115
Wrapping Up 118
Chapter 6: Control Hacks_119
Publishing RSS with the XML Control 119
Content Management with Zero Effort 120
Defining the Control 120
Pulling Content 121
Caching for Performance 122
Managing the XSLT Source 122
Quick Custom Type Converters 124
Creating a Custom Type Converter 124
Building Custom Action Lists and Designers 129
Managing Design-Time Support 133
Tapping into the Visual Studio 2005 Automation Object Model 135
Implementing Custom Type Editors 136
Design-Time Debugging 142
Wrapping Up 143
Chapter 7: GridView Hacks_145
Dynamic Row Expansion 145
Creating a PagerTemplate for the GridView Control 150
Deleting the GridView s Selected Rows 156
Updating All GridView Rows 161
Adding a Selected Row 168
Using Up and Down Arrows In a Header for Sorting 173
Adding Client-Side Script to the GridView Control 176
Extending the GridView with IPostBackEventHandler 179
Wrapping Up 183
xi
Contents
Chapter 8: Extreme Data Binding_185
Inheriting Your Own DataSource Controls 186
Working with the DataSource Configuration Wizard 187
Adding a Control Designer 193
Generating Application-Specific DataSource Controls 195
Extending the DataSource Controls 195
Handling Default Values During Insert 196
Extending XMLDataSource to Call Your Object 200
Using Custom Parameters 203
Extending the QueryStringParameter 204
Using Custom Fields 214
Wrapping Up 218
Chapter 9: ViewState_221
ViewState: Evil or Clever Like a Fox? 221
LosFormatter: The Missing Serializer 223
Manipulating ViewState 226
Splitting ViewState UsingASP.NET 1.1 226
Compressing ViewState 228
Alternative Storage for ViewState 231
Moving ViewState to the Bottom of the Page 233
Wrapping Up 236
Chapter 10: Cache Hacks__ 237.
Static Caching 237
Examining the Sample Cache Class 238
Sample Solution Detail 240
Initializing the Cache 241
Reading the Cache 242
Modifying the Cache 244
Cache Change Notifications 246
Refreshing the Cache 248
Viewing the ASP.NET Cache 249
Wrapping Up 254
Chapter 11: Moving to ASP.NET 2.0 from 1.x_255
Creating the Demo vl.x Application 256
User Controls 256
Classes 257
Pages 258
xii
Contents
Understanding Migration 262
Performing the Migration 262
Where Did My Old Website Go? 263
Significant File Changes 265
Understanding User Control Reference Changes 266
Conversion Problems 266
Wrapping Up 267
Chapter 12: Deployment Hacks_269
Copy Web Site Wizard 269
Publish Web Site Wizard 271
Using Windows Installer 272
A Hack from the Product Team 273
Installing the Add-in 273
Adding to Your Solution 274
After It s Added 274
Changing the Default Options 274
Speeding Up Your Developer Build 275
BuildServer Special Configuration 276
Setting Compilation Options 277
Output Assemblies Options 277
Sharing App_Code with Other Projects 278
Signing Options 278
Deployment Options 278
Further Customizing the Deployment Project 280
Preparing Your Server 284
Wrapping Up 285
Other Deployment Resources 285
Chapter 13: Leveraging Visual Studio-281
ASP.NET Code Snippets 287
Using Snippets 288
Using Pre-Made Snippets 288
Creating Custom Snippets 288
Managing Snippets 290
Using Snippet Functions 292
Settings That Make Your Life Better 294
Source View versus Design View 294
Using a Different Web Server 294
Importing and Exporting Team Settings 295
xiii
r
Contents
Templates 296
Custom Item Templates 296
Custom Project Templates 297
Wrapping Up 298
Chapter 14: Security Hacks_299
Avoiding SQL Injection 299
Parameterizing an IN Expression 302
Protecting against Canonicalization Attacks 305
Using the New File Upload Control 307
Using Dynamic Impersonation Safely 307
Validating a Strong Password in Login Controls 309
Wrapping Up 310
Chapter 15: Building Your Own Hacks_313
Determining When You Have a Hack 314
Does Your Hack Go Beyond the Technical Documentation? 314
Did You Find a New Use for an Existing Capability? 315
Is It Relatively Unknown? 315
Is It Reusable? 316
Can You Share It with Others? 316
You Could Have a Hack 316
Polishing Your Hack to Publish It 317
Comment Your Code 317
Make Code Self-Documenting 317
Use Common Coding Conventions 318
Write Generic Routines 318
Consider Implementing Your Hack as a Component or Control 321
Write Documentation 322
Using the Community to Test Your Hack and Provide Feedback 322
Wrapping Up 323
Chapter 16: Master Pages__325
Master Pages Fundamentals 326
Creating Master Pages 326
Creating Content Pages 328
Programmatically Modifying Master Pages 330
Modifying the Head Section of a Master Page 330
Finding Controls in a Master Page 331
Defining Master Page Properties 332
Using the MasterType Directive 332
xiv
Contents
Nesting Master Pages 333
Creating Nested Master Pages 333
Working with Nested Master Pages in Visual Studio .NET 2005 336
Sharing Master Pages Across IIS Applications 338
Publishing Master Pages as an Assembly 339
Using the Web Deployment Projects Add-in 342
Dynamically Changing Master Pages In a Content Page 345
Wrapping Up 348
Chapter 17: Handlers and Modules_349
HttpModules 349
An IP Blacklisting HttpModule 350
Rewriting or Redirecting URLs with an HttpModule 354
HttpHandlers 358
Boilerplate HttpHandler 358
Discouraging Leeching Using an Image-Specific HttpHandler 361
Compositing Images with an HttpHandler 364
Generating Sparklines with an HttpHandler 366
Handlers and Modules Working Together 370
Wrapping Up 371
Index 373
xv
|
any_adam_object | 1 |
building | Verbundindex |
bvnumber | BV036460268 |
classification_rvk | ST 253 |
ctrlnum | (OCoLC)254648879 (DE-599)GBV491668546 |
dewey-full | 005.276 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.276 |
dewey-search | 005.276 |
dewey-sort | 15.276 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01611nam a2200397 c 4500</leader><controlfield tag="001">BV036460268</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">00000000000000.0</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">100519s2006 d||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0764597663</subfield><subfield code="9">0-7645-9766-3</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780764597664</subfield><subfield code="9">978-0-7645-9766-4</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)254648879</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)GBV491668546</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">aacr</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-M347</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.276</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">ASP.NET 2.0 MVP hacks and tips</subfield><subfield code="c">David Yack ...</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">[Birmingham]</subfield><subfield code="b">Wrox</subfield><subfield code="c">2006</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Hoboken, NJ</subfield><subfield code="b">Wiley</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXV, 400 S.</subfield><subfield code="b">graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">Programmer to programmer</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">ASP.NET 2.0</subfield><subfield code="0">(DE-588)4831603-9</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">ASP.NET 2.0</subfield><subfield code="0">(DE-588)4831603-9</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Yack, David</subfield><subfield code="e">Sonstige</subfield><subfield code="4">oth</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://www.loc.gov/catdir/enhancements/fy0653/2006017139-d.html</subfield><subfield code="y">Publisher description</subfield><subfield code="z">lizenzfrei</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://www.loc.gov/catdir/enhancements/fy0740/2006017139-b.html</subfield><subfield code="y">Contributor biographical information</subfield><subfield code="z">lizenzfrei</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://www.loc.gov/catdir/toc/ecip0614/2006017139.html</subfield><subfield code="z">lizenzfrei</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020332184&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-020332184</subfield></datafield></record></collection> |
id | DE-604.BV036460268 |
illustrated | Illustrated |
indexdate | 2024-07-09T22:39:55Z |
institution | BVB |
isbn | 0764597663 9780764597664 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-020332184 |
oclc_num | 254648879 |
open_access_boolean | |
owner | DE-M347 |
owner_facet | DE-M347 |
physical | XXV, 400 S. graph. Darst. |
publishDate | 2006 |
publishDateSearch | 2006 |
publishDateSort | 2006 |
publisher | Wrox Wiley |
record_format | marc |
series2 | Programmer to programmer |
spelling | ASP.NET 2.0 MVP hacks and tips David Yack ... [Birmingham] Wrox 2006 Hoboken, NJ Wiley XXV, 400 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier Programmer to programmer ASP.NET 2.0 (DE-588)4831603-9 gnd rswk-swf ASP.NET 2.0 (DE-588)4831603-9 s DE-604 Yack, David Sonstige oth http://www.loc.gov/catdir/enhancements/fy0653/2006017139-d.html Publisher description lizenzfrei http://www.loc.gov/catdir/enhancements/fy0740/2006017139-b.html Contributor biographical information lizenzfrei http://www.loc.gov/catdir/toc/ecip0614/2006017139.html lizenzfrei Inhaltsverzeichnis HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020332184&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | ASP.NET 2.0 MVP hacks and tips ASP.NET 2.0 (DE-588)4831603-9 gnd |
subject_GND | (DE-588)4831603-9 |
title | ASP.NET 2.0 MVP hacks and tips |
title_auth | ASP.NET 2.0 MVP hacks and tips |
title_exact_search | ASP.NET 2.0 MVP hacks and tips |
title_full | ASP.NET 2.0 MVP hacks and tips David Yack ... |
title_fullStr | ASP.NET 2.0 MVP hacks and tips David Yack ... |
title_full_unstemmed | ASP.NET 2.0 MVP hacks and tips David Yack ... |
title_short | ASP.NET 2.0 MVP hacks and tips |
title_sort | asp net 2 0 mvp hacks and tips |
topic | ASP.NET 2.0 (DE-588)4831603-9 gnd |
topic_facet | ASP.NET 2.0 |
url | http://www.loc.gov/catdir/enhancements/fy0653/2006017139-d.html http://www.loc.gov/catdir/enhancements/fy0740/2006017139-b.html http://www.loc.gov/catdir/toc/ecip0614/2006017139.html http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=020332184&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT yackdavid aspnet20mvphacksandtips |