Tag | API Posts

Sometimes is very usefull for testing purposes to create a VS2005 instance, and them use that instance to have access to the DTE API stuff. So, here is a code snippet to create a VS2005 instance and to open a solution: Type t = Type.GetTypeFromProgID("Vis... DTE dte = (DTE)System.Activator.Creat... true); try { dte.Solution.Open(@"C:\Temp... //Wait some seconds to let VS open the solution System.Threading.Thread.Sle... } finally { dte.Solution.Close(false); ...
or how Flash broke SQL A few weeks ago, my SQL Server 2005 installation lost the flat file data source option and could not import or export no matter the format. An error was thrown up. ===========================... connection manager could not be created from one or more data sources. (Microsoft Visual Studio)====================... The connection type "OLEDB" specified for connection manager "{F3C4B394-E196-4AFD-A2F6-3... is not recognized as a valid connection manager ...
Well first of all for those of you who do not know what is Visual WebGui (shame on you)... Visual WebGui is a platform that exposes an SDK with the same API as WinForms and the design time capabilities only runtime product runs as a .NET web site through a unique communication layer and presentation layer. WebGui lets you develop outlook web access like applications with out any know how of web development. If you are a WinForms developer or a VB6 developer you should be able to start developing ...
Google has an API for their personalized homepage, and of course it is really easy to consume. It is an XML file with a place for HTML / Javascript. I created a striped down version of Where's Tim using their API. To install this module on your homepage, click here. Google provided a method for asynchronously downloading data, _IG_FetchContent (which I talked about the other day). To consume this method, you provide the datasource and the function you wish to call after the data is downloaded: function ...
BizTalk Server Performance Tuning... Well…with every project whether it is a windows application, a web application or any integration project; performance tuning is the most sizzling area of debate. Following are the findings from the performance carried out on heavily loaded message broker architect on Biztalk server 2004. I will not be going to talk about the hardware used or message volume (consider it as best and high respectively.) You can also consider these points as Do and Don’t ...
Figure 1 - Link An Approach to Service Oriented Architecture the foundation for any application architecture that should be considered today is going to be of a service oriented or (SOA) based. Figure 1 Service Oriented Architecture consumed by a User Interface Layer Service orientation is about four aspects, as shown above – where is the service (example are URL of the web service, how do you bind with it (what protocol – HTTP etc) and what contract (request response, one way etc.) and ...
In Microsoft's ongoing battle with Google (and Yahoo!) to become your first stop on the internet, they have finally started to utilize their greatest asset. Not Office or Windows, but the developers, developers, developers. Windows Live Developer Center has launched, and with it a new direction in web services approach. Get the development community on board and integrated. Microsoft will soon have a very different web presence after Vista, Office 12, Live and Atlas release from beta. And it will ...
I have been seeing alot of questions lately in regard to context boundaries within domains and various methods of implementing the contracts between them. I figured it may be worthwhile to write up a little about the various mechanisms of handling this issue. For those who are unaware of what a context might be, a classic example would be a marketting domain that needs to access an accounting domain in order to perform some operation (or to retrieve some information). We seperate these domains as ...
I had an interesting question come up the other day: why override object's "Equals" method and/or the equality/inequality operators at all? Why not just compare objects in some dedicated function or other? After my initial shock died down (the question came from an OO developer), I realized there are several reasons. Let's consider these in the context of Java (which the conversation was about) and .NET, in turn. In Java, the situation is not cut and dried when it comes to equality comparison. To ...
UPDATE:The aricle is old.Links are not available anymore. Some time ago I looked for DotNetNuke 4.0 API Reference Help File . For some time online help and offline version was available at beta.dnndn.com, but not anymore. Mark in comments pointed to http://classbrowser.subzero... Also there is no description for many methods (and even classes). It will be good if DNN core team will improve descriptions of the classes and methods. I understand, that it is a big and quite boring ...
Yesterday we experienced a quite interesting phenomenon. A colleague of mine tried to create products with the API but received an error from time to time. The error stated that the product number already existed in CRM. But in fact, the product number was unique and did not yet exist in CRM. So we started SQL profiler to dig a little deeper. We found out that the problem occurred from passing a string to a custom attribute which exceeded its maximum length. The SQL server error message stated that ...
What is actually a workflow (in terms of standards or definitions)? Every one who can tell one definition by heart, gets a free beer from me. Come on. You have 30 seconds to think. Is it a business process or a work process description? What about activities, participants and automatisation? If that was a peace of cake for you, here is another quiz: Can you tell me the meaning of following acronyms: BPM, WfMC, WML, Petri-Net, BPMI, BPMN, Wf-XML, UML, XPDL, YAWL, OASIS, OMG, WPS, ITIL? Are these standards ...
Expected launch dates Product Date expected Current status Comment Windows Server 2003 R2 Feb 2006 RTM Includes Active Directory Federation Services and UNIX password synchronisation, improved replication technology, .NET 2.0 and new tools for distributed storage configuration. Visual Studio Team Foundation Server Mar 2006 Beta 3 The server component of Visual Studio Team System. BizTalk 2004 Server 2006 Q1 2006 Beta 2 Support for SQL Server 2005 and Visual Studio 2005. New management console. Internet ...
***Excerpted from an article I posted to the Mercury Support site: IE sometimes pops up dialogs. What if we could write code that would handle these without knowing which boxes and in what order they will appear? Clicking Internet Explorer Dialogs Dynamically Recently, I was plagued with Internet Explorer Security Alert and Security Information dialog box problems. Seemed like everytime I changed environments (we are a web shop), where these appeared changed. Sometimes, I'd get both, or neither, ...
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 ...