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.
现在我所有的 sql 调用都发生在 cs 页面中,它的很多代码我的目标是设置一个新类或任何东西(我听说它是用 dll 完成的),该类将为我需要的每个场景存储函数. 所以我的问题是如何完成它..假设在一个大型站点中应该如何完成它?
我建议创建一个类库项目,将您的共享代码移动到这些库中,然后将这些库包含在您的 Web 项目中。