摘要:
using System.Collections.Generic; using System.Linq; namespace BasicChat { public class ConnectionMapping<T> { private readonly Dictionary<T, HashSet< 阅读全文
摘要:
public class User { public string UserId { get; set; } public string UserName { get; set; } public bool Equals(User user) => user.UserId.Equals(UserId 阅读全文
摘要:
Ref: SignalR - authenticating with access token (讲解了如何在Javascript中添加其他字段) Authentication and authorization in ASP.NET Core SignalR Struggling to authe 阅读全文
摘要:
使用的是MSSQLSever. 使用 select top 50 percent * from [table] order by newid() 可以随机选取table的50%行。 使用 update randowmRecords set randowmRecords.[column] = [val 阅读全文
摘要:
使用 Scaffold-DbContext [Connection String] Microsoft.EntityFrameworkCore.SqlServer 生成entities Ref: Creating a Model for an Existing Database in Entity 阅读全文
摘要:
reading list 4. Four ways to style react components Modular CSS with React Moving from SCSS to styled-components: Advantages and caveats How to use st 阅读全文