Tag | API Posts

Have you ever run the KPI Browser and wondered how it produces its summary of KPI's. I had someone ask me about this today so I fired up SQL Profiler and had a look at the queries that were fired off while the KPI Browser tab was populating. What I found was that a number of XML/A Discover commands were executed, the Key one appears to be the one against MDSCHEMA_KPIS Here is the query I captured against the Adventure Works Database: <Discover xmlns="urn:schemas-microsof... ...
The Goals of ASP.NET 2.0 Developer productivity – Eliminate much of the tedious coding that ASP.NET originally required and to make common ASP.NET Task easier. Take an example, in ASP.NET 1.x you need to write number of lines code to just enable paging in datagrid control. Now you can just specify “AllowPaging=TrueR... Administration and Management -This release of ASP.NET focus on the developer, and little thought was given to the people who had to administrator and manage all the ...
What is up? Not much by the looks of it. I'm finally starting to go out and dig up the various game engines written in .NET that I can leverage in the project I'm revisiting (as I'm not really in the mood to reinvent a wheel that has already been re-invented like a hundred million billion times by various college students out there (here's a theory: I think there are more game engine projects out there than hamburgers McDonald's has sold in the entire history of their company)). So, what did I find? ...
Garmin has started blogging. They even welcome feedback in the first post. Here is my first feedback for Garmin. Check your routing routine on Garmin Mobile, you ran me on almost a mile of gravel road on a trip from Lawrence, KS to Pella, IA. Don't get me wrong...it's a pretty good app, as I talked about earlier. It just needs a bit of work yet. Also, set up an ASMX or REST api so that developers with the correct authentication could access a person's GPS data ...
This is one of the "Questions for interview" articles. Part 1: "BizTalk 2004, Questions for interview without answers" http://geekswithblogs.net/L... Part 2: "BizTalk interview questions and principle" http://geekswithblogs.net/L... Part 3: "WCF: Questions for studing and interview" http://geekswithblogs.net/L... BizTalk: Ports: Questions for BizTalk ...
[Crosspost from Managed World] If you've been reading my blog for a while now, it's probably no secret to you that I'm a fan of Open Source Software. I enjoy the benefits of using many open source products like NUnit, NCover, NAnt, etc. At the same time, I also believe that you need to be careful when modifying code in an open source product for use within the enterprise. Why? Because there are several hidden costs associated with modifying OSS that are not realized by your average company or developer. ...
I realize that The Conversations Network is young, but here are my first thoughts and constructive criticisms anyway. The recommendations page should have an "Add to queue" link right there beside the program listing, so that I don't have to click on the program detail link and visit another page in order to add a program to my queue. Sometimes I can tell by the title that I want to add it right away. Also on the recommendations page, I'm not sure what the “relevance“ graphic is - since ...
Nullable types are exactly what data readers needed. Dealing with database nulls in previous versions of .NET was laborious, to say the least. However, just having the nullable types doesn’t solve all of your problems. The classes presented here go a long way towards that goal, though. From the introduction: .NET 2.0 introduced nullable types into the CLR which, for the first time, provided the ability for value types to be assigned a null value. However, ADO.NET 2.0 did not introduce any new ...
I delivered a session on Windows Mobile programming with a focus on WM 5.0 in Coimbatore during the MSDN @ Campus event. I demonstrated a Bluetooth application using the 32feet API and Message Interception API in WM 5.0. I am reminded to point out that Peter Foot of the OpenNETCF fame, has separated a few APIs including the Bluetooth library into 32feet, which is worth noting for Bluetooth enthusiasts. I have uploaded my demos here- Bluetooth demo (scenario was communication between a PPC and a Desktop ...
Recently I have been working a lot with the BizTalk Rules Engine (BRE) that comes along with Biztalk Server 2004. Rather than the more common approach of using the BRE inside a BizTalk Orchestration passing in XML messages, I have been working with the rules engine in a pure .net scenario passing in .net objects as facts and working with a long term fact creator. This approach uses the available API to call the BRE inside .net and passes in an array of facts to be operated on. The long term fact ...
So obviously anybody who's had to put up with Remote Desktops and Printing understand that the whole printing system in Windows has major flaws. Granted, they are unforseen flaws, but flaws nonetheless. For starters, we all thought that with printer drivers, an application could just say “Render this bitmap at this location”, “Write some text here, write some more text here in this font” and so forth. Then the printer guys started adding cool whiz-bang features, like ink level ...
During a current project, I needed a tool for generating PDF documents for reporting on pre-printed forms. The majority of reports in the system use this form. I wanted to find a solution that fit my needs and nothing more. Other systems do so much and very well, but for just developer needs, they are a bit much. I found a utility call Siberix PDF Library and it's counterpart Siberix Report Writer. If you need a tool for PDF generation, I highly suggest these products. At the current time, the price ...
Today I continued the complete rewrital of our article agent system, the complete rewrital is a necessary step in order to achive the expected number of customers. The agent system is a non scalable system bought in from another company. But since it was expensive it must be good, right? This day was dedicated to improve the logging functionality in the new code parts of the application. I wanted the logging to be done by a well tested framework with a simple API. I started out trying the Microsoft ...
I talked earlier about integrating WeatherBug data into Where's Tim. Chris Sloop has been a lot of help and was even nice enough to include Where's Tim on the WeatherBug's API example page. He requested that I share some code, so here it is:Basically, to consume WeatherBug's API, I:1) Make a call to the Where's Tim webservice2) Parse the zipcode out of the .Place property of the GPSData structure3) Pass the zipcode into a function that builds the REST url4) Load the url into a System.Data.DataSet ...
Using the WeatherBug API, you can now see my current weather conditions on Where's Tim. The API was easy to use and I also include the data in the Where's Tim Webservice. Calling GetTimsWeather returns an object that contains: Current Temp (.Temp) Todays Rainfall (.Rain) Current Windspeed (.Wind) Wind Direction (.WindDirection) My current zipcode (.ZipCode) URL with more info (.WebLink) Thanks to the My class in VS 2005, you can get my current temperature with one line of code: MsgBox(My.WebServices.EnGra... ...
Well, I have finally found time to get my object repository editor working well. It's what I call in a "internal tool beta" state, which means it's not very pretty but works well. Since there will be only two of us using it, seems like a fine state. I know, I know....any code worth writing is worth writing nicely. However, given the timeframe in which I've had to work, I've done a fair job. Now, that's not to say it won't benefit from some nice refactoring. As a matter of fact, I've refactored a ...
[Original Post Date: 16th August 2005] System.Diagnostics.Process class is a managed wrap over a subset of the ToolHelp API - as it enumerates only the process list. Not only that, it will list all the running processes, irrespective of whether they are running unmanaged code or running managed code. What if you wish to identify which of these processes are running managed code? Unfortunately, neither the ToolHelp API, nor the Process class allow us to identify managed processes from the list they ...
It will be very useful for development of custom modules if DotNetNuke API Reference would exist. The core has XML comments and VS 2005 supports XML documentation in VB. I didn't find any tools that currently fully support .Net 2.0. NDoc is not fully implemented version for .Net 2.0, but has some workaround, which doesn't work for me. The modified version 1.3.1 of NDoc started to build help but then got an NDoc.Core.DocumenterExcepti... may only be called on a Type for which Type.IsGenericParameter ...
Been working on the tool I mentioned before to manage the object repository in a previous post. I dutifully fired up the VB.Net IDE, and began work. However, there are some snags: 1) The tool API is a COM object. Not a big deal, but a little unfortunate. Shouldn't be a problem, I was thinking. 2) The API was written to work in VBScript...not VB.Net Issue 1) isn't a huge deal, but 2) is. Why? Well, there are two things causing me grief: 1) One of the methods off of the main object accepts two optional ...
In the PodcastStudio.net session the other night, I told Jeff and John that I have never had problems with Google Maps, or any Google API. Well, I think I might have found something. I was redesigning the layout for Where's Tim, because, well, I'm an awful UI designer. And I was putting everything into a 2x4 table and I set the left column width at 25% and the right column width at 74%. The upper right hand cell contains the div tag that eventually becomes the Google Map and I set the width of that ...
For those of you not in the software testing world, QuickTest Professional (a.k.a., QTP) is a testing tool made by Mercury Interactive. It's a good, as far as those type of tools go, as anything available in my opinion. However, there are a couple of things I don't understand about it's architecture. I am only going to discuss one, though. Bear in mind this discussion is totally web-based since after all, we are a web-based company. QTP "learns" and "remembers" objects (these are things like fields, ...

