-
Notifications
You must be signed in to change notification settings - Fork 706
Csharp/effinitive framework core #8878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Csharp/effinitive framework core #8878
Conversation
|
|
||
| public override Task<EmptyResponse> HandleAsync( | ||
| EmptyRequest request, | ||
| CancellationToken cancellationToken = default) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this for ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you reffering to the CancellationToken cancellationToken = default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or my handler like endpoints?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CancellationToken cancellationToken = default)
is just a curiosity
Co-authored-by: Marwan Rabbâa <[email protected]>
Co-authored-by: Marwan Rabbâa <[email protected]>
…/HBartosch/web-frameworks into csharp/effinitive-framework-core
This pull request introduces the initial setup for an Effinitive Framework–based C# web application. It includes project scaffolding, configuration files, and the implementation of basic HTTP endpoints. The main changes are grouped into project setup, endpoint implementation, and metadata updates.
Project setup:
.NET 10.0and referencing theEffinitiveFramework.Corepackage inweb.csproj.config.yamlspecifying the framework website and version.Endpoint implementation:
Program.cswith three endpoints: a root endpoint (/), a GET endpoint to retrieve a user by ID (/user/{id}), and a POST endpoint to create a user. Supporting request/response classes were also defined.Metadata updates:
effinitive-frameworktodata.json, including its label, language, website, and version.