Tag | API Posts

I recently created two facebook applications. Restaurant List: http://www.restaurantliston... - The Restaurant List application allows you search and save any restaurant, and share it with friends. The facebook application link is: http://apps.facebook.com/re... Remember my Tasks: http://www.remembermytasks.... - This is a cool one utility that allows you save tasks and reminders easily and quickly and notifies you on facebook when its due. The facebook application link is: http://apps.facebook.com/re... ...
According to a recent Amazon survey, “Developer Tools” were the most requested improvement for SimpleDB. /n software’s Amazon Integrator fits the bill for developers building in .NET, ASP.NET, .NETCF, Java, JSP, C++, C++ Builder, Delphi, VB6 (ActiveX), and even classic ASP. You can download a free trial version, which includes demos and API documentation for the SimpleDB component as well as the included AWS, EC2, S3, and SQS components. Technorati Tags: Amazon, AWS, SimpleDB ...
Been working Selenium for the past several weeks and it's not bad as a Web testing tool. It does have some limitations (some imposed by the language in which you choose to work), but you can either ignore these in most cases for find a way around them (I wrote, for example, a .Net exe which I call from the Java code to do some Win API stuff). Selenium doesn't out of the box encourage an OO design. Everything is handled via the Selenium object using xpath expressions indicating where to do whatever ...
In this issue: Jonathan van de Veen, David Justice, Andrej Tozon, Patrick Keating, Timmy Kokke, Shawn Wildermuth, Alex, Golesh, and Mike Snow. Shoutouts: Robby Ingebretsen has a new version of Kaxaml out: New Version of Kaxaml with Support for Silverlight 2 RTW ... if you don't know what it is, you owe it to yourself to go look! If you ever sit around and wonder "what is Corey Schuman up to?" :) ... never fear, he's involved in lots of things, for instance: HSN.tv video player and Video slider control ...
I've been working with the SharePoint API lately. One of my tasks is to copy SharePoint lists from one site to another site. This can be done in code as long as the two sites are on the same machine. It's OK if they are in different web applications, but it can't be from one server to another. If you need to copy from one server to another, you either need to do an export/import, or find a way to save the settings and import them on the new machine. I believe you can use the SharePoint Web Services ...
Join us for TechFuse 2009 on March 17! It’s back and even bigger than last year! With 36 sessions and two keynote presentations to choose from, TechFuse 2009 is the most cost-effective way for IT and Developer pros to get up-to-date, 200-300 level education on the topics that matter to your role. TechFuse will provide you resources on the latest developments in IT and Developer trends, technologies, application implementation issues, products and services from tons of local professionals. Website: ...
Every time Microsoft releases a new version of Windows CE, there are changes to the available APIs. Most of the time there are additions of new APIs, but sometimes an API becomes obsolete and rarely an API changes signatures. If you are like me, you probably want to maintain as little source code as possible. That means that the code needs to compile under the different versions while taking advantage of new features. Bldver.h provides a way to check for the Windows CE version at compile time. Bldver.h ...
As an example of how to create a provider for dashCommerce, I have implemented an Authorize.NET Payment Provider for dashCommerce based on Advanced Integration Method guidelines from Authorize.NET http://developer.authorize.... and following the structure of the existing providers in dashCommerce. Below is the general outline of the implementation: 1. Implement the Store.Services.PaymentServi... interface. The provider must implement this interface, specifically the Authorize, ...
Over the last six months, my Chief Architect Jesus Rodriguez and myself spent our spare time writing a new whitepaper that focuses on the more advanced aspects of BizTalk's Business Activity Monitoring. The end result is over 80 pages of exciting details all about BAM! This paper is available for download and online in the MSDN Library. The paper goes beyond the basic of BAM and explores its architecture and extensibility model. It also details the intricacies of the WCF, WF and BizTalk Server BAM ...
OK, so I haven't been the best blogger. You know how it goes - you start working on a project and it consumes all your time. Then you start on another project, then another, and so on. The good news is that I was doing some very interesting work and have lots to share here. To give you an idea of what's to come, here are some of the topics I've been working on: BizTalk, MOSS, WCF, and WF - all together in a series of Hands-on-Labs soon to be available from Microsoft BAM For Developers - a series ...
I recently built a recieve location that used used a File adaptor to test the recieve and Orchestration for a new multipart message. It all went well until I converted the recieve port to a HTTP adaptor. At that point my custom component in the recieve pipeline raised a 'method not implemented' error. After several tests I was sure that the error was specific to HTTP adaptor and was not a problem with the installation of the custom component. One theory that I had was that an aditional method(s) ...
Things have been busy and it's been a while since my last post, so I decided to write up a post today related to something I have been working on recently where in I needed a way to associate an attribute with a class and some of it's properties, but the values I wanted to pass in to the attribute constructor needed to be dynamic. We all know that attributes are; classes that can be tagged onto code artifacts such as Methods,Properties,Events,D... etc. When you tag a code element with ...
We can run multifield searches in Lucene using either the BooleanQuery API or using the MultiFieldQueryParser for parsing the query text. For e.g. If a index has 2 fields FirstName and LastName and if you need to search for "John" in the FirstName field and "Travis" in the LastName field one can use a Boolean Query as such: 1: BooleanQuery bq = new BooleanQuery(); 2: Query qf = new TermQuery(new Lucene.Net.Index.Term("Firs... "John")); 3: Query ql = new TermQuery(new Lucene.Net.Index.Term("Last... ...
If you are like me, you may be surprised to find that your colleagues don't know some fundamental things about Generics in .NET. I just began working on a new project at work and during the design phase I was assured that our company had a great API full of extensions for a commercial content management solution. This API, I was told, would revolutionize how I used the product and take a lot of burden off my team of developers (some of which had used the API on previous projects and thought it was ...
Last time we spoke about reading and decoding RDS information from FM receivers. Also we already know how to stream sound from DirectSound compatible devices. However, before we can do it, we should be able to “speak” with such devices. So, today we’ll spoke about detection and reading information from Radio USB adapters (actually from any Human Input Devices). Let’s start. First, if you want to do it, go and buy such device. The are not a lot of alternatives, but if you’ll seek, you’ll find it very ...
I've recently started working in Java to support our testing solution at work (Selenium). So far, it it hasn't been too tough to adapt my C# experience (remember, I am just getting started..I know the differences will soon smack me in the eye), and it's pretty sweet. I did find there is a lack of good instructional books on the subject (or so it seems to me), but I did end up with Head First Java as a starting point. The book doesn't seem to dig too much into detail so far, but that suits me fine ...
So I don't know if anyone has noticed something similar recently but shortly after my recent trip away I found that my Posts via "Windows Live Writer" were somehow being truncated or something similar and the Paragraph and Tagging syntax was getting muddled on my WordPress site. At first I thought it might be Windows Live Writer as I had recently upgraded to a beta version 14.x... , so I downgraded (very bloody difficult that...), tried other blogging tools and found that this did not appear to be ...
In this issue: Nikhil Kothari, David Wynne, Damon Payne, Laurent Bugnion, Terence Tsang, Scott Morrison, John Papa, Ning Zhang, Jesse Liberty, and Lee Shoutouts: Koen Zwikstra, has promised, has uploaded the Slideshow 2 Source Code If you want to go to MIX and you haven't registered yet, at least as of sometime yesterday Special Offer Still Open – Save 40% on MIX09 Registration ... best $795 you'll spend! Falling in the 'oh crap' category... Sara Ford has announced: Did you know that today’s tip ...
In the last two posts (Part 1, Part 2) I've been going over some of the API calls to the Exchange Web Services, and so far we have retrieved an Item, but not any of the attachments held therein... So, lets go get that attachment! We have an ItemType, which lets us know we have attachments, and now will even let us pull some basic properties but not to save... so, how do we save? What we're (well, *I'm*) going to do is get the Item, then if it has attachments, save the attachments to my temp directory, ...
At the moment there are five different popular process templates, three from Microsoft official, one on Codeplex (by some Microsoft guys afaik), and one from Conchango. The fields defined in the workitemtypes found in these templates belongs to a set of namespaces. The System namespace is a predefined Microsoft namespace, with special behavior. The other ones are in reality free text. However, since some effort has been placed on defining these namespaces, and some of these fields are used in several ...
I just realized that even though other team members have mentioned the new search integration for the Geekswithblogs Community Portal, I have not. I want to thank all those on the Live Search team who have worked with us to be one of the first sites to integrate with the new Search 2.0 API. To gain access to the new search, just go to the homepage of Geekswithblogs.net and enter a search query from the blue cloud in the top right corner. It is just that simple. Next phase of this integration will ...
ADO.NET Data Services enable applications to expose data as a data service to be consumable via web clients. The data service which can be easily accessible via regular HTTP requests. CRUD operations are performed using HTTP verbs - GET, POST, PUT and DELETE. The data service responses open formats such as JSON and Aop/APP which are idal back-ead for AJAX-style applications, Rick Interactive Applications and other web clients. ADO.NET client libraries and developer tools works with both on premises ...
In this issue: Bill Reiss(3), Mark Monster(2), and Nigel Sampson. From SilverlightCream.com: Embedding a F# class library in a Silverlight 2 Application Bill Reiss has three new posts up this first one is on F#, the other two are on game development. The F# one is interesting because he produced a template for us that produces a C# SL app and an F# class library... good stuff! A simple Silverlight game particle system Bill also has added a particle system inherited fro CenteredSprite that gives you ...
In the first of these posts, we created a binding to the Exchange Web Services (EWS) and managed to hunt down our public folder identity. But, as we left it, we're now stuck with just the identity and not anything else. Really, we want the items from inside a given folder, and to do that we need to use the 'FindItems' API call.. FindItems needs a FolderId and of course the our old friend - the ExchangeServiceBinding (see part 1 for how to create that!). Once again, in a familiar pattern, we need ...
Recently the Exchange server at work has been upgraded to an Exchange 2007 SP1 server. With this has come the chance to finally get rid of the MAPI CDO solutions we have, by switching to using Exchange Web Services (EWS). I've spent quite a while looking for easy ways of doing this, and for the majority of the time, it seems ok, but the biggest issue I've had (and unfortunately the solution I needed) was accessing public folders. Specifically public folders in a hierarchy. Public Folders\ \Testing ...
Thursday during the keynote at PubCon in Las Vegas Microsoft announced “Project Silk Road” which is a collection of services, including a new version of the Live Search APIs for developer community – basically Search API 2.0 Beta + Search Ads pilot. I can tell you all from firsthand experience that this is very slick! As one of the first implementations of the Live Search API 2.0 Beta , we got it up and running on GeeksWithBlogs.net very quickly and couldn’t be happier with the results. Search API ...
I wrote Dee Jay as an example for a proposed talk for the Ann Arbor Day of .NET, and as a way to learn more about the Managed Speech API in Microsoft Windows Vista. Dee Jay works with M-SAPI and Windows Media Player to give you a totally voice-controlled way to play your music. You simply say a command like "Dee Jay, play some Dire Straits", and it searches your song catalog for songs by Dire Straits, picks one, and plays it. Or you can name a specific title, or even a genre. If there are multiple ...
(UPDATE: This is a rerun of a best-of post from 2006. I applied the fix described below, and have never seen the error in question again.) Ever since I got my Gateway CX200X — and even before, with my less-than-wonderful Toshiba M200 (which I'm managing to put to productive use, but cautiously) — I've had this annoying problem. When I would shut the lid, with every expectation that that would suspend the machine, I would be deceived. I would put the machine in my backpack, and head off for the road ...
Windows Azure is Microsofts Operating System, in the cloud. Thats a mouthfull, isnt it? Basically, Windows Azure is a Microsoft DataCenter somewhere in the US (for now), where you can host applications you build. You have API (HTTP && REST) access to databases, queues, blob stores that you can use to put your application together. And if you a .NET developer, you can leverage your current skills to build applications in the cloud. The best anology I have seen for cloud computing and the 'traditional' ...
So you need to change the driver loaded for a given device from your application. You have a couple of options to do this. The first method is to use the UpdateDriverForPlugAndPlayD... API. This method is simple and straightforward to use. But the downside of using this API is that it will update drivers for all devices with the specified hardware id. So if you need to selectively update one of the devices with a new driver you will have to look for something else. And that method is by using ...
Mr. Bugsy Elusive We have a C# client and a Local COM server hosting a VoIP stack. We use COM interop. for API and events to the COM server. Today after some changes, when we started to load testing the system a nasty crash happened. From initial observation it's look like some kind of Heap Corruption(may be leaked from stack boundary and stuff like that). I used DTW / Gflags to run the server(sipserver.exe) under windbg and symbols are properly set. Stack traces refer to RPC calls as usual but how ...
Well, Windows 7 is going to be released by the end of next year. This is great news, because it seemed, that Microsoft finally understand how to get the best of Windows Vista and make it to work not only on monster machines. It even works on new brandy my wife's pinky machine. And if it works there and my wife is happy with it, this OS going to be very impressive. But from the other hand, we, as developers should be ready today to developer Windows 7 ready application (by the way, Vista Battery Saver ...
For a long tome I kept myself away from this wonderful but ugly looking tool as I was the die-hard fan of a Compuware(Numega then) masterpiece - SoftIce. Hey I still have it installed inside of a Win98 Virtual Box in my XP host. Though SoftIce has got its new incarnation - DriverStudio, not the WinDbg. If you haven't downloaded it, get it Debugging tools for Windows. But I'm not going to give basics of WinDbg usage here. Nop. But quality articles are galore. One thing I must mention that if your ...
Get the short introductory part 1 here. After the initial inspection was finished, I was pretty much surprised by looking at the existing assembly unGACing code. The code expects full path of the concerned assembly, create a temporary appdomain, inject following class(Util) into the appdomain and get the full qualified name(strong name) for the assembly, then uninstall with the help of IRegister interface. internal class Util : MarshalByRefObject { internal string FullAssemblyName(string name) { ...
My presentation "Virtualisation for developers" has been officially selected as the warm up act for Guy Smith-Ferrier at The Next Generation User Group in Birmingham on 12th February 2009. More seriously, many thanks to Guy for allowing me to join him in a double session on such a great topic. Here's the abstracts, Virtualisation For Developers with Liam Westley Not used virtualisation technology yet? As a developer, you are missing out on some great time saving technologies. Concentrating on the ...
I’ve become interested in a few aspects of SQL Server 2008. One is the new FILESTREAM datatype. The basic idea is to have a SQL datatype you can use in queries and searches and is managed by SQL but which does not have any particular size limitation. There are a number of articles on the multiple steps it takes to setup a database to utilize the new FILESTREAM features. I’m not going to cover that in this article. I highly recommend reading Paul Randal’s white paper on the subject, now published ...
I thought I would share the sessions at the PDC I really enjoyed and would recommend for viewing for those that didn't attend. And you know who you are. :) And those who did attend but didn't get to watch these. I'm sure there are more that were great, but these are the ones that stuck out to me. Deep Dive: Dynamic Languages in Microsoft .NET Jim Hugunin gives a great session on Dynamic Languages. This was the best talk I went to the entire PDC so I'm listing it first, but you should watch The Future ...
· Make Coding Assumptions Explicit and Tool Discoverable. provide a language-agnostic way to express coding assumptions in .NET programs. The contracts take the form of pre-conditions, post-conditions, and object invariants. Contracts act as checked documentation of your external and internal APIs. The contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation. · bring the advantages of design-by-contract programming to all .NET programming ...

3 XAML vocabularies: UI, Workflow, XPS.

Used in mutliple runtimes: .NET 3,0, 3.5, Silverlight 1 and 2.

Many tools too (Visual Studio, Expression Blend).

Read the rest of this entry »

Presentation by Anders Hejlsberg. It is 10 years later since they started C# C# 1.0 was about introducing the general concept of managed code. C# 2.0 was about finishing C# 1.0 but didn't have time to do. C# 3.0 is really about radical new thinking in the language - LINQ. They learned a lot about functional programming through this exercise. Today is about C# 4.0. Some of the trends that have shaped their thinking on C# 4.0. Declarative Dynamic - resurgence of dynamic programming languages Concurrent ...

Note: The Wireless network at the keynote failed miserably, so this will be posted with a delay.

Presentation of Windows Live Services. Windows Live ID is now an Open ID.

Read the rest of this entry »

*Moved to: Infragistics WPF I am currently getting to grips with the Infragistics WPF controls that they call NetAdvantage for WPF. So far I have found them easy to use, but the documentation of examples is very lax. Do not mistake me, these components are fantastic and do way more work for me than I would care to do myself, but if you Google a particular piece of their API invariable you will get pure documentation and no samples. If you are lucky someone has asked a specific question about it and ...
For the last 1 1/2 years I have browsed and used content from hundreds of blogs that I have researched in the performance of my position as a SharePoint developer. I have needed to do this as SharePoint 2007 has many books which have shallow dives into the API only a few offer insights into “Best Practices” and the best way to accomplish SharePoint customizations. This blog entry is some pay back for all those bloggers whom I have used to ensure successful engagements. In the last 16 months I have ...
OpenSocial: A Standard for the Social Web Patrick Chanezon, Kevin Marks, Chris Schalk (Google) OpenSocial is an open specification defining a common API that works on many different social website... Meet the OpenSocial Containers Patrick Chanezon (Google), Paul Linder (hi5), Kevin Tom (iGoogle), Sachin Rekhi (imeem), Max Newbould (MySpace), Manu Rekhi (Orkut), Eric Staats (AOL), Brandon Duncan... OpenSocial Across Containers Arne Roomann-Kirruk and Lane LiaBraaten (Google) OpenSocial provides a ...
Extend the Reach of your Google Apps Environment with Google APIs Jackie Bodine, Ryan Boyd (Google) and Ron Hess (Salesforce.com) Google Apps already gives your organization an out-of-the-(virtual... Spice up Your Web Apps with Google AJAX APIs Mark Lucovsky (Google) Integrating Google Search into a website can be simple using the Google AJAX APIs. Mark will show how a few lines of JavaScript ... Visualize your Data: Google Visualization API The new Google Visualization API lets you access multiple ...
I recently attended the OWASP (Open Web Application Security Project) conference at the University of Minnesota's St Paul Campus. This was my first introduction to OWASP, and it's an organization that anyone involved in software should be aware of and understand their goals. They have many projects in under development to increase the use of security throughout the development lifecycle. They also presented on the OWASP Enterprise Security API (ESAPI), and I found this to be an interesting project. ...
With the aid of the Microsoft.BizTalk.ExplorerOM library found in "C:\Program Files\Microsoft BizTalk Server 2006\Developer Tools" you can write your own tool for administration of your Biztalk applications. With this API you can have a look at the installed applications, add applications and configure sendports and receivelocations and all other parts of the application. Start with declaring an object of type BtsCatalogExplorer and giving it the connectionstring to the Biztalk Management database. ...
For those Linux devs who don’t have something adamantly against Microsoft, Mono 2.0 has been released! From the release notes: Mono 2.0 is a portable and open source implementation of the .NET framework for Unix, Windows, MacOS and other operating systems. Release Date: October 6th, 2008 Major Highlights Mono 2.0 is a major milestone in the Mono project, and it supports the following features: Microsoft Compatible APIs ADO.NET 2.0 API for accessing databases. ASP.NET 2.0 API for developing Web-based ...
Yes folks, we're finally back after a slightly longer than intended break. I've known George for years, and he's one of my closest and also farthest away friends. We get to hang out about once or twice a year for the MVP Summit and my birthday jam. George is a very busy dude between work and his XNA Development website, but I'll let him tell you all about both of those, and everything else, in these NINE Questions with George Clingerman: 1. Where are you from? (How did you end up there?) I’m from ...
I am a huge fan of using PostMessage API calls to avoid problems with QTP recognizing Windows Dialog boxes. All you have to do is set up the call (I use a function library) and pass in the correct params. Poof! No more issues. A prime example is the Print dialog that pops up in IE. QTP will recognize it sometimes, but usually won't. Oh, it'll highlight the window from the OR when asked, but it may tell you that the "Object is Disabled" at runtime. I know how to call the PostMessage function and have ...