Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的控制器方法中有以下行:
string str = HttpContext.ApplicationInstance.Application["String"].ToString();
我如何编写单元测试来获取数据?