Metaprogramming in C#: Automate your .NET development and simplify overcomplicated code
Idioma: inglés
Editorial: Packt Publishing Limited, 2023
- Tapa blanda
- Nuevo

Librería: THE SAINT BOOKSTORE, Southport, Reino UnidoTHE SAINT BOOKSTORE
Vendedor de IberLibro desde 14 de junio de 2006
Condición: Nuevo
EUR 57,66
Cantidad disponible: Más de 20 disponibles
Añadir al carritoDescripción del artículo del vendedor
This item is printed on demand. New copy - Usually dispatched within 5-9 working days.
N° de ref. del artículo C9781837635429
- Título
- Metaprogramming in C#: Automate your .NET development and simplify overcomplicated code
- Autor
- Einar Ingebrigtsen
- Editorial
- Packt Publishing Limited
- Año de publicación
- 2023
- Estado
- New
- Encuadernación
- Paperback / softback
- Idioma
- inglés
- ISBN 10
- 1837635420
- ISBN 13
- 9781837635429
- Peso del artículo
- 526 gramos
Master advanced techniques for dynamic .NET programming and accelerate productivity by automating tasks, generating adaptable code, and more
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Employ metaprogramming to automate your tasks and increase your productivity
- Write maintainable, scalable, and adaptable code using metaprogramming techniques
- Leverage the .NET runtime for complex problem-solving
Book Description
Metaprogramming is an advanced technique that helps developers to automate repetitive tasks, generate scalable code, and enhance productivity in software development. Metaprogramming in C# is a comprehensive guide that will help you reap the full potential of metaprogramming in .NET runtime.
You’ll start by learning about the .NET runtime environment and how you can use it to become a more productive developer. You'll learn how to infer types using reflection, use attributes, and create dynamic proxies. You’ll also explore the use of expressions to create and execute code and how to take advantage of Dynamic Language Runtime.
But that's not all! You’ll also learn to go beyond inheritance and use method signature conventions to create easily maintainable code. Finally, you’ll dive into the world of compiler magic with Roslyn, where you'll discover how to use Roslyn to generate code, perform static code analysis, and write your own compiler extensions.
By the end of this book, you’ll have a deep understanding of metaprogramming concepts and how to apply them to your C# code. You’ll be able to think about types, use attributes and expressions to generate code, and apply crosscutting concerns to improve code quality.
What you will learn
- Explore how to leverage the .NET runtime
- Improve code quality and increase productivity
- Write adaptable code for changing requirements
- Learn Roslyn for code generation and static analysis
- Master metaprogramming and its practical implementations
- Use Dynamic Language Runtime for flexible and expressive programming
Who this book is for
This book is for C# developers interested in learning about the .NET runtime and how to leverage it for writing maintainable, scalable, and secure code. Software architects who are responsible for designing and managing complex software solutions will also benefit from the book.
Table of Contents
- How Can Metaprogramming Benefit You?
- Metaprogramming Concepts
- Demystifying through Existing Real-World Examples
- Reasoning about Types Using Reflection
- Leveraging Attributes
- Dynamic Proxy Generation
- Reasoning about Expressions
- Building and Executing Expressions
- Taking Advantage of the Dynamic Language Runtime
- Convention over Configuration
- Applying the Open-Closed Principle
- Go Beyond Inheritance
- Applying Cross-Cutting Concerns
- Aspect Oriented Programming
- Roslyn Compiler Extensions
- Generating Code
- Static Code Analysis
- Caveats and Final Words
“Sinopsis” puede pertenecer a otra edición de este título.
Acerca del autor
Einar Ingebrigtsen works as chief architect at Aksio InsurTech, a company focusing on building insurance and pension solutions. His heart is in architecture and improving the lives of developers and he loves to create solutions that make other developers more productive and help in delivering great products to end users. Einar has been developing software professionally since 1994 and has done so in everything from games on different platforms to broadcast TV software, to telecom software, to line of business software within multiple different verticals. Of all of his experiences, he has fallen in love with a specific flavor of architecture, mindset, and approach – namely, event sourcing. Most of his time at work (and spare time) is devoted to building out a platform that has the goal of democratizing event sourcing called Cratis.
“Acerca de” puede pertenecer a otra edición de este título.
THE SAINT BOOKSTORE
Southport, Reino Unido
Vendedor de IberLibro desde 14 de junio de 2006
Tarifas de envío de Reino Unido a Estados Unidos de America
| Artículo | De 7 a 28 días hábiles | De 7 a 28 días hábiles |
|---|---|---|
| Primer artículo | EUR 19,02 | EUR 21,39 |
Métodos de pago
Descripción de la tienda
The Saint Bookstore has a range of over 1 million titles available.
Especialidad
GeneralInformación empresarial del vendedor
SB ONLINE LTD
50 Devonshire Road
Southport, Reino Unido PR9 7BZ
Condiciones de venta
Please order through the Abebooks checkout. We only take orders through Abebooks - We don't take direct orders by email or phone.
Refunds or Returns: A full refund of the purchase price will be given if returned within 30 days in undamaged condition.
As a seller on abebooks we adhere to the terms explained at http://www.abebooks.co.uk/docs/HelpCentral/buyerIndex.shtml - if you require further assistance please email us at orders@thesaintbookstore.co.uk
Derecho al desistimiento
Si es un consumidor, puede rescindir el contrato de acuerdo con lo siguiente. Por consumidor se entiende cualquier persona física que actúe con fines ajenos a su actividad comercial, empresarial, oficio o profesión.
Información sobre el derecho de desistimiento
Derecho legal de desistimiento
Tiene derecho a rescindir este contrato en un plazo de 14 días sin dar ningún motivo.
El periodo de desistimiento vencerá a los 14 días desde que usted, o un tercero que no sea el transportista e indicado por usted, adquiera la posesión física del último bien o del último lote o pieza.
Para ejercer el derecho de desistimiento, complete de forma electrónica y envíe una declaración clara en nuestro sitio web, desde "Mis compras" en "Mi cuenta". Le enviaremos sin demora un acuse de recibo de dicho desistimiento a través de un soporte duradero (por ejemplo, por correo electrónico).
Para cumplir con el plazo de desistimiento, basta con que envíe su comunicación relativa al ejercicio del derecho de desistimiento antes de que venza el periodo de desistimiento.
Efectos del desistimiento
Si rescinde este contrato, le reembolsaremos todos los pagos que hayamos recibido de usted, incluidos los gastos de envío (excepto los gastos adicionales que surjan si elige un tipo de envío que no sea el tipo de envío estándar más económico que ofrecemos).
Podemos hacer una deducción del reembolso por la pérdida de valor de cualquier bien suministrado, si la pérdida es el resultado de una manipulación innecesaria por su parte.
Efectuaremos el reembolso sin demoras indebidas y, a más tardar, 14 días después de que se nos informe de su decisión de rescindir este contrato.
Efectuaremos el reembolso utilizando el mismo medio de pago que utilizó para la transacción inicial, a menos que haya acordado expresamente lo contrario; en cualquier caso, no incurrirá en ningún cargo como resultado de dicho reembolso.
Podremos retener el reembolso hasta que hayamos recibido los bienes o hasta que nos haya presentado una prueba de que los ha devuelto, lo que ocurra primero.
Deberá devolver los bienes o entregarlos a THE SAINT BOOKSTORE, Southport, United Kingdom, sin demoras indebidas y, en cualquier caso, en un plazo máximo de 14 días a partir del día en que nos comunique su desistimiento del presente contrato. El plazo se cumple si devuelve la mercancía antes de que venza el periodo de 14 días. Tendrá que asumir los gastos directos de devolución de los bienes. Usted solo es responsable de la disminución del valor de los bienes como resultado de una manipulación distinta a la necesaria para establecer la naturaleza, las características y el funcionamiento de los bienes.
Excepciones al derecho de desistimiento
El derecho de desistimiento no se aplica a lo siguiente:
- La entrega de periódicos, diarios o revistas, con la excepción de los contratos de suscripción; y
- El suministro de contenido digital que no se proporcione en un soporte tangible (por ejemplo, en un CD o DVD) si, al hacer el pedido, aceptó que podíamos empezar a entregarlo y que no podría desistir una vez iniciada la entrega.
Condiciones de envío
Most orders usually ship within 1-3 business days, but some can take up to 7 days.