基本信息
源码名称:Net Core快速开发框架(支持Swagger API)
源码大小:0.91M
文件格式:.zip
开发语言:C#
更新时间:2020-08-11
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
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