Git Product home page Git Product logo

Comments (9)

mmisztal1980 avatar mmisztal1980 commented on June 18, 2024

just curious, how is this coming along?

from kubernetes.dotnet.

masroorhasan avatar masroorhasan commented on June 18, 2024

Ola @mmisztal1980, unfortunately I won't be able to get to it for some time - but please feel free to send a PR and I will definitely be happy to review it :).

from kubernetes.dotnet.

davidorbelian avatar davidorbelian commented on June 18, 2024

Hey @masroorhasan.
I just tried to move your existing source code to a new Net Standard project and looks like RestSharp does not support 1.3, only 2.0.

Also I would like you to look at dependencies and say what you think about this:

  • BouncyCastle.NetCore 1.8.2
  • Microsoft.CSharp 4.5.0
  • Newtonsoft.Json 11.0.2
  • NUnit 3.10.1
  • RestSharp 106.3.0
  • System.ComponentModel.Annotations 4.5.0
  • YamlDotNet 4.3.1

All are OK with Net Standard 1.3 except the RestSharp.

P.S. I did not check how does this build work yet, but the build is successful for now.

from kubernetes.dotnet.

felixfbecker avatar felixfbecker commented on June 18, 2024

So would it be possible to get .netstandard 2.0 support as a first step?

from kubernetes.dotnet.

masroorhasan avatar masroorhasan commented on June 18, 2024

@davidorbelian Thank you! The reason I kept this to DotNet.Framework only was exactly because of RestSharp issues with Net Standard. Since the underlying http client is rest sharp (from swagger codegen), making RestSharp a hard dependency. If you've tested with Net Standard 2.0 and its working then feel free to put up the PR :). The only thing i'm worried about is that RestSharp will build/compile fine with Net Standard 2.0 but blowing up at runtime due to underlying incompatibility.

@felixfbecker Unfortunately I don't have time/resources to investigate deeper into Net Standard compatibility but if David's PR is good to go that can definitely be an option.

from kubernetes.dotnet.

felixfbecker avatar felixfbecker commented on June 18, 2024

@davidorbelian could you share your progress? I was not able to get it to work myself

from kubernetes.dotnet.

jvdenning avatar jvdenning commented on June 18, 2024

@davidorbelian I would be keen to do this - would be great to have a head start - any update possible? at least any gotchas/guidance?
Many thanks in advance.

from kubernetes.dotnet.

felixfbecker avatar felixfbecker commented on June 18, 2024

I've been having an amazing experience with https://github.com/tintoy/dotnet-kube-client instead, which supports .NET standard.

from kubernetes.dotnet.

davidorbelian avatar davidorbelian commented on June 18, 2024

@felixfbecker @jvdenning Unfortunately no. Sorry for late answer. Now I'm very busy with my basic work and there is no time to experiment. I hope you find what you're looking for. Good luck!

from kubernetes.dotnet.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.