首页 新闻 会员 周边
3
回答数

回答被采纳 50 FromBase64String(string) 异常

在使用 byte[] bytes =Convert.FromBase64String(str); 函数时出现异常情况。 当str 字符串超大超长的时候(一般将一个100M文件转成Base64字符串的长
3
回答数

回答被采纳 5 ASP.NET 如何创建持久化的Cookie?

我是如下这样写的: HttpCookie cookies = new HttpCookie("source"); protected void Page_Load(object sender, Eve
1
回答数

回答被采纳 5 asp.net core 2.1运行路径不同,控制台输出也不同

假设项目所在的目录为wwwroot 运行方式1:在wwwroot文件夹外面,运行:dotnet wwwroot/****.dll,则控制台输出请求日志。 运行方式2:进入wwwroot文件夹,运行do
2
回答数

回答被采纳 20 帮忙解释一下appsettings.json中部分字段的含义

我的: "Logging": { "LogLevel": { "Default": "Warning" } }, "AllowedHosts": "*", ....... 别人的: "Logging"
2
回答数

回答被采纳 10 pdf文件流 UI展示 React.js

后端返回pdf Stream文件流 UI怎么直接展示
1
回答数

回答被采纳 5 这个是.NetCore 2.2的bug吗?

/// <summary> /// 页面标题 /// </summary> [Display(Name = "页面标题")] [Required(ErrorMessage = "{0}不能为空")]
3
回答数

回答被采纳 5 .net core 2.2 IHttpClientFactory 高并发请求 报错The operation was canceled.

var httpclient = _httpClientFactory.CreateClient(); var url = "https://www.baidu.com/"; var rlt = aw
1
回答数

回答被采纳 100 Asp.Net Core 有哪些框架推荐

例如:Abp VNext 现在是自己搭建的三层框架,每次要写增删改查非常麻烦, 希望能有一个简单的快速开发框架
1
回答数

回答被采纳 30 .net core 跑在linux或者macos下。 mutex无法使用

我用.net core 2.2 里面一句代码是var mutexSecurity = new MutexSecurity(); 跑在windows没问题,跑在mac下的时候出了异常 看了许多文章。似乎
1
回答数

回答被采纳 50 VS 2019 Go To Implementation 总是出现错误提示"exception has been thrown by the target of an invocation"

今天 Visual Studio 2019 突然出现奇怪问题,每次 Go To Implementation(Ctrl + F12)总是出现错误提示exception has been thrown
1
回答数

回答被采纳 5 C# Mutex 中变量 initiallyOwned 是干什么用的

// true to give the calling thread initial ownership of the named system mutex if // the named syste
4
回答数

回答被采纳 10 VS2019一夜之间创建不了.NET Core 3.0的项目了

周五晚上下班回家重新安装了操作系统,Windows10 1903,接下来安装了VS2019,.NET Core SDK 3.0 preview5-011568,突然发现VS2019创建不了.NET C
1
回答数

回答被采纳 60 iis上的asp.net core网站经常访问不了,求大神,必要时有偿

后台提示: 2018-12-20 11:01:52.2953|1|ERROR|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware|A
1
回答数

回答被采纳 30 netcore项目在本地IIS发布后无法连接localDB数据库问题

如果使用的是远程数据库同样方法在IIS服务器发布后完全正常,而切换成本地数据库(vs 2017自带的localDB),则会出现无法连接数据库的错误: 各种方法都试了,包括启用tcp/ip,改对应程序池
1
回答数

回答被采纳 5 .net core 使用System.IO.Compression.ZipFile.ExtractToDirectory()方法解压zip文件,出现中午乱码

.net core 中使用System.IO.Compression.ZipFile.ExtractToDirectory()此方法解压文件之后,解压出来的文件夹以及文件夹里面的文件名称都出现中文乱码
1
回答数

回答被采纳 10 .net core cenots7 时间格式化格式错误

什么情况,我一脸懵逼! //code ```C# namespace test{ class Program { static void Main(string[] args) { Console.W
3
回答数

回答被采纳 10 .net core 多语言时间显示问题

在泰语多语言下,所有时间都变成佛历了,也就是公历多加543年。 请问怎么才能在泰语多语言下显示正常的公历?
2
回答数

回答被采纳 Javascript 函数

怎么用函数的思想表达出水仙花数?急急急!
1
回答数

回答被采纳 如何在CentOS系统上安装.NET Core SDK 3.0 Preview 5

如何在CentOS系统上安装.NET Core SDK 3.0 Preview 5
2
回答数

回答被采纳 30 EF Core 依赖注入问题:"More than twenty 'IServiceProvider' instances have been created"

一个 ASP.NET Core 2.2 的项目在运行集成测试时出现下面的告警: More than twenty 'IServiceProvider' instances have been crea
2
回答数

回答被采纳 netcore项目如何引用像netframework项目中封装好的dll库呢

如果直接引用Nuget包太大了,我只需要dll程序集即可
1
回答数

回答被采纳 大佬们看看,我oracle创建一个表,老是报缺少有括号,在线等急。

create table sys_user( user_id number(32) not null auto_increment comment '用户id', user_code varchar(
2
回答数

回答被采纳 SQL 语句转换 ' '问题

@TableName --变量,表名称,vchar @DataTime --变量,时间 datetime @@SQL_Com --变量,vchar 情况一: set @SQL_Com='select
2
回答数

回答被采纳 5 启动Orcal SQL developer报the network adapter couldn't establish the connection,这个要怎么解决啊?

启动Orcal SQL developer报the network adapter couldn't establish the connection,这个要怎么解决啊?
1
回答数

回答被采纳 30 .NET Core 中 BinaryPrimitives.WriteUInt32LittleEndian 与 BinaryPrimitives.WriteUInt32BigEndian 的区别是什么

今天在 System.Memory 程序集中 System.Buffers.Binary 命名空间下 BinaryPrimitives 类中发现 2 个 api ,请问它们的区别是什么? public