随笔分类 -  .netcore 6.0 webapi

asp.netcore 源码分析 使用心得等相关内容
摘要:错误:1.后端获取数据集合,存到 vuex store 中和本地 window.localStorage; 2.因为要解决刷新丢失问题在routeconfig中路由拦截重新 拿到本地数据window.localStorage 保存到store中; 3.界面刷新报错:vue xxx.find is n 阅读全文
posted @ 2024-04-02 16:04 cdxy2005 阅读(278) 评论(0) 推荐(0)
摘要:前端使用:vue , 前端时间字段 用 new Date赋值; 后端:.net 6.0 ,webApi服务 收到的时间字段差8 小时; 前端打印,与本地时间一致;后端调试,传值错误; 解决办法: 定位:后端时区配置问题;后端需配置时区; 1.nuget 包下载符合 .net6.0 的Microsof 阅读全文
posted @ 2024-03-26 10:33 cdxy2005 阅读(344) 评论(0) 推荐(0)
摘要:一、下载nginx nginx 下载地址 :https://nginx.org/en/download.html?utm_source=so 二、 nginx 命令 1. win+r 打开cmd ;cd 到nginx 安装目录 2. 启动: start nginx 3.重启服务:nginx -s r 阅读全文
posted @ 2024-02-05 18:06 cdxy2005 阅读(700) 评论(0) 推荐(0)
摘要:nginx 配置问题: 问题描述: Vue 前端服务可以正常使用,webapi 服务端调用失败? preview 提示: We’re sorry but XXX doesn’t work properly without JavaScript enabled/Vue;注意此时是否有(from dis 阅读全文
posted @ 2024-02-04 18:42 cdxy2005 阅读(1009) 评论(0) 推荐(0)
摘要:一、 netCore 6.0 的源码下载 地址如下:https://github.com/dotnet/ 可以用GIT 下载 :git clone --recursive https://github.com/dotnet/aspnetcore.git 内容如下图所示: 其中aspnetcore 和 阅读全文
posted @ 2022-09-09 10:57 cdxy2005 阅读(626) 评论(0) 推荐(0)