Git Product home page Git Product logo

windowsdeviceportalwrapper's Introduction

WindowsDevicePortalWrapper

A client library that wraps the Windows Device Portal REST APIs.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Get Started using the library.



To start contributing, see Contributing



For source code documentation, see https://microsoft.github.io/WindowsDevicePortalWrapper/annotated.html



For documentation on the WDP REST endpoints which the project wraps, see the following references.

Core methods

Windows Device Portal Core API reference


HoloLens specific methods

HoloLens Device Portal API reference


Xbox One specific methods

Xbox Device Portal API reference


windowsdeviceportalwrapper's People

Contributors

artsouflms avatar cbaud avatar dotmorten avatar gregpettyjohn avatar hpsin avatar jwittner avatar karann-msft avatar keveleigh avatar matthyman avatar mgurlitz avatar microsoft-github-policy-service[bot] avatar msftgits avatar namkedia avatar rachitb777 avatar taniachistyakova avatar valderra-jpl avatar veleek avatar williamsjason avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windowsdeviceportalwrapper's Issues

Mock generator should allow setting request bodies

It would be useful for some mock file generation to provide a request body, either as a string or a file or some other form, that the mock generator could use in its request. Some responses can only be generated this way.

Need "GettingStarted.md"

Docs on how to get the project up and running, details on picking a test app to work with, and how to add command line args to make it easy to debug.

Improve .NET handling of certificate validation

DumpCollection API is unimplemented

Collecting dumps, both processes and crash dumps, is unimplemented.
This can be found in Shared/Core/DumpCollection.cs.

Documentation on the DumpCollection API can be found on MSDN

userAgentValue is invalid

Since merging #72 all http requests (and thus tests) fail with the exception: {"The format of value 'WindowsDevicePortalWrapper/v0.9.0.0/dotnet' is invalid."}. I have traced this to ApplyUserAgentHeader which can be fixed by replacing the "/" characters with "-" characters.

There's no way to find Device Portal instances via DNS-SD

Device Portal advertises over DNS-SD so that other clients can find it. The Wrapper project should have a generic way of detecting and connecting to the service, regardless of what DeviceFamily it belongs to.

Docs for the DNS-SD broadcast are on MSDN

ETW APIs are unimplemented

The ETW collection APIs for Core are unimplemented.
The stub file is in Shared/Core/Etw.cs
Docs for the ETW collection APIs can be found on MSDN

DNS-SD tests

Note: this is for just the /api/dns-sd/tag[s] APIs, not the DNS-SD advertisement that Device Portal performs.

Remaining Xbox Specific endpoints need wrappers

There are only four remaining Xbox specific APIs (some of these will move to CORE in the future but they are Xbox only right now).

/api/app/packagemanager/upload
/ext/screenshot
/ext/xboxlive/sandbox
/ext/fiddler

Version should be included in the User-Agent header

Right now we can't determine anything about the version of WDPW which is calling WDP from the User-Agent header. We should get information added which will help out here.

One thing to keep in mind is that people forking the project, etc can complicate this beyond 'official released versions'.

Provide a way to store default IP + credentials

This would be useful functionality that we should investigate.

We might be able to use Credential storing built into Windows to store a username and password for a given IP. Storing a default IP could be done in a registry setting on a per-test app basis or via some other method (xbox already uses a reg setting for our other tools which is why I mention that).

TestAppHL doesn't support resume from suspend

failing to get the CSRF token value in the UWP wrapper

when we issue the fetch for the CSRF token (set the token value to Fetch in Get requests), we do not appear to be getting the value back in the response. current assumption is that the header is not actually getting added to the Get request successfully

Need a GettingStarted.md

This should have 'first steps' for using the library along with device specific steps for each device type.

We should link to it in the Contributing.md.

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.