Skip to content

Commit 3cfad7f

Browse files
committed
Add some language annotations
1 parent 12a0ea0 commit 3cfad7f

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

doc/configuration.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The configuration file has four sections: _WebApi_, _MessageQueue_, _Mail_, and
1313
The _WebApi_ section contains settings for the InEngine.NET's WebApi.
1414
Namely, the hostname and port of the web API.
1515

16-
```
16+
```js
1717
{
1818
// ...
1919
"WebApi": {
@@ -32,14 +32,14 @@ If these settings are not correct, then a connection exception will be thrown wh
3232
A queue called "myqueue" will not exist on a freshly installed RabbitMQ server.
3333
It will need to be created.
3434

35-
```
35+
```js
3636
{
3737
// ...
3838
"MessageQueue": {
3939
"QueueName": "myqueue",
4040
"ExchangeName": "amq.direct",
41-
"UserName": "guest",
42-
"Password": "guest",
41+
"UserName": "inengine",
42+
"Password": "secret",
4343
"HostName": "localhost",
4444
"VirtualHost": "/"
4545
},
@@ -52,7 +52,7 @@ It will need to be created.
5252
The _Elasticsearch_ section contains settings for connecting to a Elasticsearch server.
5353
If these settings are not correct, then a connection exception will be thrown when a job is scheduled.
5454

55-
```
55+
```js
5656
{
5757
// ...
5858
"Elasticsearch": {
@@ -70,7 +70,7 @@ If these settings are not correct, then a connection exception will be thrown wh
7070
The _Mail_ section contains settings for connecting to an SMTP server.
7171
If these settings are not correct, then a connection exception will be thrown when sending an email.
7272

73-
```
73+
```js
7474
{
7575
// ...
7676
"Mail": {
@@ -86,7 +86,7 @@ If these settings are not correct, then a connection exception will be thrown wh
8686
The _Database_ section contains settings for connecting to a either a SQL Server or MySQL server via [Entity Framework](http://msdn.microsoft.com/en-us/data/ef.aspx).
8787
If these settings are not correct, then a connection exception will be thrown when a SQL job runs.
8888

89-
```
89+
```js
9090
{
9191
// ...
9292
"Database": {
@@ -104,7 +104,7 @@ If these settings are not correct, then a connection exception will be thrown wh
104104
## Sample Configuration
105105
This is a sample configuration.
106106

107-
```
107+
```js
108108
{
109109
"WebApi": {
110110
"HostName": "localhost",
@@ -113,8 +113,8 @@ This is a sample configuration.
113113
"MessageQueue": {
114114
"QueueName": "myqueue",
115115
"ExchangeName": "amq.direct",
116-
"UserName": "guest",
117-
"Password": "guest",
116+
"UserName": "inengine",
117+
"Password": "secret",
118118
"HostName": "localhost",
119119
"VirtualHost": "/"
120120
},

doc/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ currentMenu: getting-started
1818

1919
### Visual Studio
2020
Run the following command in the Package Manager Console.
21-
```
21+
```sh
2222
PM> Install-Package IntegrationEngine
2323
```
2424

@@ -69,8 +69,8 @@ namespace MyProject
6969

7070
## Schedule a Job
7171
Post an HTTP request to the IntegrationServer API's IntegrationJob resource with a _JobType_ of
72-
"MyProject.MyIntegrationJob", the full name of the job.
72+
"MyProject.MyIntegrationJob" - the full name of the job.
7373

74-
```
74+
```sh
7575
curl --data "JobType=MyProject.MyIntegrationJob" http://localhost:9001/api/integrationjob
7676
```

0 commit comments

Comments
 (0)