Tag | API Posts

I've found that not too many of my coleagues know that almost every google application has its own API. E.g. the google calendar has API that is available in .NET. I am interested in the calendar automation so I hope I will find some time to use the Google Calendar APIs and Tools. Anyway all that is available for developers in google applications is avialable here: http://code.google.com/ Just check it. Maybe you will find something interesting for you ...
With the release of the Virtual Earth 6 API, there is a new Interactive SDK that goes along with it. If you haven't seen the Interactive SDK, it's a great way to learn the VE API using a "show and tell" model. The SDK shows a list of the more commonly used features (and some of the more advanced features, like importing data into shape layers or using custom tile layers), lets you see how it looks and then view the source code required to implement that feature. The entire Virtual Earth SDK is a ...
A few days ago, Microsoft released a pretty major upgrade to Live Search Maps with the release of the Virtual Earth 6 API. There are some pretty cool enhancements, and, with the exception of two bugs found by Joe Healy, is as simple as change the "v=5" parameter in your link to "v=6". I'm not going to list all of the upgrades, since there are a lot of them. If you want to see the full list, check out the VE developer blog or the online SDK. I will list some of the features that are my current favorites ...
There's allready been a lot written about the Provider Model pattern. But in my opinion this pattern is more powerfull than most people realize. That's my reason to do a contribution on sharing some knowledge about this pattern. The Provider Model pattern was born while Microsoft was developping version 2.0 of the ASP.Net framework (Whidbey). The name was given somewhere in the summer of 2002. The pattern was designed to give developers the abillity to have complete control over the internal implementation ...
I just came across this post the other day by the Visual Studio Code Analysis Team talking about the latest beta release of FxCop. There are a lot of changes since the FxCop 1.35 release, which was a while ago. Some of the changes are: Over 200 bug fixes that reduce the amount of noise, missing analysis, and rule crashes. Support for analyzing anonymous methods and lambda expressions. New globalization, design, and usage rules. Better support for C++/CLI and the .NET Compact Framework. Performance ...
A good friend of mine recently got a job as a technical reviewer - I guess he'll be reviewing code other people write for static analysis. I'm excited, because he's been a longtime Java user, and the job works with C#. So this post goes out to him, as well as all the other people looking to learn the basics of C#. When I came to C#, I came primarily from a JavaScript background, with about a semester of University Java on top of it. By the time I got to C#, I had already broken down the basics of ...
The first CTP of Microsoft's New SQL Server 2005 Driver for PHP is now available. The PHP Driver will deliver an API designed-to-enable reliable, scalable integration with SQL Server for PHP applications deployed on the Windows platform. For more on the CTP and the new SQL Server 2005 Driver for PHP, check out the team's new blog at http://blogs.msdn.com/sqlphp or www.microsoft.com/sql/php ...
Someone asked me today:I have a text field and a drop down menu, based on the values of these 2 when i click on a button an api call is made to get the results. Now i want to display these results in a ListView using GridView. How can i use ObservableCollection to read the data when the search button is hit.My Short Reply: Creating an ObservableCollection is pretty straight forward.1. For example say we have class Customer { id, name, address }2. Now lets create a DataSrc that returns an ObservableCollection ...
This morning at ZendCon, Bill Staples announced the upcoming availability of the first CTP of Microsoft's SQL Server 2005 Driver for PHP. The PHP Driver will deliver an API designed-to-enable reliable, scalable integration with SQL Server for PHP applications deployed on the Windows platform. For more on the announcement, check out the http://blogs.msdn.com/data or www.microsoft.com/sql/php ...
My oldest child, Katie, is 3. She absolutely loves playing on the computer, and she's starting to learn her ABC's and 123's. My wife and I get her set up on either Disney's, Sprout's or Noggin's (parents with young children know what I'm talking about) websites, but they just don't seem too navigable for kids, especially at Katie's age. She just wants to point and click, without any real context as to what she is doing. I thought I would take her love of computers (and mine too!), and my desire for ...
Great set of articles by Stefan Goßner : Deep Dive Into the SharePoint Content Deployment and Migration API - Part 1 Deep Dive into the SharePoint Content Deployment and Migration API - Part 2 Deep Dive into the SharePoint Content Deployment and Migration API - Part 3 Deep Dive into the SharePoint Content Deployment and Migration API - Part 4 ...
I just loaded the code for CodeBreeze (which you can learn all about in episode 77 of www.dnrtv.com and obtain at www.steelbluesolutions.com) and I came into a small problem. CodeBreeze (which you can learn all about in episode 77 of www.dnrtv.com and obtain at www.steelbluesolutions.com) uses a licensing program from Interactive Studios, called QLM (www.interactive-studios.com). The component that it uses from this product is a .NET component but it calls an unmanaged DLL which can only run in 32bit. ...
BackgroundRecently I was in a situation where I had to expose two of my .NET Libraries as COM, to invoke via VBScript (Late Binding) from one of the Legacy Application. One of the .NET Library uses .NetTiers and the other one uses Subsonic as the DAL, so as you can understand all the configurations are declared in the app.config / web.config file as something like this:Nettiers Config<netTiersService defaultProvider="SqlNetTier... <providers> <add name="SqlNetTiersProvider" ...
Delay is extending his htmlTextBlock code and Neville Richards merges Silverlight 1.0 and Twitter's REST API From SilverlightCream.com: Bringing more HTML to Silverlight [HtmlTextBlock improvements] Delay is improving upon his previous HtmlTextBlock post because of response from readers. Twitterest Neville Richards demonstratest a very cool Silverlight 1.0 application that uses the Twitter REST API. Stay in the 'Light! Silverlight Web Articles I've tagged - My Silverlight Articles - My Silverlight ...
Expression Blend 2 September Preview is available; Searchlight discussed by Peter Kellner; Scrolling Horizontal Image Viewer by Dan Dobbs; and Tim Heuer Discusses using Silverlight, Expression Encoder and ASP.NET AJAX From SilverlightCream.com: Expression Blend 2 September Preview is now available! The Expression Blend team have announced the Blend 2 September Preview.. check out the page for new features! Media Browser Using Silverlight 1.1 Alpha and Leverage Software's REST API Peter Kellner discusses ...
I've been wanting to add a search box to my website for quite some time, and also wanted to play with Google AJAX Search API. Turns out it's a very easy API to use! I simply wrapped their search control in a PositionedNode and FadedNode, and added a higher-lever object to "hide" Google's syntax and offer a higher level interface. So from today, you can now use the "Search" menu to search the website and also (in the same dialog) this blog. Read the rest of this entry » ...
Background This post is mainly about the design decision that you will face on a project where you have a system you want to integrate with but its interface does not have a supported out of the box BizTalk adapter. We are quite lucky that in BizTalk 2006 there are an extensive set of adapters now with the Enterprise Line of Business adapters, but there are still lots of occasions when you have to use something else. The design decision to be made is what that "something else" should be. My intention ...
So, I was looking at Google Reader and noticed a link in the upper right - Offline (new).. What's that? Turns out, Google has a project called "Gears" that provides Javascript hooks that will interface with a few locally running services: Cache, DB, and asynchronous thread pool. This is great, cross platform too. It's SmartClient (and no, MSFT didn't invent the term as far as I know) in essence that it also provides offline capability. You'll still need to deal with updates, etc. Google Gears: Enabling ...
The challenge I was facing was being able to accomplish the following within a single ASP.NET application: Use an NT authenticated connection to my SQL Server database; this would assume the identity set for the IIS application pool Disable anonymous access to my web site; only allow Windows Authentication Force all use of the TFS API to happen within the context of the Windows authenticated user First, in ASP.NET, in order to force the execution context to use the identity of the person browsing ...
I as I mentioned in my last post, the standard out of the box setup for NHibernate in Asp.Net does not work well with Ajax calls. The standard approach you will see in the online docs and examples puts the Session.Close() method in the OnEndRequest event handler. This will work when you're doing PostBacks and probably partial post-backs, but I avoid those (blog entry on why later). But on a Ajax method call, OnEndRequest will not do it for you since it's not called after your webservice call. Now ...
The .NET 2.0 Configuration API is a huge step up from the previous versions of the framework rendering many other previous configuration framework (Enterprise Library Configuration block, etc.) virtually obsolete. However, one thing that can trip people up is when they try to assign to a configuration property at run-time you can get a ConfigurationErrorsException - The configuration is read only even when a setter is defined on their property: [ConfigurationProperty(item... DefaultValue = ...
So I was trying to configure Word 2007's blogging feature to post to my blog at GeeksWithBlogs, I noticed that it does so through a standard web server API called MetaBlogAPI, and it's pretty widely supported. I had no idea this existed (granted I may be out of the loop). It contains all of the functionality to add posts, view posts, and do everything blog related. Very handy. Check out my blogs API (granted you can't do much without my account credentials!): http://geekswithblogs.net/m... ...
Found this link and thought it was interesting. Others trying to use robotics as an educational platform for software engineering using science and technology. Here is a link to IPRE Scribbler Services for Microsoft Robotics Studio http://www.roboteducation.o... About IPRE / Myro The Institute for Personal Robots in Education (IPRE) is a partnership between Georgia Tech, Bryn Mawr College, and Microsoft Research to apply and evaluate robots as a context for computer science ...
My application uses a lot of AppSettings to enable/disable different function and I wanted to created unit tests for different combination. I found the simplest way is to create static class data field, that is set to null by default, and loaded from config file if it is null. This allows in unit test methods to explicitely assign values, and when you want return to reading from config file, just reset it to null. static private bool? st_bAPIEnabled; public static bool IsAPIEnabled() { st_bAPIDomesticEnabled ...
Few days back one of my of ex-colleague called me to know what is the best platform of Ajax to work in VS2003 Project, One of his client wants to implement some Ajax features in his existing application . Is it Ajax.net, Prototype, jQuery or Dojo? When I replied him Asp.net Ajax 1.0, he seems bit confused. Yes we can also use Asp.net Ajax for the older version of VS. However, we will not get the full set of features in those older environment. Let me list those features, which will not be available: ...
Encapsulation – Only nececesary portions of class fields and methods should be publicly accessible. Hide inner workings of an object. Inheritance – ability of derived class to inherit the properties & methods from base class. The derived class can add to and override base class behavior. Polymorphism – the ability for related classes to have the methods or functions with the same name and signatures but different implementations. Aggregation/Composition - groups of objects being used to make ...
Visual WebGui is the .net answer for GWT (Google Web Toolkit). But it’s seems more powerful than GWT even though it’s not coming from Microsoft and yet it’s open source. Still I hadn’t got time to put my hands on deeply but you can feel it by just browsing their web site and checking the features and comparing those with GWT. Not like GWT, in Visual WebGui you can use existing windows controls to create your UI. Major advantage of Visual WebGui over GWT is we can deploy Visual WebGui applications ...
*Moved to: TFS Event Handler Prototype FeedbackI would be interested in finding out if anyone is using the TFS Event Handler I created on CodePlex. The main reason for this is to solicit feedback for the process and integration capabilities. The TFS Event Handler removes the need to integrate with the Team Foundation Server events. It provides a simple API for making decisions on what to do with event that are raised.Read more...Follow my new blog on http://blog.hinshelwood.com ...
One of the key new features of Windows Vista is a component called the Kernel Transaction Manager (KTM) that brings inherent support for transactional development in not just the kernel-mode but also for user mode. Infact, NTFS has been enhanced to use and support transactions such that couple of new APIs (e.g. CopyFileTransacted, MoveFileTransacted just to name a few) have surfaced up. You can get more details on Transactional NTFS here. To demonstrate the power of the new APIs, I wrote a C++ class ...
Hmm.....I have a very under utilised Blog. Very sad indeed. Not sure if that's because I have nothing to say or I am just too lazy to put it up. Probably the latter. Anyways, I attended a Windows Server 2008 Technical Readiness event yesterday in Melbourne. As I was too busy in the past, I never had a chance to look into what new goodies Windows Server 2008 will bring, so I thought this would be a good opportunity to find out more. Surprisingly, the session was quite informative and did not turn ...
I was doing some work on the MOSS Search API to execute a few custom queries. I also wanted the Search Engine to return the blurb of text that contains the occurence of the searched term. A little digging around and I discovered there is a managed propperty that contains this. The managed propperty is HitHighlightedSummary (just in case any of you are stumbling down this route too). Technorati tags: MOSs, Search, SharePoint, Managed Propperties Cross-posted from tariqayad.com ...
An interesting discussion began in the comments of Raymond Chen's blog entry the other day. His post was about canonical order of entries in an ACL, but the comments drifted toward some interesting behavior of NTFS under Windows. It was off topic there, but I think the discussion touched on some important points, so I'm continuing it here. One of the things touched on was that file deletions are really a directory operation. NTFS supports hard links, which means a single physical file can be referenced ...
I've just been porting some old .NET 1.1 code to .NET 2.0. I started work on a Windows service which communicates via an RS232 serial port (remember those?); a common interface standard for broadcast television equipment. I started up my Windows service which I'd just ported to .NET 2.0 and it hung when trying to send the second command to the serial port. I suspected the RS232 library and Win32 API calls, but then the light went on - I only have an RS232 port due to a bluetooth dongle, and it doesn't ...
Some quick notes from Tech Ed 2007(Not a technical review in any way): 1. Free T-Shirts from the vendors and the Shirts for sale in the Tech Ed store are often way too small. It's no secret that attendees at Tech Ed are often - ahem - overweight. I'm not obese but I am tall and usually the shirts are useless. Also, the chairs in the sessions are too close together. Put 500 fat guys in a room in tiny seats and watch how early people start walking out. 2. For some reason, the snack tables seemed nonexistent ...
The Google Maps API blog talks about adding driving directions to their API. This is something that I am excited about adding to Where's Tim. I've had directions to me on my real time GPS site for a while (see the post here), but I've always just shelled out a url to maps.google.com. Now I can retain the users of that feature on my site and not have to send them away (hoping that they will come back). This is also big for the mashup "industry" as well. Visually understanding where an object resides ...
Facebook is probably one of the (if not the) fastest growing social networking site's out there, with millions of users around the world. Microsoft and Facebook recently announced a partnership allowing end user's to program against there API using managed languages. The library is available here : http://www.microsoft.com/do... The API allows a developer to access information about a persons friends, ...
Just read on the GPC Press Release site that Google is starting work on a new open source platform enabling all of its online apps to have offline capabilities. Sounds intriguing. Google Gears marks an important step in the evolution of web applications because it addresses a major user concern: availability of data and applications when there’s no Internet connection available, or when a connection is slow or unreliable. As application developers and users alike want to do more on the web—whether ...
Well, I havent talked much about Windows Live and when the whole world is keen about our Live initiative and the exciting bunch of services we have unveiled, I thought of starting it up, with an article on how you can consume the Live Search API and implement Live Search within your web applications. Before getting started, there are a few things you would need to know about Live. Windows Live is a platform. It is a collection of online services which can be utilized as well as programmed against. ...
The Windows Vista UAC exploit I recently published has garnered some attention as well as some criticism. I wanted to take a moment to reply to some of what I've seen in the press, in comments around the web, as well as the response from Microsoft. On some of the PC World/PC Magazine and their affiliates' web sites, there was a comment that "Pac-Man" should never require elevation (I use a Pac-Man clone as an example of what would otherwise be innocuous software in the whitepaper). This is true, ...
I am pleased to announce that we have just launched the first public release of BIDSHelper. What is it? It is an Add-in for the BI Development Studio (BIDS) for SQL Server 2005 that adds a number of useful features. This is an open source project, hosted on codeplex under a Shared Source Permissive License. Currently the features are all centred around SSAS, but we are planning to work on a few for SSIS and SSRS in future versions. Where do I get it? It can be downloaded from www.codeplex.com/bidshelper ...
A short couple of weeks ago, I criticized Microsoft's "Ten Immutable Laws of Security." The so-named Ten Laws leave Microsoft shielded from users who will be going approval-crazy under User Account Control (UAC) because they either don't know for sure how to respond to the dialog, what they did to cause the dialog to come up, or whether they really want to do whichever action is happening. I particularly criticized the "If a bad guy can convince you to run software on your computer..." law, which ...
Subtext 1.9.5 has been released to the public. This is primarily a bug-fix release but does include some new features. Oddly enough, this is the first release to go out the door without a codename. Installing on a clean machine or upgrading an earlier 1.9 release are both relatively easy. If there are any ideas to make upgrading easier, we'd love to hear them. This is scheduled to be the last release in the 1.9 branch, unless there are high priority bugs found that need to be fixed. What this means ...
In one of our site where we used a ASP.NET Membership API, while deploying to production we started getting "Cannot resolve collation conflict for equal to operation" on the event of Adding Roles to User and Deleting Roles from User. I ll show how I solved it later but lets look at it from step 1 ....asp.net was throwing out the following error. Server Error in '/' Application. Cannot resolve collation conflict for equal to operation.Description: An unhandled exception occurred during the execution ...
My friend Tim Hibbard recently posted why he doesn't use open source code in production applications. Now it is known to most people that I am a huge believer in Open Source Software, (I have even been told that I live and die by it) so I feel compelled to respond to his recent post. I am going to go through the post and respond to the bits that get me the most rilled up. "I don't feel comfortable using third party code because I don't always know the author's true intentions. " ... "The third reason ...
One of the neat things Microsoft incorporated into Windows with the release of Internet Explorer 4 (which was provided for Windows 95 and Windows NT 4.0 with Service Pack 3) was the CryptoAPI, which provided not only services for secure hashing and stream ciphers, but also implemented Microsoft's Authenticode (r) code-signing verification. Authenticode is the technology that allows a Certification Authority (CA) such as Verisign to issue certificates to its clients in order to establish that software ...
Regarding my previous experience in software development team, as developer and project manager, I’ve found some capabilities that are required to be a good developer to put a valuable effort in the development team. As mainly I have worked with web based database driven applications, these capabilities are closely or loosely relevant to that context. Of course you can consider some other capabilities regarding the software development context in broader sense, but here I consider the very basic ...
AJAX has been breaking new grounds almost every day, with over 150 AJAX frameworks, there are plenty of options to choose from and one might say too many. Most of the AJAX frameworks provide you with browser extension libraries that will help you utilize the browser and interact with the server in a more productive way. What they are trying to do in most cases is to provide larger building blocks to achieve your goals by abstracting the calls to the browser API and to the server. The last is a significant ...
It looks like we have an issue with community-credit.com integration using Third-Party Metablog API tools. For now if you are a hard core CC blogger, try using the old approach of adding the post separately and using WLW or create your post from the admin section of your blog. As we really like the service CC offers, we will get a fix out for this issue in the next round of upgrades ...
Well, it has been a bit again since my last post. But, I thought I would start out with what I thought was a nice surprise. In January I took the time to go and take the Beta exams for WSS 3.0 and MOSS 2007 Application Development. I got to the exam and started it up and quickly found out that the test was on the API of the SharePoint object model. I had expected more of a test integrating applications or creating solutions with SharePoint. Now don't get me wrong, I had previously used the OM on ...
Visual WebGui is.... User-Friendly – Visual WebGui was designed to be the next VB6 for the web. Simple to program, simple to deploy. With a full WinForms API and design time support you can start developing complex AJAX applications in seconds with no web know-how. Secured – Visual WebGui was designed to provide for military grade secured AJAX applications by eliminating client side service consumption and business logic processing using an empty client concept. The browser is used as a looking glass ...