Announcing the Appwrite .NET SDK (Beta) 馃殌 #5820
Replies: 3 comments 10 replies
|
@adityaoberai This is awesome news! 馃憦 I think I should start learning a bit of .NET now. I'm still not at terms with the style guide for brackets 馃槅 but I will just rely on the linter for that |
|
Hello @adityaoberai , If that is the default Behavior, how to fetch next 25 users? |
|
Any news on Client SDK, Dotnet has lots of app models and framework that could take advantage of client SDK and game changer for many devs who need platform like appwrite. Currently dotnet has lots of different frameworks for building native, cross platform and web applications, eg: WinUI, UWP, WPF, Maui, Avalonia, Uno, Blazor Wasm, Unity, etc.. @adityaoberai |
Uh oh!
There was an error while loading. Please reload this page.
We're excited to share that we now have a .NET SDK available to build with Appwrite. This is a server-side SDK that targets .NET Standard 2.0, supporting a wide range of SDK versions across .NET, .NET Core, and .NET Framework.
This SDK is currently in beta, and we hope to improve it over the coming weeks. We would highly appreciate it if you would try it out and share your suggestions and feedback.
Installation
You can access the SDK via the NuGet Package Manager.
To use it in your .NET project, add this reference to your project's
.csprojfile:You can also install the package from the command line:
Getting Started
Initialize The SDK
Once you have installed the package, it is extremely easy to get started with the SDK; simply import the package in your code and set your Appwrite credentials to start making API calls.
Make API Requests
Once your SDK is initialized, you can start making API calls. Here are some examples:
Create A User
Add A Document
Upload A File
Trigger A Function Execution
Error Handling
The Appwrite .NET SDK throws an
AppwriteExceptionobject which includesmessage,code, andresponseproperties. You can handle any errors by catchingAppwriteExceptionand presenting themessageto the user or using the error types provided by Appwrite to decide the right type of error and display custom error messages. Below is an example.You can also visit our Playground for .NET repo and clone it to try out the .NET SDK in a test project.
Contributing and Sharing Feedback
In case you discover any bugs/issues, want to share suggestions, or make contributions to the .NET SDK, please visit Appwrite鈥檚 SDK Generator repository on GitHub.
All contributions, including those by people with commit access, must go through a pull request and be approved by an Appwrite core team member before merging. This is to ensure a proper review of all the contributions. You can learn more by visiting the repo鈥檚 Contribution Guide.
Further Steps
We hope you will try the .NET SDK in your upcoming projects and share any thoughts and concerns you have with us. Here are some resources you can use to learn more about Appwrite and start building projects:
All reactions