tagged [client]

JsonServiceClient Posting File with Parameters and Custom Header

JsonServiceClient Posting File with Parameters and Custom Header All, We are trying to post files with data using the latest V3 version of SS, and have finally achieved success with one exception. We ...

What is the best way for a client app to find a server on a local network in C#?

What is the best way for a client app to find a server on a local network in C#? The client connects to the server using GenuineChannels (we are considering switching to DotNetRemoting). What I mean b...

How to convert from []byte to int in Go Programming

How to convert from []byte to int in Go Programming I need to create a client-server example over TCP. In the client side I read 2 numbers and I send them to the server. The problem I faced is that I ...

How to acess the appsettings in blazor webassembly

How to acess the appsettings in blazor webassembly I currentying trying to save the api url in an appsettings. However, the configuration.Propertiers seems to be empty. I am not sure how to get the se...

5 Mar at 19:50

Consuming Servicestack SOAP Service

Consuming Servicestack SOAP Service I'm developing a Servicestack SOAP service. I wanted to generate the proxy class in VS2013 in order to test the consumer, but the proxy is empty :) . Yes, I know th...

18 Jun at 10:25

Differences between Microsoft .NET 4.0 full Framework and Client Profile

Differences between Microsoft .NET 4.0 full Framework and Client Profile The Microsoft .NET Framework 4.0 full installer (32- and 64-bit) is 48.1 MB and the Client Profile installer is 41.0 MB. The ex...

22 May at 13:47

Pass request headers in a jQuery AJAX GET call

Pass request headers in a jQuery AJAX GET call I am trying to pass request headers in an AJAX GET using jQuery. In the following block, "data" automatically passes the values in the querystring. Is th...

19 Apr at 04:7

Add a GET parameter to a POST request with RestSharp

Add a GET parameter to a POST request with RestSharp I want to make a POST request to a URL like this: And I want to send JSON in the body. My code looks something like this: ``` var client = new Rest...

SignalR Client How to Set user when start connection?

SignalR Client How to Set user when start connection? Server side: Client side (in Console project): ``` IHubProxy _hub; string url = @"http://localhost:8080/"; var connection = new HubConnection(url)...

OAuth2 and Google API: access token expiration time?

OAuth2 and Google API: access token expiration time? We have a standalone Java application (see ["Installed application"](https://developers.google.com/identity/protocols/OAuth2#installed)) which runs...

IRC library in C#

IRC library in C# I want to embed a small chat window in my program that will function as a basic IRC client. This requires limited functionality such as connecting, disconnecting, listing users, and ...

8 Apr at 00:4

What is the minimum client footprint required to connect C# to an Oracle database?

What is the minimum client footprint required to connect C# to an Oracle database? I have successfully connected to an Oracle database (10g) from C# (Visual Studio 2008) by downloading and installing ...

16 Sep at 09:11

The request was aborted: Could not create SSL/TLS secure channel - Decrypt returned SEC_I_RENEGOTIATE

The request was aborted: Could not create SSL/TLS secure channel - Decrypt returned SEC_I_RENEGOTIATE Our application consumes a web service in C# (.Net framework 3.5). Getting the correct response fr...

How to configure multiple HttpClient instances with different configurations in Blazor WebAssembly

How to configure multiple HttpClient instances with different configurations in Blazor WebAssembly I'm trying to configure multiple API urls in the Program.cs class in Blazor WASM. I'm not seeing an A...

17 Feb at 21:33

Getting the text from a drop-down box

Getting the text from a drop-down box This gets the value of whatever is selected in my dropdown menu. I cannot however find out what property to go after for the text that's currently displayed by th...

9 Jan at 06:32

Removing elements with Array.map in JavaScript

Removing elements with Array.map in JavaScript I would like to filter an array of items by using the `map()` function. Here is a code snippet: The problem is that filtered out items still uses space i...

ServiceStack Client multiple GET arguments (not comma separated)

ServiceStack Client multiple GET arguments (not comma separated) I am writing a client wrapper over a RESTful API which can take more than one value for an argument. Take for example this endpoint My ...

Servicestack - run built-in clients on the .net client profile framework

Servicestack - run built-in clients on the .net client profile framework Is it possible to run servicestack's built-in clients on the .net client profile framework? When i change the target framework ...

22 Jan at 12:39

Possible to validate ServiceStack's authentication cookie client side?

Possible to validate ServiceStack's authentication cookie client side? I am having a HTML (Angular) site which has a login button and needs (of course) to present a different GUI when the user is auth...

How to use T4 to generate two files at the same time from one template?

How to use T4 to generate two files at the same time from one template? I am having a case in which I need to generate two CSharp code files with pretty the same code but different namespace of the in...

Sending an email with an image embedded in the body from C#

Sending an email with an image embedded in the body from C# My problem is how to send an email with attachemnts to the default mail client programmatically. My requirements are: 1. setting destination...

17 Dec at 12:14

How to access the HTTP request body using RestSharp?

How to access the HTTP request body using RestSharp? I'm building a RESTful API client using C# .NET 3.5. I first started building it with the good old `HttpWebClient` (and `HttpWebResponse`), I could...

24 Dec at 12:25

Tutorial: Simple WCF XML-RPC client

Tutorial: Simple WCF XML-RPC client I have built my own little custom XML-RPC server, and since I'd like to keep things simple, on both server and client side, what I would like to accomplish is to cr...

15 Aug at 14:45

Why is my Python App Engine app using the Translate API getting an error of ImportError: No module named apiclient.discovery?

Why is my Python App Engine app using the Translate API getting an error of ImportError: No module named apiclient.discovery? I got this error in have used Google Translate API, But I don't know how t...

How to use FTP get/put from Solaris to IBM Mainframe?

How to use FTP get/put from Solaris to IBM Mainframe? For some reason when I try to use get or put from a Solaris box to an IBM mainframe, the ftp client appears to hang. I've tried all sorts of diffe...

6 May at 17:36