Dotnet Proxy Setup for Webappbuilder Application Planned maintenance scheduled April 23, 2019...

Improvising over quartal voicings

How to resize main filesystem

Besides transaction validation, are there any other uses of the Script language in Bitcoin

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

Marquee sign letters

One-one communication

How does TikZ render an arc?

What is the proper term for etching or digging of wall to hide conduit of cables

Dinosaur Word Search, Letter Solve, and Unscramble

What did Turing mean when saying that "machines cannot give rise to surprises" is due to a fallacy?

Twin's vs. Twins'

Inverse square law not accurate for non-point masses?

Shimano 105 brifters (5800) and Avid BB5 compatibility

What should one know about term logic before studying propositional and predicate logic?

How to make triangles with rounded sides and corners? (squircle with 3 sides)

What is a more techy Technical Writer job title that isn't cutesy or confusing?

Where did Ptolemy compare the Earth to the distance of fixed stars?

How to achieve cat-like agility?

New Order #6: Easter Egg

How do I find my Spellcasting Ability for my D&D character?

draw a pulley system

How to infer difference of population proportion between two groups when proportion is small?

Do i imagine the linear (straight line) homotopy in a correct way?

How do I say "this must not happen"?



Dotnet Proxy Setup for Webappbuilder Application



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have developed a webappbuilder application which used a webmap from arcgis portal. Webmap access is restricted for a specific group and i have integrated my webappbuilder application inside another application. My parent application is taking care of users authontication and for avoiding two time sign-up i have setup a DotNet proxy server, where i have put username and password along with webmap url. I have specified the urls in both config.json and proxy.config files, but its not working and application is asking for UserName and Password. I have tried all type of url combinations and avilable help on ESRI and online resources but none of them worked, now i am cluseless.
My insights or help would be helighy appriciated. Here is my code from proxy.config file.



<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig allowedReferers="*" mustMatch="true">
<serverUrls>
<serverUrl url="http://services.arcgisonline.com" matchAll="true"/>
<serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b" domain="mydomain" username="techuser" password="Passw0rd123" matchAll="true"/>
<serverUrl url="https://MachineNAMEforARCGISSERVERandDOMAIN/server" matchAll="true"/>
<serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis" matchAll="true"/>
</serverUrls>
</ProxyConfig>



Code for config.json file:



"httpProxy": {
"useProxy": true,
"alwaysUseProxy": false,
"url": "https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx",
"rules": [{
"urlPrefix":"https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b",
"proxyUrl":"https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx"
}]}








share





























    0















    I have developed a webappbuilder application which used a webmap from arcgis portal. Webmap access is restricted for a specific group and i have integrated my webappbuilder application inside another application. My parent application is taking care of users authontication and for avoiding two time sign-up i have setup a DotNet proxy server, where i have put username and password along with webmap url. I have specified the urls in both config.json and proxy.config files, but its not working and application is asking for UserName and Password. I have tried all type of url combinations and avilable help on ESRI and online resources but none of them worked, now i am cluseless.
    My insights or help would be helighy appriciated. Here is my code from proxy.config file.



    <?xml version="1.0" encoding="utf-8" ?>
    <ProxyConfig allowedReferers="*" mustMatch="true">
    <serverUrls>
    <serverUrl url="http://services.arcgisonline.com" matchAll="true"/>
    <serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b" domain="mydomain" username="techuser" password="Passw0rd123" matchAll="true"/>
    <serverUrl url="https://MachineNAMEforARCGISSERVERandDOMAIN/server" matchAll="true"/>
    <serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis" matchAll="true"/>
    </serverUrls>
    </ProxyConfig>



    Code for config.json file:



    "httpProxy": {
    "useProxy": true,
    "alwaysUseProxy": false,
    "url": "https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx",
    "rules": [{
    "urlPrefix":"https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b",
    "proxyUrl":"https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx"
    }]}








    share

























      0












      0








      0








      I have developed a webappbuilder application which used a webmap from arcgis portal. Webmap access is restricted for a specific group and i have integrated my webappbuilder application inside another application. My parent application is taking care of users authontication and for avoiding two time sign-up i have setup a DotNet proxy server, where i have put username and password along with webmap url. I have specified the urls in both config.json and proxy.config files, but its not working and application is asking for UserName and Password. I have tried all type of url combinations and avilable help on ESRI and online resources but none of them worked, now i am cluseless.
      My insights or help would be helighy appriciated. Here is my code from proxy.config file.



      <?xml version="1.0" encoding="utf-8" ?>
      <ProxyConfig allowedReferers="*" mustMatch="true">
      <serverUrls>
      <serverUrl url="http://services.arcgisonline.com" matchAll="true"/>
      <serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b" domain="mydomain" username="techuser" password="Passw0rd123" matchAll="true"/>
      <serverUrl url="https://MachineNAMEforARCGISSERVERandDOMAIN/server" matchAll="true"/>
      <serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis" matchAll="true"/>
      </serverUrls>
      </ProxyConfig>



      Code for config.json file:



      "httpProxy": {
      "useProxy": true,
      "alwaysUseProxy": false,
      "url": "https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx",
      "rules": [{
      "urlPrefix":"https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b",
      "proxyUrl":"https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx"
      }]}








      share














      I have developed a webappbuilder application which used a webmap from arcgis portal. Webmap access is restricted for a specific group and i have integrated my webappbuilder application inside another application. My parent application is taking care of users authontication and for avoiding two time sign-up i have setup a DotNet proxy server, where i have put username and password along with webmap url. I have specified the urls in both config.json and proxy.config files, but its not working and application is asking for UserName and Password. I have tried all type of url combinations and avilable help on ESRI and online resources but none of them worked, now i am cluseless.
      My insights or help would be helighy appriciated. Here is my code from proxy.config file.



      <?xml version="1.0" encoding="utf-8" ?>
      <ProxyConfig allowedReferers="*" mustMatch="true">
      <serverUrls>
      <serverUrl url="http://services.arcgisonline.com" matchAll="true"/>
      <serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b" domain="mydomain" username="techuser" password="Passw0rd123" matchAll="true"/>
      <serverUrl url="https://MachineNAMEforARCGISSERVERandDOMAIN/server" matchAll="true"/>
      <serverUrl url="https://MachineNAMEforPORTALandDOMAIN/arcgis" matchAll="true"/>
      </serverUrls>
      </ProxyConfig>



      Code for config.json file:



      "httpProxy": {
      "useProxy": true,
      "alwaysUseProxy": false,
      "url": "https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx",
      "rules": [{
      "urlPrefix":"https://MachineNAMEforPORTALandDOMAIN/arcgis/sharing/rest/content/items/97e427bd4abc4561ab88d6715d3a649b",
      "proxyUrl":"https://MachineNAMEforIISandDOMAIN/DotNet/proxy.ashx"
      }]}






      arcgis-javascript-api arcgis-web-appbuilder proxy





      share












      share










      share



      share










      asked 1 min ago









      Bhaskar SinghBhaskar Singh

      466




      466






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319483%2fdotnet-proxy-setup-for-webappbuilder-application%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319483%2fdotnet-proxy-setup-for-webappbuilder-application%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

          Meter-Bus Содержание Параметры шины | Стандартизация |...