How to debug across eSpaces in Outsystems

0 Comments

  1. Set a breakpoint in the producer espace. 2. Tell the producer espace to "Debug in Public Area" 3. Tell the consumer espace to "Debug in Public Area" 4. Set the Entry eSpace, on

How to send correct UTF8 JSON to a Web Api controller

0 Comments

When posting UTF8 JSON data with the WebClient.UploadString function, I was getting NULL as value for the parameter on the controller function, the simple fix:   using (var client = new WebClient()) { // Set

Combine base URL string with a relative path string in C#

0 Comments

One way of combining a base URL string with a relative path string in C#:   [TestMethod] public void Combine_base_url_with_relative_path_test() { Char slash = '/'; // Make sure sharePointUrl does not end with a slash.

POST multiple parameters to an ASP .NET Web Api REST service from a .NET 3.5 assembly, by using one dynamic JObject "options" parameter.

0 Comments

  Client code in .NET 3.5   namespace WordMerge.EndToEndTests { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using Newtonsoft.Json; [TestClass] public class UnitTest1 { [TestMethod] public void Execute_a_post_request() { string url = "http://localhost:63544/api/document"; object result =

How to use entities from an other eSpace in Outsystems

0 Comments

Lets assume you have two eSpaces: eSpace_1 eSpace_2 Now you want to use entities created in eSpace_1 in eSpace_2, then follow the steps below:   Open eSpace_1 with Outsystems Service Studio en go to the