“2017年11月”存档文章有63

GETTING STARTED WITH RABBITMQ IN ASP.NET

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)

Application.Exit(),先停止线程,然后终止进程.Environment.Exit(0)直接终止进程.

在ASP.NET中使用RabbitMQ

最近在学习RabbitMQ,感觉这个东西很有用:在有更多应用程序的时候,或者企业级应用的时候可以方便的信息交换。

2、Angular 学习 - 创建组件

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'.

今天在学习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 学习 - 开发框架搭设

最近学习Anuglar 2,主要参考书籍是《揭秘Angular 2》,是由广发证券互联网金融团队所著。首先是安装npm,下载地址及配置方法在这篇文章里面:nodejs安装不了和npm安装失败的解决方法我使用的是WebStrom,可以自己在官网上下载,这是一个收费软件,激活在这里:webstorm 服务器激活地址一切准备妥当开始吧!开始新建项目,配置如图所示:什么是Angular CLI?可以参考这...

远程连接RabbitMQ失败

为了避免污染宿主系统环境,于是在虚拟机中搭建了一个linux环境并且按照了rabbitmq-server。然后在远程连接的时候一直连接失败。官网上面给的例子都是在本地使用系统默认的guest用户连接的。没有给出远程连接的例子,于是阅读文档发现:When the server first starts running, and detects that its database is uniniti...

Ubuntu 16.04 安装 RabbitMQ

#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...