skip to Main Content

jQuery ajax call get API that returns Task<ActionResult<List<ApiObject>>> keeps getting 500 error response

HTML: <div id="api-calls" class="ui-drop-shadow"> <button id="ajax" class="form-control">ajax call</button> </div> jQuery call is as below: on(ajax, "click", function(event) { alert('ajax'); $.ajax({ type: "GET", data: {SiteId: 8}, dataType: "json", //dataType: "application/json, text/plain, */*", //dataType: "jsonp", //url: "https://localhost:44310/api/site/search?SiteId=8", url: "https://localhost:44310/api/site/search", success: function(data){ alert(data);…

VIEW QUESTION

Stackexchange Redis exception: an unknown error occurred when writing the message

.Net core 2.1 web-api uses below redis nuget package "StackExchange.Redis" Version="2.1.55" and connects to Azure Redis P1 tier, Redis version 4.0.14 On appsettings.config, "RedisConfiguration": { "ConnectionString": "mycache.redis.cache.windows.net:6380,password=$$$$$$$$$F543shkerXXXXXg=,ssl=True,abortConnect=False", "DatabaseNumber": 1 } While performing load test, Receiving below exception very frequently especially…

VIEW QUESTION

Multiple Azure redis connection

To overcome latency, On "Startup.cs" of asp.net core 2.1, I am creating 2 static connections to Azure Redis & reuse those same connection instances during the application entire life cycle. Is it is good practice to create multiple connections to…

VIEW QUESTION
Back To Top
Search