Tag | API Posts

Regular Expression is a language independent feature supported by many languages, notably PERL, Java, JavaScript, C# etc. The support for Regular Expression is extensive under PERL and thus there is a term coined PCRE (Perl Compatible Regular Expression). .NET has followed the similar pattern writing syntax. The Base Class Library includes a namespace (System.Text.RegularExpress... where a set of classes have been exposed to utilize the power of regular expressions. Summarizing the widely used ...
Last Friday I met my old friend Hannes Pavelka. We had some beer in a really nice pub here in Dortmund (Limericks ) as he talked about unit testing in his current project. They use NUnit throughout the whole developing process. The biggest problem though is that they do not write their test before implementing, because it is to time consuming! There are different approaches to replace existing API for testing and avoid calling resource intensive objects. One is called "mocking", the other is known ...
This is gonna rock!! I can't wait. I definitely want to catch the Keynote (Blizzard!!) and I'm also really looking forward to catching the tracks on: Best Practices for Windows Development Speaker: Chuck Walbourn Developing games for the Windows platform means more than just using a few DirectX APIs. This talk covers a broad range of topics that game developers should take into account during design and implementation to ensure their titles work well on current and future versions of Windows. Optimization ...
So our (beta) SDK sample includes a sizeable list of column names that you can ask for from the indexer (in the QueryBuilder.cs file)... but it's far from a full list. These are the string constants that you pass to ExecuteQuery in the second parameter (and also you pass one of them as the third parameter to sort by). ExecuteQuery works like this: _Recordset resultSet = foo.ExecuteQuery(“a query to search for“, “DocTitle, DocAuthor, Url“, “DocTitle“, null) Let's ...
Some people in the Aqua-Soft forum had questions about how to call the Windows Desktop Search API from VB .NET. There are two ways to do this right now, using our beta SDK. 1) Download the SDK and Sample (see my post below) files. Reference WDSQuery.dll and include QueryBuilder.cs in your project. Then you can instantiate a QueryBuilder object and use that (the comments in that file, or IntelliSense, will guide you). It's pretty simple. OR 2) Use the COM API directly. Here's what I posted over there: ...
First day with the new job. Looks pretty interesting. Busy place, with lots to do. My job description has changed tons of time since I was interviewed, which I find funny. Once training is completed, though, looks like I will be working on a .Net front-end interface for the testing software API we have. I will still be doing manual software testing about 50% of the time, though. I found the lack of programming IDE installs on my workstation to be a little disappointing. Guess that means it will be ...
Via Andrew Connell Blog MCMS 2002 Service Pack 2 will have the support for ASP.Net 2.0 though there will still be some New features that will not be supported or fully suported by MCMS running under ASp.Net 2.0 framework for example Web Parts ... MCMS 2002 Service Pack 2: Expect this to be released after the .NET 2.0 Framwork is released (BTW: today’s keynote at TechEd announced that Visual Studio .Net 2005 and SQL Server 2005 will be released to manufacturing [RTM] the week of November 7, ...
From: BlogJet weblog :: MSN Spaces API Carnage4Life, of the MSN Spaces team, posts on his blog, that MSN Spaces will be supporting the Metaweblog API soon. Or at least, a version of it Our current plan is to provide an implementation of the MetaWeblog API with some methods from the Blogger API while using HTTPS/SSL for security. These APIs are widely supported by various weblog applications and already have a vibrant developer ecosystem around them. The API will enable people to create, edit and ...
First week on the new job, problem nr1 solved. (hostnames changed to generic names) We where getting continuous Sync errors like follows:Update for Windows Server 2003 (KB898792): Failed to download from URL 'http://download.windowsupd... (Error 0x80072F78: Invalid server response.) - WindowsServer2003-KB898792-... is a copy paste of ...
A little over a week ago we released our international version of the MSN Search Toolbar with Windows Desktop Search. As part of that release, we shipped BETA support for our developer API. Actually, CNET and some others found our SDK without us making any fuss about it. The reason we didn't (until today) is that we wanted to fix up a couple things before doing so. So Steve Ickman went back and made a few changes, including seperating the IDL file into two (one for the query interface, and one for ...
News.com had the story Monday night, and by 11:30 Tuesday morning, Scott Guthrie had a great article describing in much more detail what they're building.I've been a little down on AJAX, but I'm starting to come around. One of the downsides I posted about AJAX was cross browser support, but I also said a framework development company, such as Microsoft, could alleviate that problem.The other reasons still stand - back and forward buttons, bookmarks, etc., but those are mostly related to how you use ...
[Crosspost from Managed World] You know, I find myself fascinated by software architecture. I love looking at how other people have approached the problem of designing a game engine. Unfortunately, that usually involves reverse-engineering a bunch of source code. If any of you out there (meaning my handful of subscribers) are like me, you might want to look at the reference for the NeoEngine here. I have absolutely no idea HOW I came across this, but I'm glad I did. Do you know of any API references ...
I've started working part time on a very interesting project. It's a CMS project, but it's focused around a C++ back end system that the CMS site will interact with. It's all COM-based, which means we'll be using COM interop. Fun!Anyway, my role isn't really to build the CMS site. I'm developing the framework we'll use to build CMS templates, as well as setting up continuous integration so we get automatic builds. Well, I got the build process done today, and there's parts that I'm happy with and ...
Work-item is the basic items of work in Team System and their creation is usually done via Team Explorer IDE, as yet I haven’t discovered away to do it via the project portal. It would also seem I’m not the only person with this issue! Now I don’t really want to start having to create my own method via the API if I can help it, but if thats the way it is then tough bananas. In my organisations it’s not only Team Leaders and Architects that will create work-items potentially ...
well the other shoe dropped, so to speak, on our project. our client would like to have a forum as well as some other minor features to add to the list of components for their site. so the somewhat obvious choice was to drop .text and move on to community server (which is co-authored by the same feller who wrote .Text). We actually had the chance to conference call/Live meeting with Alex Lowe and Scott Watermasysk, the principal developers. Nick was able to dig into the api a little with them. It ...
A while back I attended a Microsoft internal briefing moderated by Eric Deily. This was a very informative presentation and I am grateful to Jeff Brand for getting me involved with the call. Here is an overview of some of things discussed during the presentation. Sorry about the delay in posting this information, but I just got my blog and have a lot of back blogging to do. :) Rich, Unified Configuration System Brand New administration tool with delegated admin support Componentized, Extensible Web ...
A while back I attended a Microsoft internal briefing moderated by Erick Dasque (Erik@novell.com). This was a very informative presentation and I am grateful to Jeff Brand for getting me involved with the call. Here is an overview of some of things discussed during the presentation. What is mono? Open source implementation of .NET Cross platform Unix Family – Linux, solaris, etc Windows Family Embedded systems Open Source compilers and tools Today: C#, Java, Nemerle Preview: VB.NET Jscript, ...
I am addicted to tutorials, tweaks, recipes, howtos--whatever you want to call them. I can't learn enough new skills and tricks. A whore I am. I typically pass on the information I find to friends and family through email; however, it is obvious that a blog is the better media for such communications. While I am often happy learning new tricks in my specialized computer life, I enjoy sharing more general information. Analogy warning -- I would love to learn how to do surgery; however, learning how ...
I was at last night’s Geek dinner along with 150+ other Geeks and techies (and a few journalists as well, just for good measure). It was an amazing atmosphere at the restaurant and everyone was so happy to be there and talking amongst like minded people. There were people from all over the world, at the dinner ranging from American, India, South Africa and the UK. I have to say I was very impressed by the quality of people at the dinner; everyone I met had a pretty impressive resume. I have ...
I attended the keynote, plus three sessions today. Here's a quick summary of points I found interesting: Steve Ballmer Keynote I blogged about this already, but you can watch the webcast yourself. Live Communication Server 2005 This is basically an enterprise IM server, with ability to interoperate with other company's IM servers, and public IM (MSN, Yahoo, AIM). If you want to have IM in your company, but don't want employees using public IM (and therefore possibly sharing sensitive info on public ...
BizTalk 2006 ships in the first half of 2006 I have read through the articles released by Scott Woodgate and other resources I could find on BizTalk Server 2006. So partly as a learning exercise and to provide a summary to my Boss who was concerned about the state of BAM in BizTalk 2004 I have condensed the articles down into the following bullet pointed summary with some personal opinions. Maybe this will be of use to people who are too time-strapped to read all the articles (if you are a more visual ...
I have seem a few Breadcrumb Controls for Microsoft Content Management System that display the Hierarchy/Path of the current Posting(page). While designing a MCMS 2002 site the site-map is laid out in such a way that the Navigation of the site is made simple and its easily accessible by the MCMS API calls.Its common to have a Hierarchy like this /Channels/RetailerSite/en-C... and/Channels/RetailerSite/e... In your breadcrumb ...
The more I work with the Rules API the more I'm convinced that the Vocabulary element was only created for the BRC. The most generous I can be is that someone came up with a good idea for the BRC and "retrofitted" it for the API. There are two reasons for this; The API is unsupported and undocumented. The BRL (Business Rules Language) can function happily without it - in fact a rule can reference directly the document element / .NET method etc. If you take a look at the following two bites from the ...
No it isn't available yet, read below to see why...I decided to write a small pet-project in C# just to not forget my meager skills on the .NET platform. I decided to write a small application that will query the GDS index and allow me to work with the results. Why do I think such an application is needed, well, I like the web interface of the regular result set, but I think the options given to the user are limited, the main issue I have is the fact that I can't open a file with my application of ...
Users of the Wilson O/R Mapper sometimes ask for some documentation about OPath in their user forum, since the mapper supports a query language similar (or identical?) to OPath. Here you are---ObjectSpaces articles that might be useful when working with Wilson O/R Mapper (a design goal of which seems to be to mimic the ObjectSpaces API design), an incomplete list in no particular order.
Here we go again. One of the simplest but kind of hidden functionality is how to determine if the current posting is accessed in live mode or in the edit mode. Microsoft Content Management Server has several modes to display the page out of these three are the most prominent ones i.e. Published , UnPublished and Editing Mode. It is frequently asked that how you can display hint to the authors while they are Creating a new posting or editing an existing one ...One way to accomplish this is to put ...
VIA Scott Galloway's Blog In this implementation you pass in a Guid as an 'out' parameter along with the string you want to test - it then fills in the Guid and returns true / false depending on whether the Guid was valid... private static Regex isGuid = new Regex(@"^(\{){0,1}[0-9a-fA-... RegexOptions.Compiled); internal static bool IsGuid(string candidate, out Guid output) { bool isValid = false; output=Guid.Empty; if(candidate!=null) ...
Has anybody seen a Vocabulary API for the rule engine? No? That's probably because it seems to either be on its way out or never made it in the first place. According to the BizTalk SDK "The following objects are exposed by Microsoft(r) BizTalk(r) Server 2004, but are not used in BizTalk Server programming." These include the following from the Microsoft.RuleEngine Namespace Vocabulary VocabularyDefinition VocabularyDefinitionDictionary VocabularyDictionary VocabularyInfo VocabularyInfoCollection ...
Recently in a project I wanted to make sure that my ASP.Net Output Cache is cleared when I import new Content in to the Production Environment. After a little research I found it it's not that hard. In MCMS 2001 Microsoft used to have an API call called ServerCountChanged or something similiar. In MCMS 2002 there is no such call but there is an Event that we can hook into .... Microsoft.ContentManagement... This ...
Updated: This project now has its own page. I use CruiseControl.NET with MSBuild for automated build of a .NET 2.0 project. You can find instructions how to setup this in Michael Swanson's Blog. Everything works fine but one thing that bothered me was that CC.NET logged raw console output from MSBuild, whereas I wanted the results as structured XML document so it can be nicely integrated into the build report and formatted with XSL. What I needed was an XML Logger for MSBuild. I first found one written ...
Winsock is the socket-based API on the Windows platform. Winsock (on Windows) provides more functionality than a standard BSD socket interface and also has additional MS only functions above what is defined in the WinSock spec (WinSock is not a strictly MS thing). Maybe in a future post I will talk about how Winsock is really just a layer on top of a much more general API allowing Windows to easily move to the next API of the decade. Ok lets get back on track and start talking about IP independent ...
Lately the buzz around many of my peers has been around Apple's new OS and how they are leaving Windows behind in their dust. Yes, everyone knows I have been in the Windows camp for sometime, but this fact is irrelevant to my following argument - How to be the apparent innovation leader. First, some explanation is in order. By apparent innovation leader, I am referring to the ability to be perceived at the leading edge of technology whether you are actually there or not. Apple has done a great job ...
In .NET Framework 2.0 ("Whidbey"), ASP.NET has undergone a lot of enhancements. Building secure web applications is one of the aspects that deserves good attention. There are many new features introduced such as Login Control, Membership API and Personalization API which helps in increasing the productivity of developers.In .NET 1.1, you can leverage the Forms Authentication to take your anonymous users to the login page. The "Login Page" is your call and you need to code the logic for validating ...
When it comes to desktop search, Google has the right idea. Right now I use the MSN Desktop Search app. I think it’s great, and I think when you compare the base install of MSN DS to GDS, MSN wins. But that’s not the end of the story. Today I found this: http://desktop.google.com/p... Just look at some of the plug-ins that other people have written for GDS. Right at the top, there’s one that hooks it into the normal Explorer search bar. MSN should offer you that option right ...
I would like to start asking some questions in C# + .NET in which I don't have answers yet. If you guys know the answers, please help answer that. I will try to maintain the list of answers. Thanks :) To kick off an infrequently asked question awaiting for answer, I would like to ask why .NET BCL does not offer the API to convert time from one timezone to the other time zone. You have some way to convert time from other timezone to your local timezone by using DateTime.Parse hack though ...
CERapi, the managed implementation for Windows CE Remote API (RAPI) has been updated to work with the file system of the Windows CE device. The CEFile and CEFolder classes have been introduced that make navigating the device easy. You can: Get list of files in specified folder Create/Delete folders Create/Delete/Move files Get folder/file attributes File's folder and its name - property Create shortcut to files Find files as per custom search filter Set file attributes Set filetime Launch files ...
With the new .NET framework API providing such wonderful functionality, everybody is programming in C# or VB.NET except setup developers. There was quite some commotion in the WIX users list on writing managed custom actions. It was finally decided that it is generally harmful to write managed code custom actions as they would depend on .NET Framework and having dependencies for setup is plain bad design. But IMHO, we can use managed code custom actions if we are 100% sure that it would be present ...
Blog market is getting more interesting. After Google's successful Blogger, now Yahoo will be in the market with its new blog service. Yahoo Inc. said Wednesday it will soon start invitation-only testing of its new Web log and social networking service Yahoo 360, which aims to better connect users to people they already know. Read more about Yahoo Blogs at CNN . Although Google is the king in search engine market, Yahoo has moved a step further with its API services. Microsoft also has big plans ...
For those of you that didn't already know, there is a FREE MSDN event in Charleston, SC on April 5th. (That's the same day as our GC.NUG meeting for April) Session #1: Web Services Unleashed Join us as we explore the power of web services from the perspective of a .NET developer. We’ll start with the industry standards that support web services, like SOAP and WSDL, and the tools in Visual Studio .NET 2003 that enable working with web services with ease. Next, we’ll see examples of web ...
From Ron Jacobs, PnP Product Manager... Looks pretty sweet! Enterprise Library Webcast Series It’s March 2005 and nearly 50000 people around the world have already downloaded Enterprise Library from www.microsoft.com/practices. We want to make sure you know how to use Enterprise Library and are happy to bring you a series of webcasts designed to quickly bring you up to speed on these seven new application blocks. You can listen in to patterns & practices live at the scheduled time and ask ...

