Tag | API Posts

Written by: Michael Stephenson (http://geekswithblogs.net/... Problem Definition It is a common design decision on BizTalk projects when you are implementing your solution and you find that you need to store some custom configuration. The challenge is where to store it. For some BizTalk components such as Adapters and Pipelines you can take advantage of the configuration meta data stored in SSO to handle this. This is the proper approach for these components and you have the BizTalk ...

I have just published an article on GridViewGuy. The article talks about the JQuery API and how you can use it in your application. Check out the link below:

A Look into JQuery API

The Membership API is new to ASP.NET 2.0. It provides you with a full-fledged infrastructure for managing and authenticating users of your applications. ASP.NET 2.0 shipped two Membership providers, SQL Server and Active Directory. While plenty of articles and blog posts have been published on how to use the SQL Server Membership provider, very few have been done for the Active Directory Membership provider. I was recently leading an enterprise web site project that required the Active Directory ...
Right after Google Spreadsheets came out, I got a ton of downloads from a little class library I wrote for interacting with it over HTTP. Problem is, Google didn't provide a true API - the solution was to use HTTP to manually perform the gets and posts required to manage each spreadsheet. Now its much easier thanks to RSSBus! Here is a sample Google spreadsheet, it looks like this: A B C D 1 Name Hours Items IPM 2 Bingley 10 2 0.0033 3 Captain Carter 200 75360 6.28 4 Dawson 200 100000 8.3333 5 Colonel ...
ASP.NET related Kigg - Building a Digg Clone with ASP.Net MVC Part - 1 The Making of Blogo.NET Configuring & customizing the health monitoring system of ASP.NET Mobile Application related alcheMo - Technology (J2ME to BREW and iPhone porting solution) Mojax (Mobile Ajax application framework) - it provides access to device capabilities like Camera API, Location Services, Contacts and more. Android Weather Forecast - Google Weather API - Description Android Poor mans GPS - Cell (Tower) ID / Location ...
So I have been trying to find and add other System Adminitrators on both Twitter and Friendfeed. I am a bit picky though. I looked for people that seemed to Tweet at least some of the time about their work, tweeted regularly, and in English. Also preffering Windows Sysadmins over Unix for now, but I might reconsidder that. So far the results have been good, and with results I mean that I can get little conversations going about tech stuff. What I would love to see happen at some point, is a discussion ...
So chris and I have been working on a lightweight service bus similar to NSB called Mass Transit. When Chris and I originally encountered NSB it had a style that didn't really fit the way that I was approaching development at the time and so I decided that, if for nothing else, I would start trying to build one myself to learn more about the concept of an ESB. The concept seemed simple at the outset, but I knew that if I was going to get this right I would have to borrow heavily from experts such ...
I just finished my presentation about consuming Google Maps at BarCampKC. Thanks to everybody who attended. We talked about the three different ways of using Google Maps in your applications or websites. Static Map Image API My Maps JavaScript API The slideshow is available via Google Docs or dowload the PPT The code is available for download here, make sure you change your api key ...
It is difficult to introduce both novice and experienced procedural programmers to the anthropomorphic perspective necessary for object-oriented design. Wherever possible we wish to illustrate the use of functional programming in the web domain. In this domain, expressions that involve mirrors of HTML and XML elements are the key constituents. We make new members part of the team through close training and interaction. Expressions use VB.NET syntax and are technically very similar to Excel formulas, ...
Today Microsoft unveils RoboChamps (www.robochamps.com), a simulated robotics league that is open to academics, hobbyists and developers from around the world, that demonstrates the power of the Microsoft platform to enable a broad range of developers to explore new ways to use .NET for robotics programming. RoboChamps is built on top of the Microsoft Robotics Developer Studio(MSRDS) 2008 CTP, and uses that product’s robust, physics enabled simulation environment to remove the barriers of entry that ...

I just published an article on www.gridviewguy.com. The article demonstrates how to create simple bar charts using the graphics API provided by the .NET API. You can check out the article using the following link:

Creating Bar Charts Using .NET Graphics API

I was just starting to read the very first pages of the great book "Beautiful Code" (by Andy Oram, Greg Wilson) this morning as a refreshment and as an indirect result to Scott Hanselman's list of basic must-read books (although it didn't include this book - BTW, I read parts of it before, and I don't remember why I stopped), I had to write this post. To all of you guys thinking in DDD, TDD, MVC, ASP.NET, shiny AJAX and RIA (Flash/Silverlight) controls, GC, SharePoint, Rails, Python, ORMs (NHibernate, ...
I always wanted to play around with the graphics API included in the .NET framework. So, I decided to create simple application that creates bar graph using the data supplied. In the past, I have used the WebChart control to fulfill my graphics needs. You can check out the article here. The first task is to create a class that will hold the data from which the graph is plotted. The class is called ExamData class. public class ExamData { private double _score; private string _name; public double Score ...
Castle’s ActiveRecord frame work is an easy way to get introduced to NHibernate if you’re not familiar with setting up and using NHibernate (which I’m not). However many people are not fond of the ActiveRecord pattern. It can be a leaky abstraction, putting persistence related functions on your domain model is not a very clean separation of concerns for many people. I tend to agree with this. It really does depend on the complexity of your application. When learning about AR I read a lot of blog ...
Location Our meeting will be held at Benefit Focus on Daniel Island. If you ever attended the past meetings at Blackbaud, you probably remember passing Benefit Focus on the way there. If you need directions follow this link from Benefit Focus: http://www.benefitfocus.com... Register Please! Let us know you're coming! Please RSVP at EventBrite: http://april-gcnug.eventbri... Topic 1 We’re going to explore Windows Mobile development a little deeper with demonstrations and code ...
This entry is originally from the Roanoke Valley .NET User Group newsletter. Buy vs. Build – How to Decide Last month we talked about adopting new technologies. Related to adopting new technologies is the “buy vs. build” conundrum. You should always consider purchasing an existing system if you can find one that meets the requirements. However, there are occasions when it makes more sense to build the solution. Before making a buy vs. build decision, you still need requirements. Once you have a baseline ...
The Enterprise Library 4 CTP and the feature list can be found at the Codeplex Home page. General Features of Entlib 4 (Excerpt from Release Notes) · Enterprise Library 4.0 takes advantage of the improved features in the .NET WMI 2.0 API to provide update capability for configuration exposed through the Manageable Configuration Source. Objects defined in the Enterprise Library configuration, such as databases, trace listeners, and cache backing stores, are exposed through WMI as a set of classes ...
When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. When was the first version of .NET released? The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on 15-Jan-2002. At the same time, the final version of Visual Studio.NET was ...
I started working with sandcastle to generate api documentation for the Asp.Net MVC - MvcContrib project (http://MvcContrib.org). I wanted to get some feedback as to how useful the general API Namespace/Class listings are. Below are two of the outputs of the documentation. I encourage you to take a quick look at it so that you can provide feedback. To Subscribe to this RSS feed use this url: http://feeds.feedburner.com... Here is an html versions that the project could host online. http://mvccontrib.googlecod... ...
I have been a big fan of SkyDrive since it was first available as a beta release. Now that it has been officially released, it has continued to get better. Just recently, the SkyDrive team announced the top list of feature requests that they are looking to implement. The list so far is: Allowing multiple downloads at once. Displaying how many times a file has been downloaded. Supporting file synchronization from the desktop. Providing an API for storing and retrieving files. Adding SkyDrive access ...

Karen Corby

NB: Code will be posted on Karen's blog

Read the rest of this entry »

Microsoft Data Platform Rich data services from SQL Server Using of course SOAP REST and APP within SQL Server SSDS. Live contacts has ADO.NET Connections... SYNC Framework synchronize contacts between endpoints. pulling or GET from url into xml or web service. Metadata file with Vcard info. No invoke needed within browser just service on box? SQL Server Data Services: Application Agility Scales without limits Business Ready SLA Scalable or downgradable to 2005 or 2000? SQL Server Data Services Layers: ...
At TechEd 2007, Krzysztof talked about building reusable libraries. The session abstract is below. You can download the presentation as an XPS file. The presentation was also recorded, and the WMV file can be downloaded from here. This session covers the main aspects of reusable library design: API design, architecture, and general framework engineering processes. Well-designed APIs are critical to the success of reusable libraries, but there are other aspects of framework development that are equally ...
Last week I attended the Black Hat DC 2008 Briefings. The following is a list of the presentations I saw, the key concepts discussed as well as things I found interesting or didn’t know. Summary of Black Hat DC 2008 Briefings DAY 1 - Web App Track Preparing for the Cross Site Request Forgery Defense · A cross site request forgery (CSRF) can be used to force users to submit data to online web applications, sometimes manipulating their local cache or history. · This vulnerability could make a user ...
So as I sit in the airport, hoping that one of the beyond-overbooked flights has an opening so I can get home early and not have to go through Vegas, I thought I'd share my thoughts about the Windows Live platform that we picked up during partner training here in Redmond. Single Sign-On Without a doubt, the coolest feature enabled by the platform is single sign-on. And, while we're at it, the way it's implemented is really cool. When a user goes to a site that uses the single-sign-on feature (that ...
Web Storage is Back and boy its increasing.. just googling alone gives out atleast 50+ free web storage sites and even worse reviews about them then where does Windows Live SkyDrive stand ? believe it or not SkyDrive although currently gives just a Gigabyte of storage (hoping it increases) and still in beta, it Rocks! My Score Points: Reliability : Storing those important files on a site unknown to storing on Microsoft Site and for all the paranoid ones check out the url (https://...) its a TLS 1.0, ...
I finally fixed the Get History issue that hasn't been working on Where's Tim for a while now. Apparently, the Google Maps API doesn't like it when you call removeOverlay with an uninitialized parameter. http://timhibbard.com/where... Technorati tags: Where's Tim, Google Maps API, removeOverlay ...
I finally switched to Vista the other day, which also meant that I lost my blog settings in Word. I just spent much more time than I felt necessary to find the API URL and so here it goes the info again for the record: Login to your geekswithblogs administration screens | Options | Configure, and check the box "Allow Web Service Access". Open Word and choose New …. | New blog post If this is the first time you bring up the blog post template the Account wizard should pop up automatically. Otherwise, ...
I'm new to ASP.NET Weblogs. Thanks to Joe Stagner of course who setup my weblog account and whom I have thrown tons of questions at (Poor Joe. All day answering my messages!). I'm also an old member of GeeksWithBlogs (since January 2005) and cannot just slip away like that! So I considered cross posting, as a permanent procedure, not temp. one. To do cross posting from a Community Server weblog like ASP.NET weblogs to any blog that supports MetaWeblog APIs like SubTEXT (which GeeksWithBlogs.NET uses), ...
HttpRequestFactory was designed for use by tiersplitting internally and was not supposed to be exposed as part of the Volta API as Danny van Velzen from Microsoft Volta team told me today. So, its better if you use XMLHttpRequest instead because this factory class might not show up in the later releases. You will find this class in Microsoft.LiveLabs.Volta.Xml namespace. As like as JavaScript's one, in this .NET version you can also Open URL, specify method name, and of course pass credentials. You ...
Recently among other places it was asked on the altdotnet list about the strategies of unit testing with regards to assemblies and naming This message here caught my eye regarding putting your NUnit tests in the same assembly as the code under test. The message states about putting the tests in the same assembly : There are a couple advantages to this approach: The nearness of the files will make it easier (and therefore more likely) that developers will work on the test in tandem with the class ...
Someone had questions about the article recent I wrote on DotNetSlackers are: “i am curious to know how you have hooked the DownloadPhotos to voltaControl1, is it hooked automatically, when added to the volta project, what is the case of using external flickr api ? Also, let me know what is the purpose of screen_name in voltaControl1.” You might have the same questions, so to clarify, here are the answers: Inside VoltaControl, PhotosLoaded event of FlickrHelper class is subscribed and FlickrHelper's ...
I was struggling for a while for trying to connect to sybase server in DTS package. I was using Sybase ASE odbc driver to connect to the server. After a long fight i found the setting for the server which i am trying to connect is missing in the sql.ini file. I would like to share my learning with this post. Things to note in sql.ini. You could find the file in the folder where symposium call center is installed. The above set of information should be created in sql.ini for each sybase server we ...
Update: Added new Hanselminutes show on F# and other links With the new year comes new challenges. Recently I've been looking to take my background in statistics and get back into graduate school. With those days brought the days of functional programming, pattern matching and all sorts of things. So, with that, I began to look at F#. Why F#? No, it's not because it's shiny and new and everyone's talking about it. To a point, it made me more aware, but I won't just hop on the next best thing without ...
At TechEd Developers Europe, Krzysztof Cwalina presented a talk called "Framework Engineering: Architecting, Designing, and Developing Reusable Libraries". If you weren't able to make the conference or missed his talk, you can download the video recording (in WMV format) or just the slides (in XPS format). The abstract for the session reads: This session covers the main aspects of reusable library design: API design, architecture, and general framework engineering processes. Well-designed APIs are ...
Very recently on the CLI_DEV (formerly ALTNETCONF) mailing list, Joe Ocampo asked whether the standard saying, "Code Comments are an apology for bad design" holds in regards to documenting your non-public API. I believe that question arose once before and usually a flame war erupts of some sort. I found this button sums up my feelings best! But, anyhow, it's a real valid question and believe it or not, people have quite strong opinions on the matter. With tools like Resharper and other refactoring ...
I know it's been awhile since I last posted, but let's blame it on the holidays. Anyway, what I wanted to post today are screen shots of the latest working code. First I'll start with what the domain builder interface looks like. It leverages the DSL (Domain Specific Language) interface as part of the Visual Studio SDK package. Click on the picture below for a closer look. The model represented above has all entities sharing common attributes and thus inherit from the BaseEntity class. You will also ...
Detours is a very interesting library from Microsoft Research that allows you to intercept Windows API calls that an application makes and redirect them to your code that can then: do some pre-and-post processing work around the call to the original API, and/or customize what is returned to the caller of the API This does not involve accessing original application source code and can be done at runtime! For an example, check the screenshot below for a sample that intercepts calls to GetVersionEx ...
For the past couple of years, the Model View Presenter pattern has gotten a lot of attention on the .NET platform and more in particular to ASP.NET. For a thorough introduction on MVP with ASP.NET, read the article on CodeProject by Billy McCafferty. Recently, it has come to play that many now favor the Model View Controller (MVC) pattern over MVP. If you're confused about the differences between the two, check out this post which will explain it well. The basic gist is that the MVP pattern gives ...
I've been playing around with mock objects using Rhino.Mocks for the last few months, but today was the first time that I had an unfettered coding win and became a true convert. I was introduced to NUnit about five years ago from a co-worker (thanks Dewayne) and gradually became a true believer. Unfortunately, I was a late-bloomer in the area of mocking, so by the time I finished my last big project I had left a suite of about 500 database driven tests that took almost 2 hours to run and were a maintenance ...
The ability to use live Linq queries right in your UI makes for great demo's, but it doesn't bear a striking resemblance to a real-world, professional application which uses tiers. In traditional n-tier applications, you want to have a strong "separation of concerns" and encapsulate your business layer, your data layer, and your UI layer distinctly. One of the nice things about Linq is that the flexibility is huge. If you want to do live queries in your UI, fine. If you want to encapsulate Linq queries ...
I've been playing around with Facebook's API and came up with a couple of Facebook Applications: First, "Power Score" is a measure of your popularity and activity on Facebook. It currently has over 650 users and is growing steadily! Check it out and it only takes a second. Second, "HaloCharts" which is an extention of one of my websites, http://halocharts.com. Basically, it adds a dynamically updated Halo 3 Stat signature to your Facebook profile page. It gets regenerated every night and shows off ...
More on MOSS... In order to build our MOSS application we have decided to make the application as loosly-coupled from SharePoint as possible primarily because of the performance problems trying to develop on a Virtual Machine. So, how do we do it most effectively? With the help of some sound design patterns and a little PowerShell, it becomes pretty simple. Let's begin with the design pattern. First we need to create a standard ASP.NET website project. Then we need to create a "SolutionBuilder" project ...
My friend Ben Scheirman blogged about Google Chart API. You can read his post here. The chart API is a URL based API which means you will pass the data in the URL and Google will create a chart for you. This is truly awesome since creating the chart is a pretty hard performance kill operation specially when your chart is very very complex. Delegating this work to Google will save us from the trouble. Anyway, there are many kinds of graphs that you can plot using the Google Chart API. In the example ...
After iPhone, few other names have been making frequent rounds of the internet recently. Since I am an early adopter of iPhone and majorly interested in gPhone and any other variants I thought I might as well jump in and clarify some terms and/or miconceptions at play here. iPhone as you may already be aware is an actual phone running a stripped down version of the famous Mac OS X. The iPhone has gone through many firmware upgrade ever since its introduction a while ago. In North America, Apple has ...
There is the following complex scenario: a workflow hosted in MOSS is listening in an OnTaskChanged activity which is in a While loop. The task change could happen if a user enters MOSS and manually updates the task (i.e. completes it) or by an external console application, which programatically looks up and alters the task. In the Invoked event handler of the OnTaskChanged activity a web service is called to obtain information which used to proceed further. The web service uses integrated authentication. ...
What used to be called Silverlight 1.1 has been rebranded as Silverlight 2.0 and will include a cross-platform, cross-browser version of the .NET Framework and will enable a rich .NET development platform in the browser. Scott Guthrie has a post that details what will be part of the 2.0 release, but it includes: WPF UI Framework: The current Silverlight Alpha release only includes basic controls support and a managed API for UI drawing. The next public Silverlight preview will add support for the ...
Now that Visual Studio 2008 and .NET 3.5 have officially shipped, it's time to start looking at the additional products and tools that build on top of that foundation. Scott Guthrie has an excellent post that details the roadmap for the Web related products. The biggest announcement is that the ASP.NET 3.5 Extensions will have it's first public preview available sometime next week. If you don't know what the ASP.NET 3.5 Extensions are, here is the list (taken from Scott's post): ASP.NET MVC: This ...
Introduction This week, I've been to ITWorx first public seminar called "CuttingEdge Club" on Saturday. The idea of a public developer seminar was pretty interesting to me being one of the organizers and speakers for the first developer seminars held in Egypt ever (the DemoDay event we started earlier back in November 2006), and being a speaker myself in ITWorx internal seminars just last week! Interestingly enough, ITWorx started their internal seminars/conferences/clubs (call it whatever you like ...
In this article we'll see how easy it is to use Virtual Earth SDK to produce a simple mashup, using web services that provide information in JSON format. Live Demo - Source Code If you are not familiar with JSON or how to integrate JSON services in ASP.NET AJAX applications, you can take a look at my 3-part series of articles on JSON and ASP.NET AJAX here. First of all, we need to create a simple .aspx page, and add a ScriptManager to it. Then, we're going to reference the Virtual Earth API in the ...