Tag | API Posts

HTML5 specifies scripting application programming interfaces (APIs). There are new APIs, such as: The canvas element for immediate mode 2D drawing. See Canvas 2D API Specification 1.0 specification[14] Timed media playback Offline storage database (offline web applications). See Web Storage[15] Document editing Drag-and-drop Cross-document messaging[16] Browser history management MIME type and protocol handler registration. Microdata To read more, go to: http://html5tutorial.net/ Websites Examples ...
In this Issue: Benjamin Gavin, Richard Waddell, Kunal Chowdhury, Chris Koenig, Timmy Kokke, cherylws, David Anson, Jeremy Likness, David Kelley, Andy Beaulieu, and Walt Ritscher. From SilverlightCream.com: Silverlight TreeView Case Study - FAQ Maintenance - Part 1 Benjamin Gavin is pulling together the posts he's recently done and producing an updatable FAQ file app -- something I find useful -- and this is part 1 ... good stuff! Extending Central Silverlight Business Rules to Client and Server Side ...
Amazon is a key vendor into the Cloud game, Amazon was one of the first to offer Cloud Services such as EC2 and S3. Amazon Simple Storage Service (S3) is cloud-based persistent storage, It operates independently from other Amazon services. In fact, applications you write for hosting on your own servers can leverage Amazon S3 without any need to otherwise “be in the cloud.” “Simple Storage,” refers to the feature set that offers, Amazon S3 enables you to simply put data in the cloud and pull it back ...
Over the past few months I had the great opportunity to tackle the challenge of learning both the iPhone and Android mobile platforms for the first time as a developer. I had used both previously as a consumer, so it was interesting to finally get a chance to jump in with both feet for a work project. I have been focused on .NET development in C# for the past 8 years, but originally cut my teeth on unmanaged C & C++ during the 90's, along with a smattering of Java development for college courses ...
this year I had the pleasure of cramming the following information into my lobes: Book: Schuams Graph Theory - http://www.amazon.com/Schau... - a subset of combinatorics. From my perspective, just use linear algebra - you can bash anything into vectors. some interesting stuff on platonic solids and the 3 color world map. SD - shortest distance SP - shortest path bipartite graph - 2 disjoint sets ...
After scrapping the Workflow API and starting from scratch with v 4.0 , youd think they would have built the ultimate abstraction, but no - heres my gripes: · Parallel is not parallel, just allows AsyncCodeActivity instances to asynchronously call code and receive callbacks (via BeginExecute and EndExecute) · Non recursive · VB expressions - blah · For Imperative activity definition value assignment to be evaluated during execution (instead of definition) - requires a string representation of code ...
One of the major peeves that Silverlight developers had in its earlier versions was the lack of printing support. Printing is an essential feature of many applications and more so in the case of LOB applications. Hence, when Silverlight 4 was released with a full featured Printing API, developers welcomed it with open arms. What’s included in the printing API: The System.Windows.Printing namespace This namespace provides printing services for a Silverlight application through its various classes. ...
Update 2: Excellent news! The $99 per app was wrong. See: http://windowsteamblog.com/... Thank you, Fred! Update 1: It's possible that somebody who didn't read closely looked at the old WM 6.X app cert docs, saw the $99 per app fee there, and thought it applied to WP7. I know people who "know people" and are investigating it. I'm very hopeful it's a mistake - see the end of my next post for how someone might ...
When Commerce Server 2009 was released, it introduced a new API (commonly known as Multi Channel Commerce Foundation) based on the latest technology stack at the time. One of the biggest changes was the basis of an n-tier architect, based on WCF, which for the first time removed the Commerce Server dependencies from the web/presentation tier, and allowed all of the logic to be encapsulated on a separate application layer. In modern day architecture this becomes important when the presentation tier ...
Since I published the state of my project goals, I got a few questions about my repository implementation, so here goes… The ‘classic’ repository interface looks like this: public interface IRepository<T> { T GetById(int id); IEnumerable<T> GetAll(); T SaveOrUpdate(T entity); void Delete(T entity); //... } This interface has some issues to me. First of all, it’s data-centric. I know that’s the whole point of a repository, but bear with me. Second, it exposes far too many methods. One ...
Over the past several years social media has grown from just a few sites to a booming industry. With the wealth of information and entertainment available on sites like YouTube, Facebook and Twitter, it is easy to see where it has come from and why it has stuck. Little wonder why people, developers and companies have sought to leverage the connections found on social media outlets to further careers, sell products or just plain connect to the rest of the world. Recently, I had been asked to develop ...
Security Security is a nonnegotiable requirement for a cloud service offering to be successful. Access control and security for business data is of utmost importance. Business data stored in the cloud needs to be encrypted during not only during storage but also transport. Secure data and network channels across application domains in the cloud should be built right into the cloud service infrastructure. Access control prohibits unauthorized access to the data and applications and provides authorization ...
[Source: http://geekswithblogs.net/E... In my previous post, Cloud Services and Command-Query Separation: Part 2, I walked through a sample Command-Query Separated service bus solution using readily available cloud services for communication. In this one, I'll look at some of the implications of shifting systems integration to the cloud, compared to an on-premise ESB. The focus here is mainly on Amazon Web Services, but I'll cover Azure with a dedicated sample project. Cost & Non-Functional ...
I came across SharpSvn when trying to find a .NET API that I could use to do some tasks against Subversion. I was building a tool where I needed to pull a list of SQL files that have changed between revisions. Well, pretty much, the documentation is non-existent. In order to get a grasp of SharpSvn, I first had to realize that the API was not designed to be a quick-help utility. Instead, its API is very open, leaving it up to the consuming developer to create that "utility". First, I created an instance ...
In my previous post I described the architecture for a small application to index .TXT files. Here´s are the napkins with my design EBC diagrams so far: Currently the implementation is working in a synchronous and sequential mode. Now, today I want to move on and introduce a couple of aspects (in the AOP sense) into the design/code. I find Event-Based Component architectures very easy to extent in that regard. No special AOP tools necessary. But see for yourself… Adding a logging aspect The “Hello, ...
Download GPIO Example driver and appplication source code In previous articles I have developed a driver to access GPIO Pins, Windows CE: Using a Driver to Read/Write Hardware Registers, and a wrapper API for the driver, Windows CE: Developing an API to Access a Driver. Now it is time to use them from an application. Because the real work is done in the driver, and because we have some simple to use wrapper functions, this application is very simple. It starts by calling the InitGPIOAPI() function, ...
Download GPIO Example driver and appplication source code In my article on reading and writing GPIO pins from a driver (see Windows CE: Using a Driver to Read/Write Hardware Registers) I developed a driver that exposes GPIO pins through DeviceIoControl() calls to the driver’s XXX_IOControl() function. Using DeviceIoControl() can be messy, so developing wrapper functions helps clean that up, but if the driver developer also created the wrapper and provided it as an API that would help. An API is really ...
Download GPIO Example driver and appplication source code A recent discussion thread in the Windows Embedded Compact Platform Development forum made it clear to me that for new Windows CE Software Engineers doing something as simple as accessing a hardware register can be very difficult. In the old days, Windows CE 5.0 and before, it was very easy; write an application that allocates a virtual address and then read or write a register. The problem with that is that allowing applications to access ...
Can Event-Based Components (EBC) be used to design libraries? Sure they can. FallenGameR asked a question along this line in response to my previous article. Let me demonstrate this with a simple library scenario: A function ToDictionary() is to be developed which converts a string like “port=8080;user=bart;passwo... into a Dictionary<string, string>. The usage should be like this: var td = new StringToDictionaryConverter(); var dict = td.Convert(“port=8080;user=... or var dict = new Dictionary<string, ...
And the day is Today. Today Tellago launches its new sister company “Tellago Studios” which focuses on developing Enterprise Software’s. The basic motive of the company is to convert the lessons we learn in our day to day life working with our customers while providing them Enterprise Software Solutions into new Enterprise Software. Many times using current technologies we feel that something is missing. What if we can also do this with this technology. We at Tellago, have this passion for innovation ...
In this Issue: Tony Champion, Vikas, Larry Larsen, Dimitris - Ilias Gkanatsios, Gergely Orosz, András Velvárt, Rishi, John Papa, David Rousset, David Anson, and Ozymandias. Shoutout: The Swiss MSDN Team Blog announced “Building a Newsreader Application using Silverlight for Windows Phone 7” Hands-On Lab – Now updated for July BETA Developer Tools Laurent Bugnion posted an MVVM Light Hotfix for Windows Phone 7 developer tools beta Fons Sonnemans posted a video of his WP7 game Sudoku for WP7 on YouTube... ...
When your suddenly asked to “make your code secure, right now”, you need to know where to go. This presentation is designed to inform the developers, architects and others where to go to find informative resources in secure development. This was last given at the Twin Cities Code Camp and the Iowa Code Camp during April/May 2010. Additional Resources: Slide Deck OWASP OWASP Developers Guide OWASP Top 10 OWASP Code Review Guide WebGoat WebScarab OWASP Application Vulnerability Standards Project Enterprise ...
The interesting thing in this version is that it describes the phone features quite a bit more. Including the first new mention of a dozen or so new color theme options. I like Lime Green on White Background. Worth a scroll through, at very least. Direct link: UI Design and Interaction Guide for Windows Phone 7 v2.0 The UI Design and Interaction Guide for Windows Phone 7 v2.0 has been updated for beta. With additional information and a new layout we hope you will find more readable, this guide provides ...
Patrick Smacchia has shared his thoughts why 100% test coverage is a desirable thing to have. You can test 80% of your code quite easy but the edge cases are the hard ones which take 80% of the time to write good tests for them. Patrick claims that it is worth the effort since in the last 20% you will find most of your bugs. Why is it so hard to get to full coverage? To make the corner cases testable you need some extra ugly constructs in your product (normally via ifdefs where you throw an exception). ...
ODATA enables the creation of RESTful based data services that allow resources identified using URL and defined in a data model to be published and edited by web clients using HTTP messages. OData is the web-based equivalent of ODBC, OLEDB, ADO.NET and JDBC. As more data-oriented web APIs come online, each team responsible for the design of each web API is confronted by the same kinds of questions, and each team answers these in their own particular way Increasingly, “RESTful” is a design goal of ...
I recently had the privilege of taking part of a conversation about available blog engines with some of our Microsoft Community Leaders. I since got interested in finding out more about available .Net-based extensible blogging engines. Two days ago, I came across a link about Oxite, a codeplex ASP.Net MVC-based mature open source blogging engine (http://oxite.codeplex.com). While the Oxite project is no longer active, its source remains available and downloadable. Additionally, the future holds great ...
Yesterday, I published the source code of the MultiTouch Behavior for Windows Phone 7 on Codeplex (http://multitouch.codeplex... Meanwhile, Davide Zordan (the founder of this project) started to modify the Silverlight 4 version of the behavior to make it API compatible. Eventually, the goal is to share all the API signature, and as much code as possible. We would like to extend this to the WPF version as well, in order to have a consistent landscape of multitouch on all 3 platforms. Read the rest ...
Did you ever want a feature but the system got in your way? In my case I wanted to to get the last thrown exception outside of any catch block. Be warned that this is a deep dive into the guts of the Common Language Runtime. Language architects and Api designers should stop reading from here on. Yes I did break the rules of encapsulation and many other things. I am perfectly fine with a reputation to use Apis in not intended ways but otherwise it would have been impossible create a tracing library ...
I recently had the need to read storage files and extract streams from them for a prototype. Originally I was able to do this executing StgOpenStorage via PINVOKE from .NET which worked great. However, due to time constraints and legacy code we really needed to implement this in VB6 as an added feature to an existing OCX with tons of other functionality built in. I ended up using Desaware’s Storage Tools 2.5 to read the streams from the structured storage files which worked great. Desaware provides ...
This past Monday, June 21st, The New York City Council Committee on Technology in Government held a hearing on its proposed legislation, known as Introduction 029-2010, that would require all City agencies to publish their data online, in “raw” form. The data would be available to private citizens who wished to analyze it, hobbyist developers who wished to work with it, and commercial entities looking to utilize it internally or create products that use and add value to it. Such initiatives have ...
FredNUG is pleased to announce our June speaker will be Pete Brown. Pete was one of FredNUG’s first speakers when the group started and we’re very happy to have him visiting us again to present on Silverlight! On June 15th @ 6:30 PM, we’ll start with a Visual Studio 2010 Launch with pizza, swag and a presentation about what makes Visual Studio 2010 great. Then, starting at 7 PM, Pete Brown will present “What’s New in Silverlight 4.” It looks like an evening filled with newness! The scheduled agenda ...
In my inital announcement I could only cover a small subset what ApiChange can do for you. Lets look at how ApiChange can help you to fix bugs due to wrong usage of an Api within a fraction of time than it would take normally. It happens that software is tested and some bugs show up. One bug could be …. : We get way too man log messages during our test run. Now you have the task to find the most frequent messages and eliminate the Log calls from the source code. But what about the myriads other log ...
I have been working on little tool to simplify my life and perhaps yours as developer as well. It is basically a command line tool that allows you to execute queries on your compiled .NET code base. The main purpose is to find out how big the impact of an api change would be if you changed this or that. Now you can do high level operations like Diff public types for breaking changes. Who uses a method? Who uses a type? Who uses implements an interface? Who references me? What format has the binary ...
The .NET Framework version 4 includes enhancements for ASP.NET 4 in targeted areas. Visual Studio 2010 and Microsoft Visual Web Developer Express also include enhancements and new features for improved Web development. This document provides an overview of many of the new features that are included in the upcoming release. This topic contains the following sections: ASP.NET Core Services ASP.NET Web Forms ASP.NET MVC Dynamic Data ASP.NET Chart Control Visual Web Developer Enhancements Web Application ...
This tutorial will show you how to build a plug-in for Windows Live Writer. Windows Live Writer is a blogging tool that Microsoft provides for free. It includes an open API for .NET developers to create custom plug-ins. In this tutorial, I will show you how easy it is to build one. Full source and binaries are now hosted on CodePlex. Open VS2008 or VS2010 and create a new project. Set the target framework to 2.0, Application Type to Class Library and give it a name. In this tutorial, we are going ...
One of the most important things of any open source libraries in my opinion is to be as open as possible while avoiding having your library become invasive to your code/business model design. I personally could never stand marking my business and/or data access code with attributes everywhere. XML also isn’t really a fav with too many people these days since it comes with a startup performance hit and requires runtime compiling. I find that there is a whole ton of communication libraries out there ...
FredNUG is pleased to announce our May speaker will be Kevin Griffin. Kevin has been speaking at several community events this spring and we’re pleased he’s stopping by FredNUG to present at our May meeting. On May 18th, we’ll start with pizza and social networking at 6:30 PM. Then, starting at 7 PM, Kevin Griffin will present “Awesomize Your Windows Apps.” The scheduled agenda is: 6:30 PM - 7:00 PM - Pizza/Social Networking/Announcements 7:00 PM - 8:30 PM - Main Topic: Awesomize Your Windows Apps ...
Came across another gem of an article by Joel Spolsky. It's a pretty old article written in June of 2004, has lot of tidbits and I really enjoyed reading it, so much in fact that I read it twice! So hit the link below and give it a read if you haven't already, How Microsoft Lost the API War - Joel Spolsky excerpt, "I first heard about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major ...
Introduction It is a platform that enables collaboration and offline access for applications, services and devices. Sync framework features technologies and tools that enable roaming, data sharing and taking data offline. Moreover, developers can build synchronization ecosystems that integrate any application with data from any store, by using any protocol over any network. Highlights * Add sync support to new and existing applications, services and devices * Enable collaboration and offline capabilities ...
I deploy apps via ClickOnce. After each deployment we have to review the changes made and send out an email to the users with the changes. What I decided now to do is to use CodebaseHQ’s API to access a project’s SVN repository and display the commit notes so some users who download new updates can check what was changed or updated in an app. This saves a heck of a lot of time, especially when your apps are in beta and you are making several changes daily based on feedback. You can read up on their ...
I just wanted to share with folks where we are up to with the Windows Azure eBook (Check out the original post for full details) I have had lots of great submissions from folks with some awesome stuff to share on Azure. Currently we have 16 authors and 25 proposed articles. There is still a couple of days left to submit your proposal if you would like to get involved (see the original post ) and some topic suggestions below for which we don’t currently have authors. It is official – I’m excited! ...
Hey, I need some advice/help, now I’ve been writing on this blog for a few years, I don’t blog a great deal in comparison to many of my peers and my blog doesn’t get a massive number of hits, BUT I seem to get a fair share of comment spammers!! I have image verification on the comments and I have put an Akismet API key into the Geekswithblogs settings, but I still get a bunch of spam comments. They could almost be real, until you see the link going off to some dating site or casino crap. What does ...
It’s funny that two posts so close together speak about flexibility with the LINQ to Twitter provider. There are certain things you know from experience on when to make software more flexible and when to save time. This is another one of those times when I got lucky and made the right choice up front. I’m talking about the ability to switch URLs. It only makes sense that Twitter should begin versioning their API as it matures. In fact, most of the entire API has moved to the v1 URL at “https://api.twitter.com/1/”, ...
Ashraf, on the MSDN forum, asks, “Is there a way to make a default choice for the messagebox that happens after a period of time if the user doesn't choose (Clicked ) Yes or No buttons.” To elaborate, the requirement is to show a message box to the user with certain options to select, and if the user does not respond within a predefined time limit (say 8 seconds) then the message box must dismiss itself and select a default option. Now such a functionality is not available with the MessageBox() api, ...
In this post I look into the code smell that is HTML literals and show how we can refactor these pesky strings into a friendlier and more maintainable model. The Problem When I started writing MVC applications, I quickly realized that I built a lot of my HTML inside HtmlHelpers. As I did this, I ended up moving quite a bit of HTML into string literals inside my helper classes. As I wanted to add more attributes (such as classes) to my tags, I needed to keep adding overloads to my helpers. A good ...
Just getting a few interesting cloud links “down on paper”. I last did one of these on Azure in Feb 20010. Cloud Links: Article on Debugging in the Cloud http://code.msdn.microsoft.... A sample app that demonstrates monitoring and automatically scaling an Azure application in response to dropping performance etc. Basically a console app that checks perf stats and then uses the Service Management API to spin up new instances when needed. Azure In Action book is imminent :) Running Memcached ...
Collaboration Data Objects or CDO, is a component that enables messaging between applications. It's something like the MFC we have in VC++ that enables us to prefer a simpler interface compared to the WIN32 API which, as an interface, still requires lots of escalation work by developers (yet very robust!). CDO is primarily built to simply the creations of messaging applications and we should keep in mind that CDO is NOT a new messaging model but is BUILT ON the MAPI architecture. It is just an extended ...
In this Issue: CrocusGirl, Giorgetti Alessandro(-2-), smartyP, Pete Brown, David Poll, David Anson, and Bill Reiss. Shoutouts: Yasser Makram has a post up discussing Human Centered ALM with Telerik TeamPulse and Team Foundation Server. I saw this demo'd at DevConnnections and it definitely deserves a look. Shawn Wildermuth posted his materials from DevConnections all on one post: Back from DevConnections with SourceCode Shawn Wildermuth also posted an Updated RIA Services + MVVM Example Laurent Bugnion ...
Learning how to programmatically make collections for Microsoft Live Labs Pivot has been a pretty interesting ride. There are very few examples out there, and the folks at MS Live Labs are often slow on any feedback. But that is what Reflector is for, right? Well, I was creating these InfoCard images (similar to the Car images in the "New Cars" sample collection that that MS created for Pivot), and wanted to put a Tag Cloud into the info card. The problem was the size of the tag cloud might vary ...
Although Microsoft Commerce Server 2009's architecture is built upon Microsoft SQL Server, and has the full power of the SQL Full Text Indexing Search Platform, there are time however when you may require a richer or alternate search platform. One of these scenarios if when you want to implement a faceted (refinement) search into your site, which provides dynamic refinements based on the search results dataset. Faceted search is becoming popular in most online retail environments as a way of providing ...