Skip to content
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

Introduce an ASP.NET project to the Sample projects #1487

Closed
mindball opened this issue Jan 1, 2025 · 9 comments
Closed

Introduce an ASP.NET project to the Sample projects #1487

mindball opened this issue Jan 1, 2025 · 9 comments

Comments

@mindball
Copy link

mindball commented Jan 1, 2025

Motivation:
I've been looking at the different serialization options available on the documentation page and was wondering if you would be interested in a sample project that demonstrates their usages in ASP.NET.

As there is currently no support for the System.Text converter, that is the default for the minimal-api style project, I was thinking of starting with a basic Controllers API, which we would hopefully extend in the future.

In terms of methods, I was thinking of an API similar to the UnitConverter or maybe a "calculator-type" thing that uses one of the standard operations.

In addition, at work, we've been using some extensions that provide the necessary OpenAPI metadata, such that the API is nicely formatted in Swagger, that can also be added later.

@angularsen
Copy link
Owner

Hi, sure!
If you wanna build one, we can absolutely add it to the samples folder.

@lipchev
Copy link
Collaborator

lipchev commented Jan 1, 2025

@angularsen Full disclosure, I work with @mindball and pitched him the idea as a good-starting-issue.

Do you think we want this in v5 or directly in v6? I kinda lean towards the latter, as we haven't ported #1479 - the introduction of a new package in the SDK-style project is going to propagate to the main Directory.packages..

@angularsen
Copy link
Owner

angularsen commented Jan 1, 2025 via email

@lipchev
Copy link
Collaborator

lipchev commented Jan 1, 2025

I'm living in the v6 world, it's 2025, what is this v5 you guys keep talking about? 😂

It usually takes me at least 3-4 months to adjust...

@mindball
Copy link
Author

mindball commented Jan 2, 2025

Hi, sure! If you wanna build one, we can absolutely add it to the samples folder.

Great, I'm on it

Copy link

github-actions bot commented Feb 2, 2025

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Copy link

github-actions bot commented Feb 9, 2025

This issue was automatically closed due to inactivity.

@github-actions github-actions bot closed this as completed Feb 9, 2025
@mindball
Copy link
Author

mindball commented Feb 9, 2025

I noticed this issue was closed due to inactivity, but I’ve been working on this topic in my public repository: ASP.Net.UnitsNetSerializationExamples. I’ve been progressing on this in my spare time over weekends, which is why it took longer. However, I’m close to finishing and will have it ready as soon as possible.

@angularsen
Copy link
Owner

No problem, no rush on our end, so just take your time 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants