@manhng

Welcome to my blog!

Timeout Request RestSharp

January 26, 2021 15:18

Timeout Request RestSharp (edit)

  • RestSharp Timeout
  • RestSharp & ASP.NET Web API Caching
  • Routing in ASP.NET Core
  • Unit Testing xUnit + Moq

Extending RestSharp to Handle Timeouts in ASP.NET MVC

https://exceptionnotfound.net/extending-restsharp-to-handle-timeouts-in-asp-net-mvc/

https://www.exceptionnotfound.net/a-simple-caching-scheme-for-web-api-using-dependency-injection/

https://exceptionnotfound.net/setting-aspnetcore_environment-using-a-web-config-file/

https://github.com/exceptionnotfound/RoutingAspNetCoreDemo/

https://exceptionnotfound.net/unit-testing-overview-with-asp-net-core-xunit-and-moq/

https://stackoverflow.com/questions/46584175/restsharp-timeout-not-working

RestSharp

 

RestSharp

May 17, 2020 15:36

RestSharp (edit)

  • .NET Framework 4.5
  • Newtonsoft.Json 12.0.3
  • Dapper 1.50.2
  • RestSharp 105.2.3

https://visualstudiomagazine.com/articles/2015/10/01/consume-a-webapi.aspx

https://stackify.com/restsharp/

https://github.com/restsharp/RestSharp

WinForms + RestSharp + ASP.NET Web API 2

February 22, 2020 15:30

ASP.NET Web API 2, RestSharp and Model Error Messages

CallerRepository class

static void Main(string[] args)
{
    EmployeeInfo model = new EmployeeInfo();
    CallerRepository caller = new CallerRepository();
    try
    {
        var response = caller.Get();
        foreach (var res in response)
        {
            Console.WriteLine($"{res.Id} {res.EmpNo} {res.EmpName} {res.Salary} {res.DeptName} {res.Designation}");
        }
    }
    catch (Exception ex)
    {
        Console.WriteLine($"Error Occured " +
            $"{ex.Message}");
    }
    Console.ReadLine();
}

https://www.dotnetcurry.com/aspnet/1419/handle-webapi-restsharp-model-error-messages

Categories

Recent posts