您最喜欢的组织 ASP.NET 项目的惯例是什么?
我的团队正在启动一个全新的 ASP.NET 解决方案,该解决方案可能会变得更大。受 ASP.NET MVC 的启发,我们目前在模型项目中表达所有数据访问对象。然而,我们没有良好的惯例来组织 ASP.NET ascx 和 aspx。
我们已经审查了 DotNetNuke,并希望避免通过单个 default.aspx 驱动整个应用程序的复杂性。
组织非 MVC ASP.NET 解决方案的最佳方式是什么?非常感谢您的提示、链接和建议!
My team is starting a brand new ASP.NET solution which will probably become large. Inspired by ASP.NET MVC, we currently express all data access objects in a model project. We, however, do not have good conventions for organizing ASP.NET ascx's and aspx's.
We have already reviewed DotNetNuke and want to avoid the complexity of driving the whole application through a single default.aspx .
What is the best way to organize a non-MVC ASP.NET solution? Your tips, links, and advice are greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这就是我们组织解决方案的方式。以下是文件夹:
通常我们将基于角色的aspx文件保存在各自的文件夹中,并将其他通用aspx文件保存在根目录之外。为了添加到我们创建的内容中,我们有 App_Code 和 App_Data,但这两个是 ASP .net 文件夹,我们实际上并不创建它们。
华泰
This is how we organize our solution. Following would be the folders:
Generally we keep role based aspx in their respective folders and other general aspx files outside at the root. To add to what we have created we have App_Code and App_Data but those two are ASP .net folders and we don't actually create them.
HTH