ASP.NET 零 + ASP.NET 样板模板文件夹 hierarchy/usage
ASP.NET Zero + ASP.NET Boilerplate template folder hierarchy/usage
我正在寻找模板文件夹结构的解释。
如果有人可以向我指出一些文档,那就太棒了 — 我已经看过但找不到。
src/AppName.Application
src/AppName.Application.Client
src/AppName.Application.Shared
src/AppName.Core
src/AppName.Core.Shared
src/AppName.EntityFrameworkCore
src/AppName.Migrator . # My understanding is that this if for performing database migrations
src/AppName.Mobile.Droid . # This obviously hosts Android Mobile Code
src/AppName.Mobile.iOS . # This obviously hosts iOS Mobile Code
src/AppName.Mobile.Shared # This obviously hosts Shared Mobile Code
src/AppName.Web.Core
src/AppName.Web.Host
src/AppName.Web.Mvc # This obviously is where the Mvc code goes
src/AppName.Web.Public # Should this have all static css/js type files?
基本上,我不知道各个部分应该包含什么。任何帮助都会有用。
谢谢。
Aspnetboilerplate 试图分离一切
考虑这个 url NLayered Architecture
- src/AppName.Application ----> Api - 代码,可供外界使用,由 appname.web.host 使用 swagger
自动构建
- src/AppName.Application.Client ----> 为您的移动应用程序实施 api 的客户端。
- src/AppName.Application.Shared ----> 所有接口和dtos都在这里定义。
- src/AppName.核心 ----> 您的业务 classes(或 class 模型)包括域管理员
- src/AppName.Core.Shared ----> 定义域管理器的所有接口
- src/AppName.EntityFrameworkCore ----> ORM
- src/AppName.Migrator ----> 用于在所有租户数据库上迁移数据库调整的控制台应用程序。
- src/AppName.Mobile.Droid。
- src/AppName.Mobile.iOS。
- src/AppName.Mobile.Shared
- src/AppName.Web.Core ----> 您选择了 .net core,因此您可以通过此项目在没有 iis 的情况下进行部署
- src/AppName.Web.Host ----> api 基于 appname.application
- src/AppName.Web.Mvc ----> 你的前端应用程序
- src/AppName.Web.Public ----> 只是在注册前为您的产品做广告的第二次申请。
我正在寻找模板文件夹结构的解释。 如果有人可以向我指出一些文档,那就太棒了 — 我已经看过但找不到。
src/AppName.Application
src/AppName.Application.Client
src/AppName.Application.Shared
src/AppName.Core
src/AppName.Core.Shared
src/AppName.EntityFrameworkCore
src/AppName.Migrator . # My understanding is that this if for performing database migrations
src/AppName.Mobile.Droid . # This obviously hosts Android Mobile Code
src/AppName.Mobile.iOS . # This obviously hosts iOS Mobile Code
src/AppName.Mobile.Shared # This obviously hosts Shared Mobile Code
src/AppName.Web.Core
src/AppName.Web.Host
src/AppName.Web.Mvc # This obviously is where the Mvc code goes
src/AppName.Web.Public # Should this have all static css/js type files?
基本上,我不知道各个部分应该包含什么。任何帮助都会有用。
谢谢。
Aspnetboilerplate 试图分离一切
考虑这个 url NLayered Architecture
- src/AppName.Application ----> Api - 代码,可供外界使用,由 appname.web.host 使用 swagger 自动构建
- src/AppName.Application.Client ----> 为您的移动应用程序实施 api 的客户端。
- src/AppName.Application.Shared ----> 所有接口和dtos都在这里定义。
- src/AppName.核心 ----> 您的业务 classes(或 class 模型)包括域管理员
- src/AppName.Core.Shared ----> 定义域管理器的所有接口
- src/AppName.EntityFrameworkCore ----> ORM
- src/AppName.Migrator ----> 用于在所有租户数据库上迁移数据库调整的控制台应用程序。
- src/AppName.Mobile.Droid。
- src/AppName.Mobile.iOS。
- src/AppName.Mobile.Shared
- src/AppName.Web.Core ----> 您选择了 .net core,因此您可以通过此项目在没有 iis 的情况下进行部署
- src/AppName.Web.Host ----> api 基于 appname.application
- src/AppName.Web.Mvc ----> 你的前端应用程序
- src/AppName.Web.Public ----> 只是在注册前为您的产品做广告的第二次申请。