-
Notifications
You must be signed in to change notification settings - Fork 15
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
FluentQuery support (was V1ServiceFactory) #15
Comments
Glad you like the fluent interface! We'll take a look from our side for the service factory issue. |
I was just about to email you. And yes it's very very very nice. I looked into replacing it but have run into quite a few problems. Namely the fact that it doesn't recognize the V1Connector. If you can figure it out I'd love to see it. |
Also, is there a way we could get a ASP.NET MVC example? That'd work wonders for me. |
Can you clarify what you mean by "V1ServiceFactory"? That currently isn't part of the .NET SDK that we can tell, but perhaps I am not understanding what you mean. |
VersionOne.SDK.NET.APIClient/Example/GettingStarted/src/ |
Ok, thanks. That is an experimental approach that we have been working on, and not something that we are currently supporting. But thanks for expressing interest! |
Sorry it's been so long. I'm glad you liked the FluentQueries. We are picking up this work to get it to become official soon! |
I just interviewed for that internship again Tuesday! I don't think I'll be On Thu, Apr 28, 2016 at 1:35 PM Josh Gough notifications@github.com wrote:
|
@GriffinNowak I know it might not be of interest anymore based on what you just said, but I just pushed a branch up that brings formal support of the FluentyQuery into the SDK. And, it's totally encsapsulated so there is absolutely no need to worry about the Here's one of the example programs: V1Connector
.WithInstanceUrl(BaseUrl)
.WithUserAgentHeader("Sample", "0.0.0")
.WithUsernameAndPassword(UserName, Password)
.Query("TeamRoom")
.Select("Team.Name", "Name")
.Success(assets => {
foreach (Asset asset in assets) {
var team = asset["Team.Name"] + ":" + asset["Name"];
Console.WriteLine(team);
}
})
.Execute(); The next thing I'm planning to add is to enhance the The free-standing |
Fluent Queries are the best thing to ever hit this API. Thing is the service factory is using the depreciated V1APIConnector. I haven't found a way around it either. I'm trying.
The text was updated successfully, but these errors were encountered: