n 相关的软件列表

sqlserver linux 2019设置端口
SQLServer

sqlserver linux 2019设置端口

2022-02-18 标签:linux修改sqlserver端口,sqlserver linux 2019,设置sqlserver linux端口,mssql-server,

sql server 2019 for linux 的默认端口为1433,今天突然想改端口.在ubuntu下用以前的老命令 sudo /opt/mssql/bin/mssql-conf set tcpport 报错设置tcpport不受支持The setting 'tcpport' isnot supported.

升级NET6.0后报错InvalidOperationException: The view 'Index' was not found
Asp.net

升级NET6.0后报错InvalidOperationException: The view 'Index' was not found

2022-02-14 标签:InvalidOperationException,升级NET6.0,The view Index found,视图,asp.net,core2.1,Microsoft,AspNetCore,Razor,Design

今天将asp.net core2.1升级到NET6.0后报错:InvalidOperationException: The view 'Index' was not found.如图:大概意思就是Index视图没有找到导致出错,仔细看了,视图是有的.网上找了很多方法都没有用.最后折腾半天,发现之前升

NET6报错A relational store has been configured without specifying either the DbConnection or connection string to use
Asp.net

NET6报错A relational store has been configured without specifying either the DbConnection or connection string to use

2022-01-28 标签:NET6,报错,A,relational,store,configured,without,specifying,either,DbConnection,connection,string,use,MysqlContext,options,ConnectionString,版本,asp.net,core6.0

今天在将项目升级到asp.net core6.0后发现报错A relational store has been configured without specifying either the DbConnection or connection string to use.项目使用的数据库是My

ubuntu asp.net core读取appSettings.json问题
Asp.net

ubuntu asp.net core读取appSettings.json问题

2022-01-28 标签:ubuntu,asp.net core,appsettings.json,问题,dotnet,appSettings,Value cannot be null,Hangfire.MySql.MySqlStorage,ubuntu appSettings

今天在ubuntu发直接运行命令dotnet /var/www/down/Down.Web.dll发现报错Value cannot be null. (Parameter 'connectionString') at Hangfire.MySql.MySqlStorage等.起初还以为是配置有问题,

C#net core报Keys will not be persisted to storage
Asp.net

C#net core报Keys will not be persisted to storage

2022-01-22 标签:C#,net,core,Keys,persisted,storage,存储,Using,repository,HKLM,应用程序,密钥,注册表,用户,修改,配置文件,memory,Neither

今天在查看网站日志的,看到警报:Using an in-memory repository. Keys will not be persisted to storage.Neither user profile nor HKLM registry available. Using an epheme

VS发布asp.net core项目在web.config包含production环境变量
Asp.net

VS发布asp.net core项目在web.config包含production环境变量

2022-01-22 标签:VS,发布,asp.net,core,项目,web,config,包含,production,环境变量,EnvironmentName,PropertyGroup,设置,配置文件,文件,Visual,Studio,2022,NET6.0

今天在用Visual Studio 2022发布NET6.0或者说asp.net core发布时,在web.config包含production或者Development,VS在发布时替换asp.net core中的web.config

VisualStudio报错CS8050只有自动实现的属性才能具有初始值设定项(C#)
C#.net

VisualStudio报错CS8050只有自动实现的属性才能具有初始值设定项(C#)

2022-01-06 标签:VisualStudio,报错,CS8050,自动,实现,属性,初始值,设定,C#,C#自动实现属性,C#初始值设定项

今天在用vs2022写类属性字段时想根据内容判断返回指定的内容,结果报错: CS8050 只有自动实现的属性才能具有初始值设定项。 错误代码如下public class MyClass{public string msg{get{if (msg.Contains("error")) return "