惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - zzzp0755

Docker集群 + 运维 + 镜像仓库 Docker安装和应用 linux常用命令 SQL Server 检测到基于一致性的逻辑 I/O 错误 校验和不正确(应为:010f28a5,但实际为:0xcaf47a0c)。 ABP vNext学习 及问题记录 winform datagridview 勾选复选框 和点击单元格事件区分 .net6.0 新知识学习 英语2025-02 FLOAT:浮点数值数据的大致数值数据类型 Dev 案例 css 积累 20240423 JSON.NET JObject键比较不区分大小写 jsfiddle.net js在线调试 sql 时间日期函数 ele admin plus 添加dev插件 .NET Core Web API 实现图形验证码 DataGridView 保存编辑的行 .net webapi 返回类型
Vol.NET 开发步骤
zzzp0755 · 2025-02-20 · via 博客园 - zzzp0755

1.下载Node.js_V14.15.1.0 x64 位
2.安装到D:\Program Files\nodejs
3.在nodejs文件夹下增加文件夹node_cache、和node_global
4.cmd 管理员 npm config set prefix "D:\Program Files\nodejs\node_global"
5.cmd 管理员 npm config set cache "D:\Program Files\nodejs\node_cache"
6.cmd 管理员 npm config ls
7.电脑——属性——高级系统设置——高级——环境变量
8.创建NODE_PATH 变量变量值为node_modules地址
9.系统变量 中 选择 Path 添加如下属性D:\Program Files\nodejs\ 和 D:\Program Files\nodejs\node_global 删掉c:\...npm
10.cmd 管理员 npm config set registry https://registry.npm.taobao.org --global
11.cmd 管理员 npm config set disturl https://npm.taobao.org/dist --global
12.cmd 管理员 npm install express -g
13.cmd 管理员 npm install webpack-dev-server
--------------
前端Vue项目路径 ../VOL.Vue , 找到 run.bat命令点击启动
后端项目路径 ../VOL.WebApi,找到dev_run.bat命令点击启动。后台启动 默认端口是9991
输入http://localhost:8080访问(本地超级管理员帐号:admin 密码:123456)

---------------

appsettings.json:
DBType 改为 MySql

--------------

1.打开Vue.Net,在解决方案中,新建.net standard类库,框架选择:.net core 3.1 ,填写名称:例如VOL.TEST
2.在VOL.TEST类库下依赖项,添加项目引入:VOL.Core,VOL.Entity
3.在VOL.TEST类库下新建四个文件夹:IRepositories,IServices,Repositories,Services
4.编译VOL.TEST类库,在VOL.WebApi项目中,添加项目引入:VOL.TEST
5.点击代码生成器,新增,父级ID:0,项目类库:VOL.TEST ,表中文名:产品信息,表别名:product 
项目文件夹:product ,快捷编辑字段:SN ,
Vue视图绝对路径views: D:\Vue.NetCore-master\Vol.Vue\src\views
6.同步数据库表结构,对SN列--> 是否排序:是 ,查询行:1 ,查询列:1 ,查询类型: input ,列显示顺序(大在前面):1800
7.生成Vue,在Views\TEST\product下自动生成vue
8.生成model,在VOL.Entity\DomainModels\product下自动生成model ;
9.生成业务类:在VOL.TEST下的IRepositories,IServices,Repositories,Services自动加相关product文件,
在VOL.WebApi\Controllers\TEST下自动加Controller文件
10.父菜单设置:父级ID:0,菜单名称:产品信息 ,视图:. ,是否启用:启用,菜单类型:PC菜单,权限:查询 ,排序号:10
11.子菜单设置:父级ID:132 ,菜单名称:产品管理 ,视图:product ,url:/product  ,是否启用:启用,菜单类型:PC菜单,权限:查询,导出 等,排序号:11