Tag | API Posts

Another excellent post at TheServerSide:X-develop is a multi-language IDE for the .NET and Java platforms. It supports the C#, Visual Basic.NET, Java and J# programming languages. Productivity-enhancing features such as on-the-fly error checking of all files, refactoring and smart code templates are supported for all languages.Feature highlights:Instant detection of errors throughout all filesNo need to compile in order to find out if there are errors. X-develop checks all files in the solution on-the-fly ...
Ever wanted to read an assemblies metadata without actually loading the assembly, either because it was not performant enough, or the assembly was missing a reference. Here is a little utilitiy that I wrote that will enumerate through all of an assemblies references without loading any of the actual assemblies. It uses the Unmanaged MetaData API to read the meta data. We use it to help us debug manifest definition mismathc problems. http://workspaces.gotdotnet... Of course ...
I am sure most of us are still high from the MSN Deskbar, but here is a little more intoxication. Google has a Deskbar too. Here is the link. They even have an API for writing plug-ins for it, and guess which language you get to write plug-ins in. Its .NET now isn’t that cool ...
So it’s here at last, Microsoft’s entrance into the desktop search market. I’ll start this off by saying that these guys have done some excellent work. Already it has replaced Copernic and Lookout for me completely. Of course, as a user, I always want more. So here’s my Christmas list: Context-sensitive searching in more places. Context-sensitive searching in the Open File dialog (as I describe here) The ability to search down the current folder structure in Explorer. Custom ...
As part of the recently concluded Mobile and Embedded DevCon 2004 at Bangalore, from 9th-11th Dec 2004, I delivered a talk on Remote API (RAPI), amongst other things. To demonstrate the tremendous power and capability of Windows CE RAPI (which allows us to managed CE based devices from the desktop), I wrote a Windows CE File Manager - a Windows Explorer like application that can be used to navigate the CE device's file system and move files to/fro the device and your desktop and open them from the ...
This is a constant issue here at the company, and I guess that it arises almost everywhere. Let me first explain that we are a company that deals with software developement, and mainly for our single product (which is in fact several, but it doesn't really matter). Each time we develop a new feature, or update a previous one we are of course forced to deal with issues of backward compatibility, and others not only within our products but also with various third-party providers that integrate into ...
Due to the widespread of worms and virii, Microsoft did implement a security lock down on e-mail since 2002. This also includes the lock down on the programmatic access of e-mail. First, e-mails cannot be sent through Outlook, Outlook Express, MAPI or even CDO (if it depends on MAPI). Second, access to e-mail in Inbox through API has been limited as well. Third, some certain attachment types cannot be opened inside Outlook. This has created a lot of problems in automating e-mail sending and receiving ...
I know that I might be whining but sometimes I really hate XML. I totally agreed that XML is very useful since it allows us to express hierarchical or unstructured information in the form that human and machine can understand. However, what I really hate is more about XML API. It seems that any XML API that I used before isn't intuitive enough to handle complex XML document including namespace and multi-layer XML document. Sometimes, I spent a long time just to find out how to do it using XML API... ...
I was reading Werblog and saw these stats about Skype: 13M+ users registered 1M+ simultaneous users reached for the first time a couple of weeks ago 2,384,686,217 minutes served, as I type this - i.e almost 2.4 billion minutes. Just to put things in perspective: Vonage has 170,000 customers and passed the billion minutes mark sometime in 2004 295,000 users have signed for SkypeOut (Skype has a goal of 5% conversion from the free service to SkypeOut) Skype has been my main IM for a few years now and ...
The .NET Compact Framework doesn't support a SMS API within itself. However, Windows CE does support the functionality via its SMS.DLL module. Over my Diwali vacations at my home in Chandigarh, I worked upon implementing a managed interface to the SMS API. The result is SMSCF, a .NET Compact Framework based component that can be used by application to send SMS. Download it from the Components section here ...
So if you are having problems programming for Sharepoint 2003, then here is some help. First to you need to reference Microsoft.SharePoint.dll. You should be able to do most of what you need using this dll. Now if you cannot find this dll on your box you must retrieve it from the server with Sharepoint installed. Using the command prompt, access the GAC and copy the file to where you can access it. Now if you get the error below: Preparing resources...Updating references...The dependency 'Microsoft.SharePoint.Secur... ...
Comparing .NET with Java 1.5 In response of my .NET vs Java 1.5 mail, our guru MVP Khurram Shakir made a few interesting points. This blog entry is my response to his mail ......I also have a few points to make, please correct me if am wrong.This discussion i belive is very important for all of us and this is not about a war between Java and .NET ... its just a comparison between technologies and tools available for us to use. We as programmers/ s/w engineers /(any thing else you can think of) use ...
And here's another thing. I really like coding with .NET, but the thing I like most about it is its promise of multi-language development. Unfortunately, it doesn't deliver! Now I'm not talking about little qualms like the fact that you can't put C# code and VB code in the same project. I'm talking about the incorrect assumptions and lack of vision in the design of the CLR and CTS. They assume you'll only ever want single inheritance. They assume you'll only ever want stack-based control flow, not ...
The MSBTS_ServiceInstanceSuspen... WMI event is fired by the BizTalk Engine whenever a "message" is suspended. This happens (amongst other reasons) when all send retries fail (for example when a connected system is down) or whenever exceptions occur during the pipeline execution (for example when message validation fails). For this little article I'd like to focus on the first category: outbound suspended messages caused by systems being temporarily unavailable. Usually admins like to receive ...
You all probably know that MSMQ stands for 'Microsoft Message Queuing' and MSMQT is the acronym for describing the BizTalk MSMQ adapter. A quick reminder for those who already forgot: the "T" in MSMQT stands for transactional (not “Transport”) Probably less common knowledge is what MSMQ acknowledgments (ACKs) are, so I have chosen this to be the topic for my first post. What are ACKS and in what flavors do they come? Acknowledgments are system-generated confirmation messages that are sent to the ...
Man, it's been a while since I've been able to put some time into the Harvest Engine. Lots o' deadlines with my music publisher, don't cha know. Anyways, I was finally able to spend at least a little time tonight trying to make some progress with the engine (albeit it very *small* progress). I whipped up a quick reasonably high-resolution timer for the engine that uses QueryPerformanceCounter in the Windows API. Along with that, I added in pausing/resuming functionality into the engine. That is just ...
One of the things I have learned from Robert Scoble is that transparency between Microsoft and outside developers *is a good thing*. Is it time yet to extend that transparency now to the DirectX community? Hello all, welcome back once again to the clueless Jason Olson show, and I am your host, Mr. Clueless himself, Jason Olson!!! (QUE: applause) Thank you! Thank you! Anyways, enough fun......... First off, this isn't a rant. I am presenting this because I think there is a potential resource that ...
Well the last big project is mostly behind me, which means I delivered all I had to, and now waiting for the rejects, stuff that need to be fixed etc. Actually I delivered it on thursday, but had to endure some questions and problems that our indian engineer friends encountered (imagine me, debugging their C++ code, me a simple VB coder, but amazingly I did it :) ). So today, I back to my (almost) least favorite work, creating Technical Designs for new features, we are revamping the software API ...
I read a pretty interesting article today.... How Microsoft Lost the API War. I'd have to say a was a little dismayed. Like most of the developers I know, I am currently developing in ASP.NET. I have probaly been using ASP.NET for the last 2 years or so, before that it was all Windows applications. I had the opportunity to write some distributed Windows Applications upon the release of Visual Studio .NET, but since then its been all web. The majority of my skillset lies in SQL databases, middle-tier ...
Resources Covered: - · Introduction· Review of Features· Enhancements· DTS Redefined· Deployment and Management· Hand Shake of Brothers (.NET and YUKON) or Marriage of Romeo and Juliet.Author: - Veer Ji WangooApplies to : - SQL SERVER “YUKON” Beta 1Target Audience :- SQL DBA,Solution Architects,IT analysts ,Developers etcIntroductionThe world of Programming had never moved so fast as it did in last couple of years. After Y2K the things got so fast that it ...
http://blogs.msdn.com/dmass... From there and Scoble’s log it looks like Microsoft has reformed the Internet Explorer product team. Perhaps this means we’ll see an IE 7.0 after all? At this point I use IE and Avant Browser exclusively. I tried FireFox back when the name changed and found it to be a repulsive experience. However, at least on some level, it does seem to be pushing ahead where IE has stagnated. The features I use most in Avant are the tabs, ...
Joel Spolsky has created quite a stir with his recent ravings about the demise of the desktop and how Microsoft has lost the API war. First, I didn't even know there was an API war going on. Second, I see the coming of .NET and the CLR as a technology that ensures Microsoft's survival rather than a prescient indicator of its eventual demise. The biggest concern that I see with browser-based application, beyond the obvious user interface issues, is the fact that they don't work offline. There are ...
There is an old application hosted on the application server at my job. The core COM+ application was exposed over HTTP using ASP and XML. The custom ASP scripts are used parsing XML requests using MSXML. It was a long time ago when SOAP was not made available. This web-service like approach was required as two other web application hosted on two physically different nodes need to communicate with it. One of these web applications is hosted in a shared hosting environment, and we did not wanted to ...
This was discussed at great length at TechEd this year. The one thing that I came away with is that nobody can agree on what the definition should be. Don't get me wrong, I actually think that this is a good thing. SOA should not be a defined, standards based “thing”. Once it reaches that point it will become less useful and more restrictive. In an earlier post I outlined an architecture that we are using. Some would look at this as being a SOA based architecture, a viewpoint that I tend ...
Jan Gray – Architect //blogs.msdn.com/jangr Abhi Khune – Development Lead //blogs.msdn.com/akhune Slow Software Stinks – Don’t Ship It! Symptoms – Locked-up UI, bad citizenship, poor scaling Causes Mistakes in architecture, reuse, interfaces, data representations, algorithms Not paying attention; low prioritization Where are we? Where should we be? Is premature optimization the root of all evil? How to optimize the right stuff, the right amount, at the right time? Put ...
Comments within a C# method body tend to A) make a problem statement then B) document the steps to solve the problem. The problem statements tend to be multi-line; the details of the solution tend to be single-line. I want the problem statements to stand out. Traditionally I use #region blocks to group the problems. Unfortunately, regions are single-line. They are also slightly more laborous to construct. Lately I have been using a triple-slash comment block at the top of the method body to state ...
Here’s the comment I posted to Scoble’s blog about the RSS vs. Atom debate that’s been sparked by the W3C’s invitation to the Atom developers to work toward standardization. To me, this is not a VHS vs. Beta argument but rather very much like a DVD+RW vs. DVD-RW argument. In both cases, both formats can be interpreted by about 99% of "reader" devices. Nowadays most DVD recorders can burn to both formats as well. The only difference is in the label that's on the media. A few ...
Ok so work is starting to really ramp up now and eat all my time. I am in need of a list of information regarding the networking implementation (TCP/IP stack, network API interfaces, etc) and capabilities of the latest redhat and suse linux distributions as well as that for Mac OSx-Panther. If anyone knows of some awesome documentation sources for low level stuff for either Mac OSx of Linux send the links my way. Anyways enough with the networking stuff. Today after work I went exploring to downtown ...
Ralf has put up a couple of posts here and here regarding app architecture that everyone should read. His ideas are very similiar to the ideas that we have been implementing ourselves (are you reading this Donnie). One point that I don't particularly agree with is the we should have been using COM+ more. I feel that COM+ is a useful benefit in a relatively small percentage of systems. When you need it you'll know, but it would never be the first thing I look at for a system design. I also believe ...
The Microsoft Enterprise Instrumentation framework (EIF) enables applications built on the .NET Framework to be instrumented for manageability in a production environment. This framework provides an extensible event schema and unified API which leverages existing eventing, logging and tracing mechanisms built into Windows, including WMI, the Windows Event Log, and Windows Event Tracing. This framework plays a key part in a number of the Microsoft application blocks particulary the Exception block. ...
I'm sure you have probably seen that the OneNote SP1 preview is available. I downloaded and installed this today and I must say that I like what I am seeing. I use OneNote quite a bit anyway, but they have added some really nice features. This page outlines some of the changes. Some of the ones that I immediately liked was the better integration with Outlook, the ability to send notes from my Axim PocketPC directly to OneNote and of course there is now an API to play with ...
Update 12/30/2010: While it was amusng for six-and-a-half years, I have closed comments on this post. Move along... Move along... Recently, Eric Gunnerson posted code on how to create an array with a non-zero lower bound. Paul Vick brought up the AndAlso and OrElse operators which are new to VB.NET. This got me to thinking of the state of affairs way back in 2001 when .NET was still in its beta phase. Three years ago, Visual Fred was the derisive name given to VB.NET 2002 by VB6 programmers who did ...
I have been reading Test-Driven Development in Microsoft .NET and I'm a bit disappointed. I am really trying to see the benefit of TDD, but I have to admit that it is escaping me. I see the benefit of using a tool such as NUnit or CSUnit, and plan on implementing the tool in our process. The part I'm having a hard time with is writing the test first then the code. It seems to me that by doing that you design your app to meet the tests and not to solve the business need. I know the idea is to write ...
XML usage when and where in dotNet Classes with fields or properties that hold XML: If a class has a field or property that is an XML document or fragment, it should provide mechanisms for manipulating the property as both a string and as an XmlReader. Methods that accept XML input or return XML as output: Methods that accept or return XML should favor returning XmlReader or XPathNavigator unless the user is expected to be able to edit the XML data, in which case XmlDocument should be used. Converting ...
Since I am building a reference application, I need to set a few design criteria to start off the process. I expect these will evolve somewhat over time, but time is what I have. Therefore I will build a large, detailed list with the hope that I will eventually get to everything. I am trying to design a robust application without mentioning anything that it does. Just what is a robust application? In a perfect world, it would solve the user's problem immediately, completely, and without error. The ...
I have heard Don Box speak about the caviats of using the Indigo service model. He states that service classes should not use transport-specific API - notably the use of HttpContext. The logic is obvious. The problem is that my ASMX web services must often use XSD files that are in the same directory as the ASMX file. HttpContext.Current.Server.... is used to resolve to a local path. What is the recommended API for doing such resolution without HttpContext? Don, your comments would be appreciated ...
While commuting home today, I started thinking about the future of DirectX. I suppose this is kind of in relation to Tom Miller's request for future improvements to DirectX. First of all, when most teams at Microsoft are starting up blogs, where are all the DirectXers? The only one I am familiar with is Tom Miller, am I missing some? Not only the lack of bloggers, but also the lack of community. Microsoft's community support for DirectX definitely leaves many things to be desired. While there is ...

