VictorTzeng / Zxw.Framework.NetCore

基于EF Core的Code First模式的DotNetCore快速开发框架,其中包括DBContext、IOC组件autofac和AspectCore.Injector、代码生成器(也支持DB First)、基于AspectCore的memcache和Redis缓存组件,以及基于ICanPay的支付库和一些日常用的方法和扩展,比如批量插入、更新、删除以及触发器支持,当然还有demo。欢迎提交各种建议、意见和pr~

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于demo如何启动并实现操作数据库

luobingbing0207 opened this issue · comments

您好。。作者大大,我下载了您的demo,运行了之后
Microsoft.Hosting.Lifetime: Information: Now listening on: http://[::]:8188
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
不会自动弹出网页哎。。并且域名也没有弹出来,。,是我打开的方式不对么???或者能否出一个demo的详细版本分析资料呀。。。。因为工作需要,我需要netcore链接sqlserver和oracle数据库呢,。在线等,大佬

commented

8188是监听端口,可以在Program.cs里面修改。项目启动后,直接在浏览器输入http://localhost:8188/访问即可。 @luobingbing0207

好的呢。。谢谢大佬。。对了。。大佬。。 "MsSqlServer": "initial catalog=NetCoreDemo;data source=.;password=123456;User id=sa;MultipleActiveResultSets=True",
"PostgreSQL": "User ID=postgres;Password=123456;Host=localhost;Port=5432;Database=ZxwPgDemo;Pooling=true;",
"Redis": "127.0.0.1:6379,abortConnect=false,connectRetry=3,connectTimeout=3000,defaultDatabase=1,syncTimeout=3000,version=3.2.100,responseTimeout=3000",
"MySQL": "Server=localhost;Database=test; User ID=test;Password=123456;port=19800;CharSet=utf8;pooling=true;"
哪一个是sqlserver的呀??

commented

MsSqlServer

那么我该在哪里去 讲 访问的 数据库源换成sqlserver呢???能否同时链接sqlserver和oracle?感谢大佬

commented

你可以先研究一下,下班了我回去新建个分支写个demo哈

好的呢。。谢谢大佬啦。。么么哒

大佬大佬。。。demo上传了木有呀。。在线等。。

commented

大佬大佬。。。demo上传了木有呀。。在线等。。

==,昨晚遇到了些问题,没解决完。估计今晚可以commit

....在线等,大佬

commented

....在线等,大佬

拉取multi-db分支