¡@

Home 

c# Programming Glossary: api

Parse JSON in C#

http://stackoverflow.com/questions/1212344/parse-json-in-c-sharp

trying to parse some JSON data from the Google AJAX Search API. I have this URL and I'd like to break it down so that the results.. some code that'll take in JSON from the Google AJAX Search API and print it out to the screen EDIT ALL FIXED All results are..

XDocument or XMLDocument

http://stackoverflow.com/questions/1542073/xdocument-or-xmldocument

or lower you have to use XmlDocument aka the classic DOM API. Likewise you'll find there are some other APIs which will expect.. classic DOM API. Likewise you'll find there are some other APIs which will expect this. If you get the choice however I would.. easy to work with in LINQ to XML unlike any other XML API I've ever seen XNamespace ns http somewhere.com XElement element..

Authenticate and request a user's timeline with Twitter API 1.1 oAuth

http://stackoverflow.com/questions/17067996/authenticate-and-request-a-users-timeline-with-twitter-api-1-1-oauth

and request a user's timeline with Twitter API 1.1 oAuth This morning I have received the dreaded 'The Twitter.. This morning I have received the dreaded 'The Twitter REST API v1 is no longer active. Please migrate to API v1.1.' error in.. Twitter REST API v1 is no longer active. Please migrate to API v1.1.' error in a few of my web sites. Previously I have been..

What NoSQL solutions are out there for .NET? [closed]

http://stackoverflow.com/questions/1777103/what-nosql-solutions-are-out-there-for-net

is very little projection that needs to be done since it's API is already a close match to the Lists and in memory data structures.. For a quick overview of its features check out the API image map . A good tutorial showing how you to develop a real..

Dependency Inject (DI) “friendly” library

http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library

patterns and principles not technology. To design the API in a DI Container agnostic way follow these general principles.. Simplify using a Facade If you feel that the resulting API becomes too complex for novice users you can always provide..

How do I find out which process is locking a file using .NET?

http://stackoverflow.com/questions/317071/how-do-i-find-out-which-process-is-locking-a-file-using-net

that I'm going to have to spelunk around in the win32 API but if anyone has already done this and can put me on the right..

How to detect Windows 64-bit platform with .NET?

http://stackoverflow.com/questions/336633/how-to-detect-windows-64-bit-platform-with-net

running in a 32 bit process you still have to call the Win API function IsWow64Process. If this returns true you are running..

Best way to parse command line arguments in C#? [closed]

http://stackoverflow.com/questions/491595/best-way-to-parse-command-line-arguments-in-c

using NDesk.Options Documentation and or Mono.Options same API different namespace . An example from the documentation bool..

Convert generic List/Enumerable to DataTable?

http://stackoverflow.com/questions/564366/convert-generic-list-enumerable-to-datatable

reader This uses the FastMember's meta programming API for maximum performance. If you want to restrict it to particular..

How to handle WndProc messages in WPF?

http://stackoverflow.com/questions/624367/how-to-handle-wndproc-messages-in-wpf

WinForms app . The design ideology and the nature of the API is very different in WPF from WinForms so I would suggest you..

Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials

http://stackoverflow.com/questions/659013/accessing-a-shared-file-unc-from-a-remote-non-trusted-domain-with-credentials

question The way to solve your problem is to use a Win32 API called WNetUseConnection . Use this function to connect to a..

How to associate a file extension to the current executable in C#

http://stackoverflow.com/questions/69761/how-to-associate-a-file-extension-to-the-current-executable-in-c-sharp

improve this question There doesn't appear to be a .Net API for directly managing file associations but you can use the..

Create code first, many to many, with additional fields in association table

http://stackoverflow.com/questions/7050404/create-code-first-many-to-many-with-additional-fields-in-association-table

get set How do I configure my association with fluent API Or is there a better way to create the association table Thank..

Downloading video from YouTube

http://stackoverflow.com/questions/1083164/downloading-video-from-youtube

from a .FLV file like these. c# .net youtube youtube api share improve this question Since all the other answers..

How to secure an ASP.NET Web API

http://stackoverflow.com/questions/11775594/how-to-secure-an-asp-net-web-api

doing in this space c# asp.net mvc oauth asp.net web api share improve this question We have managed to apply HMAC.. username signature Example for GET request GET webapi.hmac api values User Agent Fiddler Host localhost Timestamp.. username signature Example for GET request GET webapi.hmac api values User Agent Fiddler Host localhost Timestamp Thursday..

await vs Task.Wait - Deadlock?

http://stackoverflow.com/questions/13140523/await-vs-task-wait-deadlock

public async static Task string Ros return await Bar GET api test public IEnumerable string Get Task.WaitAll Enumerable.Range..

C# get thumbnail from file via windows api

http://stackoverflow.com/questions/1439719/c-sharp-get-thumbnail-from-file-via-windows-api

get thumbnail from file via windows api Windows explorer has the ability to show thumbnails of files... http blogs.msdn.com windowssdk archive 2009 06 12 windows api code pack for microsoft net framework.aspx ShellFile shellFile..

Recommended ServiceStack API Structure

http://stackoverflow.com/questions/15231537/recommended-servicestack-api-structure

REST setup or have I missed something more fundamental c# api servicestack share improve this question Firstly Best solution..

Authenticate and request a user's timeline with Twitter API 1.1 oAuth

http://stackoverflow.com/questions/17067996/authenticate-and-request-a-users-timeline-with-twitter-api-1-1-oauth

