实例介绍
【实例简介】
LightLib图书馆管理系统(LMS)是一个基于.NET 5.0并使用Entity Framework Core构建的轻量级图书馆管理系统。它使图书馆管理员能够管理图书馆资产、会员和分支机构的基本功能。
该项目旨在为小型.NET Web单体应用提供长期资源。
技术栈:
- 使用Docker运行的PostgreSQL 13.1
- ASP.NET 5.0 MVC与Entity Framework Core
- 使用Bootstrap 5的标准Razor视图
虽然最初我通过YouTube系列视频介绍了这个应用程序的创建过程,但自那以后,应用程序已升级到.NET 5.0,并且在架构和实现上发生了重大变化。新的视频系列正在制作中。
文档(进行中):
【实例截图】
【核心代码】
文件清单
└── lightlib-lms-678dbfab03dd113fffff621efe0fee6db8a7f15d
├── checklist.md
├── docker-compose.yml
├── documentation
│ └── images
│ ├── branch_detail.png
│ └── branch_list.png
├── ExampleSQL
│ ├── 01_insert_initial_library_branches.sql
│ ├── 02_insert_initial_branch_hours.sql
│ ├── 03_insert_initial_library_cards.sql
│ ├── 04_insert_initial_patrons.sql
│ ├── 05_insert_initial_assets.sql
│ ├── 06_insert_initial_books.sql
│ ├── 07_insert_initial_audiobooks.sql
│ ├── 08_insert_initial_dvds.sql
│ └── 09_insert_initial_audio_cds.sql
├── LICENSE
├── LightLib.Data
│ ├── LibraryDbContext.cs
│ ├── LightLib.Data.csproj
│ ├── Migrations
│ │ ├── 20210207041630_initial.cs
│ │ ├── 20210207041630_initial.Designer.cs
│ │ ├── 20210207230144_add-timestamps.cs
│ │ ├── 20210207230144_add-timestamps.Designer.cs
│ │ └── LibraryDbContextModelSnapshot.cs
│ ├── Models
│ │ ├── Assets
│ │ │ ├── Asset.cs
│ │ │ ├── AudioBook.cs
│ │ │ ├── AudioCds.cs
│ │ │ ├── Book.cs
│ │ │ ├── DVD.cs
│ │ │ ├── Periodical.cs
│ │ │ └── Tags
│ │ │ ├── AssetTag.cs
│ │ │ └── Tag.cs
│ │ ├── AvailabilityStatus.cs
│ │ ├── BranchHours.cs
│ │ ├── Checkout.cs
│ │ ├── CheckoutHistory.cs
│ │ ├── Hold.cs
│ │ ├── LibraryBranch.cs
│ │ ├── LibraryCard.cs
│ │ └── Patron.cs
│ └── QueryableExtensions.cs
├── LightLib.Models
│ ├── AssetStatus.cs
│ ├── AssetType.cs
│ ├── DTOs
│ │ ├── Assets
│ │ │ ├── AssetTypeDto.cs
│ │ │ ├── AudioBookDto.cs
│ │ │ ├── AudioCdDto.cs
│ │ │ ├── BookDto.cs
│ │ │ ├── DvdDto.cs
│ │ │ ├── LibraryAssetDto.cs
│ │ │ └── PeriodicalDto.cs
│ │ ├── CheckoutDto.cs
│ │ ├── CheckoutHistoryDto.cs
│ │ ├── HoldDto.cs
│ │ ├── LibraryBranchDto.cs
│ │ ├── LibraryCardDto.cs
│ │ ├── PatronDto.cs
│ │ ├── StatusDto.cs
│ │ └── TagDto.cs
│ ├── Exceptions
│ │ └── LibraryServiceException.cs
│ ├── LightLib.Models.csproj
│ └── PaginationResult.cs
├── LightLib.Service
│ ├── Assets
│ │ ├── LibraryAssetService.cs
│ │ └── StatusService.cs
│ ├── Branches
│ │ └── LibraryBranchService.cs
│ ├── Checkout
│ │ ├── CheckoutService.cs
│ │ └── HoldService.cs
│ ├── Helpers
│ │ ├── DataHelpers.cs
│ │ └── TimeSpanHumanizer.cs
│ ├── Interfaces
│ │ ├── IBookService.cs
│ │ ├── ICheckoutService.cs
│ │ ├── IHoldService.cs
│ │ ├── ILibraryAssetService.cs
│ │ ├── ILibraryBranchService.cs
│ │ ├── ILibraryCardService.cs
│ │ ├── IPaginator.cs
│ │ ├── IPatronService.cs
│ │ └── IStatusService.cs
│ ├── LightLib.Service.csproj
│ ├── Patrons
│ │ ├── LibraryCardService.cs
│ │ └── PatronService.cs
│ └── Serialization
│ └── EntityMappingProfile.cs
├── LightLib.sln
├── LightLib.Tests
│ └── LightLib.Tests.csproj
├── LightLib.Web
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ ├── bower.json
│ ├── bundleconfig.json
│ ├── Controllers
│ │ ├── BranchController.cs
│ │ ├── CatalogController.cs
│ │ ├── HomeController.cs
│ │ ├── LibraryController.cs
│ │ └── PatronController.cs
│ ├── internal-nlog.txt
│ ├── LightLib.Web.csproj
│ ├── Models
│ │ ├── Branch
│ │ │ ├── BranchDetailModel.cs
│ │ │ └── BranchIndexModel.cs
│ │ ├── Catalog
│ │ │ ├── AssetDetailModel.cs
│ │ │ └── AssetIndexModel.cs
│ │ ├── CheckoutModels
│ │ │ └── CheckoutModel.cs
│ │ └── Patron
│ │ ├── PatronDetailModel.cs
│ │ └── PatronIndexModel.cs
│ ├── nlog.config
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ ├── Startup.cs
│ ├── Views
│ │ ├── Branch
│ │ │ ├── Detail.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Catalog
│ │ │ ├── Checkout.cshtml
│ │ │ ├── Detail.cshtml
│ │ │ ├── Hold.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Home
│ │ │ └── Index.cshtml
│ │ ├── Patron
│ │ │ ├── Create.cshtml
│ │ │ ├── Detail.cshtml
│ │ │ ├── Edit.cshtml
│ │ │ ├── Index.cshtml
│ │ │ └── PayFees.cshtml
│ │ ├── Shared
│ │ │ ├── Error.cshtml
│ │ │ ├── _Layout.cshtml
│ │ │ └── _ValidationScriptsPartial.cshtml
│ │ ├── _ViewImports.cshtml
│ │ └── _ViewStart.cshtml
│ └── wwwroot
│ ├── css
│ │ └── styles.css
│ ├── images
│ │ ├── about.txt
│ │ ├── android-chrome-192x192.png
│ │ ├── android-chrome-512x512.png
│ │ ├── apple-touch-icon.png
│ │ ├── books_thumb.png
│ │ ├── favicon-16x16.png
│ │ ├── favicon-32x32.png
│ │ ├── favicon.ico
│ │ ├── libraries
│ │ │ ├── lib_downtown.png
│ │ │ ├── lib_medical.png
│ │ │ ├── lib_oakville.png
│ │ │ ├── lib_pacific.png
│ │ │ └── lib_westfield.png
│ │ ├── library_thumb.png
│ │ ├── patron_thumb.png
│ │ └── site.webmanifest
│ └── js
│ ├── site.js
│ └── site.min.js
├── Makefile
└── README.md
41 directories, 140 files
LightLib图书馆管理系统(LMS)是一个基于.NET 5.0并使用Entity Framework Core构建的轻量级图书馆管理系统。它使图书馆管理员能够管理图书馆资产、会员和分支机构的基本功能。
该项目旨在为小型.NET Web单体应用提供长期资源。
技术栈:
- 使用Docker运行的PostgreSQL 13.1
- ASP.NET 5.0 MVC与Entity Framework Core
- 使用Bootstrap 5的标准Razor视图
虽然最初我通过YouTube系列视频介绍了这个应用程序的创建过程,但自那以后,应用程序已升级到.NET 5.0,并且在架构和实现上发生了重大变化。新的视频系列正在制作中。
文档(进行中):
- 图书馆分支管理
- 图书馆资产管理
- 图书馆会员管理
【实例截图】
【核心代码】
文件清单
└── lightlib-lms-678dbfab03dd113fffff621efe0fee6db8a7f15d
├── checklist.md
├── docker-compose.yml
├── documentation
│ └── images
│ ├── branch_detail.png
│ └── branch_list.png
├── ExampleSQL
│ ├── 01_insert_initial_library_branches.sql
│ ├── 02_insert_initial_branch_hours.sql
│ ├── 03_insert_initial_library_cards.sql
│ ├── 04_insert_initial_patrons.sql
│ ├── 05_insert_initial_assets.sql
│ ├── 06_insert_initial_books.sql
│ ├── 07_insert_initial_audiobooks.sql
│ ├── 08_insert_initial_dvds.sql
│ └── 09_insert_initial_audio_cds.sql
├── LICENSE
├── LightLib.Data
│ ├── LibraryDbContext.cs
│ ├── LightLib.Data.csproj
│ ├── Migrations
│ │ ├── 20210207041630_initial.cs
│ │ ├── 20210207041630_initial.Designer.cs
│ │ ├── 20210207230144_add-timestamps.cs
│ │ ├── 20210207230144_add-timestamps.Designer.cs
│ │ └── LibraryDbContextModelSnapshot.cs
│ ├── Models
│ │ ├── Assets
│ │ │ ├── Asset.cs
│ │ │ ├── AudioBook.cs
│ │ │ ├── AudioCds.cs
│ │ │ ├── Book.cs
│ │ │ ├── DVD.cs
│ │ │ ├── Periodical.cs
│ │ │ └── Tags
│ │ │ ├── AssetTag.cs
│ │ │ └── Tag.cs
│ │ ├── AvailabilityStatus.cs
│ │ ├── BranchHours.cs
│ │ ├── Checkout.cs
│ │ ├── CheckoutHistory.cs
│ │ ├── Hold.cs
│ │ ├── LibraryBranch.cs
│ │ ├── LibraryCard.cs
│ │ └── Patron.cs
│ └── QueryableExtensions.cs
├── LightLib.Models
│ ├── AssetStatus.cs
│ ├── AssetType.cs
│ ├── DTOs
│ │ ├── Assets
│ │ │ ├── AssetTypeDto.cs
│ │ │ ├── AudioBookDto.cs
│ │ │ ├── AudioCdDto.cs
│ │ │ ├── BookDto.cs
│ │ │ ├── DvdDto.cs
│ │ │ ├── LibraryAssetDto.cs
│ │ │ └── PeriodicalDto.cs
│ │ ├── CheckoutDto.cs
│ │ ├── CheckoutHistoryDto.cs
│ │ ├── HoldDto.cs
│ │ ├── LibraryBranchDto.cs
│ │ ├── LibraryCardDto.cs
│ │ ├── PatronDto.cs
│ │ ├── StatusDto.cs
│ │ └── TagDto.cs
│ ├── Exceptions
│ │ └── LibraryServiceException.cs
│ ├── LightLib.Models.csproj
│ └── PaginationResult.cs
├── LightLib.Service
│ ├── Assets
│ │ ├── LibraryAssetService.cs
│ │ └── StatusService.cs
│ ├── Branches
│ │ └── LibraryBranchService.cs
│ ├── Checkout
│ │ ├── CheckoutService.cs
│ │ └── HoldService.cs
│ ├── Helpers
│ │ ├── DataHelpers.cs
│ │ └── TimeSpanHumanizer.cs
│ ├── Interfaces
│ │ ├── IBookService.cs
│ │ ├── ICheckoutService.cs
│ │ ├── IHoldService.cs
│ │ ├── ILibraryAssetService.cs
│ │ ├── ILibraryBranchService.cs
│ │ ├── ILibraryCardService.cs
│ │ ├── IPaginator.cs
│ │ ├── IPatronService.cs
│ │ └── IStatusService.cs
│ ├── LightLib.Service.csproj
│ ├── Patrons
│ │ ├── LibraryCardService.cs
│ │ └── PatronService.cs
│ └── Serialization
│ └── EntityMappingProfile.cs
├── LightLib.sln
├── LightLib.Tests
│ └── LightLib.Tests.csproj
├── LightLib.Web
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ ├── bower.json
│ ├── bundleconfig.json
│ ├── Controllers
│ │ ├── BranchController.cs
│ │ ├── CatalogController.cs
│ │ ├── HomeController.cs
│ │ ├── LibraryController.cs
│ │ └── PatronController.cs
│ ├── internal-nlog.txt
│ ├── LightLib.Web.csproj
│ ├── Models
│ │ ├── Branch
│ │ │ ├── BranchDetailModel.cs
│ │ │ └── BranchIndexModel.cs
│ │ ├── Catalog
│ │ │ ├── AssetDetailModel.cs
│ │ │ └── AssetIndexModel.cs
│ │ ├── CheckoutModels
│ │ │ └── CheckoutModel.cs
│ │ └── Patron
│ │ ├── PatronDetailModel.cs
│ │ └── PatronIndexModel.cs
│ ├── nlog.config
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ ├── Startup.cs
│ ├── Views
│ │ ├── Branch
│ │ │ ├── Detail.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Catalog
│ │ │ ├── Checkout.cshtml
│ │ │ ├── Detail.cshtml
│ │ │ ├── Hold.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Home
│ │ │ └── Index.cshtml
│ │ ├── Patron
│ │ │ ├── Create.cshtml
│ │ │ ├── Detail.cshtml
│ │ │ ├── Edit.cshtml
│ │ │ ├── Index.cshtml
│ │ │ └── PayFees.cshtml
│ │ ├── Shared
│ │ │ ├── Error.cshtml
│ │ │ ├── _Layout.cshtml
│ │ │ └── _ValidationScriptsPartial.cshtml
│ │ ├── _ViewImports.cshtml
│ │ └── _ViewStart.cshtml
│ └── wwwroot
│ ├── css
│ │ └── styles.css
│ ├── images
│ │ ├── about.txt
│ │ ├── android-chrome-192x192.png
│ │ ├── android-chrome-512x512.png
│ │ ├── apple-touch-icon.png
│ │ ├── books_thumb.png
│ │ ├── favicon-16x16.png
│ │ ├── favicon-32x32.png
│ │ ├── favicon.ico
│ │ ├── libraries
│ │ │ ├── lib_downtown.png
│ │ │ ├── lib_medical.png
│ │ │ ├── lib_oakville.png
│ │ │ ├── lib_pacific.png
│ │ │ └── lib_westfield.png
│ │ ├── library_thumb.png
│ │ ├── patron_thumb.png
│ │ └── site.webmanifest
│ └── js
│ ├── site.js
│ └── site.min.js
├── Makefile
└── README.md
41 directories, 140 files
标签:
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论