Robert Scoble talks about Where's Tim. He suggests that I integrate with Local Live. I'd like to do that. I played with Virtual Earth a bit and the Google API was easier (and looked better). But I'll give it another try and see what they have improved.

I came across this very interesting guide by Microsoft on Integrating with InfoCard v1.0 posted at MSDN webservice section. As you all know by now that WCF is a part of the upcoming Windows API named WINFX and will be playing a center part as providing the foundation for communication needs of our next generation of applications. Those who have already downloaded the Beta 2 version of WinFX will be able to play with this new piece of technology. Basically InfoCard will provide users to manage their ...
Application Level Events (ALE) is a standard created by EPCGlobal, Inc., an organization of industry leaders devoted to the development of standards for the Electronic Product Code (EPC) and Radio Frequency Identification (RFID) technologies. The ALE specification is a software specification indicating required functionality and behavior, as well as a common API expressed through XML Schema Definition (XSD) and Web Services Description Language (WSDL). The behavior expressed through the ALE..
Overview As noted in my previous post about iMotion Encoding Adapters, iMotion 5.1 introduced a new encoding library that allows developers to easily encode and decode EPC values as well as create and process tag filter and group patterns. This new library improves upon the previous 5.0 library in three significant ways: Introduces a feature rich object-oriented API that allows developers to interact with tags at various levels of abstraction. Raises the status of RFID tags to strongly-typed first ...
I was anxious to install the new version of the iMotion EdgeWare platform since Wednesday when it came via Federal Express. My installation was delayed, because of some competing priorities, but mostly, because I wanted to setup a machine without interfering with my current work that I could use to test my .NET Framework 2.0 components. I was dually warned by our GlobeRanger representative and support contact that 5.1 has not been certified with the .NET Framework 2.0. However, I'm at the beginning ...
In the standard download of Community Server, there was one feature of .Text that was left out: The MetaBlog API which supports both BlogJet and w.Blogger. Fortunately the functionality was not cast aside, it was merely modularized and is available as a speparate download at: CS_MetaBlog_1.zip ...
Let's say we have to implement simple scenario: IF Fact.A equal N THEN Create new Fact. (Where fact is some .NET type, for instance BusinessObject) In Business Rules Composer (BRC) we would use Assert() function with fact's type initializer as parameter: simply drug and drop BusinessObject constructor from class browser onto Assert’s argument placeholder. Following this logic in BRE API one would do the same as we do for regular class members, i.e.: //- create class binding ClassBinding cbBO ...
I demonstrated the Power Management API of the Microsoft Platform SDK during the launch of Microsoft's Academic Projects Program here in Bangalore. Microsoft Platform SDK is a colelction of powerful APIs which you can play around with to do a bit of system-level programming. You could use the Microsoft VC++ compiler to compile your programs. The Power Management Demo I showed is pretty simple and straight-forward. The user is intimated through an alert when there is a change in power source. In a ...
Today, in COSC202H: Data Structures & Algorithm Design, I was finally handed back Assignment 1, which I submitted almost 2 months ago. The assignment was to implement a handful of different Hash Tables with differing insertion/collision resolution algorithms, and compare their performance (collisions & clustering) when giving the same test cases. In the marking scheme, I noticed 5% was deducted for not including a “Data Dictionary” with the documentation. This annoyed me as the ...
Check it out - Google Base is finally up. This is Google's publically available (and publically maintained!) open database of everything. A a repository of structured data that everyone can add to. You can either structure an "Item Type" for yourself or choose one from the many already defined and then you feed Items of that type into the system. Everything ends up indexed in Google Base's search engine. One possible use for it is for classified ads, much like craigslist. I noticed that when inputing ...
I previously posted that I had attended a workshop hosted by Microsoft Research on the topic of Aspect Oriented Programming. The core purpose of AOP I’m a firm believer of: to modularize systems more effectively. But I’m still not sold on the AOP implementation of this directive. But, I do fine AOP intriguing and have developed an implementation that uses dynamic runtime weaving (more about this below). It works pretty well, and doesn’t degrade the application performance too bad. ...

