You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download and install Common.Logging 2.0.0.0 (`https://www.nuget.org/packages/Common.Logging/2.0.0`) or later. Copy Common.Logging.2.0.0\lib\2.0 to lib\net\2.0.
Download and install MSBuild.Extension.Pack, 1.9.1 (`https://www.nuget.org/packages/MSbuild.Extension.Pack/1.9.0`). Copy MSBuild.Extension.Pack.1.9.1 to tools\internal\msbuild.
86
-
87
-
#### <aname="shfb"></a>Sandcastle Help File Builder and Tools, 2019.11.17
88
-
Coherence uses Sandcastle Help File Builder and Tools to build the Coherence .NET documentation. Down load and install Sandcastle Help File Builder and Tools, 2019.11.17 (`https://github.com/EWSoftware/SHFB/releases`). Then copy the "Sandcastle Help File Builder" directory
Sandcastle Help File Builder and Tools requires Microsoft Build Tools 2015. You can down load Microsoft Build Tools 2015(`https://www.microsoft.com/en-us/download/details.aspx?id=48159`)or later and install it if you don't have it already.
73
+
The Coherence for .NET also depends on [docfx](https://dotnet.github.io/docfx/) to build documentation.
93
74
94
75
The following additional dependencies are required for testing:
95
-
1.[NUnit 2 releases, 2.6.2](#nunit)
96
-
1.[NUnit.Runners, 2.6.2](#nunitrunners)
97
-
1.[Ant, 1.7.0](#ant)
98
-
1. Java 1.8 or later
99
-
1.[WinHttpCertCfg.exe](#httpcerts)
100
-
101
-
#### <aname="nunit"></a>NUnit 2.6.2
102
-
Download and install NUnit, 2.6.2 (`https://nunit.org/download/#olderReleases`) or later. Copy NUnit.2.6.2 to tools\internal\nunit
Download and install NUnit.Runners, 2.6.2 (`https://www.nuget.org/packages/NUnit.Runners/2.6.2`) or later. Copy NUnit.Runners.2.6.2 to tools\internal\NUnit.Runners
76
+
1. Java 17 or later
106
77
107
-
#### <aname="ant"></a>Ant
108
-
Download and install Ant, 1.7.0 or later. Then copy it to under tools\internal\ant.
78
+
To build Coherence for .NET, you must run the dotnet build utility, passing in the desired target that you would like to execute.
79
+
Using .NET 6, the output from the build is located in the `src/<project>/bin/<Debug|Release>/net6.0` subdirectory.
80
+
Using .NET 8, the output from the build is located in the `src/<project>/bin/<Debug|Release>/net8.0` subdirectory.
109
81
110
-
#### <aname="httpcerts"></a>WinHttpCertCfg.exe
111
-
Download and install WinHttpCertCfg.exe ('https://www.microsoft.com/en-us/download/details.aspx?id=19801`). Then copy it to tools\internal\resourcekit.
82
+
To build Coherence clone this repository and run the following commands:
112
83
113
-
You can use NuGet Package Manager through Visual Studio or Develooper Command Prompt to download most of the dependency libraries and software.
114
-
115
-
If C:\coherence-net is your project root directory, it should contain the following directories
116
-
117
-
- C:\coherence-net\lib\net\2.0
118
-
- C:\coherence-net\tools\cluster-control
119
-
- C:\coherence-net\tools\internal\ant
120
-
- C:\coherence-net\tools\internal\cluster-control
121
-
- C:\coherence-net\tools\internal\msbuild
122
-
- C:\coherence-net\tools\internal\msbuild-custom
123
-
- C:\coherence-net\tools\internal\nunit
124
-
- C:\coherence-net\tools\internal\nunit.runners
125
-
- C:\coherence-net\tools\internal\resourcekit
126
-
- C:\coherence-net\tools\internal\shfb
127
-
- C:\coherence-net\tools\msbuild-custom
128
-
129
-
The Coherence for .NET build system is based upon msbuild. To build Coherence for .NET, you must run the msbuild build utility, passing in the desired target that you would like to execute.
130
-
The output from the build are in the build subdirectory.
131
-
132
-
To build Coherence for .NET, start a "Developer Command Prompt for VS" 2017 or 2019.
133
-
Clone this repository and run the following command:
@@ -399,43 +356,37 @@ The following are the available cache operations:
399
356
Map (?): cache welcomes
400
357
401
358
Map (welcomes): list
402
-
french = Bonjour
403
-
english = Hello
404
-
spanish = Hola
359
+
french = bonjour
360
+
english = hello
361
+
spanish = hola
405
362
406
363
Map (welcomes): bye
407
364
```
408
365
409
366
### <aname="testing"></a>Testing
410
367
411
-
To run Coherence for .NET test suite, you must have a coherence.jar. Using ant, you can provide a build.properties file in the tools\ant directory to specify a maven repository from which coherence.jar can be downloaded.
412
-
The test suite starts a Coherence server for the .NET clients to connect to run the tests.
368
+
To run Coherence for .NET test suite, first you must run a Coherence server. Go to tests/test-server folder and start server:
To run Coherence for .NET test suite starting a Coherence server in docker container, use the following commaond:
375
+
To run the test suite (excluding ASP.NET session tests that require the commercial edition of Coherence), use the following command:
419
376
420
377
```
421
-
msbuild /t:test Coherence.docker
378
+
dotnet test --filter FullyQualifiedName\!~Tangosol.Web
422
379
```
423
380
424
381
## Documentation
425
382
426
383
To build Coherence for .NET API documentation, run the following command. The API documentation can be viewed using Microsoft help viewer.
427
384
```
428
-
msbuild /t:doc Coherence.msbuild
429
-
```
430
-
To build Coherence for .NET installable package, use the following command. The command produces a Coherence.msi in the build directory that can be used to install Coherence for .NET.
431
-
```
432
-
msbuild /t:dist Coherence.msbuild
385
+
cd doc
386
+
docfx docfx.json
433
387
```
434
-
The resulting files:
435
-
436
-
`dist\14.1.2.0b0` - Coherence MSI installer
437
388
438
-
For further details on developing Coherence for .NET applications, see the documentation [here](https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.0/develop-remote-clients/creating-net-extend-clients.html).
389
+
For further details on developing Coherence for .NET applications, see the documentation [here](https://docs.oracle.com/en/middleware/standalone/coherence/14.1.2.0/develop-remote-clients/creating-net-extend-clients.html).
0 commit comments