当前位置:网站首页>.net5wtm (asp.net core) PgSQL unpacking operation
.net5wtm (asp.net core) PgSQL unpacking operation
2022-07-26 10:33:00 【Miners learn programming】
I am WTM A loyal fan ,1 month WTM Finally, it came out after a thousand calls , Originally, there was nothing to write about an unpacking operation , But because of my work demand this year , The database is made up of sqlserver towards pgsql shift . In the days to come , Development time pgsql It will be used more and more , Of course sqlserver I won't give up . in the future wtm+pgsql More and more blogs are stepping on the pit , Grow together . Let's have one today pgsql Unpacked blog .
One 、 To WTM The official website generates and downloads a project and configures it for use pgsql
This is the use of WTM Of .neter It will . We don't do anything , Directly generate and download . Unzip the generated project , And open appsettings.json modify Connections Of Value and DBType, Specify that the database we use is PgSql.pgsql After installation, the default user name is postgres, The password is set by yourself during installation . The detailed settings are as follows :
"Connections": [
{
"Key": "default",
"Value": "User ID=postgres;Password=123456;Host=localhost;Database=PGSqlTest_DB;Pooling=true;",
"DbContext": "DataContext",
"DBType": "PgSql" //DataBase, you can choose mysql,sqlserver,pgsql,sqlite,oracle
}
],Two 、 Start the project and view pgsql in WTM Whether the project database and data table are generated normally
I opened the box successfully ,WTM Stay on the court pgsql Generated in the PGSqlTest_DB And related data sheets .

3、 ... and 、 Step on the pit
This time I stepped on the pit , Mainly out of pgsql Yes .pgadmin Can't load in all the time , forever loading. open PgAdmin After that, the situation as shown in the figure below appears

terms of settlement :
WIN+R, Input : open regedit
Open the registry : HKEY_CLASSES_ROOT\.js\Content Type
Modify the corresponding Content Type Option configuration take text/plain It is amended as follows text/javascript
Restart accordingly PgAdmin4 that will do ( If not, restart the computer ).
边栏推荐
猜你喜欢
![[Halcon vision] threshold segmentation](/img/1c/e2463a796f99804a55680b69e714a6.png)
[Halcon vision] threshold segmentation

Agenda express | list of sub forum agenda on July 27

【dectectron2】跟着官方demo一起做

【Halcon视觉】阈值分割

Dynamically determine file types through links

记给esp8266烧录刷固件

.NET 开源框架在工业生产中的应用

2022/07/25 ------ arrangement of strings

QRcode二维码(C语言)遇到的问题
![[Halcon vision] morphological expansion](/img/ce/abaca036fce5b67dfe6ac361aecfea.png)
[Halcon vision] morphological expansion
随机推荐
结构体操作报错:Segmentation fault (core dumped)
原生JS-获取transform值 x y z及rotate旋转角度
父类对子类的引用(父类引用指向子类对象)
Unit test, what is unit test and why is it so difficult to write a single test
Inheritance method of simplified constructor (I) - combined inheritance
关于模板函数声明与定义的问题[通俗易懂]
equals与==的区别
利用原生js实现自定义滚动条(可点击到达,拖动到达)
[Halcon vision] morphological corrosion
C语言回调函数
Okaleido生态核心权益OKA,尽在聚变Mining模式
The problem of incomplete or partial display of the last recyclerview is solved
并行、并发及对于高并发优化的几个方向
我们的Web3创业项目,黄了
Agenda express | list of sub forum agenda on July 27
Kaptcha image verification code integration
Google与Pixar开发Draco支持USD格式 加速3D对象传输<转发>
[C language] named type and anonymous type
Use of Android grendao database
INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution