The requested resource does not support http method 'GET'
Storytime: So, im currently implementing my Azure SQL DB with my Xamarin android app, however ive hit a roadblock as i cant post directly to the database from android(from my console project i can...
View ArticleCORS Error in .NET Core 2.0 Web Api
Apologies as I am somewhat new to .NET Core 2.0 . I have an WebApi(.Net Core 2.0) that I am currently serving in IISExpress for debugging.. My Aurellia web page tries to make an api call and I get...
View ArticleHow do I control my User account in Postman
I have a .NET Core WebApi controller method I am able to hit in Postman. However, I receive a SQL Server error when the method goes to talk to the database. It seems I am coming across with my machine...
View ArticleCall WebApi from MVC application and pass the value to a model class
I am new to API and MVC. I have a MVC application which calls a third party Api. The Api returns the data in Json format.I want to get the Json data and map it to a class object.
View ArticleException thrown: 'System.Reflection.TargetParameterCountException' in...
HiI have an asmx file,without web reference and service reference i had created code like the below. I had passed url,servicename,methodname and parameters as args. I am getting error Parameter count...
View ArticleAddress verification API for SQL records
Hello,I have some address records in SQL tables that I need to verify, correct or delete them as appropriate. I am looking for an API or a Web service that takes the address verifies whether it exists...
View ArticleAn exception of type 'System.IndexOutOfRangeException' occurred in...
public IEnumerable<PraptraEntity> Get(string month, string year) { SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["conn"].ToString()); SqlCommand cm = new...
View ArticleINTG Server Accepts SYST client Certificate and returns 200 response-...
We have developed a Web API application and we are using Mutual TLS V1.2 for Authentication. We have two servers (X and Y) in INTG Environment and also we have a load balancer. Server X and Y are...
View ArticleIntermittent 401 UnAuthorized error in TLS Hand Shake
We have developed two different Web API application assume that A and B and both are hosted in Same servers(Server X & Y) and we are using Load Balancer.A connects with B for getting the Data and...
View ArticleHttp and soap
Hi I have a method name,url with asmx. Dynamically code using httpwebrequest. Detemine parameter to be passed to method dynamically
View ArticleAPI Gateway using Ocelot - JWT Token Authentication (Asp.Net Core 2.1)
Hi All,I've followed the below article link to authenticate API gateway using Ocelot. I use .Net core 2.1 When I run the application the API wasn't authenticated and shows the result as NOTFOUNDas...
View ArticleGet data of Web Api is returning in Ajax Error function
Hi,I have created one Web API and published in local IIS and using it in other MVC Application in Jquery Ajax function the issue is that the Data is returning in Ajax error function , below is the code...
View ArticleShould you make multiple calls on a single web service connection?
I'm consuming web services from a 3rd party vendor. I currently have my code where I create the connection to the web service and then make all the necessary calls on that single connection.I was...
View ArticleHelp needed in Data transfer object practice
Hello,I am designing API which will be consumed by mobile app and website. when i create the class with properties, should i use mixed data types else all as stings. below are the two examplepublic...
View ArticleBest Way to Save Request and Response when Consume APIs
Dear All,We consuming many web apis and different-2 technologies so we are saving logs for request and response at time of making request call and response save to physical hard drive.Now this is time...
View ArticleWeb serice design advise
Dear all, I need to study a specific customer request with the following constraint : I have a SERVER A which is hosting SQL server 2012 I have CLIENT A which is hosting locally a Server 2012 database...
View ArticleHow to return web service with success, failure method
Hi, I have to create a android app. I am creating a web service in .asmx, it will return in json format.["message":"Login...
View ArticleFile Upload controller method using MultipartFormDataStreamProvider size limit
Hi All,I'm attempting to create a WebAPI2 Controller method that allows clients to upload files to the server. Based on multiple tutorials, I have successfully written the method using...
View ArticleWeb ApiUrl with method name and parameter. read the dataset
Hi,I have web Api url ,method name,parameters for method. I need to read the dataset. how to read it. need helpAnand
View ArticleFind all the child test suites in TFS using C#
I would like get all the child test suites under a parent test suite in TFS using C# code. Let me know if anyone has done this.
View Article