问答
-
关于 .net:64 位的内存泄漏是否需要比 32 位更长的时间才能导致 OutOfMemoryException
Does a memory leak in 64 bit take longer to cause an OutOfMemoryException than 32 bit 在跟踪我正在处理的项目中的一些内存泄漏的过程中,我还一直在努…… -
关于 c#:membership provider using ravenDB
membership provider using ravenDB 我正在尝试实现使用 ravenDB 的 .net 会员提供程序。我已经在我的 mvc4 应用程序中设置了 raven db,并且我认为我设置了…… -
关于 .net:从 VB6 转换为 C# 字符串操作
Conversion from VB6 to C# string manipulation VB6代码如下: 1 record = Collection & Right(TableName, Len(TableName) - (InStr(1, TableN…… -
在 Visual Studio 2017 中将 .NET Core 2.2 应用程序发布为依赖于框架的可执行文件 (FDE)
Publish .NET Core 2.2 app in Visual Studio 2017 as framework-dependent executable (FDE) 根据 Microsoft 的说法,从 .NET Core 2.2 开始,我可以将应…… -
关于 c#:Nuget 将文件从包文件夹复制到项目目录
Nuget copy file from packages folder to project directory 我有一个 nuget 包,其中包含一些 dll 和一个文件 "db.resources"。 当我将包添加到项目时,它…… -
关于 c#:httpWebRequest.AutomaticDecompression 未设置”Accept_Encoding:gzip”标头
httpWebRequest.AutomaticDecompression does not set "Accept_Encoding: gzip" header 我在我的 .net 3.0 应用程序中使用 Web 服务引用,并且正在尝试设置 …… -
关于.net:在asp.net中显示文件类型对应的图标
Show icons corresponding to the file type in asp.net 我需要显示与文件类型对应的图标。 例如,我确实在字符串中有"sample.doc",我将其显示在锚标记中…… -
关于asp.net:C# .NET Webforms -> ajaxcontroltoolkit.net -> AsyncFileUpload,触发OnClientUploadError serverside
C# .NET Webforms -> ajaxcontroltoolkit.net -> AsyncFileUpload, trigger OnClientUploadError serverside 作为参考,这是我在这里讨论的控件:Ajax…… -
关于 .net:这个 dotnet 核心调试设置我做错了什么?
what am I doing wrong with this dotnet core debug setup? 我是 dotnet core 的新手,我刚开始一个新项目,其中有一个用 dotnet core 编写的现有应用程…… -
关于 c#:由于 KnownType \”__type\” 问题,无法反序列化多态字典 json
Unable to deserialize polymorphic dictionary json due to KnownType "__type" issue 我创建了一个包含多态值的字典,其中保存了一个类对象。我已成功序列…… -
关于 c#:如何从特定字符的链接中提取子字符串?
How to substring from a link at specific character? 我不知道它有什么问题?我试图解决它,但我没有得到任何结果!! 我的浏览器链接 1 http://local…… -
关于 .net:EF 4.1 Null 插入的 GUID 不为空
EF 4.1 Null inserted GUID which is not null 我不断收到此错误: Cannot insert the value NULL into column 'Id', table 'database.dbo.Employees'; col…… -
关于c#:OracleConnection中带有userId的[](方括号)的问题
Problems with [] (square brackets) with userId in OracleConnection 我正在尝试使用 Oracle.ManagedDataAccess 库连接到 Oracle 数据库,但用户包含方括…… -
关于.net:使用c#读取XML内部子节点
Reading XML inner child node using c# 我正在尝试在 c# 中读取 xml。我能够读取节点 \'ArrayOfCruisePriceSummaryResponse\' 但我如何读取内部节点。 …… -
关于实体框架:Firebird .NET Provider 5.0.0 和 EF6
Firebird .NET Provider 5.0.0 and EF6 我一直在尝试创建 Firebird 数据库的实体数据模型,但我无法通过此错误: 我已经安装了: DDEX 提供者 3.0.…… -
关于 c#:使用右键单击 Windows 窗体按钮
Use right-click with Windows Forms Button 我正在编写一个应用程序,用户应该能够在其中更改按钮的操作。 用户应该右键单击一个按钮,然后从弹出的上下文…… -
关于 Visual Studio:在 VS 2015 社区版中将 .Net 框架从 4.5.2 更改为 4.5 时出现编译错误
Compilation Error when change .Net framework from 4.5.2 to 4.5 in VS 2015 Community edition 在 VS 2015 社区版中将我的 .Net 框架从 4.5.2 更改为 4.5…… -
关于图形:在 .NET 中处理 EPS/AI 文件
Manipulating EPS/AI files in .NET 我正在尝试自动处理 Illustrator (EPS/AI) 文件。我需要在线自动生成 EPS 文件并将它们发送到打印机。 我有一个模板 AI …… -
关于c#:如何将字符串属性绑定到视图中的单选按钮?
How to bind a string property to radio buttons in view? 我正在开发一个 ASP MVC 应用程序。我有一个具有如下字符串属性的模型: 123 ...string…… -
关于.net:项目重新定位到不同的电脑 – 无法创建数据库
Project relocated to different pc - can't create database 已将我的 MVC4/EF5 应用程序放在另一台机器上,现在想要生成数据库。尽管我丢失了在 c# 中生成…… -
关于 c#:.NET 垂直滚动条不尊重最大属性
.NET Vertical Scrollbar not Respecting Maximum Property 我有一个表单并在其上放置了一个垂直滚动条。 无论我将"最大值"属性设置为什么,滚动条都只会向…… -
在.NET中交换鼠标左键和右键
Swapping left and right mouse button in .NET 如何在 .NET(最好是 C#)中交换鼠标左键和右键?基本上结果应该与用户通过控制面板选中鼠标属性中的"切换主要…… -
关于 c#:Dropbox api “USER TOKEN”, “USER SECRET”
Dropbox api "USER TOKEN", "USER SECRET" 我正在尝试使用 DropNet 客户端(Dropbox 客户端 API 的 C# 版本)使用 Dropbox Api 操作文件。这是我的代码: …… -
关于 .net:使用 NAudio 将 Midi 文件转换为音频
Converting Midi files to Audio with NAudio 我最近下载并开始学习 .NET 的 NAudio 库。 我的主要目标基本上是在对文件进行一些操作(例如 - 将每个通道保存…… -
关于从 WCF 服务访问 QuickBooks 时在 QBUtilities.dll 中找不到的 .net:AccessExceptionViolation、SEHException 和/或过程入口点
AccessExceptionViolation, SEHException, and/or Procedure entry point not found in QBUtilities.dll when accessing QuickBooks from a WCF Service 我……