Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm new to VersionOne usage. I have downloaded the dll's of VersionOne API client and 'am trying to use to get following agile metrics. I'm trying to write a sample .Net application which should be able to pull data from the hosted version one site. I have read few blogs and came to know that VersionOne supports cross language API integration. But, currently I'm stuck in getting the following details to start with.
Can anyone please help me in this regard.
How to get the list of projects under "Programs" using V1Instance class?
How to get the list of all stories?
How to get data to create burn charts?
Consider the VersionOne is hosted in this website:
https://v1.com/v1/..
Also can you please suggest any website where I can get enough information for using versionone api's to retrive data.
Thanks in advance!!!
The critical piece of information is that ScopeLabel is what you see as Program in the VersionOne UI. Without that knowledge, you'll search all over the developer docs and source code and you won't find what you need.
Armed with that, you would discover that ScopeLabel is not in the SDK.NET Object Model. Moreover, for the uses you are describing (like getting data for a burndown chart), you should not use the Object Model. It was designed for fine-grained access like reading and writing individual Stories. Due to the Fallacies of Distributed Computing, it performs very poorly for course-grained reporting needs.
A better starting point is the documentation on API Query for Burndown Data. You can also find some sample source code in the VersionOne OAuth2 Sample Clients on GitHub, specifically see the CSharp YamlClient. By no means is it a finished application, but it will be a much better starting point.
Try having a look through the code in here. For example a quick search turned up using the Projects property on V1Instance to get projects, the projects.GetStories method on Project to get the list of stories.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I hope there is someone here who could help me:
Due to a project for the university I'm trying to implement a cross-platform app (using Xammarin&Visualstudios&C#). We want to send vitaldata (like steps, pulse, ecg, etc.) from our Smartwatches to the Google Fit App and then integrate the data from the Google Fit API into our own App. It's the first time I'm working with an API and I don't really understand how I can implement it. There are several examples on the internet and also instructions directly from Google (https://developers.google.com/fit/android/get-started), but they are not designed for Visual Studios and Xamarin. Furthermore the packages used there are not available for Xamarin.
What I have found out and implemented so far:
OAuth at the Google Console
the NuGet package is apparently called Google.Apis.Fitness.v1 (https://googleapis.dev/dotnet/Google.Apis.Fitness.v1/latest/api/Google.Apis.Fitness.v1.html)
What would be the appropriate steps to take? Do I first have to create a client and how do I do that? For example, how do I access the "steps" counter?
It would be very nice if someone could help me with the implementation.
Thanks a lot
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm in a situation where I do not have the option to connect directly to a database (the typical ConnectionString and DBContext way), but instead, I'm forced to use a RESTful API to get and post data from, and to the database.
I difficult to explain, so here's a tiny architectural graph instead.
Easy to see, the web application can talk with the REST API, but it CANNOT connect directly to the database
PROBLEM
I'd love to use the built-in authentication system that ASP.NET Identity provides, but I'm going in completely blind. I have not been able to find any examples with REST API calls to get users, roles, etc.
I hope that some of you might be able to lend a hand. The architecture is as it is, and it's out of my hands to change it.
My team is currently using a similar system. Our solution was to use Authentication Forms, which we found easy to setup using this article. Granted it is a bit outdated, but it works for what we wanted to accomplish with a small amount of time.
Sorry, I know Its not much, but it was a very easy tutorial to follow. Feel free to ask for any more examples as you work through it!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Some background: We have 3 websites that are all part of a standard workflow. Each website handles a different part of the workflow.
Website 1 is for sales (pricing, sales, etc)
Website 2 is for engineers (implementation, coding, testing)
Website 3 is for reporting (used by all but primarily for administration and management)
We're gearing up to add notifications in a way that's a lot like how StackOverflow does notifications. I actually posted this on Meta Stackoverflow because that seemed like the best route, but the question didn't get very far. The notifications in our context would be things like "John Smith's timesheet is late" or "You have been assigned to a project"
Now I'm curious as to how other developers have set this up. I'm primarily worried about code repetition and maintenance at this stage.
Specifically, should each website be responsible for implementing its own notification client? That seems like it'd be really easy for code bases to get out of sync. But at the same time, even if you build a library you still need to handle the HTML templates somehow. How much duplication of functionality is acceptable? I'm at a loss here.
As you can tell, I'm not really sure where to start. If this were for a single website it'd be a different story, but implementing it across multiple websites at the same time has be puzzled.
Some miscellaneous facts about our stack:
Server side: ASP.NET MVC 4 (C#)
Cliebnt side: jQuery + Knockout
Database side: SQL Server w/ LINQ to SQL
IE not supported.
You can also do something like google +1 button. Link to a javascript common to everybody and have a custom html tag that will indicate where to put the data with configuration if needed.
Since you own all the websites, you can put everything in it's own .dll and add it to the solution of each solution.
Are you need something like Redis.io? There is Publish-subscribe in Redis.io.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
We want to implement a application help and documentation system. It should be based on HTML, because there are a lot of existing files and it gives us the most flexibility. Currently we use CHM files. We want to enable internal people (not developers) to edit the contents.
We thought of a stand-alone application that supports TOC, indexing (tags), search, etc. We also thought of using a local web server.
Until now our application uses pure C#, it would be good to keep this.
We are totally clean of web/asp knowledge, so the question is:
Where is a good place to start?
You can use documentation apps like SandCastle
Which use your XML documentation in your code to generate a help file.
Finally we ended up implementing a local HTTP server:
Internal people creates HTML content within our internal network
Our own build-tool creates the TOC and a search index and packs all content to a zipped file
The zipped file is packed into the application installation
When the end-user call help from within our application, the local http server is started
The HTTP server uses the HttpListener class
With this, it is possible to have some HTTP queries for special tasks like starting tools of our application by clicking a link without interception of the browser
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I want to know how could I write a program in C# that opens a browser and go to google.com (I did that easily)
I want to write code to automate move mouse to the input text field, click the mouse and then enter some text. move mouse to search button and hit it.
I know I should deal with iAccessible interface but I did not find any useful source.
Any help will be appreciated.
You can also try Winium, an automation library similar to Selenium through which you can do automated testing and instruct it to perform testing even on remote machines. We have used it at our organization in combination with Selenium to perform automated testing of Windows and Web modules. It is free to use and open source. Here are the links.
https://github.com/2gis/Winium and https://github.com/2gis/Winium.Desktop
Look at the Windows Automation API: http://msdn.microsoft.com/en-us/library/ms726294(VS.85).aspx
and the Test API: testapi.codeplex.com which has some related packages you'll likely need.
Sorry, can't post more than one link yet, but add the usual bits to get to the TestAPI site on codeplex.
You can try Visual Studio Test Suite it lets you record how you interact with your application and then lets you run it automaticly.
It's a powerful product.
If you're looking to understand UI Automation, I've just started that myself. I wrote this project so that other people could use it or understand themselves too:
http://code.google.com/p/wipflash/
Mostly it's based around the Patterns and Properties. You can see how I've used the Patterns here:
http://code.google.com/p/wipflash/source/browse/#hg/WiPFlash/Framework/Patterns
Hope it helps.
(Edit: I also answered a similar question here: WPF, Project White and Infragistics - you're probably looking for the ValuePattern).
There is a commercial solution that would do the job: Telerik WebUI Test Studio. It also supports Silverlight apps.
http://www.telerik.com/automated-testing-tools.aspx
Here is one positive review:
http://fczaja.blogspot.com/2011/01/ui-tests-automation-for-silverlight.html