Tag | API Posts

In the latest installment of MSDN Magazine "Toolbox", Scott Mitchell wrote a few paragraphs about how a developer can add to his applications/websites the ability to accept online credit card payments. The process does seem complex and a bit intimidating at first, but with the right tools it can be pretty easy. Scott points his readers to Authorize.Net (Internet payment gateway through which one can process the charges), and also mentions the availability of some third-party shopping cart products ...
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 ...
My team has been working on and off all week trying to find out why one of our windows services was crashing at the same time every day with a very unhelpful eventlog message. Like all good errors, a search on the error message returns many results where people get the same message but for a bunch of different reasons and where many of the search result threads are left unanswered. This service was first developed in .NET 1.1 way before I joined the company (only 5 months ago). It had been running ...
When initially setting up Live Writer with CS 2.1 it has some issues with the initial setup. Basically it doesn't work - at first. After some sniffing, it's getting an Http 301 redirect that causes it to fail. So, if you type in the site as http://www.cicoria.com/..... to the metablog api endpoint, it fails. However, just strip off the www and change to http://cicoria.com/.... and your good to go ...
This week marked the release of my latest book - Professional XML. I wrote this with friend Kent Sharkey and some other authors including Michael Kay (editor of the XSLT specification and other things). This book came out really nice and after quickly covering XML - goes straight into covering all the major technologies that are based upon XML. The Amazon site doesn't seem to provide the table of contents at the moment, so here it is: 1. XML Syntax 2. XML Editors 3. XHTML and CSS 4. XFL-FO 5. Document ...
[Originally posted on 6th July 2006] WinToolZone.Bluetooth, the managed Bluetooth API for the desktop that I am working on, now has the support for enumerating devices as well. The snippet below exemplifies it: . 1: Bluetooth bth = new Bluetooth(); 2: 3: // EnumRadios(bth); 4: 5: if (bth.RefreshDevices(false, true, true, true, true, null) == false) 6: { 7: Console.WriteLine("Unable to enum devices"); 8: return; 9: } 10: 11: foreach (BluetoothDevice device in bth.Devices) 12: { 13: Console.WriteLine("Devicename: ...
[Originally posted on 5th July 2006] One of the communication protocols not present in .NET Framework class libraries is Bluetooth. So today, I started to work on my implementation of a managed API for Bluetooth programming - WinToolZone.Bluetooth. I am authoring it using Managed C++ and leveraging the Microsoft Bluetooth stack APIs. I just completed implementing the support for enumerating the Bluetooth radios on a machine. Below is a C# program that exemplifies how they can be enumerated: . 1: ...
The Google Maps API blog talks about adding support for GeoRSS enabled feeds on Google Maps. That means you can take the Where's Tim Messaging Feed and view the last 50 message people sent me on Google Maps You can also take my location feed and view it on Google Maps. Since my location feed contains Yahoo Maps, clicking on the GIcon will show a Yahoo Map on the Google Map! Technorati tags: GeoRSS, Where's Tim, Google Maps, Yahoo Maps ...
Alex Iskold posted a great article here http://www.readwriteweb.com... Which made me think of another blog entry that I read here by Ismael Ghalimi http://itredux.com/blog/200... ... and after looking thru the various comments got me thinking about what it would take to provide a SIMPLE API over the Web. 4 Hours later, it came up with this http://www.universaldatafee... and this http://www.universaldatafee... ...
Almost as common as the debate over which .NET language to choose is the argument about whether to use DataSets or not. As described above, typed data sets are easy to generate through the designer, provide a type safe API for containing business entity data, and already support advanced features such as change tracking, sorting, filtering, and searching. Some of the resistance to DataSets resulted from several performance shortcomings in the .NET 1.1 implementations. These problems included poor ...
More technical than most reviews, Peter Bright covers the APIs and what makes Vista different under the hood, including: Windows API history User interface - Windows Presentation Foundation and the Desktop Window Manager. Printing - XPS documents Under the hood - Windows Communication Foundation and Windows Workflow Foundation Video and Audio - Media Foundation A follow-up article promises to cover security and the features that got cut. Read Windows Vista: more than just a pretty face ...