Do you want to know which Win32 API maps to what part of the .NET Framework? If yes, visit http://msdn.microsoft.com/netframework/programming/interop/default.aspx?pull=/library/en-us/dndotnet/html/win32map.asp

Windows CE Remote API (RAPI) is the mechanism via which desktop applications can talk with the Windows CE device over ActiveSync connection. However, since RAPI is not supported natively for managed code development, I have been working on an implementation for managed code, CERapi. You can download CERapi from http://www.wintoolzone.com/... It comes with complete documentation, examples and currently supports: 1) Retrieving device and OS information 2) Retrieving Battery ...

This is a great resource to keep at hand: Microsoft Win32 to Microsoft .NET Framework API Map.  Of course, you need to keep PINVOKE.NET at hand as well.  Think of them as lifejackets in the .NET world.

A list of suggested NLS updates is here.

Been wanting to post this for sometime, just didn’t have the time to do it. Ever looked closely at formulae in calculated fields? I never realized how similar formulae in calculated fields were to CAML. It’s almost a 1:1 translation. For example look at this Calculated Field: =AND(Category="Books",OR([I... CAML: <And> <Eq> <FieldRef Name=”Category”... <Value Type=”Text”>... </Eq> ...
Since I've started taking classes at a local community college, I've discovered a new degree of boredom. Right now I'm reporting live from “Microcomputer Applications” class, where we're learning how to make the ugliest Excel spreadsheets you've ever seen. And I'm not kidding either: My required “Unix” class is far worse, though. We're learning all sorts of wonderful topics like how the “ls” command works, and how to use vi. I did meet a part-time student who was ...
This is what I believe is going to be included in SP1 Of BizTalk 2004, I'm sure there will be more 811250 FIX: You experience high CPU utilization and no timeout exceptionwhen using a timed scope in orchestration813845 BizTalk Server 2004 rejects reliable receipts from BizTalk Server2000 and from BizTalk Server 2002814041 BizTalk Server may fail persisting state to the database and mayend the orchestration instance821934 FIX: BizTalk Server 2004 rejects BTF receipts in CoordinatedUniversal Time (Greenwich ...
CECallLog managed component for Windows CE/.NET CF now supports getting the emergency number list via the static CEEmergencyNumbers property of the CECallLog type.

The documentation discusses the updated API and can be downloaded from http://www.wintoolzone.com/showpage.aspx?url=dotnet.aspx
I have updated the CECallLog managed component for Windows CE/.NET CF to support making phone calls. The CECallLog class now supports MakePhoneCall static method to make the phone call, while the CECallLogEntry class supports the Call method, to make the phone call against the number associated with the call log entry. The documentation discusses the updated API with example. They can be downloaded from http://www.wintoolzone.com/... ...
Yes its true, take a look at any of the default WebParts or ListViews in SharePoint and you can learn a thing or 2. For instance recently I wanted to find all the related items in an issues List. I was stumped until I took a look at the CAML in the default Issue Item Edit form, which goes something like this <Where> <And> <Eq> <FieldRef Name="IsCurrent"/> <Value Type="Boolean">1</Val... <And> <Neq> <FieldRef Name="IssueID"/> <Value ...
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 ...