本文介绍了建议在业务层和静态类中使用system.web.dll引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据我的理解,在Web项目的数据和业务层中使用System.Web引用并不是理想的方法。



在静态类中使用它也不是一个好主意,它应该在控制器级别。



寻找推荐和理想的方法。



我尝试过:



寻找推荐和理想的方法。

As per my understanding, it is not the ideal approach to use System.Web reference in the data and business layer of the web project.

It is also no good idea to use it in a static class, it should be at Controller level.

Looking for recommendation and ideal approach around it.

What I have tried:

Looking for recommendation and ideal approach around it.

推荐答案


这篇关于建议在业务层和静态类中使用system.web.dll引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 19:33