1. 首页
  2. 编程语言
  3. C#
  4. AOP in .NET

AOP in .NET

上传者: 2019-09-22 12:36:34上传 PDF文件 4.95MB 热度 29次
AOP for net framworkAoP in metPRACTICAL ASPECT-ORIENTEDPROGRAMMINGMATTHEW D GROVESMANNINGSHELTER ISLANDFor online information and ordering of this and other Manning books, please visitwww.manning.com.ThepublisheroffersdiscountsonthisbookwhenorderedinquantityFor more information, please contactSpecial Sales DepartmentManning publications co20 Baldwin roadPO Box 261Shelter island. ny11964Email:orders@manning.com@2013 by Manning Publications Co. All rights reservedNo part of this publication may be reproduced, stored in a retrieval system, or transmitted, inany form or by means electronic, mechanical, photocopying, or otherwise, without prior writtenpermission of the publisherMany of the designations used by manufacturers and sellers to distinguish their products areclaimed as trademarks. Where those designations appear in the book, and manningPublications was aware of a trademark claim, the designations have been printed in initial capsor all capsoo Recognizing the importance of preserving what has been written, it is mannings policy to havethe books we publish printed on acid-free paper and we exert our best efforts to that endRecognizing also our responsibility to conserve the resources of our planet, Manning bookare printed on paper that is at least 15 percent recycled and processed without the use ofelemental chlorineManning publications coDevelopment editors: Frank Pohlmann, Cynthia Kane20 Baldwin roadTechnical proofreader: Javier lozanoPO Box 261Copyeditor: Nancy RotaryShelter island ny 11964Proofreader: Elizabeth martinresetter:Dottie marsicoCover designer: Marija TudorISBN9781617291142Printed in the united states of america12345678910-MAL-181716151413To my children matthew and emmaI will never grow tired of your yelling, Daddy, Daddy!and tackling me when you hear the creak of my ofce door.brief contentsPART1 GETTING STARTED WITH AOP1■ Introducing aop3Acme Car Rental 21PART 2 THE FUNDAMENTALSOF AOP0000000t。。o●ooo。0。。0@。00。。53Call this instead: intercepting methods 553456■■■Before and after: boundary aspects 79Get this instead intercepting locations 115Unit testing aspects 141PART 3 ADVANCED AOP CONCEPTS169AOP implementation types 171789USing AoP as an architectural tool 191Aspect composition: example and execution 213contentsforeword xapreface xUacknowledgments xviiabout this book xixPART 1 GETTING STARTED WITH AOP●●●●●●。●●。●●●。●●。●●。。●Introducing AOP 31.1 What is AoP? 4Features4· Benefits8· AOP in your daily li/e131.2 Hello, World 143 Summary 19Acme Car rental 212.1 Start a new project 22Business requirements 23. Necessary nonfunctionalrequirements 242.2 Life without AOP 24Write the business logic 25. Testing the business logic 28Add logging 29. Introducing defensive programming 31Working with transactions and retries 32- Handlingexceptions 35. Refactor without AOP 38
用户评论