Click here to Skip to main content
15,881,709 members
Everything / API

API

API

Great Reads

by Shenwei Liu
A complete sample application using AngularJS, trNgGrid, ngTable, and ASP.NET Web API to access and display data with server-side data filtering, sorting, and paging.
by Bruno Tabbia
Automatic positioning and resizing of explorer windows, without overlapping (for obsessive superusers)
by Mathew Soji
This tip guides through implementing a basic REST based Web API service with multiple GET methods and its consumption using JQuery client
by Sheshnath Kumar
This article will find out a solution to serialize/deserialize object by reference at server and client, also will serialize/deserialize objects having circular references.

Latest Articles

by Dev Leader
Access Google Sheets via C#; Start simple, optimize later!
by Nicolas DESCARTES
How to build a GraphQL API with HotChocolate?
by Pawan Kumar from CodewithPawan.com
Explore the seamless integration of @ngrx/translate with an Angular standalone API in this comprehensive guide, ensuring a smooth translation workflow for your applications.
by Pete O'Hanlon
Easy way to test HttpClient with Goldlight.HttpClientTestSupport

All Articles

Sort by Score

API 

31 Mar 2015 by Shenwei Liu
A complete sample application using AngularJS, trNgGrid, ngTable, and ASP.NET Web API to access and display data with server-side data filtering, sorting, and paging.
8 May 2019 by Bruno Tabbia
Automatic positioning and resizing of explorer windows, without overlapping (for obsessive superusers)
22 Oct 2014 by Mathew Soji
This tip guides through implementing a basic REST based Web API service with multiple GET methods and its consumption using JQuery client
31 Aug 2016 by Sheshnath Kumar
This article will find out a solution to serialize/deserialize object by reference at server and client, also will serialize/deserialize objects having circular references.
25 Nov 2016 by kannankeril
This article is an attempt at splitting out the controller layer to reduce its complexity and improve quality and maintainability of the resulting code.
1 Dec 2019 by Vincent Maverick Durano
The new version of ApiBoilerPlate has recently been released. In this post, we will take a look at the new features added to the template.
13 Mar 2018 by Jose Motta
Home of Things based on Raspberry Pi, Linux, Swagger, Docker & .NET Core
3 Oct 2016 by Shamim Uddin
In this tip, we will learn how to return list of custom type (JSON) data using ASP.NET Web API.
5 Jan 2023 by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.
3 Apr 2013 by Komin Dmitry
How to write iPhone application to authenticate to SharePoint and read the contents of a list provided by the SharePoint REST API.
6 Apr 2015 by HKHerron
A C# API Library for Discovering, Registering and Controlling Sony devices equipped with a LAN or WiFi port.
4 Oct 2018 by Apriorit Inc, Artur Bulakaiev
Learn how was increased mhook’s performance, enhanced its capabilities and eliminated certain bugs.
23 Sep 2014 by Bryan O'Connell
Design and document your RESTful API using RAML
19 Feb 2018 by Chris Boss
IOT and Windows – What is Needed, A Lesson from the Past
19 Dec 2015 by ryanba29
This is a multi day project using ASP.NET Web API for the server and WPF MVVM for the client.
13 Jan 2016 by Aescleal
Run, don't walk to your nearest second hand bookshop and/or ebay. Look for "Programming Windows" by Charles Petzold (5th edition) and buy a copy. It'll show you how to write Windows programs in C - it'll take you through how to write applications using the WIN32 API. Don't buy the 6th edition -...
21 May 2017 by Emiliano Musso
In the present article, we'll analyze some functionalities offered by Microsoft Azure Cognitive Services, and in particular that part of Cognitive Services dedicated to facial recognition (Face API). At the end of the article, the reader will be able to develop a simple C# application to detect face
21 Oct 2017 by mahmood kabi
extract overlapped polygons and calculate the overlapped area and write an API for it
15 Feb 2018 by Jose Motta
IoT.Starter.Pi.Thing powered by Linux Infrared Remote Control
25 Feb 2011 by Nish Nishant
There are two ways to do this:Use C++/CLI to access the C# code. This would mean your native DLL would become mixed mode, which you may not desire. You could split them up though, have a C++/CLI DLL that wraps the C# code and exposes it natively, and your Win32 DLL can access it via the...
6 Apr 2015 by Borja Prado
How to upload a video to Vine via API
25 Oct 2015 by Fitim Skenderi
In this article I will concentrate on how by using a specific functional structure called monad we can remove a lot of boilerplate code.
28 Dec 2015 by pauljamesnichols
Azure AD: Securing your API with zero code
13 Jan 2016 by Richard MacCutchan
See: EFNet #Winprog[^] and Win32 Programming - FunctionX[^]. google will, no doubt, find you others.
23 Nov 2016 by robert_chang
Learn how easy it is to write a console application to find the Congressional District of a U.S. address using free geocoding web services.
27 Jan 2018 by RCL_SPD
Please have a C API for your library
3 Mar 2018 by Shashangka Shekhar
In this post we are going to secure our NodeJS API’s with customized security token generated by logged user and HTTP actions.
22 Apr 2022 by Chris Maunder
Adding AI to your applications doesn’t have to be all about fighting the tools and libraries
13 Dec 2014 by DamithSL
check below answers Get folder path from Explorer window[^]Get the path of every explorer window with c#[^]
20 Jun 2011 by OriginalGriff
Try: using (Bitmap b = new Bitmap(requiredWidth, requiredHeight)) { using (Graphics g = Graphics.FromImage(b)) { g.CopyFromScreen(sourcePoint, new Point(0,0), new Size(requiredWidth, requiredHeight)); }...
22 Aug 2011 by Tarun_Arora
TFS SDK: Work Item History Visualizer using TFS API
19 Oct 2012 by Santhosh G_
Normally QueryPerformanceCounter and QueryPerformanceFrequency is used to get the accurate time of an operation.QueryPerformanceCounter() provides current value of the high resolution timer.and QueryPerformanceFrequency returns the current performance-counter frequency, in counts per...
5 May 2015 by Rodrigo De Presbiteris (Presba)
Creating a iOS app with swift to show the water levels of the main reservoir system in Brazil.
15 Jun 2015 by Sam__Khan
The purpose of this article is to demonstrate the integration between IBM Integration Bus and Salesforce.com using the REST API.
13 Jan 2016 by CPallini
I would use Google for that.Actually I did, and found this page: Win32 Tutorial - Recommended Books and References[^].
13 Jan 2016 by StephenJElliott
I searched with Google for "C++ tutorials" and I found the following which might be useful for you:C++ Language - C++ TutorialsDepending on your particular compiler, it might be useful to find a nice example. For graphics with MFC and Visual Studio 12 C++, for example, there is the...
30 Apr 2018 by vudangngoc
A quick comparison of Java 9 Flow API and Lmax Disruptor
13 Jun 2018 by syed shanu
In this article, let’s see how to create our own ASP.NET Core Blazor Master Detail HTML Grid with Sorting and Filtering using Entity Framework, and Web API. We also use the Dynamic Content features of Blazor to create our Master Detail Grid.
31 May 2019 by Arthur V. Ratz
The readers of this article will find out how to use Clarifai API for Node.js to create and deploy a lightweight vehicles images classification web-application.
29 May 2020 by Jayson DeLancey
This article is the second in the Sentiment Analysis series that uses Python and the open-source Natural Language Toolkit. In this article, we'll look at datasets provided by NLTK, as well as an example of capturing your own textual corpus for analysis.
3 Aug 2011 by Dylan Morley
The facebook developers site will be of use to youhttp://developers.facebook.com/[^]Have a look at the getting started sectionhttp://developers.facebook.com/docs/[^]In your facebook profile, add the 'Developers' application....
13 Sep 2011 by OriginalGriff
I would say that your only chance (given the absence of information in your question) is to talk to the dictation company, and see what tutorials etc. they offer.Without knowing even what API you are talking about, the chances of a helpful answer are pretty much nil.
9 Feb 2012 by Espen Harlinn
Have a look at IKVM[^]Let's you use java libraries on the .Net platform.Best regardsEspen Harlinn
9 Apr 2012 by nv3
Difficult to answer without knowing what level of access your users have. If a user has administrator right there is in my opinion no way of totally hiding a file from him. That would be counter-productive, because as an administrator I am expected to have access to all files on the...
15 Apr 2012 by andrewbb@gmail.com
Includes most API functions except for graphics.
21 Jul 2012 by OriginalGriff
I assume you are trying to write a secure delete application?That is not as easy as you think...Google is your friend here: Secure delete c++[^] - but be prepared for some work, it is not at all easy. Just think about SSDs - they don't write where they tell you they are, just mark the old...
6 Sep 2013 by JayJanarthanan
View a twitter feed in the Windows 8 UI grid - the fast way
4 Nov 2013 by CodeProject
Dave Butler, VP and Senior Business Leader at MasterCard, offers developers insight into the company’s worldwide OpenAPI platform.
2 Jan 2014 by Chris Boss
How to make Windows 9.x better
25 Feb 2014 by Mantri Vishal
How to creating table in Azure Mobile Services using Azure Service Management Rest API
24 Jun 2015 by Maciej Los
Member 11790110 wrote:I don't know how to use this VB.NET code inside of my javascriptYou can't use VB.NET code inside javascript code!
27 Jan 2016 by Kornfeld Eliyahu Peter
Use this sequence of methods...1. Get a handler for the processOpenProcess function (Windows)[^]2. Open a token - based on the process handler - to gain access to the infoOpenProcessToken function (Windows)[^]3. Get the relevant info (use TOKENUSER flag)GetTokenInformation function...
31 Jan 2016 by Jochen Arndt
Just read the documentation for remove_all()[^]:Quote:Throws: As specified in Error reporting.Follow the link there to Error-reporting[^]:Quote:When a call by the implementation to an operating system or other underlying API results in an error that prevents the function from meeting its...
6 Jun 2016 by Chris Boss
Time to get back to BASICs for Windows IOT and Mobile – native coding !
21 Oct 2016 by Amgad Fahmi
An experimental tiny lib (3kb) to load any JS library from jsdelivr.com dynamically based on the lib name. Specific version also supported
11 Aug 2017 by Graeme_Grant
First thing is to create a class structure to convert the JSON to. You can use 1. ‘Paste JSON As Classes’ Visual Studio Addin[^]; or 2. A webtool like JSON Utils[^] #2 above is my personal favourite as you have greater control over the code generated. Pasting your JSON into that website tool...
8 Jan 2018 by Manjunath Matathamana
This tutorial teaches you how to build a React application from scratch. In addition, we will be using fetch API with React to make asynchronous calls to a mock server.
7 Jan 2019 by Ryan Peden
Learn about the Slack API and set up your first Slack API application
5 Feb 2019 by Thomas Daniels
Using the Slack API and CodeProject API, this application monitors CodeProject for new content and posts updates in a specified Slack channel.
4 Sep 2019 by CHill60
So it worked for 4 to 5 videos then stopped? Try this Google[^] search - then you will discover that you are limited Quote: To prevent spam, all Dailymotion users are limited to: 10 uploads per day. 2 hours of video per day. 60 minutes per video. You have exceeded your quota.
11 Jul 2023 by Andre Oosthuizen
As a high-level overview, there are a few steps you can follow - OAuth - There are a few framework/libraries that supports C++ on OAuth. POCO, OAuth2CPP, or CPP-REST-SDK are some options. We used POCO before, have a look at their libraries...
29 Sep 2023 by Richard MacCutchan
See Native Wifi API Sample - Win32 apps | Microsoft Learn[^]
19 Nov 2023 by Dave Kreskowiak
Typically, "BadImageFormatException" means you're trying to mix 32- and 64-bit code in the same process. You're either trying to use 64-bit .DLL's in your app that's running as 32-bit, or you're trying to use 32-bit .DLL's in a 64-bit app. You...
25 Jan 2011 by creizlein
im using the API NtQuerySystemInformation to retrieve SystemHandleInformation.So far, its working perfectly when i run the code in a 32bit OS, but when i run the code in a 64bit OS i eget invalid data in the destination pointerPublic Declare Auto Function NtQuerySystemInformation Lib...
27 Mar 2011 by OriginalGriff
You do realize that Netscalar and Go To Meeting are two totally different, unrelated products? There are from the same company, true, but that doesn't mean that the one is an SDK for the other...Netscaler[^]Go To Meeting[^]I don't think you will find an SDK that lets you "develop a...
5 Aug 2011 by OriginalGriff
Yes. MSDN[^] to the rescue!
5 Aug 2011 by Sergey Alexandrovich Kryukov
I assume you mean C# and VB.NET (even if you mean VB, let's forget it).Basically, it can be used only in managed code, by referencing in the project or by loading it during run time using System.Reflection.Assembly.You can develop mixed-mode assemblies which can be used as both .NET...
22 Aug 2011 by Tarun_Arora
TFS - Get latest vs get specific version
4 Sep 2011 by Wonde Tadesse
You didn't mentioned the applications that are unable to respond to the API. In any case take a look at the following link. It shows clearly how to work with keybe_event API http://pinvoke.net/default.aspx/user32.keybd_event[^]
17 Sep 2011 by Randor
James,The Microsoft GDI+ library gdiplus.dll will spawn worker threads within your process. I don't think there is any documented way to control this. You can probably verify this by downloading Process Explorer[^] and right-clicking your process and selecting the 'Threads' tab. If you have...
12 Oct 2011 by Manfred Rudolf Bihy
It's like this: When a program sends a message to it's own window this is a totally valid operation. Next time the dispatcher checks in the messge loop if there are messages to process, the WindowsProc is called with the corresponding parameters. Recursion that will make your program stop...
5 Dec 2011 by Paul M Watt
I might have some information that could help you. Here are a few articles I wrote here at codeproject:Guide to WIN32 Paint for beginners[^]Guide to WIN32 Paint for Intermediates[^]Guide to Win32 Memory DC[^]With the shameless plug out of the way, here is a brief description.The...
16 Dec 2011 by RaviRanjanKr
You can start from there-[Windows API Tutorial ][^] for online tutorial. and for books simple Googling can gives you many name.
12 Jan 2012 by OriginalGriff
Look at Delegates[^] - they are effectively function pointers under a different name, but with parameter type safety built in.
9 Feb 2012 by Sergey Alexandrovich Kryukov
Just for completeness, to complement the answer by Espen:There are also: J# by Microsoft, available but discontinued:http://en.wikipedia.org/wiki/J_Sharp[^],http://msdn2.microsoft.com/en-us/vjsharp/default.aspx[^].Ja.NET: http://www.janetdev.org/[^].—SA
6 May 2012 by Keith Barrow
This solution is better for Win7 (and probably Vista - I can't check on this)As I said in my original answer, finding the button control is brittle as it relies on the class name. Each time the application being targeted is run, the class name changes in Window7. Luckily I re-ran the code and...
20 May 2012 by vangapally Naveen Kumar
first you have to store excel data in datatable,you can store data in datatable asstring constring="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MySpreadsheet.XLS;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=2"""datatable dt=new datatable();Oledbconnection con=new...
4 Jun 2012 by Dave Kreskowiak
Honestly, this would be dictated by your application requirements. Does the user request the token in the app? Is it supplied by an administrator? Is it forever linked to that user? Do they need to recover THAT token if the machine is wiped out and rebuilt? Can they request a new token if...
9 Jul 2012 by Jackie00100
okay fixed this my self after finding the right imports...EDIT:Source code:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using...
12 Aug 2012 by enhzflep
It seems that Win7 does some of the work for us - that is to say, I just tried the code in a virtual machine with XP and VS2005 - I got the same problem, i.e error (from the watch window) - "hRes 0x800401e4 Invalid syntax HRESULT"Earlier in the evening I had read that you need to make sure...
28 Nov 2012 by Richard MacCutchan
You don't; a List Box[^] is a simple list of items. If you want a list with multiple columns then you must use a List View[^].I just realised that I explained this to you yesterday in this question[^]. Please read the documentation that I have provided the links for rather than repeat the...
19 Jan 2013 by Sergey Alexandrovich Kryukov
Please see my comment to the question. It looks like you think this is pretty easy. Think again.Please look at this CodeProject article: Hands Gesture Recognition[^].—SA
27 Mar 2013 by Sergey Alexandrovich Kryukov
Please see:http://msdn.microsoft.com/en-us/library/windows/desktop/ms724950%28v=vs.85%29.aspx[^],http://msdn.microsoft.com/en-us/library/windows/desktop/ms724284%28v=vs.85%29.aspx[^].As you can see, you have two logically equivalent time data structures, with conversion between...
7 May 2013 by Aydin Homay
This tip/trick discusses about hosting a Windows Form user control in an MFC dialog box and View windows.
24 May 2013 by Mihai Huluta
How to pass complex object to server side using GET request.
24 Jul 2013 by Jochen Arndt
From GetModuleFileName()[^] in the MSDN:Quote:The string returned will use the same format that was specified when the module was loaded. Therefore, the path can be a long or short file name, and can use the prefix "\\?\".So it should be like on your disk when double clicking the file in the...
13 Aug 2013 by Zoltán Zörgő
Look at following sample:interface I {};class a : I {};class b : I {};class c {};void Main(){ Dictionary x = new Dictionary(); x.Add("a", new a()); x.Add("b", new b()); x.Add("c", new c()); //will fail}
21 Aug 2013 by enhzflep
For ports COM1 - COM9, you can use the string that this creates:sprintf(mPortName, "COM%d", curPort);For ports COM10 and higher, you can use the following string:sprintf(mPortName, "\\\\.\\COM%d", curPort);The difference is just putting "\\\\.\\" before the name of the port.
30 Jan 2014 by OriginalGriff
You can't return a value in a void method! public void Get() { var result = new ValuesController(); return result.Get(); }You would have to declare it as returning a IEnumerable: public IEnumerable Get() ...
9 Feb 2014 by Vangos Pterneas
Kinect for Windows version 2: overview
19 Feb 2014 by User 59241
The TCP timeout for keepalive defaults to 2 hours. .NET has an API to vary this else you can set in the registry to a max of 1192 hours.http://blogs.technet.com/b/nettracer/archive/2010/06/03/things-that-you-may-want-to-know-about-tcp-keepalives.aspx[^]Read this to find out more about...
17 Mar 2014 by pasztorpisti
In my opinion you should write a server and both the event consumers and event producers should be clients. Basically your library would be just a client that sends/receives messages from the server. This has many-many benefits:- Your processes can be on different machines.- Socket...
19 Mar 2014 by Sergey Alexandrovich Kryukov
Please see my comment to the question. It is unclear what you are trying to do, but it's clear why. This is a good idea to use cryptographic hash function for authentication: http://en.wikipedia.org/wiki/Cryptographic_hash_function[^].First of all, you should not use a hash algorithm from...
5 Apr 2014 by Nirav Prabtani
i have solved it my self.. :) try { var httpWebRequest = (HttpWebRequest)WebRequest.Create("https://api.aftership.com/v3/trackings"); httpWebRequest.Method = "POST"; ...
11 Jun 2014 by Manikandan10
You can't do such things and there are no API for that. How can you pass the Human Verification or Captchas?
12 Jun 2014 by Jafarinejadvazifehkhorani
The only thing that you can do is using Google, Microsoft, Facebook or Yahoo as Identity provider in order to authenticate users. So , if it's the case refer to WIF(Windows Identity Foundation)
11 Aug 2014 by Sourav Kayal
In this tip, we will learn to implement OData endpoint in Web API application.
20 Aug 2014 by Alan N
You were wrong to believe the Microsoft documentation for WaitForInputIdle! In my experience the MainWindowHandle is usually zero when the process becomes idle for the first time. For example, on my system mspaint gave a valid MainWindowHandle 250milliseconds after input idle and for some...
25 Feb 2015 by Sergey Alexandrovich Kryukov
AForge.NET, will strongly recommend it. Step-by-step tutorials? They can be helpful, but how badly do you need them? If you really cannot leave without them, you probably should not go in for such a difficult topic as computer vision. I consider this factor negligible. More important some...