GithubHelp home page GithubHelp logo

project test about hadotnet HOT 4 CLOSED

qjake avatar qjake commented on July 21, 2024
project test

from hadotnet.

Comments (4)

qJake avatar qJake commented on July 21, 2024

Yes, this is a code library for use in other C# applications using Visual Studio.

If you want to open this project and view or edit the source code, you will need Visual Studio 2019. VS2017 might work, but I have not tested it. Since it's free, why not update to 2019?

from hadotnet.

runtimevic avatar runtimevic commented on July 21, 2024

Hello,
you won't have any demo projects to see how it works.
Thanks a lot, Víctor.

from hadotnet.

qJake avatar qJake commented on July 21, 2024

Yes, that's correct. Issue #6 is being tracked, we will be adding code samples for how to use this library soon. For now, you can refer to the readme file on the repo's homepage for some lightweight samples.

from hadotnet.

glendower avatar glendower commented on July 21, 2024

I'm have a problem getting it to work
this is what I have, i'm using vb.net on VS2019

Imports HADotNet.Core
Imports HADotNet.Core.Clients

Public Class Form1

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
    ClientFactory.Initialize("https://192.168.2.3:8123/", "qVXkpEkaQovdC9JT4LI_yqgfOlQU")
    SurroundingSub()

End Sub

Private Async Sub SurroundingSub()

    Dim configClient = ClientFactory.GetClient(Of ConfigClient)()
    Dim config = Await configClient.GetConfiguration()
    ' config.LocationName: "Home"
    ' config.Version: 0.96.1
End Sub

End Class

I get an error 'System.NullReferenceException: 'Object reference not set to an instance of an object.'

What have I done wrong?

from hadotnet.

Related Issues (14)

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.