实例介绍
【实例简介】
Net Core Vue快速开发框架
【实例截图】


【核心代码】
public class MyProjectDbContext : AbpZeroDbContext<Tenant, Role, User, MyProjectDbContext>
{
/* Define a DbSet for each entity of the application */
public DbSet<Simple> Simples { get; set; }
public MyProjectDbContext(DbContextOptions<MyProjectDbContext> options)
: base(options)
{
}
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.Entity<Simple>(p =>
{
p.ToTable("Simples", "test");
p.Property(x => x.Name).IsRequired(true).HasMaxLength(20);
p.Property(x => x.Details).HasMaxLength(100);
});
}
}
【文件目录】
5.7.0
├── LICENSE
├── README.md
├── _screenshots
│ ├── ui-home.png
│ ├── ui-login.png
│ └── ui-user-create-modal.png
├── aspnet-core
│ ├── ABPProject.sln
│ ├── build
│ │ └── build-mvc.ps1
│ ├── docker
│ │ └── mvc
│ │ ├── docker-compose.yml
│ │ ├── down.ps1
│ │ └── up.ps1
│ ├── src
│ │ ├── ABPProject.Application
│ │ │ ├── ABPProject.Application.csproj
│ │ │ ├── ABPProjectAppServiceBase.cs
│ │ │ ├── ABPProjectApplicationModule.cs
│ │ │ ├── AppConsts.cs
│ │ │ ├── Authorization
│ │ │ │ ├── AbpLoginResultTypeHelper.cs
│ │ │ │ └── Accounts
│ │ │ │ ├── AccountAppService.cs
│ │ │ │ ├── Dto
│ │ │ │ │ ├── IsTenantAvailableInput.cs
│ │ │ │ │ ├── IsTenantAvailableOutput.cs
│ │ │ │ │ ├── RegisterInput.cs
│ │ │ │ │ ├── RegisterOutput.cs
│ │ │ │ │ └── TenantAvailabilityState.cs
│ │ │ │ └── IAccountAppService.cs
│ │ │ ├── Configuration
│ │ │ │ ├── ConfigurationAppService.cs
│ │ │ │ ├── Dto
│ │ │ │ │ └── ChangeUiThemeInput.cs
│ │ │ │ ├── IConfigurationAppService.cs
│ │ │ │ └── Ui
│ │ │ │ ├── UiThemeInfo.cs
│ │ │ │ └── UiThemes.cs
│ │ │ ├── MultiTenancy
│ │ │ │ ├── Dto
│ │ │ │ │ ├── CreateTenantDto.cs
│ │ │ │ │ ├── PagedTenantResultRequestDto.cs
│ │ │ │ │ └── TenantDto.cs
│ │ │ │ ├── ITenantAppService.cs
│ │ │ │ └── TenantAppService.cs
│ │ │ ├── Net
│ │ │ │ └── MimeTypes
│ │ │ │ └── MimeTypeNames.cs
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── Roles
│ │ │ │ ├── Dto
│ │ │ │ │ ├── CreateRoleDto.cs
│ │ │ │ │ ├── FlatPermissionDto.cs
│ │ │ │ │ ├── GetRoleForEditOutput.cs
│ │ │ │ │ ├── GetRolesInput.cs
│ │ │ │ │ ├── PagedRoleResultRequestDto.cs
│ │ │ │ │ ├── PermissionDto.cs
│ │ │ │ │ ├── RoleDto.cs
│ │ │ │ │ ├── RoleEditDto.cs
│ │ │ │ │ ├── RoleListDto.cs
│ │ │ │ │ └── RoleMapProfile.cs
│ │ │ │ ├── IRoleAppService.cs
│ │ │ │ └── RoleAppService.cs
│ │ │ ├── Sessions
│ │ │ │ ├── Dto
│ │ │ │ │ ├── ApplicationInfoDto.cs
│ │ │ │ │ ├── GetCurrentLoginInformationsOutput.cs
│ │ │ │ │ ├── TenantLoginInfoDto.cs
│ │ │ │ │ └── UserLoginInfoDto.cs
│ │ │ │ ├── ISessionAppService.cs
│ │ │ │ └── SessionAppService.cs
│ │ │ └── Users
│ │ │ ├── Dto
│ │ │ │ ├── ChangePasswordDto.cs
│ │ │ │ ├── ChangeUserLanguageDto.cs
│ │ │ │ ├── CreateUserDto.cs
│ │ │ │ ├── PagedUserResultRequestDto.cs
│ │ │ │ ├── ResetPasswordDto.cs
│ │ │ │ ├── UserDto.cs
│ │ │ │ └── UserMapProfile.cs
│ │ │ ├── IUserAppService.cs
│ │ │ └── UserAppService.cs
│ │ ├── ABPProject.Core
│ │ │ ├── ABPProject.Core.csproj
│ │ │ ├── ABPProjectConsts.cs
│ │ │ ├── ABPProjectCoreModule.cs
│ │ │ ├── AppVersionHelper.cs
│ │ │ ├── Authorization
│ │ │ │ ├── ABPProjectAuthorizationProvider.cs
│ │ │ │ ├── LoginManager.cs
│ │ │ │ ├── PermissionChecker.cs
│ │ │ │ ├── PermissionNames.cs
│ │ │ │ ├── Roles
│ │ │ │ │ ├── AppRoleConfig.cs
│ │ │ │ │ ├── Role.cs
│ │ │ │ │ ├── RoleManager.cs
│ │ │ │ │ ├── RoleStore.cs
│ │ │ │ │ └── StaticRoleNames.cs
│ │ │ │ └── Users
│ │ │ │ ├── User.cs
│ │ │ │ ├── UserClaimsPrincipalFactory.cs
│ │ │ │ ├── UserManager.cs
│ │ │ │ ├── UserRegistrationManager.cs
│ │ │ │ └── UserStore.cs
│ │ │ ├── Configuration
│ │ │ │ ├── AppConfigurations.cs
│ │ │ │ ├── AppSettingNames.cs
│ │ │ │ └── AppSettingProvider.cs
│ │ │ ├── Editions
│ │ │ │ └── EditionManager.cs
│ │ │ ├── Features
│ │ │ │ └── FeatureValueStore.cs
│ │ │ ├── Identity
│ │ │ │ ├── IdentityRegistrar.cs
│ │ │ │ ├── SecurityStampValidator.cs
│ │ │ │ └── SignInManager.cs
│ │ │ ├── Localization
│ │ │ │ ├── ABPProjectLocalizationConfigurer.cs
│ │ │ │ └── SourceFiles
│ │ │ │ ├── ABPProject-es.xml
│ │ │ │ ├── ABPProject-fr.xml
│ │ │ │ ├── ABPProject-it.xml
│ │ │ │ ├── ABPProject-ja.xml
│ │ │ │ ├── ABPProject-lt.xml
│ │ │ │ ├── ABPProject-nl.xml
│ │ │ │ ├── ABPProject-pt-BR.xml
│ │ │ │ ├── ABPProject-tr.xml
│ │ │ │ ├── ABPProject-zh-Hans.xml
│ │ │ │ └── ABPProject.xml
│ │ │ ├── MultiTenancy
│ │ │ │ ├── Tenant.cs
│ │ │ │ └── TenantManager.cs
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── Timing
│ │ │ │ └── AppTimes.cs
│ │ │ ├── Validation
│ │ │ │ └── ValidationHelper.cs
│ │ │ └── Web
│ │ │ └── WebContentFolderHelper.cs
│ │ ├── ABPProject.EntityFrameworkCore
│ │ │ ├── ABPProject.EntityFrameworkCore.csproj
│ │ │ ├── EntityFrameworkCore
│ │ │ │ ├── ABPProjectDbContext.cs
│ │ │ │ ├── ABPProjectDbContextConfigurer.cs
│ │ │ │ ├── ABPProjectDbContextFactory.cs
│ │ │ │ ├── ABPProjectEntityFrameworkModule.cs
│ │ │ │ ├── AbpZeroDbMigrator.cs
│ │ │ │ ├── Repositories
│ │ │ │ │ └── ABPProjectRepositoryBase.cs
│ │ │ │ └── Seed
│ │ │ │ ├── Host
│ │ │ │ │ ├── DefaultEditionCreator.cs
│ │ │ │ │ ├── DefaultLanguagesCreator.cs
│ │ │ │ │ ├── DefaultSettingsCreator.cs
│ │ │ │ │ ├── HostRoleAndUserCreator.cs
│ │ │ │ │ └── InitialHostDbBuilder.cs
│ │ │ │ ├── SeedHelper.cs
│ │ │ │ └── Tenants
│ │ │ │ ├── DefaultTenantBuilder.cs
│ │ │ │ └── TenantRoleAndUserBuilder.cs
│ │ │ └── Migrations
│ │ │ ├── 20170424115119_Initial_Migrations.Designer.cs
│ │ │ ├── 20170424115119_Initial_Migrations.cs
│ │ │ ├── 20170608053244_Upgraded_To_Abp_2_1_0.Designer.cs
│ │ │ ├── 20170608053244_Upgraded_To_Abp_2_1_0.cs
│ │ │ ├── 20170621153937_Added_Description_And_IsActive_To_Role.Designer.cs
│ │ │ ├── 20170621153937_Added_Description_And_IsActive_To_Role.cs
│ │ │ ├── 20170703134115_Remove_IsActive_From_Role.Designer.cs
│ │ │ ├── 20170703134115_Remove_IsActive_From_Role.cs
│ │ │ ├── 20170804083601_Upgraded_To_Abp_v2.2.2.Designer.cs
│ │ │ ├── 20170804083601_Upgraded_To_Abp_v2.2.2.cs
│ │ │ ├── 20180201051646_Upgraded_To_Abp_v3.4.0.Designer.cs
│ │ │ ├── 20180201051646_Upgraded_To_Abp_v3.4.0.cs
│ │ │ ├── 20180320131229_Upgraded_To_Abp_v3_5_0.Designer.cs
│ │ │ ├── 20180320131229_Upgraded_To_Abp_v3_5_0.cs
│ │ │ ├── 20180509121141_Upgraded_To_Abp_v3_6_1.Designer.cs
│ │ │ ├── 20180509121141_Upgraded_To_Abp_v3_6_1.cs
│ │ │ ├── 20180726102703_Upgrade_ABP_3.8.0.Designer.cs
│ │ │ ├── 20180726102703_Upgrade_ABP_3.8.0.cs
│ │ │ ├── 20180731132139_Upgrade_ABP_3.8.1.Designer.cs
│ │ │ ├── 20180731132139_Upgrade_ABP_3.8.1.cs
│ │ │ ├── 20180927062608_Upgrade_ABP_3.8.3.Designer.cs
│ │ │ ├── 20180927062608_Upgrade_ABP_3.8.3.cs
│ │ │ ├── 20181013103914_Upgraded_To_Abp_v3_9_0.Designer.cs
│ │ │ ├── 20181013103914_Upgraded_To_Abp_v3_9_0.cs
│ │ │ ├── 20190208051931_Upgrade_ABP_4_2_0.Designer.cs
│ │ │ ├── 20190208051931_Upgrade_ABP_4_2_0.cs
│ │ │ ├── 20190703062215_Upgraded_To_Abp_4_7_0.Designer.cs
│ │ │ ├── 20190703062215_Upgraded_To_Abp_4_7_0.cs
│ │ │ ├── 20190719143908_Upgraded_To_Abp_4_8_0.Designer.cs
│ │ │ ├── 20190719143908_Upgraded_To_Abp_4_8_0.cs
│ │ │ ├── 20191216011543_Upgraded_To_Abp_5_1_0.Designer.cs
│ │ │ ├── 20191216011543_Upgraded_To_Abp_5_1_0.cs
│ │ │ ├── 20200220110527_Upgraded_To_Abp_5_2_0.Designer.cs
│ │ │ ├── 20200220110527_Upgraded_To_Abp_5_2_0.cs
│ │ │ ├── 20200320114152_Upgraded_To_Abp_5_4_0.Designer.cs
│ │ │ ├── 20200320114152_Upgraded_To_Abp_5_4_0.cs
│ │ │ ├── 20200604091046_Upgraded_To_Abp_5_9.Designer.cs
│ │ │ ├── 20200604091046_Upgraded_To_Abp_5_9.cs
│ │ │ └── ABPProjectDbContextModelSnapshot.cs
│ │ ├── ABPProject.Migrator
│ │ │ ├── ABPProject.Migrator.csproj
│ │ │ ├── ABPProjectMigratorModule.cs
│ │ │ ├── DependencyInjection
│ │ │ │ └── ServiceCollectionRegistrar.cs
│ │ │ ├── Log.cs
│ │ │ ├── MultiTenantMigrateExecuter.cs
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── appsettings.json
│ │ │ └── log4net.config
│ │ ├── ABPProject.Web.Core
│ │ │ ├── ABPProject.Web.Core.csproj
│ │ │ ├── ABPProjectWebCoreModule.cs
│ │ │ ├── Authentication
│ │ │ │ ├── External
│ │ │ │ │ ├── ExternalAuthConfiguration.cs
│ │ │ │ │ ├── ExternalAuthManager.cs
│ │ │ │ │ ├── ExternalAuthProviderApiBase.cs
│ │ │ │ │ ├── ExternalAuthUserInfo.cs
│ │ │ │ │ ├── ExternalLoginProviderInfo.cs
│ │ │ │ │ ├── IExternalAuthConfiguration.cs
│ │ │ │ │ ├── IExternalAuthManager.cs
│ │ │ │ │ └── IExternalAuthProviderApi.cs
│ │ │ │ └── JwtBearer
│ │ │ │ ├── JwtTokenMiddleware.cs
│ │ │ │ └── TokenAuthConfiguration.cs
│ │ │ ├── Configuration
│ │ │ │ └── HostingEnvironmentExtensions.cs
│ │ │ ├── Controllers
│ │ │ │ ├── ABPProjectControllerBase.cs
│ │ │ │ └── TokenAuthController.cs
│ │ │ ├── Identity
│ │ │ │ └── ExternalLoginInfoHelper.cs
│ │ │ ├── Models
│ │ │ │ └── TokenAuth
│ │ │ │ ├── AuthenticateModel.cs
│ │ │ │ ├── AuthenticateResultModel.cs
│ │ │ │ ├── ExternalAuthenticateModel.cs
│ │ │ │ ├── ExternalAuthenticateResultModel.cs
│ │ │ │ └── ExternalLoginProviderInfoModel.cs
│ │ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── ABPProject.Web.Host
│ │ ├── ABPProject.Web.Host.csproj
│ │ ├── Controllers
│ │ │ ├── AntiForgeryController.cs
│ │ │ └── HomeController.cs
│ │ ├── Dockerfile
│ │ ├── Properties
│ │ │ └── launchSettings.json
│ │ ├── Startup
│ │ │ ├── ABPProjectWebHostModule.cs
│ │ │ ├── AuthConfigurer.cs
│ │ │ ├── Program.cs
│ │ │ └── Startup.cs
│ │ ├── app.config
│ │ ├── appsettings.Staging.json
│ │ ├── appsettings.json
│ │ ├── log4net.config
│ │ └── wwwroot
│ │ └── swagger
│ │ └── ui
│ │ ├── abp.js
│ │ ├── abp.swagger.js
│ │ └── index.html
│ └── test
│ ├── ABPProject.Tests
│ │ ├── ABPProject.Tests.csproj
│ │ ├── ABPProjectTestBase.cs
│ │ ├── ABPProjectTestModule.cs
│ │ ├── DependencyInjection
│ │ │ └── ServiceCollectionRegistrar.cs
│ │ ├── MultiTenantFactAttribute.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Sessions
│ │ │ └── SessionAppService_Tests.cs
│ │ └── Users
│ │ └── UserAppService_Tests.cs
│ └── ABPProject.Web.Tests
│ ├── ABPProject.Web.Tests.csproj
│ ├── ABPProjectWebTestBase.cs
│ ├── ABPProjectWebTestModule.cs
│ ├── Controllers
│ │ └── HomeController_Tests.cs
│ └── Startup.cs
├── rename.ps1
└── vue
├── README.md
├── _screenshots
│ └── roles.png
├── package.json
├── public
│ ├── favicon.ico
│ ├── img
│ │ └── icons
│ │ ├── android-chrome-192x192.png
│ │ ├── android-chrome-512x512.png
│ │ ├── apple-touch-icon-120x120.png
│ │ ├── apple-touch-icon-152x152.png
│ │ ├── apple-touch-icon-180x180.png
│ │ ├── apple-touch-icon-60x60.png
│ │ ├── apple-touch-icon-76x76.png
│ │ ├── apple-touch-icon.png
│ │ ├── favicon-16x16.png
│ │ ├── favicon-32x32.png
│ │ ├── msapplication-icon-144x144.png
│ │ ├── mstile-150x150.png
│ │ └── safari-pinned-tab.svg
│ ├── index.html
│ └── manifest.json
├── src
│ ├── app.vue
│ ├── assets
│ │ └── logo.png
│ ├── components
│ │ ├── Footer.vue
│ │ ├── breadcrumb-nav.vue
│ │ ├── fullscreen.vue
│ │ ├── language-list.vue
│ │ ├── language-switch.vue
│ │ ├── lockscreen
│ │ │ ├── components
│ │ │ │ ├── locking-page.vue
│ │ │ │ └── unlock.vue
│ │ │ ├── lockscreen.vue
│ │ │ └── styles
│ │ │ └── unlock.less
│ │ ├── notices
│ │ │ └── notice.vue
│ │ ├── shrinkable-menu
│ │ │ ├── components
│ │ │ │ ├── sidebarMenu.vue
│ │ │ │ └── sidebarMenuShrink.vue
│ │ │ ├── shrinkable-menu.vue
│ │ │ └── styles
│ │ │ └── menu.less
│ │ ├── tags-page-opened.vue
│ │ └── tenant-switch.vue
│ ├── images
│ │ ├── cropper-test.png
│ │ ├── logo-min.jpg
│ │ ├── logo.jpg
│ │ └── usericon.jpg
│ ├── lib
│ │ ├── SignalRAspNetCoreHelper.ts
│ │ ├── abp.d.ts
│ │ ├── abp.js
│ │ ├── abpbase.ts
│ │ ├── ajax.ts
│ │ ├── appconst.ts
│ │ ├── url.ts
│ │ └── util.ts
│ ├── main.ts
│ ├── registerServiceWorker.ts
│ ├── router
│ │ ├── index.ts
│ │ └── router.ts
│ ├── shims.d.ts
│ ├── store
│ │ ├── entities
│ │ │ ├── entity.ts
│ │ │ ├── page-request.ts
│ │ │ ├── page-result.ts
│ │ │ ├── role.ts
│ │ │ ├── tenant.ts
│ │ │ └── user.ts
│ │ ├── index.ts
│ │ └── modules
│ │ ├── account.ts
│ │ ├── app.ts
│ │ ├── list-actions.ts
│ │ ├── list-module.ts
│ │ ├── list-mutations.ts
│ │ ├── list-state.ts
│ │ ├── role.ts
│ │ ├── session.ts
│ │ ├── tenant.ts
│ │ └── user.ts
│ ├── theme.less
│ ├── types
│ │ └── iview
│ │ ├── affix.d.ts
│ │ ├── alert.d.ts
│ │ ├── anchor.d.ts
│ │ ├── auto-complete.d.ts
│ │ ├── avatar.d.ts
│ │ ├── back-top.d.ts
│ │ ├── badge.d.ts
│ │ ├── breadcrumb.d.ts
│ │ ├── button.d.ts
│ │ ├── card.d.ts
│ │ ├── carousel.d.ts
│ │ ├── cascader.d.ts
│ │ ├── cell.d.ts
│ │ ├── checkbox.d.ts
│ │ ├── circle.d.ts
│ │ ├── collapse.d.ts
│ │ ├── color-picker.d.ts
│ │ ├── date-picker.d.ts
│ │ ├── divider.d.ts
│ │ ├── dropdown.d.ts
│ │ ├── form.d.ts
│ │ ├── grid.d.ts
│ │ ├── icon.d.ts
│ │ ├── index.d.ts
│ │ ├── input-number.d.ts
│ │ ├── input.d.ts
│ │ ├── iview.d.ts
│ │ ├── layout.d.ts
│ │ ├── loading-bar.d.ts
│ │ ├── menu.d.ts
│ │ ├── message.d.ts
│ │ ├── modal.d.ts
│ │ ├── notice.d.ts
│ │ ├── page.d.ts
│ │ ├── poptip.d.ts
│ │ ├── progress.d.ts
│ │ ├── radio.d.ts
│ │ ├── rate.d.ts
│ │ ├── scroll.d.ts
│ │ ├── select.d.ts
│ │ ├── slider.d.ts
│ │ ├── spin.d.ts
│ │ ├── split.d.ts
│ │ ├── steps.d.ts
│ │ ├── switch.d.ts
│ │ ├── table.d.ts
│ │ ├── tabs.d.ts
│ │ ├── tag.d.ts
│ │ ├── time-picker.d.ts
│ │ ├── time.ts
│ │ ├── timeline.d.ts
│ │ ├── tooltip.d.ts
│ │ ├── transfer.d.ts
│ │ ├── tree.d.ts
│ │ └── upload.d.ts
│ └── views
│ ├── about.vue
│ ├── home
│ │ └── home.vue
│ ├── login.vue
│ ├── main.less
│ ├── main.vue
│ └── setting
│ ├── role
│ │ ├── create-role.vue
│ │ ├── edit-role.vue
│ │ └── role.vue
│ ├── tenant
│ │ ├── create-tenant.vue
│ │ ├── edit-tenant.vue
│ │ └── tenant.vue
│ └── user
│ ├── create-user.vue
│ ├── edit-user.vue
│ └── user.vue
├── tsconfig.json
├── vue.config.js
└── yarn.lock
103 directories, 363 files
网友评论
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明


支持(0) 盖楼(回复)
支持(0) 盖楼(回复)