- Hands-On Full:Stack Web Development with ASP.NET Core
- Tamir Dresher Amir Zuker Shay Friedman
- 179字
- 2021-06-10 19:37:30
The model
The M in MVC means model, but what does a model really mean? The simplest definition is that model refers to the application problem-domain entities and their behavior, where behavior can be implemented in the entities themselves, or in a dedicated service class.
Classes that contain only properties with no logic are called Plain Old CLR Objects (POCO) classes. These are the type of classes that work best when received as input or returned as output from your APIs. It will save you many headaches if you stick to POCO classes in the external surface of your APIs. This will also keep you from making mistakes, namely exposing sensitive information such as your database structure, as your APIs grow. On the internals of your APIs, you can use any type of classes that you like, and in Chapter 5, you will learn how to use the Entity Framework (EF) core to work with classes that map to database tables and allow you to store data and query it.
- 智慧城市:大數據、互聯網時代的城市治理(第4版)
- FreeSWITCH 1.2
- 物聯網識別技術
- 新一代物聯網架構技術:分層算力網絡
- 智慧城市中的移動互聯網技術
- Practical Web Design
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 計算機網絡工程實用教程(第2版)
- 城域網與廣域網(第2版)
- Spring 5.0 Projects
- 網絡基礎與網絡管理項目化教程
- Unity Artificial Intelligence Programming
- 夢工廠之材質N次方:Maya材質手冊
- INSTANT LinkedIn Customization How-to
- Building RESTful Web Services with .NET Core