Commit ab039576 authored by 叶礼飞's avatar 叶礼飞

modify readme.md English version

modify readme.md English version
parent e3734620
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
[![AppVeyor](https://ci.appveyor.com/api/projects/status/4mpe0tbu7n126vyw?svg=true)](https://ci.appveyor.com/project/yuleyule66/cap) [![AppVeyor](https://ci.appveyor.com/api/projects/status/4mpe0tbu7n126vyw?svg=true)](https://ci.appveyor.com/project/yuleyule66/cap)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dotnetcore/CAP/master/LICENSE.txt) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dotnetcore/CAP/master/LICENSE.txt)
CAP is a library to achieve eventually consistent in distributed architectures system like SOA,MicroService. It is lightweight,easy to use and efficiently. CAP is a library to achieve eventually consistent in distributed architectures system like SOA,MicroService. It is lightweight,easy to use and efficiently.
## OverView ## OverView
...@@ -68,7 +68,7 @@ public void Configure(IApplicationBuilder app) ...@@ -68,7 +68,7 @@ public void Configure(IApplicationBuilder app)
``` ```
### Publishing ### Publish
Inject `ICapProducerService` in your Controller, then use the `ICapProducerService` to send message Inject `ICapProducerService` in your Controller, then use the `ICapProducerService` to send message
...@@ -95,7 +95,7 @@ public class PublishController : Controller ...@@ -95,7 +95,7 @@ public class PublishController : Controller
``` ```
### Subscribing ### Subscribe
**Action Method** **Action Method**
...@@ -128,7 +128,7 @@ public class PublishController : Controller ...@@ -128,7 +128,7 @@ public class PublishController : Controller
**Service Method** **Service Method**
If your subscribing method is not in the Controller,then your subscribe class need to Inheritance `IConsumerService`: If your subscribe method is not in the Controller,then your subscribe class need to Inheritance `IConsumerService`:
```cs ```cs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment