# Script for .NET

**URL:** https://talk.remobjects.com/c/script-net/8.md

[Latest](https://talk.remobjects.com/latest.md) · [Categories](https://talk.remobjects.com/categories.md) · [Tags](https://talk.remobjects.com/tags.md)

---

## [Exposing Intf rodl file to Script](https://talk.remobjects.com/t/exposing-intf-rodl-file-to-script/15898)

<div class="topic-metadata">

**Author:** [@fireside](https://talk.remobjects.com/u/fireside)\
**Replies:** 17\
**Last updated:** [March 27, 2018, 11:20am UTC](https://talk.remobjects.com/t/exposing-intf-rodl-file-to-script/15898 "2018-03-27T11:20:37Z")

</div>

Hi, Is there an easy way to expose all the Service Methods (and datatypes, arrays and such) to the Script for .Net so js can be written with these methods and datatypes? Thanks!

---

## [String.replace do not support function as second paramater](https://talk.remobjects.com/t/string-replace-do-not-support-function-as-second-paramater/12148)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 18, 2018, 12:04pm UTC](https://talk.remobjects.com/t/string-replace-do-not-support-function-as-second-paramater/12148 "2018-01-18T12:04:05Z")

</div>

Hi, String.replace do not support function as second paramater, Are there any plans to implement it Here is my implementation (version 2 add support for replacement patterns): I used to test it samples from MDN an…

---

## [Support regular arrays in EcmaScriptComponent](https://talk.remobjects.com/t/support-regular-arrays-in-ecmascriptcomponent/6315)

<div class="topic-metadata">

**Author:** [@lamazzi](https://talk.remobjects.com/u/lamazzi)\
**Replies:** 1\
**Last updated:** [June 5, 2015, 7:36am UTC](https://talk.remobjects.com/t/support-regular-arrays-in-ecmascriptcomponent/6315 "2015-06-05T07:36:44Z")

</div>

Apparently EcmaScriptComponent doesn't support regular arrays. Is it possible to add the feature ? Here is a little sample: public class TestClass { public string Text { get; set; } public string\[\] TextArray { get;…

---

## [EcmaScriptCompiler.WriteExpression cause StackOverflowException](https://talk.remobjects.com/t/ecmascriptcompiler-writeexpression-cause-stackoverflowexception/3502)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 6\
**Last updated:** [December 20, 2013, 6:23pm UTC](https://talk.remobjects.com/t/ecmascriptcompiler-writeexpression-cause-stackoverflowexception/3502 "2013-12-20T18:23:18Z")

</div>

---

## [Call method from script, that returns some value?](https://talk.remobjects.com/t/call-method-from-script-that-returns-some-value/3333)

<div class="topic-metadata">

**Author:** [@tkautz](https://talk.remobjects.com/u/tkautz)\
**Replies:** 2\
**Last updated:** [November 10, 2013, 7:39pm UTC](https://talk.remobjects.com/t/call-method-from-script-that-returns-some-value/3333 "2013-11-10T19:39:38Z")

</div>

---

## [Position into script where runtime error occured?](https://talk.remobjects.com/t/position-into-script-where-runtime-error-occured/3245)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [October 23, 2013, 7:23pm UTC](https://talk.remobjects.com/t/position-into-script-where-runtime-error-occured/3245 "2013-10-23T19:23:47Z")

</div>

---

## [Javascript: Date object only accepts month values 1-12, not 0-11](https://talk.remobjects.com/t/javascript-date-object-only-accepts-month-values-1-12-not-0-11/1782)

<div class="topic-metadata">

**Author:** [@sabodas](https://talk.remobjects.com/u/sabodas)\
**Replies:** 2\
**Last updated:** [March 21, 2013, 9:52am UTC](https://talk.remobjects.com/t/javascript-date-object-only-accepts-month-values-1-12-not-0-11/1782 "2013-03-21T09:52:51Z")

</div>

---

## [Error in implementation of substr and substring](https://talk.remobjects.com/t/error-in-implementation-of-substr-and-substring/1744)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [March 11, 2013, 12:21pm UTC](https://talk.remobjects.com/t/error-in-implementation-of-substr-and-substring/1744 "2013-03-11T12:21:26Z")

</div>

---

## [Does Script for .NET work in a .NET CF 2.0 application](https://talk.remobjects.com/t/does-script-for-net-work-in-a-net-cf-2-0-application/1700)

<div class="topic-metadata">

**Author:** [@brian71us](https://talk.remobjects.com/u/brian71us)\
**Replies:** 4\
**Last updated:** [March 25, 2013, 4:50pm UTC](https://talk.remobjects.com/t/does-script-for-net-work-in-a-net-cf-2-0-application/1700 "2013-03-25T16:50:57Z")

</div>

---

## [When evaluating script only SyntaxError is shown](https://talk.remobjects.com/t/when-evaluating-script-only-syntaxerror-is-shown/1605)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 1\
**Last updated:** [January 30, 2013, 12:27pm UTC](https://talk.remobjects.com/t/when-evaluating-script-only-syntaxerror-is-shown/1605 "2013-01-30T12:27:44Z")

</div>

---

## [How I can define sub execution contexts using EcmaScriptComponent.RootContext](https://talk.remobjects.com/t/how-i-can-define-sub-execution-contexts-using-ecmascriptcomponent-rootcontext/1583)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 4\
**Last updated:** [January 21, 2013, 1:29pm UTC](https://talk.remobjects.com/t/how-i-can-define-sub-execution-contexts-using-ecmascriptcomponent-rootcontext/1583 "2013-01-21T13:29:06Z")

</div>

---

## [Pass undefined to .Net object property/metod](https://talk.remobjects.com/t/pass-undefined-to-net-object-property-metod/1580)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 10\
**Last updated:** [January 25, 2013, 9:15am UTC](https://talk.remobjects.com/t/pass-undefined-to-net-object-property-metod/1580 "2013-01-25T09:15:02Z")

</div>

---

## [Can't access real Exception out of script engine](https://talk.remobjects.com/t/cant-access-real-exception-out-of-script-engine/1570)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 19, 2013, 12:17pm UTC](https://talk.remobjects.com/t/cant-access-real-exception-out-of-script-engine/1570 "2013-01-19T12:17:22Z")

</div>

---

## [Calling method with Array, Calling method with default value for parameter](https://talk.remobjects.com/t/calling-method-with-array-calling-method-with-default-value-for-parameter/1567)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 5\
**Last updated:** [January 28, 2013, 9:28am UTC](https://talk.remobjects.com/t/calling-method-with-array-calling-method-with-default-value-for-parameter/1567 "2013-01-28T09:28:25Z")

</div>

---

## [Empty message property on JavaScript Error Object when catch exception raised from .Net method](https://talk.remobjects.com/t/empty-message-property-on-javascript-error-object-when-catch-exception-raised-from-net-method/1566)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 9\
**Last updated:** [January 30, 2013, 1:20pm UTC](https://talk.remobjects.com/t/empty-message-property-on-javascript-error-object-when-catch-exception-raised-from-net-method/1566 "2013-01-30T13:20:12Z")

</div>

---

## [Exception when assign number to date property, Error in seconds of Date construction](https://talk.remobjects.com/t/exception-when-assign-number-to-date-property-error-in-seconds-of-date-construction/1565)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 19, 2013, 12:17pm UTC](https://talk.remobjects.com/t/exception-when-assign-number-to-date-property-error-in-seconds-of-date-construction/1565 "2013-01-19T12:17:44Z")

</div>

---

## [Converting JavaScript object to boolean](https://talk.remobjects.com/t/converting-javascript-object-to-boolean/1564)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 19, 2013, 12:17pm UTC](https://talk.remobjects.com/t/converting-javascript-object-to-boolean/1564 "2013-01-19T12:17:58Z")

</div>

---

## [TypeError when calling valueOf .Net double](https://talk.remobjects.com/t/typeerror-when-calling-valueof-net-double/1563)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 19, 2013, 12:18pm UTC](https://talk.remobjects.com/t/typeerror-when-calling-valueof-net-double/1563 "2013-01-19T12:18:21Z")

</div>

---

## [Different representation of boolean when converted to .Net string](https://talk.remobjects.com/t/different-representation-of-boolean-when-converted-to-net-string/1562)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 19, 2013, 12:18pm UTC](https://talk.remobjects.com/t/different-representation-of-boolean-when-converted-to-net-string/1562 "2013-01-19T12:18:48Z")

</div>

---

## [Different result from calling methods .ToString and .toString on the .Net Object](https://talk.remobjects.com/t/different-result-from-calling-methods-tostring-and-tostring-on-the-net-object/1561)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 19, 2013, 12:19pm UTC](https://talk.remobjects.com/t/different-result-from-calling-methods-tostring-and-tostring-on-the-net-object/1561 "2013-01-19T12:19:01Z")

</div>

---

## [Eval function in non strict mode do not create variables in global (surround) context](https://talk.remobjects.com/t/eval-function-in-non-strict-mode-do-not-create-variables-in-global-surround-context/1555)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 4\
**Last updated:** [January 21, 2013, 12:00pm UTC](https://talk.remobjects.com/t/eval-function-in-non-strict-mode-do-not-create-variables-in-global-surround-context/1555 "2013-01-21T12:00:50Z")

</div>

---

## [Assign properties of .Net Object from JavaScript fail and some others interoperate scenarios](https://talk.remobjects.com/t/assign-properties-of-net-object-from-javascript-fail-and-some-others-interoperate-scenarios/1548)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 3\
**Last updated:** [January 14, 2013, 6:43pm UTC](https://talk.remobjects.com/t/assign-properties-of-net-object-from-javascript-fail-and-some-others-interoperate-scenarios/1548 "2013-01-14T18:43:03Z")

</div>

---

## [Number,Date and etc. JavaScript objects to EcmaScriptObject and some others problems](https://talk.remobjects.com/t/number-date-and-etc-javascript-objects-to-ecmascriptobject-and-some-others-problems/1540)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 10, 2013, 2:40pm UTC](https://talk.remobjects.com/t/number-date-and-etc-javascript-objects-to-ecmascriptobject-and-some-others-problems/1540 "2013-01-10T14:40:09Z")

</div>

---

## [Can't convert JavaScript object implicitly to string when it simple value can](https://talk.remobjects.com/t/cant-convert-javascript-object-implicitly-to-string-when-it-simple-value-can/1535)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 8, 2013, 10:04pm UTC](https://talk.remobjects.com/t/cant-convert-javascript-object-implicitly-to-string-when-it-simple-value-can/1535 "2013-01-08T22:04:42Z")

</div>

---

## [ToString fail when override it in prototype and object is created with GlobalObject.CreateDateObject](https://talk.remobjects.com/t/tostring-fail-when-override-it-in-prototype-and-object-is-created-with-globalobject-createdateobject/1477)

<div class="topic-metadata">

**Author:** [@luboid](https://talk.remobjects.com/u/luboid)\
**Replies:** 2\
**Last updated:** [January 8, 2013, 10:31pm UTC](https://talk.remobjects.com/t/tostring-fail-when-override-it-in-prototype-and-object-is-created-with-globalobject-createdateobject/1477 "2013-01-08T22:31:19Z")

</div>

---

## [Mail + Attachment/Priority/Disposition notification](https://talk.remobjects.com/t/mail-attachment-priority-disposition-notification/994)

<div class="topic-metadata">

**Author:** [@gorbi](https://talk.remobjects.com/u/gorbi)\
**Replies:** 5\
**Last updated:** [June 5, 2012, 6:53pm UTC](https://talk.remobjects.com/t/mail-attachment-priority-disposition-notification/994 "2012-06-05T18:53:09Z")

</div>

---

## [String.replace is broken](https://talk.remobjects.com/t/string-replace-is-broken/276)

<div class="topic-metadata">

**Author:** [@runebjerke](https://talk.remobjects.com/u/runebjerke)\
**Replies:** 1\
**Last updated:** [October 19, 2011, 10:34am UTC](https://talk.remobjects.com/t/string-replace-is-broken/276 "2011-10-19T10:34:06Z")

</div>

---

## [Shared business rules](https://talk.remobjects.com/t/shared-business-rules/180)

<div class="topic-metadata">

**Author:** [@mgraham](https://talk.remobjects.com/u/mgraham)\
**Replies:** 3\
**Last updated:** [August 12, 2011, 8:24am UTC](https://talk.remobjects.com/t/shared-business-rules/180 "2011-08-12T08:24:29Z")

</div>

---

## [Breakpoint functionality of the ScriptEngine](https://talk.remobjects.com/t/breakpoint-functionality-of-the-scriptengine/161)

<div class="topic-metadata">

**Author:** [@jorgeleo](https://talk.remobjects.com/u/jorgeleo)\
**Replies:** 3\
**Last updated:** [July 25, 2011, 5:47am UTC](https://talk.remobjects.com/t/breakpoint-functionality-of-the-scriptengine/161 "2011-07-25T05:47:17Z")

</div>

---

## [Exposing CLR Types to ECMAScripts](https://talk.remobjects.com/t/exposing-clr-types-to-ecmascripts/159)

<div class="topic-metadata">

**Author:** [@jorgeleo](https://talk.remobjects.com/u/jorgeleo)\
**Replies:** 5\
**Last updated:** [July 28, 2011, 9:44am UTC](https://talk.remobjects.com/t/exposing-clr-types-to-ecmascripts/159 "2011-07-28T09:44:34Z")

</div>

[Next page](https://talk.remobjects.com/c/script-net/8.md?page=1)
