iis部署配置以及页面修改

This commit is contained in:
Jimmy 2020-12-20 15:44:30 +08:00
parent aae740f60b
commit 2f810336e8
6 changed files with 38 additions and 9 deletions

View File

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "5.0.1",
"commands": [
"dotnet-ef"
]
}
}
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DeleteExistingFiles>True</DeleteExistingFiles>
<ExcludeApp_Data>False</ExcludeApp_Data>
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>E:\Publish</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<SiteUrlToLaunchAfterPublish />
<TargetFramework>netcoreapp3.1</TargetFramework>
<ProjectGuid>38e184bd-e874-4633-a947-aed4fdb73f40</ProjectGuid>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>
</Project>

View File

@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"Default": "Server=localhost; Database=ProManagerDb; Trusted_Connection=True;"
"Default": "Server=localhost; Database=ProManagerDb; user id=sa;password=123456;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"App": {
"ServerRootAddress": "http://localhost:21021/",

View File

@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"Default": "Server=localhost; Database=ProManagerDb; Trusted_Connection=True;"
"Default": "Server=localhost; Database=ProManagerDb; user id=sa;password=123456;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"Authentication": {
"JwtBearer": {

View File

@ -598,13 +598,6 @@
}
});
var UserInfo = layui.data('UserInfo');
alert(UserInfo);
if (UserInfo.isLogin == 0 || UserInfo == undefined) {
}
</script>
</body>

View File

@ -0,0 +1,3 @@
ASP.NET Core部署在IIS中后报无法打开登录所请求的数据库 "xxxx"。登录失败
https://blog.csdn.net/zhuyu19911016520/article/details/78241825