摘要: 一、什么是应用程序域? 应用程序域是一个逻辑容器,它允许多个程序集在同一个进程内进行,但会组织它们直接访问属于其他程序的内存,此外应用程序域还提供了错误隔离机制,这是因为未处理的异常不会影响到其他应用程序域。所以在其他应用程序域的应用程序可以不受干扰地继续运行! 使用应用程序域有什么好处? 1.应用 阅读全文
posted @ 2016-10-11 15:29 镹丶天 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 一、服务端代码 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System 阅读全文
posted @ 2016-10-11 15:29 镹丶天 阅读(1663) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Configuration;using System 阅读全文
posted @ 2016-10-11 15:28 镹丶天 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 叙述: Entity Framework 是微软借鉴ORM思想开发自己的ORM框架,ORM就是将数据表与实体对象相互映射的一种思想。 Entity Framework 的本质还是ADO.NET操作,只是它将ADO.NET封装的更加高级而已。如何使用? 1,创建实体对象模型。 2.选择从数据库生成实体模型。这里的... 阅读全文
posted @ 2016-10-11 15:26 镹丶天 阅读(264) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data.SQLite;using System.Data;namespace MySQLiteDemo{ public class SqliteHelper { private string _connectStrin... 阅读全文
posted @ 2016-10-11 15:25 镹丶天 阅读(399) 评论(0) 推荐(0) 编辑

Throw new Exception("object not found");