当前位置:网站首页>Big talk Domain Driven Design -- presentation layer and others
Big talk Domain Driven Design -- presentation layer and others
2022-06-26 16:03:00 【Dotnet cross platform】
summary

The presentation layer is also called the user interface layer , Pages containing applications 、 Components etc. UI Elements .

The service layer provides HTTP API Interface , contain MVC Controller And related components .

ABP Although the framework provides many components in the presentation layer , But these and DDD It doesn't matter much in itself . And with the popularity of front-end and back-end separation architectures , We seldom use ABP Presentation layer functions provided , So this chapter , Do not give a detailed description of its usage .

This chapter , I will focus on the class libraries mentioned in the previous chapter ,ABP Other class libraries under the template, including the presentation layer, are divided and used .
overview

The presentation layer :
Web: yes ABP One of the MVC project , If we don't separate the front and rear ends , Use this item as the presentation layer . Include all interfaces under the project .
HttpApi.Host: yes ABP One of the WebAPI project , It is used to separate the front and back end architectures WebAPI service . Contains pipe model configuration 、 Basic codes such as service settings , Does not include a user interface , It also does not include the Controller.

Service layer :
HttpApi: This project contains custom Controller, If dynamic is not used WebAPI Instead, we want the controller to be written by ourselves , It needs to be written in the project .

Client agent :
HttpApi.Client: Is a client dynamic proxy project , If our service is by another ABP Project call ,ABP The framework automatically generates the proxy function called by the client , The client only needs to reference this project , And make corresponding configuration , That is, you can quickly invoke services by relying on injection . In the last chapter 《ABP Detailed tutorial of microservice architecture 》 In the implementation of the aggregation service layer , We used this mechanism .
Conclusion
This series ends here , In this series , I am interested in the strategic and tactical design of Domain Driven Design and ABP The framework explains the usage of basic components for tactical design .
Back , I'm going to open another series as ABP Supplementary tutorials on various uses of the framework .
If you have any questions, you are welcome to join the wechat communication group to ask questions or communicate with us .




Welcome to join the wechat communication group
END


Follow me to get
More exciting
边栏推荐
- NFT Platform Security Guide (1)
- 为什么图像分割任务中经常用到编码器和解码器结构?
- When a project with cmake is cross compiled to a link, an error cannot be found So dynamic library file
- 4 自定义模型训练
- Analyse panoramique de la chaîne industrielle en amont, en aval et en aval de la NFT « Dry goods»
- Solidus Labs欢迎香港前金融创新主管赵嘉丽担任战略顾问
- [problem solving] the loading / downloading time of the new version of webots texture and other resource files is too long
- 神经网络“炼丹炉”内部构造长啥样?牛津大学博士小姐姐用论文解读
- 9 use of tensorboard
- Tweenmax+svg switch color animation scene
猜你喜欢

Simple use of tensor

大话领域驱动设计——表示层及其他

【问题解决】新版webots纹理等资源文件加载/下载时间过长

HW safety response

svg野人动画代码

神经网络“炼丹炉”内部构造长啥样?牛津大学博士小姐姐用论文解读

PCIe Capabilities List

Keil4 opens the single-chip microcomputer project to a blank, and the problem of 100% program blocking of cpu4 is solved

What is the difference between stm32f1 and gd32f1?

全面解析Discord安全问题
随机推荐
Stepn novice introduction and advanced
如何辨别合约问题
Common properties of XOR and addition
人人都当科学家之免Gas体验mint爱死机
Angel 3.2.0 new version released! Figure the computing power is strengthened again
Anaconda3 installation tensorflow version 2.0 CPU and GPU installation, win10 system
Swiftui retrieves the missing list view animation
5 模型保存与加载
AUTO sharding policy will apply DATA sharding policy as it failed to apply FILE sharding policy
Golang 1.18 go work usage
NFT Platform Security Guide (1)
R语言使用cor函数计算相关性矩阵进行相关性分析,使用corrgram包可视化相关性矩阵、行和列使用主成分分析重新排序、下三角形中使用平滑的拟合线和置信椭圆,上三角形中使用散点图、对角线最小值和最大值
5000 word analysis: the way of container security attack and defense in actual combat scenarios
Simple use of tensor
[thinking] what were you buying when you bought NFT?
【leetcode】701. 二叉搜索树中的插入操作
R语言plotly可视化:小提琴图、多分类变量小提琴图、分组(grouped)小提琴图、分裂的分组小提琴图、每个小提琴图内部分为两组数据、每个分组占小提琴图的一半、自定义小提琴图的调色板、抖动数据点
Have you ever had a Kindle with a keyboard?
查词翻译类应用使用数据接口api总结
C语言读取数据