问答
-
关于 c#:在使用 ASP.NET Core 3.0 首次加载之前,通过授权服务器保护 SPA 的正确方法是什么?
What is the right way to Securing a SPA by authorization server before first load using ASP.NET Core 3.0? 我正在使用 IDE (Visual Studio 2019) 在…… -
关于 c#:Automapping 和 Fluent NHibernate
Automapping and Fluent NHibernate 我从 Fluent NHibernate GitHub 文档中复制了用于自动映射的示例,但它在我的 ASP.NET MVC 4 应用程序中不起作用。 …… -
关于 c#:如何从 Windows Powershell 构建运行 vNext 应用程序?
How to build-run vNext application from Windows Powershell? 我正在尝试通过 Windows PowerShell 在 .NET vNext 中构建控制台应用程序。到目前为止,我已…… -
关于c#:判断三角形是否正对
Determining whether triangles are facing each other 我试图找出两个三角形是否相互面对。我有形成三角形的点和它们所在的顺序(所以我可以使用叉积和左手…… -
关于 c#:NuGet 版本与 SignalR 和 Owin 冲突
NuGet version coflict with SignalR and Owin 我正在尝试设置一个自托管的 SignalR 相关讨论 请尝试通过 Update-Package 重新安装所有软件包。这…… -
关于c#:从另一个表单设置combobox selectedindex时出现问题
Trouble setting combobox selectedindex from another form 我正在尝试根据用户在第一个表单 (form1) 上选择的索引在另一个表单 (form2) 上设置 selectedin…… -
关于 c#:Notification Window – 防止窗口获得焦点
Notification Window - Preventing the window from ever getting focus 我在让通知框在 c# 中正常运行时遇到了一些问题。基本上,我在屏幕的右下角显示了一…… -
关于c#:在父进程被杀死后完成异步任务
Having an async task finish after parent process is killed 我正在尝试在 TFSBuild 完成后删除一个目录 (3gb)。我将任务放在 try finally 块中,以便它始…… -
关于 c#:WP8 如何创建基本页面
WP8 how to create base-page & use it 我已经google了,但没有得到任何有用的资源,所以我决定问。 问题: 我有一个 Windows Phone 8 C#/XAML .NET 4.5…… -
关于 c#:Automapper – 使用嵌套视图模型映射视图模型
Automapper - mapping a viewmodel with nested viewmodels 我有一个包含 IList 视图模型的视图模型: public class MyCustomViewModel { …… -
关于c#:cannot open windows service on computer \\’.\\’ in windows application
cannot open window service on computer '.' in window application 我开发了一个窗口应用程序并创建了一个服务。我在窗口应用程序中使用编码启动服务,但…… -
关于c#:Orchard Modules中如何实现多线程?
How to implement multi threading in Orchard Modules? 这是一个关于 Orchard 中多线程的常见问题。 我有一个带有控制器的模块,它提供了执行数据库同步的…… -
关于 c#:Mvc Contrib Portable area – 交换总线?
Mvc Contrib Portable areas - swap out the bus? 是否可以将公共汽车换成公共交通之类的东西?我的应用中已经有一个服务总线,所以不想再介绍一个。 理想情…… -
Watson IBM Speech to Text c# api
Watson IBM Speech to Text c# api 我使用以下示例从音频中识别文本 https://gist.github.com/nfriedly/0240e862901474a9447a600e5795d500 但我还需要时间码…… -
-
关于 c#:如何在 Windows 资源管理器中刷新文件的缩略图?
How do I refresh a file's thumbnail in Windows Explorer? 我们的 Windows 文件服务器安装了存档服务,用于"Stubbing"在定义的时间段内未访问的文件。当对…… -
关于 c#:Detecting drop connections
Detecting dropped connections 我有一台服务器和许多客户端。服务器需要知道客户端何时非正常断开连接(不发送 TCP FIN),以便它没有与该客户端关联的挂起连…… -
两个日期之间的 C# 时间段(以周为单位)
C# Time Period in weeks between 2 dates 我有一个网络应用程序,用户将在其中输入 2 个日期。一个 StartDate 和一个 EndDate。现在我想编写它,以便选择St…… -
关于多线程:C#中的线程和静态方法
Threading and static methods in C# 这里以一个无意义的扩展方法为例: public static class MyExtensions{ public static int MyExtensionMetho…… -
关于c#:如何在正则表达式中检查波斯字符格式
How to check persian character format in regex 本问题已经有最佳答案,请猛点这里访问。 如何对所有 utf8 字符使用正则表达式? 例如我想通过正则表达式…… -
关于c#:从JsonArray中提取JsonObject
Extracting JsonObject from JsonArray 我在从 Arry 中提取 JasonObject 时遇到问题,其中包含一些没有名称的对象。我已经通过批量请求表单 graph.facebook.…… -
关于 c#:将字符串作为文本文件上传到 SkyDrive?
Uploading string as text file to SkyDrive? 我正在尝试使用 C# 和 Live Connect API 将空白(或显示为"测试"的文本文件)上传到 SkyDrive。我到目前为止的代…… -
关于 c#:Database Schema 在 Asp.net Core 2.2 的运行时不变
Database Schema not changing at Runtime in Asp.net Core 2.2 & Entity Framework Core 我有一个应用程序,其中数据保存在不同用户的不同 sql 模式…… -
关于 c#:JSON.NET 的缓存策略是否会影响我的开发周期?
Is JSON.NET's caching strategy messing with my development cycle? 我正在尝试向我们系统中的现有数据合同添加一个字段。 (EF 代码优先,POCO 的属性为地…… -
关于 c#:Winform ClientSize 在 Maximize w/noborder 后超出屏幕尺寸
Winform ClientSize exceeds screen dimensions after Maximize w/ no border 我正在使用此代码在正常的 WindowState(具有相当大的边框样式)和最大化(具有无……