.NET

Implementing WS-Security Digest Password with Nonce in .NET 4.0+ (WCF)

Tags: 

The .NET framework has some really great tools for consuming SOAP web services, but this support is limited to certain flavors of SOAP. When it comes to authentication methods supported in the SOAP protocol, .NET and WCF (Windows Communication Foundation) have a few surprising gaps. An especially painful deficiency is that WCF does not support service authentication through digest passwords with nonce, which is a WS-Security standard that is very popular with services developed on a Java stack.

Catching Requests Rejected by the F5 Security Module

The F5 is a security layer that filters all incoming and outgoing traffic to any site hosted on the PS pod. Yes, all traffic. If it sees anything it doesn't like, based on some secure, cryptic string parsing rules, it will reject the entire request, kick back a 503 error (for some reason), and puke out an ugly HTML page with a long support ID.

AddIns - The Fragile Nature of Workspace Configuration

Workspace configuration settings allow an administrator to set specific values for your add-in based on the workspace that it's placed on. For example: if you have a control with a label you could expose the label text as a configuration setting so that administrators could change it without needing you to re-compile your add-in. String, bool and int types are supported by the attribute.

Setting Custom Attributes on the Workspace Record

While trying to set a custom attribute on an incident workspace record using the Add-In framework, there seems to be an issue. After setting the value in code successfully, if the workspace is saved, the value does not get stored.

Setting custom fields via SOAP

This goes under the "seriously?!!" heading.

In previous version of the WSDL it was fairly simple to set a custom field. I'd even go as far as easy (though "intuitive" isn't even part of the language used by the twisted minds who created this API), but with the addition of custom attributes they decided to confuse custom fields as well.

AddIn - Status: Toast

Tags: 

I think at this point it's been accepted that Toast Notifications are quite irritating,
and after 20 years of internet usage people are amazingly good at killing pop-ups without reading them, but regardless of all that
here's how to make a toast notification from a Status Bar add-in.

AddIns with DotNetBar

Tags: 

It's possible, with a bit of effort, to make add-ins look like they are standard controls within CX instead of ugly WinForms shoe-horned into an otherwise fairly attractive application. Doing so can greatly improve the reception that your add-in receives from the business side of a project. CX is written using a control library called DotNetBar and add-ins using this library can use much of the same functionality and theming that CX uses. There are however a few catches (as usual):

Working with Workspace Records

Tags: 

This tutorial will show how you can use the AddIn Framework to access and modify information on a workspace. In this case I'll be creating a button that assigns the current incident to the logged in agent.

Creating AddIns using Connect Web Services (CWS)

While the AddIn Framework provides a decent amount of information about the site you're connected to it often isn't enough to do anything too complicated.

This tutorial will demonstrate how to connect to CWS through the GlobalContext and retrieve account information about the current user. While a slightly contrived example it also provides information not available through the AddIn Framework.

Types of Add-ins

Tags: 

This article will demonstrate every type of add-in currently available. Sample code for each type of add-in is available from bitbucket.org - cx-developer-tutorials

There are two main classifications of add-ins: session level and record level. A session level add-in is created when the site is loaded and sticks around for as long as your are logged in. Record level add-ins are created for a specific set of data and then are destroyed when the tab/window/etc is closed.

Pages

Zircon - This is a contributing Drupal Theme
Design by WeebPal.