随笔分类 - ASP.NET
这里是.net的技术资源,这里见证我要在微软这条路上走下去,由浅入深。
摘要:I am dealing with a Json file, I parsed it into jObject, I have another list which flattened the properties of a jobject which share part of the prope
阅读全文
摘要:what is openId open id is said to be a protocol which uses url as username, so if a website supports openId, user only needs to input password. you ca
阅读全文
摘要:top 使用abp的 redis cache 1. 在微软维护的github项目的release里找到redis的windows版本 64位 大约5M,安装,安装,然后在安装目录找到redis.windows.conf, 更改redis的密码 requirepassword 123456, 更改最大
阅读全文
摘要:abp是一个有用的框架,包含许多功能,可以用来作为脚手架。 直接在官方网站上输入相应的工程名称,选择对应的版本就会下载对应的版本。.net core 版本的可以使用后端框架部分来做api,包含了常用框架的所有信息。 更改使用mysql数据库: 需要首先更换相应的ef的包,卸载原来sqlserver的
阅读全文
摘要:using CapMon.Data; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Data.Entity; using System.Linq.Expressions; using CapMon.Utilities; n...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace CapMon....
阅读全文
摘要:var ticket = new FormsAuthenticationTicket(1, username, DateTime.Now, DateTime.Now.AddMinutes(FormsAuthentication.Timeout.Minutes), true, JsonConvert.SerializeObject(userinfo), FormsAuthe...
阅读全文
摘要:This article explains how to use a chart to display data in an ASP.NET Web Pages (Razor) website by using the Chart helper. What you'll learn: How to
阅读全文
摘要:Here, I want to record one thing, as to async and await methods, I've seen many misuses. Since these two keywords are about asynchronous programming,
阅读全文
摘要:this pager supports dual methods, memory pagination or direct usage.
阅读全文
摘要:one validator for backend .net webapi
阅读全文
摘要:need to set filtercontext.result=new redirectresult('linkcustompage'); done. so...
阅读全文
摘要:[DataContract] public class GroupDto { [DataMember] public int id { get; set; } [DataMember] public string name{ get; set; } [DataMember] public List Users { get; set; } ...
阅读全文
摘要:托管可扩展性框架 在 .NET 4 中使用托管可扩展性框架构建可组合的应用程序 Glenn Block 随着 Microsoft .NET Framework 4 的即将推出,您会发现手头上多了一种令人激动的新技术,这项技术将大大简化应用程序开发。如果您一直为如何设计更易于维护和扩展的应用程序而绞尽脑汁,请往下读。 托管可扩展性框架 (MEF) 是 .NET Framework 4 和 Sil...
阅读全文
摘要:Practical System Design using MEF MVVM RX MOQ Unit Tests in WPF Posted on May 21, 2015 by Arup Banerjee Prelude The project is a simple Temperature Co
阅读全文
摘要:The Managed Extensibility Framework (MEF) is a built-in set of elements that allows you to “export” and “import” objects across projects that allows y
阅读全文
摘要:What is Dependency Injection? A dependency is any object that another object requires. For example, it's common to define a repository that handles da
阅读全文
摘要:int: identical with int 32, capacity, Type Capacity Int16 -- (-32,768 to +32,767) Int32 (same with int) -- (-2,147,483,648 to +2,147,483,647) Int64 (i
阅读全文
摘要:namespace ConsoleApplication2 { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.
阅读全文
浙公网安备 33010602011771号