没有合适的资源?快使用搜索试试~ 我知道了~
RPL.Demo:使用属于RCL项目的静态资产(嵌入式wwwroot文件夹)
共70个文件
js:13个
cshtml:11个
cs:7个
需积分: 18 0 下载量 98 浏览量
2021-05-14
16:45:58
上传
评论
收藏 630KB ZIP 举报
温馨提示
Razor Page Library:开发独立通用RPL(内嵌wwwroot资源文件夹) 1. Introduction Razor Page Library 是ASP.NET Core 2.1引入的新类库项目,属于新特性之一,用于创建通用页面公用类库。也就意味着可以将多个Web项目中通用的Web页面提取出来,封装成RPL,以进行代码重用。 官方文档中,仅简单介绍了如何创建RPL,但要想开发出一个独立通用的RPL远远没有那么简单,容我娓娓道来。 2. Hello RPL 老规矩,从Hello World 开始,我们创建一个Demo项目。 记住开始之前请确认已安装!!! 我们这次使用命令行来创建项目: >dotnet --version 2.1.300 >dotnet new razorclasslib --name RPL.CommonUI 已成功创建模板“Razor Class Libr
资源推荐
资源详情
资源评论
收起资源包目录
RPL_Demo-master.zip (70个子文件)
RPL.Demo-master
RPL.Demo.sln 3KB
RPL.CommonUI
CommonUIConfigureOptions.cs 1KB
RPL.CommonUI.csproj 601B
Areas
MyFeature
Pages
Page1.cshtml 319B
Page1.cshtml.cs 319B
wwwroot
css
demo.css 25B
CommonUIServiceCollectionExtensions.cs 370B
.gitattributes 2KB
HostingEnvironment.Initialize.dgml 22KB
RPL.Web
Startup.cs 2KB
appsettings.Development.json 137B
Program.cs 689B
Controllers
HomeController.cs 1009B
RPL.Web.csproj 424B
wwwroot
favicon.ico 31KB
images
banner3.svg 12KB
banner2.svg 8KB
banner1.svg 9KB
lib
bootstrap
LICENSE 1KB
.bower.json 940B
dist
js
npm.js 484B
bootstrap.js 68KB
bootstrap.min.js 36KB
fonts
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff2 18KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.woff 23KB
css
bootstrap-theme.min.css.map 25KB
bootstrap-theme.css.map 47KB
bootstrap.min.css.map 529KB
bootstrap.min.css 118KB
bootstrap-theme.min.css 23KB
bootstrap-theme.css 26KB
bootstrap.css.map 380KB
bootstrap.css 143KB
jquery
LICENSE.txt 2KB
.bower.json 545B
dist
jquery.min.map 129KB
jquery.min.js 85KB
jquery.js 265KB
jquery-validation
.bower.json 917B
LICENSE.md 1KB
dist
additional-methods.js 41KB
jquery.validate.js 48KB
jquery.validate.min.js 23KB
additional-methods.min.js 18KB
jquery-validation-unobtrusive
jquery.validate.unobtrusive.min.js 6KB
LICENSE.txt 575B
jquery.validate.unobtrusive.js 19KB
.bower.json 460B
js
site.js 226B
site.min.js 0B
css
site.min.css 282B
site.css 845B
Models
ErrorViewModel.cs 205B
Properties
launchSettings.json 646B
appsettings.json 97B
Views
_ViewStart.cshtml 32B
Shared
_ValidationScriptsPartial.cshtml 1KB
_Layout.cshtml 3KB
Error.cshtml 847B
_CookieConsentPartial.cshtml 2KB
Home
Privacy.cshtml 138B
Index.cshtml 5KB
Contact.cshtml 451B
About.cshtml 156B
_ViewImports.cshtml 93B
README.md 14KB
.gitignore 4KB
共 70 条
- 1
资源评论
梦小露
- 粉丝: 20
- 资源: 4640
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功