been using javascript json to make these calls to http api.twitter.com 1 statuses user_timeline.json to display a timeline... to pull back to display users timeline c# asp.net twitter api webclient twitter oauth share improve this question Here.. oAuthConsumerSecret superSecretSecret var oAuthUrl https api.twitter.com oauth2 token var screenname aScreenName Do the Authenticate..

C# - google translate

http://stackoverflow.com/questions/2246017/c-sharp-google-translate

this question See if this works for you google language api for dotnet http code.google.com p google language api for dotnet.. api for dotnet http code.google.com p google language api for dotnet Translate text in C# using Google Translate http..

Webcam usage in C#

http://stackoverflow.com/questions/233455/webcam-usage-in-c-sharp

with it. I have a working application that uses win32 api avicap32.dll to connect to the webcam and send messages to it..

Best way to determine if two path reference to same file in C#

http://stackoverflow.com/questions/410705/best-way-to-determine-if-two-path-reference-to-same-file-in-c-sharp

duplicated file being drag and dropped to my linklist. c# api filesystems share improve this question As far as I can..

Use of Application.DoEvents()

http://stackoverflow.com/questions/5181777/use-of-application-doevents

by DoEvents and threads but in large part by WinRT's api design that requires you to keep your UI updated while an asynchronous..

Json Deserialize C#

http://stackoverflow.com/questions/7895105/json-deserialize-c-sharp

C# Im trying to deserialize a facebook friends graph api call into a list of objects the json looks like data id 518523721..

Replacing .NET WebBrowser control with a better browser, like Chrome?

http://stackoverflow.com/questions/790542/replacing-net-webbrowser-control-with-a-better-browser-like-chrome

.NET applications called Awesomium . It comes with a .NET api but requires quite a few hacks for rendering the examples draw..

servicestack REST API and CORS

http://stackoverflow.com/questions/8211930/servicestack-rest-api-and-cors

WCF REST stuff for days now utterly useless. Thanks c# api rest servicestack cors share improve this question Using..

How to secure an ASP.NET Web API

http://stackoverflow.com/questions/11775594/how-to-secure-an-asp-net-web-api

We have managed to apply HMAC authentication to secure Web Api and it worked okay. Basically HMAC authentication uses a secret..

Best practice to call ConfigureAwait for all server-side code

http://stackoverflow.com/questions/13489065/best-practice-to-call-configureawait-for-all-server-side-code

question. When you have server side code i.e. some ApiController and your functions are asynchronous so they return.. to the original thread context. However with ASP.NET Web Api if your request is coming in on one thread and you await some.. thread when you are returning the final result of your ApiController function. I've typed up an example of what I am talking..

REST service authentication

http://stackoverflow.com/questions/14996673/rest-service-authentication

01 Are there any existing solutions available for .NET WebApi c# asp.net web api share improve this question The answer.. want to authenticate a client application that uses your Api Do you want to authenticate a user from your application to.. retrieve their data within a client application using your Api Or do you want to authenticate both the client application and..

ServiceStack Request DTO design

http://stackoverflow.com/questions/15927475/servicestack-request-dto-design

ServiceStack I'll provide some examples comparing WCF WebApi vs ServiceStack's approach WCF vs ServiceStack API Design WCF.. in 1 remote message by a single service implementation. WebApi vs ServiceStack API Design Likewise WebApi promotes a similar.. WebApi vs ServiceStack API Design Likewise WebApi promotes a similar C# like RPC Api that WCF does public class..

Tool for backwards compatibility for the C#/.NET API?

http://stackoverflow.com/questions/2377855/tool-for-backwards-compatibility-for-the-c-net-api

api binary compatibility share improve this question ApiChange does take a set of old assemblies and a set of new assemblies.. new assemblies which are diffed for potentially breaking Api changes ApiChange diff old HelloWorldV1.dll new HelloWorldV2.dll.. which are diffed for potentially breaking Api changes ApiChange diff old HelloWorldV1.dll new HelloWorldV2.dll LibCheck..

ASP.NET mvc, localized routes and the default language for the user

http://stackoverflow.com/questions/3683404/asp-net-mvc-localized-routes-and-the-default-language-for-the-user

RestSharp JSON Parameter Posting

http://stackoverflow.com/questions/6312970/restsharp-json-parameter-posting

var request new RestRequest Method.POST request.Resource Api Score request.RequestFormat DataFormat.Json request.AddBody.. public string A get set public string B get set Api Score public JsonResult Score ScoreInputModel input input.A..

Entity Framework Code First Fluent Api: Adding Indexes to columns

http://stackoverflow.com/questions/8262590/entity-framework-code-first-fluent-api-adding-indexes-to-columns

Framework Code First Fluent Api Adding Indexes to columns I'm running EF 4.2 CF and want to..

WCF Service or Web API

http://stackoverflow.com/questions/9502548/wcf-service-or-web-api

then you will definitely want to use the ASP.Net Web Api which was originally called WCF Web Api and created with the.. the ASP.Net Web Api which was originally called WCF Web Api and created with the goal of Making REST a first class citizen.. Starter kit is no longer supported . Note that using Web Api doesn't mean you have to use ASP.Net MVC or IIS even as it can..

MVC 4 Web Api IIS7.5 HTTP 404 Page Not Found

http://stackoverflow.com/questions/9703090/mvc-4-web-api-iis7-5-http-404-page-not-found

4 Web Api IIS7.5 HTTP 404 Page Not Found I have a MVC 4 Web Api applicaiton... Web Api IIS7.5 HTTP 404 Page Not Found I have a MVC 4 Web Api applicaiton. It works perfectly well when I tested it using..