3

Demystifying through Existing Real-World Examples

In this chapter, we will look into how Microsoft’s ASP.NET leverages metaprogramming in order to automate tedious configuration.

Since the first release of ASP.NET MVC back in 2009, there has been quite a lot of automation going on to make developers more productive. The main objective of this chapter is to demystify what metaprogramming is by showing that you might already be leveraging something that takes advantage of metaprogramming.

In this chapter, we will cover the following topics:

  • ASP.NET controllers
  • ASP.NET validation

By the end of this chapter, you will understand how ASP.NET leverages metaprogramming with a non-intrusive approach and see the benefits of automation.

Technical requirements ...

Get Metaprogramming in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.