Skip to main content

10 posts tagged with "vb"

View All Tags

Announcing AvatarScriptLink.NET 1.2.0

· One min read
Scott Olson Jr
RarelySimple.AvatarScriptLink Maintainer

AvatarScriptLink.NET version 1.2.0 is now available on NuGet. This release includes the introduction of Builder methods to assist with the creation of the various objects as well as allowing for the error code and error message to be set prior to calling ToReturnOptionObject(). This is especially helpful when arranging unit tests.

Announcing AvatarScriptLink.NET 1.1.6

· 2 min read
Scott Olson Jr
RarelySimple.AvatarScriptLink Maintainer

AvatarScriptLink.NET version 1.1.6 is now available on NuGet. This release refines the behavior of setting a FieldObject as required or optional.

With the release:

  • SetRequiredField() will no longer set the FieldObject as Enabled as well. Use SetEnabledField() as well if this is the desired result.
  • SetDisabledField() will no longer set the FieldObject as Optional as well. Use SetOptionalField() well if this is the desired result.

Testing Your ScriptLink API with SoapUI

· 5 min read
Scott Olson Jr
RarelySimple.AvatarScriptLink Maintainer

Welcome back to my series on getting started with myAvatar ScriptLink. Today, we are looking at testing. As tempting as it may be, we should not wait to test our ScriptLink APIs until they are available in production. We want to test our code before it impacts the users. In our first test, we will set up SoapUI to send a request to our development environment and verify the response.

When we left off, we had created our first Hello World ScriptLink API in .NET using C# and Visual Basic. If we created them correctly, the we should be able to call the RunScript method with the HelloWorld parameter and receive an Error Code 3 with the ErrorMsg "Hello, World!'. Let’s test that.