# 程序语言

**URL:** https://www.isharkfly.com/c/computer-program/12.md

[Latest](https://www.isharkfly.com/latest.md) · [Categories](https://www.isharkfly.com/categories.md) · [Tags](https://www.isharkfly.com/tags.md)

---

## [关于【开源】分类](https://www.isharkfly.com/t/topic/87)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0

</div>

(Replace this first paragraph with a brief description of your new category. This guidance will appear in the category selection area, so try to keep it below 200 characters.) Use the following paragraphs for a longer d…

---

## [C# AD 执行错误 UpdErr: DSID-031A11FA, problem 6005 (ENTRY\_EXISTS)](https://www.isharkfly.com/t/c-ad-upderr-dsid-031a11fa-problem-6005-entry-exists/18521)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 1\
**Last updated:** [December 5, 2025, 1:30am UTC](https://www.isharkfly.com/t/c-ad-upderr-dsid-031a11fa-problem-6005-entry-exists/18521 "2025-12-05T01:30:57Z")

</div>

错误信息为： '(AddResponse)connection.SendRequest(request)' threw an exception of type 'System.DirectoryServices.Protocols.DirectoryOperationException' Data: Count = 0 HResult: -2146233088 HelpLink: null Inner…

---

## [C# AddRequest 创建 AD 用户示例](https://www.isharkfly.com/t/c-addrequest-ad/18454)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 1\
**Last updated:** [November 19, 2025, 12:47pm UTC](https://www.isharkfly.com/t/c-addrequest-ad/18454 "2025-11-19T12:47:37Z")

</div>

System.DirectoryServices.Protocols.AddRequest c# 创建用户代码示例

---

## [AI 对开发的辅助确实助力不少](https://www.isharkfly.com/t/ai/18395)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 2\
**Last updated:** [November 7, 2025, 10:50am UTC](https://www.isharkfly.com/t/ai/18395 "2025-11-07T10:50:00Z")

</div>

一直从事的是 Java 软件开发，没有怎么接触过 c#。 但其中一个项目现在就是在 c# 上使用。 使用 AI 对一些数据处理上的要求让 AI 给出帮助。 比从头看数据结构要块得多，虽然写法上有些不同，但原理是相通得。 比如从 List 中生成 Map 的方法，AI 给 C# 的写法就比较简洁。 一个月也只用掉了几块钱，完全是在可以接受的水平上。 AI 的使用还得跟上。

---

## [在 C# 中标记弃用代码](https://www.isharkfly.com/t/c/18412)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 3\
**Last updated:** [November 6, 2025, 2:51pm UTC](https://www.isharkfly.com/t/c/18412 "2025-11-06T14:51:52Z")

</div>

c# 如何标记一个类 deprecate.

---

## [C# Dictionary loop to create a new Dictionary by value object attribute](https://www.isharkfly.com/t/c-dictionary-loop-to-create-a-new-dictionary-by-value-object-attribute/17700)

<div class="topic-metadata">

**Author:** [@lucas](https://www.isharkfly.com/u/lucas)\
**Replies:** 1\
**Last updated:** [September 3, 2025, 9:55pm UTC](https://www.isharkfly.com/t/c-dictionary-loop-to-create-a-new-dictionary-by-value-object-attribute/17700 "2025-09-03T21:55:33Z")

</div>

还是比较喜欢 Using LINQ’s ToDictionary() 这个方法。 // Option 2: Using LINQ's ToDictionary() method (more concise) Dictionary\<string, int\> peopleAgeByNameLinq = peopleByName.ToDictionary( personEntry =\> …

---

## [C# 对象自动初始化当前时间戳](https://www.isharkfly.com/t/c/18384)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 1\
**Last updated:** [October 29, 2025, 4:39pm UTC](https://www.isharkfly.com/t/c/18384 "2025-10-29T16:39:40Z")

</div>

C# 定义对象如何自动初始化字段当前时间戳

---

## [解决.NET字典的空值问题](https://www.isharkfly.com/t/net/18380)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 1\
**Last updated:** [October 28, 2025, 12:49pm UTC](https://www.isharkfly.com/t/net/18380 "2025-10-28T12:49:51Z")

</div>

.net Dictionary 通过 Key 取值空对象问题如何解决。 出现问题的代码在这里： // Update the entitlement with fresh LDAP data LdapEntryData account = currentLdapData\[entitlement.Samaccountname\]…

---

## [Windows 11 Ruby 开发环境配置](https://www.isharkfly.com/t/windows-11-ruby/18357)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 3\
**Last updated:** [October 22, 2025, 7:13am UTC](https://www.isharkfly.com/t/windows-11-ruby/18357 "2025-10-22T07:13:31Z")

</div>

Windows 11 如何配置 Ruby 开发环境。 简单来说就是还是需要 WSL 环境来开发 Ruby。

---

## [Debian 13 ruby 默认安装的版本](https://www.isharkfly.com/t/debian-13-ruby/18359)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [October 17, 2025, 7:15pm UTC](https://www.isharkfly.com/t/debian-13-ruby/18359 "2025-10-17T19:15:24Z")

</div>

Debian 13 (code name “Trixie”) 尚未正式发布，因此其默认 Ruby 版本可能会有变化。 不过，我们可以参考 Debian 12 (Bookworm) 的情况，通常新版本会包含更新的软件包。在 Debian 12 中，默认的 Ruby 版本是 Ruby 3.1。 因此，可以合理推测 Debian 13 可能会包含 Ruby 3.1 或更高版本作为默认安装。 如果您需要特定的 Ruby 版本，建议您： …

---

## [ValidateAntiForgeryToken 返回 400 错误排查](https://www.isharkfly.com/t/validateantiforgerytoken-400/18193)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 1\
**Last updated:** [October 15, 2025, 8:29pm UTC](https://www.isharkfly.com/t/validateantiforgerytoken-400/18193 "2025-10-15T20:29:41Z")

</div>

.net ValidateAntiForgeryToken return bad request 错误的原因

---

## [Cshtml 不生成 \_\_RequestVerificationToken 字段的原因](https://www.isharkfly.com/t/cshtml-requestverificationtoken/18192)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0\
**Last updated:** [October 15, 2025, 6:51pm UTC](https://www.isharkfly.com/t/cshtml-requestverificationtoken/18192 "2025-10-15T18:51:06Z")

</div>

出现这个问题主要原因是 form 标签需要显示表达。 丢 \_\_RequestVerificationToken 字段的原因是整个页面中没有 form 表单。 详细解答 当 .cshtml 文件在预期生成 \_\_RequestVerificationToken 隐藏字段，但实际没有生成时，通常有以下几个常见原因： 未使用 Html.AntiForgeryToken() 或 asp-for="RequestVerificat…

---

## [ASP.NET 项目修改 Framework 为 4.8](https://www.isharkfly.com/t/asp-net-framework-4-8/17512)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 1\
**Last updated:** [June 30, 2025, 7:33pm UTC](https://www.isharkfly.com/t/asp-net-framework-4-8/17512 "2025-06-30T19:33:28Z")

</div>

asp.net 如何在 Visual Studio 中修改 framework 为 4.8

---

## [ASP.NET项目升级Framework到4.8](https://www.isharkfly.com/t/asp-net-framework-4-8/17511)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 1\
**Last updated:** [June 30, 2025, 7:31pm UTC](https://www.isharkfly.com/t/asp-net-framework-4-8/17511 "2025-06-30T19:31:54Z")

</div>

asp.net 如何在 Visual Studio 中修改 framework 为 4.8

---

## [ASP.NET网站编译发布方法详解](https://www.isharkfly.com/t/asp-net/17510)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 1\
**Last updated:** [June 30, 2025, 4:00pm UTC](https://www.isharkfly.com/t/asp-net/17510 "2025-06-30T16:00:00Z")

</div>

Asp.net 网站如何编译发布

---

## [Visual Studio 2022 调试老的 ASP 网站时候找不项目模板](https://www.isharkfly.com/t/visual-studio-2022-asp/17501)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0\
**Last updated:** [June 25, 2025, 12:44pm UTC](https://www.isharkfly.com/t/visual-studio-2022-asp/17501 "2025-06-25T12:44:30Z")

</div>

这个模板在默认的时候是没有安装的。 解决办法 重新调用安装程序，然后选择 .NET 框架项目 这个选项默认没有选择。

---

## [ASP.NET 调用远程 Web Service 项目源码](https://www.isharkfly.com/t/asp-net-web-service/17499)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 3\
**Last updated:** [June 25, 2025, 11:59am UTC](https://www.isharkfly.com/t/asp-net-web-service/17499 "2025-06-25T11:59:22Z")

</div>

给一个 ASP.NET 调用远程 Webservice 的项目和源代码

---

## [LimeSurvey 服务器邮件配置](https://www.isharkfly.com/t/limesurvey/17408)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [June 7, 2025, 1:40pm UTC](https://www.isharkfly.com/t/limesurvey/17408 "2025-06-07T13:40:46Z")

</div>

通过选择全局设置中的电子邮件设置。 在界面中输入配置信息。 上面是针对 MailGun 的配置。 如果使用的不是默认的端口，那么可以在 SMTP 后面添加端口号就行。 例如，我们使用的端口是 587 的话，那么 SMTP 服务器的配置就需要修改为： smtp.mailgun.org:587 这样可以让连接是特定的端口。

---

## [LimeSurvey 反馈的结果在哪里查看](https://www.isharkfly.com/t/limesurvey/17407)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [June 7, 2025, 1:34pm UTC](https://www.isharkfly.com/t/limesurvey/17407 "2025-06-07T13:34:53Z")

</div>

进入 LimeSurvey 后台，选择问卷调查，然后选择 Responses。 在 Responses 中可以看到反馈的情况。

---

## [LimeSurvey 官方论坛的地址](https://www.isharkfly.com/t/limesurvey/5765)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 1\
**Last updated:** [June 7, 2025, 12:40pm UTC](https://www.isharkfly.com/t/limesurvey/5765 "2025-06-07T12:40:11Z")

</div>

官方中文论坛地址为：https://www.limesurvey.org/en/forum/chinese-forum 论坛好像也没有什么人气，发现最早的回复都是 7 个月以前的了。

---

## [IIS 网站运行提示 404.3 错误](https://www.isharkfly.com/t/iis-404-3/17327)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [May 21, 2025, 3:46pm UTC](https://www.isharkfly.com/t/iis-404-3/17327 "2025-05-21T15:46:51Z")

</div>

根据上面的提示，可能的原因是计算机中没有装 ASP.NET。 可以通过控制面板的属性和特性选项来进行安装。 同时，在 IIS 的配置下也需要启用 ASP 的配置。 单击应用后，Windows 将会下载必要的组件。 整个过程需要一些时间。

---

## [LimeSurvey 安装如果你有什么问题](https://www.isharkfly.com/t/limesurvey/3288)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 1\
**Last updated:** [June 5, 2025, 2:32pm UTC](https://www.isharkfly.com/t/limesurvey/3288 "2025-06-05T14:32:04Z")

</div>

和所有计算机程序一样，绝大部分时候程序都能够正常工作，但是有时候程序却不能按照正常的情况工作。 出现这种情况通常有各种可能性，而这里也不能完全说明所有的可能性，如果你有安装的问题，请查看安装的 FAQ。 如果在安装的 FAQ 中不能找到你所需要的解答，你可以访问 LimeSurvey 的官方论坛 limesurvey.org 或者加入 IRC 频道。 官方的中文社区实在是太安静了。 基本上处于没有人访问的状态：Chinese f…

---

## [LimeSurvey Ubuntu 服务器上安装](https://www.isharkfly.com/t/limesurvey-ubuntu/5764)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [June 4, 2025, 4:00am UTC](https://www.isharkfly.com/t/limesurvey-ubuntu/5764 "2025-06-04T04:00:00Z")

</div>

在你的 Web 服务器上安装。 如果你是在你的 Web 服务器上安装 LimeSurvey， 你可以按照下面的步骤直接进行安装就可以了。 运行 un-zip 命令来在服务器对下载的 zip 文件进行解压。 拷贝文件 运行下面的命令来执行文件拷贝： mv limesurvey /var/www/html/ 运行权限问题 如果遇到安装的时候有权限问题，请参考：LimeSurvey 安装权限 安装界面 在浏览器中访问安装界面…

---

## [LimeSurvey 安装权限](https://www.isharkfly.com/t/limesurvey/17392)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [June 4, 2025, 8:54pm UTC](https://www.isharkfly.com/t/limesurvey/17392 "2025-06-04T20:54:02Z")

</div>

在安装的时候提示错误： Internal Server Error Application runtime path "/var/www/html/limesurvey/tmp/runtime" is not valid. Please make sure it is a directory writable by the Web server process. An internal error occurred while th…

---

## [本想从代码上安装 LimeSurvey](https://www.isharkfly.com/t/limesurvey/17391)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [June 4, 2025, 8:41pm UTC](https://www.isharkfly.com/t/limesurvey/17391 "2025-06-04T20:41:36Z")

</div>

但是 LimeSurvey 的源代码仓库实在是太大了。 有 1.4GB，不知道都装了点什么呢？ 实在是不想把 Git 的服务器拖垮了。 简单点还是把这个服务改成私有访问吧，否则太费劲了。

---

## [Limesurvey 在校园调查中的应用](https://www.isharkfly.com/t/limesurvey/3004)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0\
**Last updated:** [May 2, 2011, 7:17am UTC](https://www.isharkfly.com/t/limesurvey/3004 "2011-05-02T07:17:41Z")

</div>

Limesurvey是一款在线问卷管理系统，能够完成问卷的设计、修改、发布、回收和统计等多项功能。同时它也是一个开源软件项目，其最新版本的软件包可以完全免费的获取和使用。它用PHP语言编写并可以使用多种数据库，它集成了调查程序开发、调查问卷的发布以及数据收集等功能，使用它用户不必了解这些功能的编程细节。 本系统包括了分支、自定义页面布局和设计，并且提供了基本的统计分析功能。调查可以匿名访问也可以限制为拥有“访问一次”令牌的用户参加，从…

---

## [MSOLEDBSQL 数据库配置](https://www.isharkfly.com/t/msoledbsql/17389)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [June 3, 2025, 1:14pm UTC](https://www.isharkfly.com/t/msoledbsql/17389 "2025-06-03T13:14:29Z")

</div>

需要安装 MSOLEDBSQL Version 18. 下载链接： Download Microsoft OLE DB Driver for SQL Server - OLE DB Driver for SQL Server | Microsoft Learn 通过上面的链接，我们可以下载 18.7.5 版本。 具体的版本还需要把屏往下滚动下。

---

## [IIS svc 文件无法显示](https://www.isharkfly.com/t/iis-svc/17369)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0\
**Last updated:** [May 30, 2025, 2:25am UTC](https://www.isharkfly.com/t/iis-svc/17369 "2025-05-30T02:25:47Z")

</div>

处理 svc 文件提示错误： HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. …

---

## [ASP 网站提示错误：Request for the Permission of Type System.Web.AspNetHostingPermission](https://www.isharkfly.com/t/asp-request-for-the-permission-of-type-system-web-aspnethostingpermission/17368)

<div class="topic-metadata">

**Author:** [@hex](https://www.isharkfly.com/u/hex)\
**Replies:** 0\
**Last updated:** [May 29, 2025, 8:27pm UTC](https://www.isharkfly.com/t/asp-request-for-the-permission-of-type-system-web-aspnethostingpermission/17368 "2025-05-29T20:27:29Z")

</div>

错误信息为： \[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.\] System.Reflection.Assembly.\_GetTy…

---

## [WordPress 显示维护信息](https://www.isharkfly.com/t/wordpress/13440)

<div class="topic-metadata">

**Author:** [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Replies:** 0\
**Last updated:** [April 24, 2021, 4:15pm UTC](https://www.isharkfly.com/t/wordpress/13440 "2021-04-24T16:15:46Z")

</div>

如果 Word Press 显示维护信息。 原因和解决 出现上面提示信息的原因 WordPress 可能在进行插件更新。 这个时候会在服务器上放一个 .maintenance 文件。 最简单的方法，就是到服务器上删除这个文件。

[Next page](https://www.isharkfly.com/c/computer-program/12.md?page=1)
