<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Multithreaded Applications C# .NET Library in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multithreaded-Applications-C-NET-Library/m-p/54388#M29378</link>
    <description>&lt;P&gt;I a little new to all of this, but I'm trying to build a SaaS-like application where an ASP.NET Web API will submit transactions.&amp;nbsp; I'm&amp;nbsp;using the .NET SDK.&amp;nbsp; I noticed this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType() 
 { 
   name = ApiLoginID, 
   ItemElementName = ItemChoiceType.transactionKey, 
   Item = ApiTransactionKey, 
 }; &lt;/PRE&gt;&lt;P&gt;When I dig into the GitHub code, it looks like this will end up as static variables somewhere and that means they'll be shared across instances of the web site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have this right?&amp;nbsp; Is there a model for an instance based version where I can run multiple simultaneous requests without overlapping the ApiLoginId?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if this is completely misguided, but it's bothering me at an early stage of the design.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA - Bill&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 18:47:34 GMT</pubDate>
    <dc:creator>nhwilly</dc:creator>
    <dc:date>2016-04-20T18:47:34Z</dc:date>
    <item>
      <title>Multithreaded Applications C# .NET Library</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multithreaded-Applications-C-NET-Library/m-p/54388#M29378</link>
      <description>&lt;P&gt;I a little new to all of this, but I'm trying to build a SaaS-like application where an ASP.NET Web API will submit transactions.&amp;nbsp; I'm&amp;nbsp;using the .NET SDK.&amp;nbsp; I noticed this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType() 
 { 
   name = ApiLoginID, 
   ItemElementName = ItemChoiceType.transactionKey, 
   Item = ApiTransactionKey, 
 }; &lt;/PRE&gt;&lt;P&gt;When I dig into the GitHub code, it looks like this will end up as static variables somewhere and that means they'll be shared across instances of the web site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have this right?&amp;nbsp; Is there a model for an instance based version where I can run multiple simultaneous requests without overlapping the ApiLoginId?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if this is completely misguided, but it's bothering me at an early stage of the design.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA - Bill&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 18:47:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multithreaded-Applications-C-NET-Library/m-p/54388#M29378</guid>
      <dc:creator>nhwilly</dc:creator>
      <dc:date>2016-04-20T18:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multithreaded Applications C# .NET Library</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multithreaded-Applications-C-NET-Library/m-p/54389#M29379</link>
      <description>&lt;P&gt;Nevermind.&amp;nbsp; I did some testing.&amp;nbsp; Looks like&amp;nbsp;they aren't shared after all.&amp;nbsp; Just not familiar with that constructor.&amp;nbsp; :(&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:25:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multithreaded-Applications-C-NET-Library/m-p/54389#M29379</guid>
      <dc:creator>nhwilly</dc:creator>
      <dc:date>2016-04-20T21:25:21Z</dc:date>
    </item>
  </channel>
</rss>