This will help. Microsoft Win32 to Microsoft .NET Framework API Map just published on MSDN...

You will be able to drag a SQL Server table and drop it into a page, which will give you a data binded datagrid, mostly through property manipulation, the grid will be sortable, editable and updatable One goal of ASP.NET 2.0 is to reduce the amount of code needed by 70-75%, Scott thinks Whidbey will get very close to that mark Another goal is to simplify administration, ASP.NET 2.0 will offer a rich configuration API along with rich admin tools, in the bottom you will still have good old XML config ...
Did you know that you can achieve table-level cache invalidation with ASP.NET today? Here's how: The stock ASP.NET 1.0 CacheDependency class can monitor a local or network file. As the file changes, the appropriate cache entries are evicted from the cache. We can leverage this to achieve near-realtime cache invalidation as database data changes. Write a trigger for each table you want to monitor. The trigger will touch a file on the database's filesystem. The filename will correspond to the table ...
Had to sleep in today, so didn't catch the general session. I've been trying to focus on sessions that talk about current issues, rather than Longhorn and friends that we won't be using for a couple years. Breakout sessions here have been packed! Most of them spill out into the hallways, sitting on the floor, watching the session from the flat panel out there. Interop pitfalls -- turns out I'd heard about most of this already. Minimize roundtrips to unmanaged code. A couple new items: Default char ...
Rob Howard – WSV330 – ASP.NET Programming Using Advanced Caching Techniques in ASP.NET Whidbey Program Manager, Web Platform & Tools http://www.asp.net/whidbey to download the slides http://weblogs.asp.net/rhoward ASP.NET 1.X Output Cache Page Output Caching Cache contents of page to memory Reused cached page on subsequent requests Supported HTTP 1.1 Cache semantics Partial Page Caching Cached User Control in a page Allowed for portions of page to be cached Time based dependencies Programmatic ...
Jim Alchin - ** how developers can do this? Fundamentals - WinFS - Indigo - Avalon Announcing WinFX - next step behind Win 32 - builds on the .NET Framework Well-structured programming framework for Windows Continued commitment to back wards compatibility MS-DOS – Win16 – Win32 - WinFX Add ref and release you will not have to think about. WinFx Developer Preview - namespace chart Software fundamentals - challenges System, application, driver reliability Deployment complexity and expense ...