To blog with Live writer on the geekswithblogs site setup as other and use the Metablog API service URL as  http://www.geekswithblogs.net/[YOUR USER NAME]/services/metablogapi.aspx.

Well, I'm pretty fed up with Microsoft's Windows Live Dev Team. Not that they have really done anything wrong, it's just that they haven't done anything!!! Add new abilities to the Windows Live Messenger client with the Messenger Add-in SDK beta. Published Friday, June 09, 2006 2:55 PM So, it's almost been a year since MS has put out anything to support development with Messenger. Whats the deal?? To top things off the existing Add-in sdk is crap! While it works, it only give you access to events ...
This is a simple example of using Win32 api in .NET. I'll use the FlashWindow() API from user32.dll so as to make the window go flashing and get attention. Take a simple Windows form and add a button to it. Add a reference to System.Runtime.InteropServices namespace. And heres the code. // --------- code -----------[DllImport("user... static extern int FlashWindow(int hWnd, int bInvert); public partial class Form1 : Form{ public Form1() { InitializeComponent(); } private void button1_Click(object ...
I recently had the not-so-great-or-fun pleasure of a pure .Net to Oracle application show-down :) And yes, I say that with some pun. In summary, keeping to proper form, I developed a DataProviderFactory that provided the following: SQL Server native client API Oracle BDC to SQL Server BDC to Oracle Now, BDC = Business Data Catalog - a new service provider native to MOSS (Micrsoft Office SharePoint Server) 2007. And trust me - the BDC ROCKS!!! Back to providers. My provider factory basically provided ...
All I can say is, "Wow!" I just looked at my blog and realized that I posted 34 posts for last month. I'm sure some of you may not think this is a large amount, but for me it represented the single busiest month of blogging since I started almost a year ago. I don't know how busy I'll be blogging this month, but I know I will be busy. Here is my current list of projects (outside of real work, that is): Update my File Downloader component with asynchronous download support. Update my Framework Version ...
As I began fooling around with my new Geekswithblogs blog I noticed a little checkbox in the Options section called "Allow webservices". Obviously that was some sort of API for uploading new blogentries, but how do I access it? Did I have to write my own app access it? No, Office 2007 has an awesome feature for blogging. It allows you to hook up to pretty much any blogging API including Blogger, the company Sharepoint, CommunityServer, Windows Live Spaces, WordPress, TypePad and most importantly ...
I was stumbling around the web, and decided to stop by Coding4Fun, which has been improved since I last saw it. If you haven't looked around that site, it's an interesting site from MS that shows a lot of fun little applets that are also tutorials. And today on the top of the list when I looked at it is this article mentioning that mono now supports VB, including "an almost complete API model for ASP.NET 2.0". I'm shocked, MS actually said something nice for once ...
Here are some good Cryptography related resources.Cryptography Overviewhttp://msdn2.micros... and improved Security in the .Net Framework2.0 http://msdn2.microsoft.com/... the examples are very useful Protect Private Data with the Cryptography Namespaces of the .NET Frameworkhttp://msdn.micros... should help you get an insight on .NET Cryptography essentials. Walkthrough Creating a Cryptographic Application.http://msdn2.mi... ...
Today I got my brand new Zune MP3 player which I did win at a Microsoft Event. Lucky me ;-). Ok install the software and you are ready to rockn roll, I thought, and I was wrong. Very wrong. At 94% of the installation it did stop with an error which was there even after a reboot. A quick Google search did confirm that other users had this problem also. One of the possible installation problems was the the Users group has the wrong name. Aha! I have a German Windows XP where the Users group is named ...
As I mentioned in my previous post, there is an apparent bug in the Metaweblog API that prevents me from specifying the full path to the FxCopCmd executable. I'm not entirely sure what is actually happening, but I do know that it doesn't allow the post to be submitted through either Windows Live Writer or through the blog Admin UI. The strangest part of this is that it appears to only care about this particular executable. I've tried several others, both command line and GUI applications and they ...
I don't know about you, but I have always felt that Microsoft did a huge injustice to the development community by leaving the Static Code Analysis capability out of Visual Studio 2005 Professional Edition. Just in case you don't know what this is, it is an integrated version of FxCop that allows you to configure Code Analysis and view the results from within Visual Studio. I'm not going to go into details about why Code Analysis is beneficial (perhaps I'll save that for another post), but having ...
As Bush's goverument proposed the extension of daylight saving time period, the daylight saving time will start in March and end in November in 2007 instead of April and October previously. This will cause a problem for unpatched system not to display time correctly. Therefore, several vendors have provided a patch for their own system including Microsoft. Microsoft released a KB928388 patch. What this patch does is to modify some registry keys that keep information about time offset and daylight ...
If you're like me and you have a Zune Pass (I know there are at least a few of you out there) you probably have spent more than a few hours building your library. I finally have all the artists that I own CDs for downloaded so I can get all the songs I like without buying more CDs. I also re-downloaded all my MP3s in Zune format just to keep things simple and have complete tags and album art. Now I spend time checking the home page to see what's new and also pick an artist I already have to check ...
http://www.pinvoke.net comes with handy C# /VB.Net signatures for invoking with core Win32 API.for example if we search for MessageBox in http://www.pinvoke.net we get the following result: C# Signature (Original): [DllImport("user32.dll", CharSet=CharSet.Auto)]public static extern uint MessageBox(IntPtr hWnd, String text, String caption, uint type);This is the bare minimum and we can use this straight way in our application but I always prefer to write a Wrapper around it. Which turns into something ...
Yep, that is the case at it is unfolding on the SharePoint team blog site about the "RTM" release of the SDK that is supposed to be the cornerstone of information for the product. Unfortunately it has come down to many very pissed off developers that are trying to keep up with a high demand of the new system from their customers and finding that there just isn't any good information any where on much of the API or other parts of the system that seem to be in high demand. I for one am suffering the ...
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... When multithreading on the Xbox 360, here are a few things to keep in mind. Affinity In multithreaded programming, programmers often lack the ability to specify the Processor Affinity of a thread. Even when API calls are available to specify a processor, it is usually ignored. The reason for this is that modern operating systems have many processes running, ...
Recently I've read the AMQP (Advanced Message Queuing Protocol specification http://www.amqp.org/). Obviously this is the different protocol level then BizTalk messaging system but... The AMQP specification let me get some thoughts. And take in mind this topic is not a critic of AMQP or BizTalk, not at all. And this is not a comparing them, maybe sometimes ;) After discussion with Tomas Restrepo http://www.winterdom.com/we... I've made several changes in the text. Thanks Tomas! AMQP: Thoughts: ...
The CTP doesn't have a lot of documentation, but there is a reasonably detailed Release Notes document explaining what's new. Here's a quick summary of what you can expect: Core Source Code installer Partial Trust Support Strong-Named Binary Assemblies Validation Application Block Core validation API Minimal Validator Library Attaching validators to objects via attributes Attaching validators to objects via configuration Not included yet (but in the works): Configuration tool support, complete validator ...
Quote from the original post by O'Reilly Radar: In an odd move Google has quietly deprecated their Search SOAP API, will no longer be issuing keys, and have removed the SDK from their site. They did not even issue a blog post about it. They will continue (for how long?) to support existing users, but will not do any bug fixes. They are urging developers to use their AJAX Search API ((Radar post) instead. Read More Hmm. I can understand what business goals they want to achieve by this. It's sad cause ...
Name: The Plug and Play SOA Description: I have seen occasions where BizTalk has been stuck between two systems simply because it is perceived to decouple them. One case was where System A called an API on System B which was exposed as a set of web services. All BizTalk was planned to do was accept the web service call from System A and forward it to System B. Some of the design thoughts included: Thought Other consideration "We can replace System B and System A is not affected" Well yes but the ...
I am glad to inform the release of SmartCodeGenerator CTP 2.0 in both .Net1.1 and .Net2.0. As a result Templates can be generated both in VS2003 and VS2005. Please download from Codeplex:http://www.codeple... Notes:1. I am not using the Asp.Net Profile object in the core api to generate user interface, instead introduced a Custom class "TheProperties". Please refer to tutorials at www.smartcodegenerator.com for more details.There are some other changes made to ...
Hello everyone, and welcome back to the “Feature Of The Week” newsletter. This week’s newsletter will be short and sweet. We will go over the new Application Recovery and Restart API. The API itself is very small and very simple to use (which, in my opinion, is “A Good Thing” TM). What is Application Recovery and Restart? Application Recovery is a set of technologies that give applications the opportunity to control what actions are taken on their behalf by the system when they (the application) ...
Security is one of the areas which I am constantly interested in and as my work revolves around smart clients in the last few years I decided to write down this post. Many of these items described below would apply not only to smart clients but for most applications (irrespective of Web services, Server side apps, alike). I don't consider myself a strong SQL developer hence I am not comfortable right now to post such security considerations for SQL code. May be some day later. Do note that these ...
Calling Win32 DLLs in C# with P/Invoke http://msdn.microsoft.com/m... Now let's look at the direction in which string information is being passed between your code and the unmanaged function. There are two ways that you can know which direction the information is being passed in when working with strings. The first and most reliable method is to understand the purpose of the parameter in the first place. For example, if you are calling a parameter with a name like CreateMutex ...
Hello everyone, and welcome back to the “Feature Of The Week” newsletter. In this week’s edition of the “Longhorn Server Feature of the Week”, we will be taking a look at a new feature in Vista and Longhorn Server: the Restart Manager. What is the Restart Manager? The primary reason software updates require a system restart during an installation or update is that some of the files that are being updated are currently being used by a running application or service. The Restart Manager enables all ...
Hello everyone, and welcome back to the “Feature Of The Week” newsletter. This week, we take quick dive into some of the enhancements that have been made to Windows Error Reporting (WER) in Vista and Longhorn Server. What is Windows Error Reporting (WER)? Windows Error Reporting enables users to notify Microsoft of application faults, kernel faults, and unresponsive applications. Microsoft can use the error reporting feature to provide customers with troubleshooting information, solutions, or updates ...
Hello everyone, and welcome back to the “Feature Of The Week” newsletter. This week, we will be looking at the robust replacement for boot.ini in Windows Vista and Longhorn Server: Boot Configuration Data. What is Boot Configuration Data? Boot configuration data (BCD) provides a store that is used to describe boot applications and boot application settings. The objects and elements in the store effectively replace Boot.ini. The data in the store can be managed by a command-line utility, bcdedit.exe, ...
Hello everyone, and welcome back to the “Feature Of The Week” newsletter. In this fifth installment, we will take a short little peek at a series of enhancements coming in Vista and Longhorn Server to the Task Scheduler. What is the Task Scheduler API? The Task Scheduler API is an API that enables you to automatically perform routine tasks on a chosen computer. The Task Scheduler does this by monitoring whatever criteria you choose to initiate the tasks (referred to as triggers) and then executing ...
Featured on Programmable Web a couple weeks ago was an API from the Institude On Money in State Politics that allows you to track campaign contributions for candidates. It is pretty neat, and should come in quite handily in 2008. Here is their a view of their data for North Carolina. A while back I posted about Project Vote Smart, and the news that they are planning to make an API available "well before the 2008 elections". With the massive amount of information available at Project Vote Smart, this ...
Lately I have been having a crisis of faith about MonoRail and have been looking at ASP.Net again. All of the neat controls, and IDE support are sooooo tempting. So late last night I happened to catch Ayende online and here is what he had to say: ASP.Net Pro Because it is what everyone use. Has controls Isolate from web Con Isolate from web You work in a different model than what really is - leaky abstraction view state Very complex model for doing really simple stuff. Encourage mixing of UI / BAL ...
From yesterday's Betanews: A statement released to the press very early this morning from Ben Fathi, Microsoft's corporate vice president for security technology, gives some subtle but clear indications that, if McAfee wants to take its claims against Windows Vista security features off the streets and into a more formal setting, Microsoft might be willing to make a battle of it. "It's unfortunate that McAfee's lawyers are making these kinds of inaccurate and inflammatory statements," Fathi's statement ...
Back to Earth after my Channel 9 video. In this post I want to discuss some of my recent experiences implementing SOA. It’s important to take everyone with you. SOA is a Sea-Change in the way programs are developed and implemented in an organisation. The concept of an ‘Application’ is very much redefined. It’s so important that the reason why are communicated not only to key stake-holder in business, but everyone in the I.T department, specially those that are at the coal ...