Apparently, eBay has decided to make access to their API free.

http://developer.ebay.com/programs/marketing/gregsosemail/

'bout time.

SharePoint SDK has been updated as expected to bring it up to date with the recent SharePoint SPS and WSS Server Pack 2 releases. Download link to the updated SDK and excerpt:The Service Pack 2 (SP2) release of Microsoft Office SharePoint Portal Server 2003 adds a supported API that you can use to update SharePoint Portal Server 2003 with changes to user accounts. When a user is migrated in the Active Directory directory service, the security identifier (SID) changes for that user. Additionally, ...
The tool I referred to in my last post about code uniqueness was FxCop. I'm sure most people have heard of FxCop, but for those that haven't: FxCop provides a way to validate your compiled assemblies against a list of about 200 canned rules. These rules are anything from design guidelines, security checks, performance checks, to globalization standards. FxCop also provides a way for you to create your own rules and hook them into its validation process. Behind the scenes FxCop uses what Microsoft ...
I recently read a blog entry that was talking about why some programmers have problems using an API that makes use of the factory pattern. The entry tries to break programmers down into categories based on how they go about the task of programming, how they investigate APIs, and how tight or broad their focus lies. This got me thinking. How do most programmers discover a new API? What is the first thing you do when you realize you need to use the ABC class (or group of classes in a namespace)? Do ...
An interesting adventure - if anyone is interested in how to do this contact me. We used the following devices: SAGEM MSO-series fingerprint reader pcPRox RFID reader ADAM primarily, with some AD integration to hold the fingerprint-minutae data What made this interesting was writing the application entirely in 'Unmanaged' C++ and integrating the SAGEM SDK (MorphoSmart API) and the pcProxlib API SDK. Both these APIs are provided as native C++ DLLs and ultimately drove our decision to go the complete ...
We needed to write an application that would automatically execute a time-out action, the time-out being a prescribed length of time that has expired without any user input occurring during that period. Not as easy as it sounds. One way to do it is to setup a set of system-hooks using the message hook APIs provided by Win32. I personally did not like this approach for the following reasons: Using system-hooks is intrusive and reduces overall system performance. Its more work, because the hooks provide ...
While designing the outline for features of GWB 2.0, I realized that the Galleries piece is one of those that I am not sure ever did what we wanted. Because of this, I am going to create a image service provider for the system that will be configured for day one to work with Flickr. Flickr got it right and I have a feeling I won't if I created an image hosting service inside of GWB 2.0. This will cause some issues if you are currently using the Galleries inside GWB 2.0. As many of us have found, ...
Recently I was working on a utility very similar spy++, but could do more than what we have in spy++ - like besides getting me the window (not Windows :P) class name and its height/width etc, it could also give me the caption of the window. I read couple of articles and all suggested to use global hooks. Using hooks because we are doing all this stuff using mouse – a very similar UI experience like that of spy++ - you click on the bull’s eye icon and drag the mouse to the destination ...
You can't call submit direct api from an orchestration; meaning you can't send message from orchestration directly to MessageBox Database using SubmitDirect adapter APIs The error message you'll get is “ The Messaging Engine failed to register the adapter for \"Submit\" for ...“ Workaround? 1. Call a function written in a web service which calls submit direct APIs 2. Consider using Direct binding i.e partner ports Vishy ...
Hi! Just wrapping up the Beta release of the Movable Type API ActiveX Component. I'll be releasing examples all day tomorrow. Here are a few already: Get Recent Posts Get Category List Get Post Categories Assign Additional Post Category Remove Category from Post Fetch Trackback Information Information about downloading the ActiveX is on each example page. The Movable Type API provides an interface for the MT XML-RPC calls (mt.getPostCategories, mt.setPostCategories, mt.getCategoryList, mt.GetRecentPostTitles, ...
Tuesday, October 4th, 2005 9:28 am The Asp.Net Atlas Community Site.If you are still not aware of Atlas( AJAX in Asp.Net)Have a look at these siteshttp://msdn.microsoft.... 9:00 am Sharing Session Or create a Common Session SpaceIn IIS we can create a Virtual Directory(VD) and inside the Virtual Directory we can create another Virtual Directory. For ExampleTestParent>>Te... I have a VD TestParent and inside VD TestParent ...
Via MSDN Here are few useful online free books listed on MSDN that will get you started with Microsoft Content Management Server before you do your own investment and buy a MCMS 2002 Book or take an official MOC Training. Note these books are not meant for beginners though. For beginners I will still Recommend the Book Building Websites with Microsoft Content Management Server as per my post here earlier.You can get good deal on this book from Amazon and other online book sellers. (1) Building, Deploying, ...
The Tortuga .NET component now has a Yxplore class that provides an easy-to-use API for the Yahoo! Site Explorer Web Services. The Yahoo! Site Explorer web services allow one retrieve information about the pages that exist in the Yahoo! index. It also allows you to find inbound links for a given site or URL. The Tortuga .NET component, which also includes classes for Blogger 1.0, Blogger 2.0, MetaWeblog, RSS, Atom, and Technorati, can be downloaded HERE. These classes are free to use in both commercial ...
I'm open to all feedback and please don't hesitate to report problems. Best Regards, Matt ...
The BizTalk 2006 version and API is 100% backwards compatible with the 2004 version and API. BizTalk 2006 is built against .NET2.0 while the BizTalk 2004 assemblies were built against .NET1.1. Although I’m not working for Microsoft this surely means that for the BizTalk 2006 version the Microsoft BizTalk product team has: 1. Checked the re-used BizTalk 2004 code parts against the new .NET version for incompatibilities and resolved all of them for the BizTalk 2006 release. 2. Rewritten parts ...
The MetaWeblog .NET component is ready for testing. The download is: MetaWeblog .NET Here are some examples: MetaWeblog API .NET: NewPost MetaWeblog API .NET: EditPost MetaWeblog API .NET: Post with Image Comments are always welcome. Best Regards, Matt ...
The MetaWeblog ActiveX component is ready for testing. The download is: MetaWeblog ActiveX Here are some examples: MetaWeblog API VB Example: NewPost MetaWeblog API VB Example: EditPost MetaWeblog API VB Example: NewPost with NewMediaObject MetaWeblog API VB Example: Fetch Post Info MetaWeblog API VB Example: Upload Changes to Post More VB examples will be released. Following that, I'll release the Beta for the MetaWeblog .NET component in the next few days. The official release with online documentation ...
The .NET class library for Blogger 1.0 is ready for testing. The download is: http://www.worldwideweb-x.c... Blogger API C# Example: GetUserInfo (Blogger 1.0) Blogger API C# Example: GetUsersBlogs (Blogger 1.0) Blogger API C# Example: NewPost (Blogger 1.0) Blogger API C# Example: EditPost (Blogger 1.0) Blogger API C# Example: DeletePost (Blogger 1.0) Blogger API C# Example: Get Post Info (Blogger 1.0) Best Regards, Matt PS> The MetaWeblog API is coming next... Blogger 2.0, Atom, ...