WebApi HttpClient for .NET framework 3.5 [closed] - wcf

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Is there any package available of WebApi for .Net framework 3.5? I'm specifically looking forward to use HttpClient component of WebApi.
Is there any alternatives that work on .Net 3.5?

A very mature and very robust library that you can use for HTTP Requests is RestSharp. It has support for OAuth, pluggable serialization, and other HTTP concerns. It supports NET 3.5+, Silverlight 4, Windows Phone 7, Mono, MonoTouch.
It's open source and available via github. Here is a blog post about consuming WebAPI services with RestSharp. Check it out

You can use http://www.servicestack.net/ client for this. And it works ok with Nuget=)

Related

How do I implement OIDC authentication in Blazor WebAssembly? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am working on a PoC Project to verify blazor to be the right technology for our company internal web frontend applications. We have an internal identity provider (IdentityServer4 impl.) which I want to authenticate with. In the older projects where angular is being used, we use the javascript oidc client with implicit flow. As far as I understand OIDC, implicit flow should be perfectly fine for a blazor WebAssembly single page application. We have no dedicated server application for that particular frontend, just a few microservices where the frontend fetches data and therefore needs to provide an access token.
An OIDC client library or some example code (ideally both) would be really helpful.
Thanks!
I was in a situation where I needed an extendable library for Blazor WebAssembly supporting OpenID Connect (OIDC) with Proof Key for Code Exchange (PKCE). Therefore, I have created the open source ITfoxtec.Identity.BlazorWebAssembly.OpenidConnect library which is JavaScript free and pure .NET.
I would recommend you to give a try to Blazor.Auth0 (author here).
Blazor.Auth0 is a library for using the Authorization Code Grant with Proof Key for Code Exchange (PKCE) with Auth0's Universal Login in Blazor SPAs.
If you're not interested in adding/using a third-party service then at least the source code would help to drive you in the correct path.
I hope this helps :)

How to send Samsung knox message using API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
How to send Samsung knox message using API?
I think it must have some knox message open API, but I found nothing.
Is there any knox message API and example?
thx
There is no "messaging" capabilities of the Knox API. If you look at the Knox Premium API, you'll see the list of classes are clearly geared towards low-level device management for things like: VPN, firewall, app policy, security policy, etc.
See list of classes here:
https://seap.samsung.com/api-references/android-premium/reference/packages.html

WSO2 UserAdmin API document [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to learn about the WSO2 UserAdmin interface, but did not find the relevant document describes this part.
I can get UserAdmin.wsdl, but there is no explanation about the parameters.
Who knows is there a detailed description documentation about UserAdmin interface?
If you need the User Management functionality for WSO2 Carbon product. It is exposed through following two web services APIs in WSO2 carbon.
Remote User Management API: this is recommended to be used by external client applications.
UserAdmin service: this is mainly to be used by carbon UI client.
Therefore it is better to use the RemoteUserStoreManagerService service. It is available with the WSO2IS and also can be install with any other WSO2 product. RemoteUserStoreManagerService service contains simple API. You can even identify by looking at the WSDL. I do not think there is a public doc on this. But you can even try this service using SOAPUI tool. Therefore you can get much idea about the methods.
https://localhost:9443/services/RemoteUserStoreManagerService?wsdl
Also make sure that when accessing AdminServices of carbon from an external client, you need to first authenticate as the admin user. Basically you need to send admin user/password in basic authentication header

Grails API in combination with Native IOS application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I currently created a native IOS application, and now I'm working on the grails backend.
I'm a little new to the API concept, so I'm looking for some some good tutorials which cover the following questions:
How does the authentication from an IOS application to an API works using JSON?
How can I push a post to the backend using JSON?
I understand how to write an API in grails which can sent a list of a.e. books, but in the mobile app, a user can define his own items (templates in this case). When the user uses his credentials on another phone, his items need to be transferred to the phone. I currently use spring security to authenticate users on the backend application
For implementing the rest API client in your IOS app i'll suggest you to look to this library.
The authentication method right for your app and your API is not a simple question and depends on what app do and how. The more standard way yo authenticate apps and with API is OAuth 2.0

Testing tools for REST that support HTTP PATCH? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am currently implementing and ROA and need a testing tool to test my RESTful web services. Currently, we are using SOAP UI to do so. However, it doesn't appear that SOAP UI supports the HTTP PATCH verb. Does anyone have any recommendations for a tool that supports HTTP PATH?
If you are on Windows, Fiddler supports any arbitrary method.
Swat is a curl, Perl based DSL for automation testing web, rest services. As swat uses curl to create http requests, PATCH is not a problem, currently swat restricts http verbs to get, post, put, delete list list. Please open an issue on swat github project and I will add PATCH support with minimal efforts.
(*) disclosure - I am the author of swat.