随笔分类 -  .Net Core

摘要:There are several reasons why it makes sense to build super-lightweight HTTP services (or, despite all the baggage the word brings, “microservices”). 阅读全文
posted @ 2017-02-03 10:55 nele 阅读(545) 评论(0) 推荐(0)
摘要:ASP.NET Core MVC now provides a true "one asp.net" framework that can be used for building both APIs and websites. But what if you only want to build 阅读全文
posted @ 2017-02-03 10:51 nele 阅读(205) 评论(0) 推荐(0)
摘要:Recently I built plug-ins support to my TemperatureStation IoT solution web site. The code for .NET Core is different from what we have seen on full . 阅读全文
posted @ 2017-02-03 10:33 nele 阅读(301) 评论(0) 推荐(0)
摘要:场景:我们会把一些配置信息,写在配置文件文件中,便于我们修改和配置。在之前的asp.net 中可以通过ConfigurationManger来获取web.config里面的配置。在.net core 如何操作配置信息。 我们借助“Options Pattern” 的思想来解决在配置文件的获取。 我有 阅读全文
posted @ 2017-01-05 23:39 nele 阅读(1143) 评论(0) 推荐(0)
摘要:本系列文章,将介绍本人在学习和使用EF Core的过程中的收获与心得。 或许有的地方讲的错误 欢迎大家批评指出。 1.EF Core 数据库迁移(Migration) 阅读全文
posted @ 2016-09-01 21:45 nele 阅读(303) 评论(0) 推荐(0)
摘要:工具与环境介绍 1.开发环境为vs 2015 2.mysql EF Core支持采用 Pomelo.EntityFrameworkCore.MySql 源代码地址(https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql 阅读全文
posted @ 2016-09-01 21:43 nele 阅读(31990) 评论(3) 推荐(1)
摘要:在学习.net core的路上,遇到很多坑,慢慢了解了.net core设计理念和设计思想(纯属跟人理解)。 再此整理了之前写的一些学习笔记,后续也会把新的学习新的加上。 1..net core 跨平台实践 2.asp.net core 使用EF7 Code First 创建数据库,同时使用命令创建 阅读全文
posted @ 2016-08-31 23:20 nele 阅读(268) 评论(0) 推荐(0)
摘要:本人采用Ubuntu 14.04 来实现.net core 的跨平台实践。 首先安装Ubuntu14.04系统。安装细节问百度。 1..net core console程序的跨平台 首先新建一个console程序 在一个空目录下用dotnet 命令行创建 修改project.json文件 在命令上中 阅读全文
posted @ 2016-07-01 21:31 nele 阅读(467) 评论(2) 推荐(0)
摘要:1.首先下载vs2015的Asp.Net Core(RC2)的插件工具(https://www.microsoft.com/net/core#windows)2.创建一个asp.net Core的项目,这里我创建一个最简单的项目,就是一个console,在这个基础上我准备一步一步搭建一个Asp.Ne 阅读全文
posted @ 2016-05-19 00:41 nele 阅读(18777) 评论(6) 推荐(2)