首页 > Web开发 > 详细

一些工具、网站、开源项目的整理

时间:2016-03-23 17:15:39      阅读:273      评论:0      收藏:0      [点我收藏+]

整理一下近期的收藏夹,以后根据项目中的使用情况,进行更新。

 

NuGet 

官网:NuGet Gallery | Home

Package Manager Dialog

 

各种数据库的连接字符串写法

ConnectionStrings.com - Forgot that connection string? Get it here!

 

SQLite

官网:SQLite Home Page

.NET封装:System.Data.SQLite: Home

SQLite可视化管理工具汇总

1、连接字符串

Normally, GUIDs are stored in a binary format. Use this connection string to store GUIDs as text.

Data Source=c:\mydb.db;Version=3;BinaryGUID=False;

Note that storing GUIDs as text uses more space in the database.

BinaryGUID=False一定要的,否则使用Guid作为参数查询数据的时候查不出来,即使Guid是对的。这是因为SQLite默认将Guid类型的数据以Binary类型来存储。

2、使用System.Data.SQLite

安装部署时,只需要复制.db数据库文件以及System.Data.SQLite的相关dll,不需要其他安装

2.1、VS2015设计时支持

System.Data.SQLite: Downloads Page下载sqlite-netFx46-setup-bundle-x86-2015-1.0.99.0.exe

This is the only setup package that is capable of installing the design-time components for Visual Studio 2015.

2.2、安装

使用NuGet,搜索并安装System.Data.SQLite.Core

自动添加文件

  • Debug\System.Data.SQLite.dll
  • Debug\System.Data.SQLite.xml
  • Debug\x86\SQLite.Interop.dll
  • Debug\x64\SQLite.Interop.dll

自动添加引用

  • System.Data.SQLite

 

Dapper

官网:GitHub - StackExchange/dapper-dot-net: Dapper - a simple object mapper for .Net

Dapper C# 访问SQLite - 百千合 - 博客园

SQLite + Dapper = Simple Data Access Layer

安装

使用NuGet,搜索并安装Dapper

自动添加文件

  • Debug\Dapper.dll
  • Debug\Dapper.pdb
  • Debug\Dapper.xml

自动添加引用

  • Dapper

 

Json.NET

官网:Json.NET - Newtonsoft

Json.NET - Home

GitHub - JamesNK/Newtonsoft.Json: Json.NET is a popular high-performance JSON framework for .NET

安装

使用NuGet,搜索并安装Newtonsoft.Json

自动添加文件

  • Debug\Newtonsoft.Json.dll
  • Debug\Newtonsoft.Json.xml

自动添加引用

  • Newtonsoft.Json

一些工具、网站、开源项目的整理

原文:http://www.cnblogs.com/MrEggplant/p/5311655.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!