Tag | API Posts

This is one of a series of posts on my preparations for sessions on Azure and ORMs at Software Architect 2009. One of the things that has been added to Windows Azure while i have been “elsewhere” is the Service Management API which the team introduced on the 17th of this month (Sept 2009). This is a REST-based API which allows: Deployments – Viewing, creating, deleting, swapping, modifying configuration settings, changing instance counts, and updating the deployment. Listing and viewing properties ...
There is a lesser known feature of stream interface drivers, the post init IOCTL. This is probably lesser known because there isn’t a good way to put this in the help index and it doesn’t appear to be mentioned in the stream interface section of the help contents. The post init IOCTL is an IOCTL that is called by the device manager after calling XXX_Init(). The purpose is that this allows your driver to do some initialization after XXX_Init() runs. Huh, initialization after XXX_Init() runs? Yes, ...
At last i got some time to work on long pending “project: i have thought of. This one is about listing all twitter friends in a connected graph and see their statuses. It uses Twitter API and WCF service to feed the silverlight. WCF acts as an adapter to twitter service. The idea is to connect to other services like “orkut”, “facebook”, “Mayspace” etc in future. It uses SL 3.0; so you must have it installed to run this: Here are the snapshots of the running application.(Running in flock)!! You may ...
For many customers the ROI on software licences is one of the key factors when purchasing software, so when deploying an e-Commerce solution the level of return for frameworks, and CMS platforms such as Commerce Server and MOSS are quite justifiable, however it is the extra features – such as the Store Locator that is difficult spending licensing money on. The current store locator within CS 2009 is based on a commercial Microsoft Virtual Earth web-service, which is provided for non-developer used ...
As a freelance software developer, I am regularly asked in interviews if I am familiar with a certain technology or product like e.g. TFS, ASP.NET 2.0, WPF or Oracle 10g or whatever. This is of course only natural, since potential customers already have their company-internal development technology stacks set up or it goes about a pre-existing software project where all these decisions are made long before anyway. But as a freelancer, I must say that keeping up with all the latest technologies and ...
Commerce Server 2009 was the single biggest upgrade to the Microsoft e-commerce platform in nearly 10 years. A large proportion of the changes are the introduction of a single API covering the multiple business logic implementations required within an e-Commerce site. In former releases business concepts such as inventory, catalogue, order management, user profiling, and marketing had each been separated into their own domain logic and thus each had a unique API which made it difficult for new developers ...
For those of us who waded through VB5/6, tracing the execution of our applications and apis was time consuming and somewhat frustrating. Writing to the event log was different than writing to a log file. Writing to the console had its own challenges and many of us developed a vast array of methods to accomplish this very important task. The introduction of the System.Diagnostics namespace, and, in particular, the Trace and Debug classes in .Net v1.0/1.1 was a vast improvement. Now, developers had ...
This past week I was reminded of the “fun” in which hosting an application within SharePoint can present. We are developing a custom application for our client in which some areas must reside within a SharePoint environment. We did quite a bit of our development in this first iteration within a web application in order to pull things together and present the client with a working end-to-end “prototype.” The architecture is composed of several layers all of which will be “in process” communications ...
In Windows CE: CeRegGetNotificationInfo() Doesn’t Seem to Work I discuss my trials at getting CeRegGetNotificationInfo() to work. Several people have followed up with suggestions, which I have tried without any luck. Someone took the time to point out the flaws in my code that I had already pointed out in the first article. That was actually helpful, but didn’t get me anywhere. A colleague of mine did some in depth investigation of the code and found some useful information: · As I had wondered (to ...
In this Issue: Paulio, Jesse Liberty, René Schulte, Pete Blois, Benjamin Roux, UXPassion, Pencho Popadiyn, Kris Meeusen, Scott Marlowe, and Matthias Shapiro Shoutouts: The UXConnection has this interesting Expression Design post up: [Mini-Tutorial] Working with Images in Expression Design I got a link sent to me for SilverBoom - Public Beta to Convert Adobe Flash files to Microsoft Silverlight/WPF From SilverlightCream.com: Using Blend to set the colour of the text in a button If you've tried to ...
I’ll be presenting at TechDays Canada 2009 in Winnipeg! I’ll be presenting: Better Software Change and Configuration Management Using TFS A critical factor in getting the most out of Team Foundation Server is understanding the version control and build systems. In this session, learn how use Team Build and Team Foundation Server Version Control to effectively manage concurrent development branches. Learn about how set up your repository structure and how to define builds. Learn about different branching ...
A colleague recently got a project where they’d like to make sure the app he’s working on can still work even when some DLL / assemblies are not there. These ‘extra’ assemblies are actually assemblies from another app, which can be used to have these 2 application communicate with each other, so there are a small number of entry points where calls are being made to these other assemblies. Also, in most cases, it’s a simple method call, not actually embedding class objects defined in the other assembly ...
The individual features supported in this version (v1.0) of the library are: Windows 7 Taskbar Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars. Windows 7 Libraries, Known Folders, non-file system containers. Windows Shell Search API support, a hierarchy of Shell Namespace entities, and Drag and Drop functionality for Shell Objects. Explorer Browser Control. Shell property system. Windows Vista and Windows 7 Common File Dialogs, including custom controls. Windows ...
It’s been a couple weeks since it was first announced that the Engineered Experiences team won Microsoft’s newCloudApp() contest and it’s about time I got around to blogging about it. First things first, I couldn’t start this post without congratulating the other team members: Scott Densmore and Dwayne Brown, you guys rock! What Is IMPULSE? Check it out: http://www.myimpulselive.com As a software developer I am all about reuse so here’s the copy+paste from our newcloupapp.com description: IMPULSE ...
Registration for PDC 2009 is now open. If you register by September 15th you can save a hundred bucks. Or you could get there my way: win a contest (hey, I’m a poor developer). As I mentioned in a previous article, INETA has a component contest that prizes a trip to PDC. But, it’s not the only one: Microsoft has announced the Code7 Contest - Code the Power of 7. It pays out great prizes, but you have to take advantage of the technologies built into Windows 7 like Libraries, Touch, Shell Integration, ...
In my last blog I talked about the new site around SharePoint 2010 and the sneak peak videos. I got a chace to watch them and here are my notes: SharePoint 2010 Feature Highlights: New User Interface including new Ribbon Web Edit Silverlight Web Part Rich Theming Browser support for Safari, Firefox and IE Visio Services SharePoint Designer enhancements Business Connectivity Services (BDC evolution) SharePoint Workspaces (formerly Groove) or offline libraries Richer Media Support SharePoint 2010 Admin ...
In this Issue: Karl Shifflett, Jafar Husain, Hannes Preishuber, Tim Heuer, Deep Zoom Blog, Joel Neubeck(2), and Gerard Leblanc. Shoutout: The Expression Blend and Design Blog have reported: Deep Zoom Composer Updated to Fix an Export Related Bug ... and they're saying it was a serious bug. From SilverlightCream.com: Updated – INotifyPropertyChanged – How to remove the Property Name String Code SmellKarl Shifflett discusses up-coming goodness he worked on during his Alaskan cruise (!) and then shows ...
At Last! Finally, we have released the SharePoint Action Framework (SAF) on CodePlex!! Please take a look at : http://saf.codeplex.com . Now that I can take a minute, I just wanted to spend a bit of time detailing why we have spent the best part of 18 months (with lots of late nights building it!) Here's a FAQ to give you some answers: If you are developing with SharePoint, do you suffer from any of these ? Lots of Defects caused by differences in SharePoint Farms. – eg. “It works on Integration, ...
The code for colliding marbles is built on top of earlier changes to the DDEX3 sample. Look here, here and here for more information. There are a few changes I made in the code for making the marbles collide and I hope you have already gone through Prof. Fu-Kwun Hwang post on how to make stuff bounce off each other. Create a structure to store the information about a marble: /* This structure stores the info related to a ball. Its center (xPos, yPos) Its velocity along both axes (dwVelX, dwVelY) ...
*Moved to: List all files changed under an IterationI was asked by a colleague to provide a list of all files that were changed under a particular iteration. Rather than delving into the data, I made a couple of API calls to TFS to output a text file with the list. This is probably not the most efficient method and it is hard coded, but it does output the goods:Read more...Follow my new blog on http://blog.hinshelwood.com ...
Some of the servers provided with Windows CE implement user authentication and can grant different level of access to different kinds of users or no access at all to unauthorized people. You may use the same mechanism to grant access to your device features from your main application or from your own custom remote interface or WEB-based UI. First of all you should add the NTLM authentication service to your OS image. This will allow you to access the NTLM API and the NTLMSetUserInfo function. Using ...
Today one of my friend asked me how we can perform validating user windows login credentials. In past also i saw in many forums people asking similar questions. actaully there are 2 different scenarios 1) Get the currently logged in windows user name. 2) Prompt the user for user and password, and validate the provided user name and password are a valid user credentials following is the c# code which will answer these scenarios. 1) Get currently logged in user details: This is pretty straight forward ...
We know that the Windows Mobile 6.5 developer kit was released with Gesture samples (which I still haven't looked into btw) but no documentation. The Gesture API documentation is now out on MSDN, you can find it here.
If you ever wanted to implement sounds into your application you probably came across the API provided by the Visual Studio .Net "System.Media.SoundPlayer" and found out that it does not work or works fine with your files!!!! Well, that is what I been doing for the last hour trying to implement the sound functionality in my application using C# C Sharp in Visual Studio 2008 and failed few times to play my wave files and my midi files using that library "System.Media.SoundPlayer" . So what is going ...
Being ASP.NET based Visual WebGui is coded, parsed and executed on top of .NET and is most native application nature for Windows Azure, Amazon and other cloud providers. Having an optimized received & sent data actually concludes in lowering the transportation and the costs when it comes to cloud deployment. The highest request-per-second compared to any other AJAX infrastructure proves the simple fact!, the CPU is much less occupied with allocations & disposals of objects and results again ...
Mother of all Blog Posts Building expertise in WPF / Silverlight · Core Programming Concepts: Declerative programming, Dependency properties, DataBinding, Commands, Triggers, VSM, Control templating, the inheritence model , XAML extensions and control templating · Transforms and animations - SVG experience helps · Comprehend the core differences in SL and WPF- lack of Commands and Triggers (Behaviours and VSM are superior anyway), Calling different types of services (WCF, Sockets, Duplex, ADO.NET ...
I was writing an extension for my blog that uses the MetaWeblog API, so here is what I have learnt about it. It uses XML RPC for communication. So if you are coding in .NET you will need the xml-rpc library from CookComputing. XML-RPC Firstly an Introduction to XML RPC over here (I would recommend reading the whole series posted there) so that you may get an idea of 1. XML RPC Types 2. Request 3. Response 4. Errors (a.k.a. Faults) Using CookComputing XML-RPC.Net The following link shows you how to ...
Hello All, Recently I am engaged in an Integration project in which I have to Integrate BizTalk Server 2006 R2 with EMC Solutions product called Smarts Software. This Smarts Software exposes a Java API and a Web Service interface. Initially knowing that it exposes a Web Service I felt relief and it would make my life easy but then talking with the Smarts Software people they told us that the Web Service Interface is very naïve and it does not have all the functionality we need for the Integration. ...
I've been working with the Exchange Web Service (EWS) Managed API wrapper to perform some Exchange tasks. My WEBDAV code wouldn't work with Exchange 2007. The EWS Managed API is much easier to work with then the direct Exchange web service calls. Thanks goodness. One task I have is to process inbound mail and flag it as complete. Took me hours to figure it out. First I have a search folder that has the stuff I want to process. This makes it easier to change the business rules in the outlook client ...
Purpose of Article I’m sure that there are a ton of articles out there regarding how to subclass windows. The purpose of this article is to walk through the entire process of why you might want to subclass a window, how to look at the window hierarchy, and then how to actually do the subclassing. At PaperWise (http://www.paperwise.com), we have a new architecture that is .NET and an older architecture that is COM, C++, and VB6. While VB6 is a powerful language, I am sure that you would agree that ...
Well that title may be a little misleading, but I fixed several issues with the community twitter tools we have on Geekswithblogs including integrating the Follower counts for each member into a new twitter cloud. The link to the community twitter portal is: http://wblo.gs/?q=twitter I also fixed a few linking errors: Underscores are supported for those who link to … ummmm… D’Arcy is the only one I know who uses underscores so him. @darcy_lussier #Hashtags will not turn into links for search Thanks ...
[UPDATED: July 1st. Show 5 is also now available in which Gary Short discusses technical det and the role of refactoring] [UPDATED: July 1st. Hoster is having some issues.Alternative download is available] This podcast accompanies the June 17th edition of the MSDN Flash newsletter. It includes a twenty minute interview with Sara Ford, the Program Manager of codeplex.com, Microsoft's open source project hosting web site. We discuss her famous Visual Studio Tips (for VS 2008 and VS 2005) , how people ...
ADO.NET Data Services provides a robust REST API over top of a data source. That data source could be 1) the Entity Framework (EF), 2) LINQ to SQL, or 3) your own custom data source that implements IQueryable and/or IUpdatable. However, it should be noted that in v1, EF is really the “first class” data source for ADO.NET Data Services because it supports both IQueryable and IUpdatable out of the box. In this post I’ll discuss the scenario where you have inheritance in your entity object model and ...
Recently I have told about use Sensor and Location platform in the applications. We have seen, that use of this component set can be very convenient for the application and do not demand many efforts. Also we have an opportunity to work with set of devices in the unified style. Problem of use of this platform there is a presence of drivers for Windows 7 and presence of wrappers for Sensor API. Development of the driver for the device - a task of the manufacturer. And implementation of support in ...
Recently I wrote about Sensor and Location platform in Windows 7 and for what purposes it is necessary. Now we will talk about how this platform can be used in the applications. To make experiments with not virtual sensors, but with something more approached to a reality, we will use the device from Freescale semiconductor, constructed on the basis of JMBADGE2008-B microcontroller. This device represents the small circuit board on which also there are some sensors - 3D accelerometer, ambient light ...
In this Issue: Erno de Weerd, Colin Eberhardt, Thanigainathan Siranjeevi, Stefan Olson(2), Dan Wahlin, Chris Klug, and Alex Golesh. Shoutouts: Tim Greenfield has entered the NewCloudApp Windows Azure contest with a Silverlight app and asks us to Look what Silverlight can do... for now he has his submittal, a cool jigsaw puzzle, but he promises to write all about it. From SilverlightCream.com: Silverlight, Windows Live Writer and WordPress Erno de Weerd blogged this and it's been picked up by others. ...
I always wanted to do stuff with DirectDraw. And when I saw the iPhone UI the urge intensified. But somehow the topic seemed esoteric to me and eluded me for quite some time, or, to put it in other words, laziness won over me (: Anyways, I was going through the Donuts sample game provided by Microsoft which comes with Win Mob 6 Professional SDK installation. Here is the path: <InstallDir>\Samples\... It seemed a bit too complicated for a first timer and ...
The Enterprise Library team is trying to improve the performance of the Logging Application Block (LAB) even further. Since version one we did come a long way. It is interesting that even the guidance projects of Microsoft do have change their mind. Lets recap how the LAB has evolved since it initial release in January 2005. Released Version Logging Application Block (LAB) Characteristics ca. Logs/s January 2005 v1.0 Log File is opened/closed after every write. Performance was awful but accepted. ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...
I was working with one of the web application localization. I was searching with couple of translator's available with the web. The most popular of them are 1. Google Translation Service 2. Bing Translator Service I tried using the Google API for the web and it was pretty good. Then in recent times I came across Bing translator and tools link in them gave me the way to implement the Bing API. Bing is making a revolution in the search engines and so I liked to use that here. Following URL's are referred ...
As the technical editor for the UK MSDN Flash I get surprisingly free rein to decide what content to place in it . I suspect one day they will notice – but I will enjoy it while it lasts. Every 3 months or so I do a special edition of the Flash, and this week I chose to go with “Open Source Frameworks and Libraries”. I have written before on Microsoft and Open Source and the rosy future I see ahead and I decided it was time (long overdue?) to give some of the great OSS for .NET developers wider visibility. ...
I first need to start this post with a thank you to Lance Robinson for submit all the required work and the idea of a Geekswithblogs.net search provider. Now when you visit the Geekswithblogs.net Homepage, if you drop down your search providers list you will see a “Geekswithblogs” listing as well as a highlighted link to add the Geekswithblogs search provider to your browser. With this, you then can use the Geekswithblogs search for finding answers to the questions you have. Our search is powered ...
I was working on a XML parser that we had written some time back. We used Microsoft's SAX (Simple API's for XML) for parsing the xml. Here is a very useful and elaborate SAX tutorial. All was working fine until a few XML files with Chinese characters showed up. Well, basically the program revolved around: --> Parse the input xml --> do something with the parsed data --> and create an output xml The ouput XML, of course, depended on the data we parsed in step 2. The problem was that when ...
I finally had a chance to install VS2010 Beta 1.Full instruction on how to here VS2010 has undergone a major overhaul since VS 2008, a peek are some of the cool new eye candy can be found here I've been waiting to get my hands on the TPL/PLINQ stuff and the Beta was definitely worth the wait. In a previous post we talked about using asynchronous actions for performing long running operations. I was anxious to see how the new TPL stuff would help in achieving the same thing. Interestingly enough, ...
In this Issue: Gavin Wignall, Timmy Kokke, Robbe Morris, Michael S. Sherotter, and Michael Sync. Shoutouts: Andy Beaulieu is the first guest on the Coding4Fun Show - Physics Helper ... check it out! Shawn Wildermuth is holding forth at DevTeach and has his first set of material up: DevTeach Silverlight+MVVM=Easy Demo If you missed the Reston Silverlight Firestarter, Andrew Duthie has posted the Silverlight Firestarter Deck and Links I didn't notice this is Issue 611 and being posted on 6/11 until ...
I have been sitting on a long list of part finished posts on Visual Basic “stuff” intended for my other blog http://blogs.msdn.com/goto1... Last week I finally started to finish them and get them published. Enjoy. Virtualization and Visual Basic 6.0 applications There may be some circumstances where upgrading a VB6 application is not feasible, for example it may rely on a control that simply does not work in the target operating system. I came across a couple of articles on MSDN that discussed the ...
I noticed that I hadn't added the filename associated with the process in the Process Info section last time. It struck me when looked at the PViewCE sample, which I mentioned about in this post. So I thought why not add the filename label, could anything else be simpler! I edited the dialog to include another static text control and added the code in AllignComponents() to beautify the control. But a small hiccup, when I ran the program just to test if it was displayed correctly, it wasn't to be ...
Available now! http://www.microsoft.com/do... [ Wondering what's a DTK? Read: SDK, DTK, DRK: WTF?! ] Overview The Windows Mobile 6.5 Developer Tool Kit adds documentation, sample code, header and library files, emulator images and tools to Visual Studio [2008] that let you build applications for Windows Mobile 6.5. This document contains important information about this package. For general information about ...
I was very excited today about the release and availability of the Windows Mobile 6.5 Developer Tool Kit! Find it here on MSDN: http://www.microsoft.com/do... The Windows Mobile 6.5 Developer Tool Kit adds documentation, sample code, header and library files, emulator images and tools to Visual Studio that let you build applications for Windows Mobile 6.5. For general information about writing software for Windows Mobile, ...
Introduction The WinPHP challenge is running towards it’s closing time. Only a few days before entering I came with the idea to enter the contest. I had to put a lot of my spare time into it, but it was worth it. I learned a lot from exploring the realm of php. It’s fun to work in a language I normally do not work in. And to find ways to implement some thoughts that have been on my mind for a while. Here’s the story about the what, the where and the how of BlogSnor, my entry for the WinPHP challenge. ...