Skip to content

Commit 71a0936

Browse files
CopilotKSemenenko
andcommitted
Remove dotnet installation instructions and focus on important project information
Co-authored-by: KSemenenko <4385716+KSemenenko@users.noreply.github.com>
1 parent 23611d2 commit 71a0936

File tree

1 file changed

+14
-29
lines changed

1 file changed

+14
-29
lines changed

.github/copilot-instructions.md

Lines changed: 14 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,13 @@
11
# ManagedCode.Communication
22

3-
A high-performance .NET 9.0 library providing Result types and railway-oriented programming patterns for robust error handling in distributed applications.
3+
Result pattern for .NET that replaces exceptions with type-safe return values. Features railway-oriented programming, ASP.NET Core integration, RFC 7807 Problem Details, and built-in pagination.
44

5-
## Project Requirements
5+
## Build Commands
66

7-
This project requires **.NET 9.0 SDK**. Install it using:
8-
9-
```bash
10-
dotnet --list-sdks # Check if 9.0.x is available
11-
```
12-
13-
If not available, install .NET 9.0:
14-
```bash
15-
wget -q https://dot.net/v1/dotnet-install.sh && chmod +x dotnet-install.sh
16-
./dotnet-install.sh --version 9.0.100 --install-dir ~/.dotnet
17-
export PATH="~/.dotnet:$PATH"
18-
```
19-
20-
## Build and Test
21-
22-
**Restore packages:**
237
```bash
248
dotnet restore
25-
```
26-
27-
**Build all projects:**
28-
```bash
29-
dotnet build --configuration Release
30-
```
31-
32-
**Run tests:**
33-
```bash
34-
dotnet test --configuration Release --no-build
9+
dotnet build
10+
dotnet test
3511
```
3612

3713
## Project Structure
@@ -44,7 +20,16 @@ dotnet test --configuration Release --no-build
4420

4521
## Key Concepts
4622

47-
This library implements railway-oriented programming patterns using Result types for error handling without exceptions:
23+
This library implements the Result pattern for functional error handling without exceptions:
24+
25+
**Core Result Types:**
26+
- `Result` - Success/failure without a value
27+
- `Result<T>` - Success with value T or failure
28+
- `CollectionResult<T>` - Collections with built-in pagination
29+
- `Problem` - RFC 7807 compliant error details
30+
31+
**Railway-Oriented Programming:**
32+
Chain operations using functional combinators like `Map`, `Bind`/`Then`, `Tap`/`Do`, `Match`, and `Compensate`.
4833

4934
```csharp
5035
// Basic Result usage

0 commit comments

Comments
 (0)