“2017年11月”存档文章有63 篇
GETTING STARTED WITH RABBITMQ IN ASP.NET
2017/11/17 17:22:39
In the last post we looked at how to set up RabbitMQ in a Windows container. It was quite the adventure and I’m sure it was woth the time I invested. Probably. Now we have it set up we can get to writ...
Application.Exit() Environment.Exit(0)
2017/11/17 15:36:01
Application.Exit(),先停止线程,然后终止进程.Environment.Exit(0)直接终止进程.
2、Angular 学习 - 创建组件
2017/11/15 22:30:28
Angular起初是以Web Component标准为蓝本进行设计的,在Angular中引入了视图包装(ViewEncapsulation)的概念,允许通过设置ViewEncapsulation.Navtive来使用原生的Shadow DOM.首先上一段代码,如下:import {Component} from '@angular/core';@Component({ selector:'c...
Can't bind to 'ngModel' since it isn't a known property of 'input'.
2017/11/15 21:55:56
今天在学习Angular 2的时候,实例报错了,如下:Can't bind to 'ngModel' since it isn't a known property of 'input'. 解决方案:app.module.ts下面增加如下内容:import { BrowserModule } from '@angular/platform-browser';import { NgModule } ...
1、Angular 学习 - 开发框架搭设
2017/11/14 22:38:51
最近学习Anuglar 2,主要参考书籍是《揭秘Angular 2》,是由广发证券互联网金融团队所著。首先是安装npm,下载地址及配置方法在这篇文章里面:nodejs安装不了和npm安装失败的解决方法我使用的是WebStrom,可以自己在官网上下载,这是一个收费软件,激活在这里:webstorm 服务器激活地址一切准备妥当开始吧!开始新建项目,配置如图所示:什么是Angular CLI?可以参考这...
远程连接RabbitMQ失败
2017/11/14 15:53:51
为了避免污染宿主系统环境,于是在虚拟机中搭建了一个linux环境并且按照了rabbitmq-server。然后在远程连接的时候一直连接失败。官网上面给的例子都是在本地使用系统默认的guest用户连接的。没有给出远程连接的例子,于是阅读文档发现:When the server first starts running, and detects that its database is uniniti...
Ubuntu 16.04 安装 RabbitMQ
2017/11/14 14:45:38
#1 更新12$ sudo apt-get update$ sudo apt-get upgrade#2 安装Erlang123456$ cd /tmp$ wget http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc$ sudo apt-key add erlang_solutions.asc$ sudo apt-get...