ASP.NET Core 配置跨域(CORS) 安装程序CORS程序包 Install-Package Microsoft.AspNetCore.Mvc.Cors 一般默认都带了此程序包的 2.配置CORS服务 在 Startup类,ConfigureServices方法里,添加如下代码: serv ...
分类:
Web程序 时间:
2021-03-09 13:36:44
阅读次数:
0
1. Grid: by default showing content in Y axis (column), Flex: by default showing content in X axis. Exp: If you want to style a header.. you can use f ...
分类:
Web程序 时间:
2021-03-09 13:32:34
阅读次数:
0
首先是deployment: apiVersion: apps/v1 kind: Deployment metadata: name: webapp1 spec: replicas: 1 selector: matchLabels: app: webapp1 template: metadata: ...
分类:
其他好文 时间:
2021-03-09 13:14:40
阅读次数:
0
ModuleNotFoundError: No module named 'apt_pkg' Ubuntu18 从python3.6手动升级到python3.9后,apt update无法执行,显示没有apt_pkg模块。 查阅到四种解决方法,我是用的第三种。 第一种: # 创建一个软链接 cd / ...
分类:
其他好文 时间:
2021-03-08 14:14:27
阅读次数:
0
Step 1 — Installing Apache and Updating the Firewall Adjust the Firewall to Allow Web Traffic sudo apt update sudo apt upgrade sudo apt install apache ...
分类:
系统相关 时间:
2021-03-06 14:52:16
阅读次数:
0
安装情况详见上一篇:https://www.cnblogs.com/ZwyBky/p/14483630.html 三 升级Oracle11.2.0.1到11.2.0.4参考教程:https://blog.csdn.net/lanxuxml/article/details/781793593.1 关闭 ...
分类:
数据库 时间:
2021-03-06 14:50:07
阅读次数:
0
漏洞关键字 SQL注入: select insert update mysql_query mysqli等 文件上传: $_FILES,type="file",上传,move_upload_file()等 XSS跨站: print print_r echo sprintf die var_dump ...
分类:
其他好文 时间:
2021-03-06 14:12:18
阅读次数:
0
1.安装远程的插件,我这里没有安装成功,所以使用的是离线安装c++扩展的方式 https://github.com/microsoft/vscode-cpptools/releases 2.因为远程连接的服务器操作系统是ubuntu,所以在这里下载的版本是cpptools-linux.vsix 3. ...
分类:
编程语言 时间:
2021-03-05 13:30:15
阅读次数:
0
GitLab官方搭建教程地址: https://about.gitlab.com/install/#ubuntu 1. 依赖包安装 sudo apt-get update sudo apt-get install -y curl openssh-server ca-certificates ...
分类:
其他好文 时间:
2021-03-05 13:25:21
阅读次数:
0
spingboot手动热部署和自动热部署(建议使用手动热部署) 手动热部署: 1、首先需要导入spring-boot-devtools依赖 2、在build里添加fork 3、选择上update classes and resources 4、启动springboot项目 5、项目启动后点击此处手动 ...
分类:
编程语言 时间:
2021-03-05 13:13:35
阅读次数:
0