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
**Nwpie.Foundation.NetCore.SDK** is a comprehensive, modular SDK built for .NET Core (.NET 8) developers. It simplifies and enhances application development by providing an all-in-one solution with well-defined abstractions, robust utilities, and modularized components. This SDK is tailored for modern .NET Core projects and is fully supported with unit tests.
7
11
8
12
## Table of Contents
9
13
-[Features](#features)
10
14
-[Modules Overview](#modules-overview)
15
+
-[Quick Start](#quick-start)
11
16
-[Getting Started](#getting-started)
12
17
-[Clone the Repository](#clone-the-repository)
13
18
-[Explore Modules](#explore-modules)
@@ -49,6 +54,49 @@ The SDK provides the following modules, located under the `src/` directory:
49
54
50
55
---
51
56
57
+
## Quick Start
58
+
59
+
### Caching
60
+
61
+
Register local or Redis caching in your DI container:
62
+
63
+
```csharp
64
+
// In-memory cache
65
+
services.AddLocalCache<ILocalCache>();
66
+
services.AddAsDefaultICache<ILocalCache>();
67
+
68
+
// Redis cache (requires Caching.Redis module)
69
+
services.AddRedisCache<IRedisCache>();
70
+
```
71
+
72
+
### Serialization
73
+
74
+
Register the default JSON serializer:
75
+
76
+
```csharp
77
+
services.AddDefaultSerializer<ISerializer>();
78
+
```
79
+
80
+
### Service Startup
81
+
82
+
A typical service `Startup.cs` wires up serialization, caching, and module-specific services:
See the [samples/](samples/) directory for complete working examples (MiniSite, Serverless).
97
+
98
+
---
99
+
52
100
## Getting Started
53
101
54
102
### Clone the Repository
@@ -85,11 +133,7 @@ This will execute all unit tests and verify the SDK's functionality.
85
133
---
86
134
87
135
## Contributing
88
-
We welcome contributions from the open-source community! To get involved:
89
-
90
-
1. Fork the repository.
91
-
2. Create a feature branch.
92
-
3. Submit a pull request with detailed information about your changes.
136
+
We welcome contributions from the open-source community! See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
93
137
94
138
---
95
139
@@ -99,14 +143,4 @@ This project is licensed under the BSD-3-Clause License. See the [LICENSE](LICEN
99
143
---
100
144
101
145
## Support
102
-
If you encounter any issues or have suggestions, feel free to open an issue on GitHub. We'd love to hear your feedback!
103
-
104
-
---
105
-
106
-
Feel free to adapt this template as needed for your project's specifics!
107
-
108
-
---
109
-
110
-
Happy coding! 🚀
111
-
112
-
---
146
+
If you encounter any issues or have suggestions, feel free to open an [issue](https://github.com/osisdie/Nwpie.Foundation.NetCore.SDK/issues) on GitHub.
0 commit comments