Tag | API Posts

Introducing Functional Decomposition Before I begin I must apologise. I think I am using the term ‘functional decomposition’ loosely, and probably incorrectly. For the purpose of this article I use functional decomposition to mean the recursive splitting of a large problem into increasingly smaller ones, so that the one large problem may be solved by solving a set of smaller problems. The justification for functional decomposition is that the decomposed problem is more easily solved. As software ...
On Microsoft’s MSMQ forum, David Wellna got to the bottom of a problem being seen with not being able to use all 124 characters for a queue name. Although the queue could be created at this length, it was not possible to change any of its properties without receiving a “Format name buffer supplied to the API was too small to fit the format name” error. As discussed in this MSDN article, Queue Path Names, the full address for a queue is made up of 256 characters for the machine name and 124 for the ...
The EONumLib provides a set of types to represent numbers with arbitrary precision. There are three extended numeric types, to represent signed and unsigned integers, rational numbers, and real numbers: BigInteger, BigRational and BigFloat As you are aware: BigInteger (http://msdn.microsoft.com/... ) and Complex (http://msdn.microsoft.com/... ) structs are included with .NET 4.0 System.Numerics namespace and the BigRational ...
Microsoft have now released Web Matrix (and ASP.NET MVC3 if you so inclined!) One signifcant utility is IIS Express which will replace Cassini It is worth noting that SP1 for VS2010 should be out in Q1. Links: http://www.hanselman.com/bl... http://www.hanselman.com/bl... http://arstechnica.com/micr... ...
We have been using LogicNP’s CryptoLicensing for some of our software and I was battling to understand how exactly the whole process worked. I was sent the following document which really helped explain it – so if you ever use the same tool it is well worth a read. Licensing Basics LogicNP CryptoLicensing For .Net is the most advanced and state-of-the art licensing and copy protection system you can use for your software. LogicNP CryptoLicensing System uses the latest cryptographic technology to ...
Our project goal in 2010 was to push out the solved issues and a couple of features in the SharpBox library within a new release. I'm proud to announce that we achieved this goal on the last day of this year. Special thanks to our active project members Yury, Renald and Jay. The following list gives you a brief overview about the changes we did: Feature - The IFileSystemEntry exposes more attributes, e.g. size and modified data Feature - Add methods that accept file/directory as a string argument ...
I have been spending the last 2 weeks immersing myself in a number of Windows Azure and SQL Azure technologies. And in setting up a new business (I’ll speak more about that in the future), I have also become a customer of Microsoft’s BPOS (Business Productivity Online Services). In short, it has been a fortnight of Microsoft cloud computing. On the Azure side, I’ve looked, of course, at Web Roles and Worker Roles. But I’ve also looked at Azure Storage’s REST API (including coding to it directly), ...
Like I mentioned in this post a while back, I came across a dictionary web service called Aonaware that serves up word definitions from various dictionaries and is really easy to use. The services page on their website, http://services.aonaware.co... lists all the operations that are supported by the dictionary service. Here they are, Word Dictionary Web Service The following operations are supported. For a formal definition, please review the Service Description. Define ...
Herve Roggero has just published a paper that outlines patterns for scaling using SQL Azure and the Blue Syntax (he and Scott Klein’s company) sharding api. You can find the paper at: http://www.bluesyntax.net/f... Herve and Scott have also just released an Apress book Pro SQL Azure. The idea of being able to split (shard) database operations automatically and control them from a web based management console is very appealing. These ideas have been talked about for a long time ...
For a project I needed to use the ArcGIS API for some mapping. To use this you need to use Dojo but in this case all it really comes down to is adding some require lines and a addOnLoad on your web page. At first everything was working great, the maps rendered and the various layers would populate as needed. Once it was working I started moving the various javascript functions into their own files to keep everything nice and neat. Then the problems started, mainly the map would not show up any more. ...
There are several attributes available when using code first with the Entity Framework 4 CTP5 Code First option. When working with strings you can use [MaxLength(length)] to control the length and [Required] will work on all properties. But there are a few things missing. By default all string will be created using unicode so you will get nvarchar instead of varchar. You can change this using the fluent API or you can create an attribute to make the change. If you have a lot of properties, the attribute ...
I have been using EF4 CTP5 with code first and I really like the new code. One issue I was having however, was cascading deletes is on by default. This may come as a surprise as using Entity Framework with anything but code first, this is not the case. I ran into an exception with some one-to-many relationships I had: Introducing FOREIGN KEY constraint 'ProjectAuthorization_UserP... on table 'ProjectAuthorizations' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON ...
In this Issue: John Papa, Tim Heuer, Jeff Blankenburg(-2-, -3-), Jesse Liberty, Jay Kimble, Wei-Meng Lee, Paul Sheriff, Mike Snow(-2-, -3-), Samuel Jack, James Ashley, and Peter Kuhn. Above the Fold: Silverlight: "Animation Texture Creator" Peter Kuhn WP7: "dows Phone from Scratch #13 — Custom Behaviors Part II: ActionTrigger" Jesse Liberty Shoutouts: Awesome blog post by Jesse Liberty about writing in general: Ten Requirements For Tutorials, Videos, Demos and White Papers That Don’t Suck From SilverlightCream.com: ...
The code samples in Microsoft All-In-One Code Framework are updated on 2010-12-13. Download address: http://1code.codeplex.com/r... Updated code sample index categorized by technologies: http://1code.codeplex.com/w... (it also allows you to download individual code samples instead of the entire All-In-One Code Framework sample package.) If it’s the first time that you hear about Microsoft All-In-One Code Framework, ...
The SOA consultants invaded the executive suite at your company or agency, preached the true religion, and converted the unbelievers. Now by divine imperative you must convert your legacy applications into a suite of reusable services. But as usual, you lack the time and resources that you need in order to develop the services properly. So you googled or bing’ed, found this blog post, and began crying in gratitude. Yes, as the title implies, I am going to reveal my easy, 3-step, works-every-time ...
.NETTER Code Starter Pack contains a gallery of Visual Studio 2010 solutions leveraging latest and new technologies released by Microsoft. Each Visual Studio solution included here is focused to provide a very simple starting point for cutting edge development technologies and framework, using well known Northwind database. The current release of this project includes starter samples for the following technologies: ASP.NET Dynamic Data QuickStart (TBD) Azure Service Platform Windows Azure Hello World ...
Silverlight 5 is coming next year (2011) and this blog post will tell you what you need to know before the beta ships. First, let me address people saying that it is dead after PDC 2010. I believe that it’s best to see what the market is doing, not the vendor. Below is a list of companies that are developing Silverlight 4 applications shown during the Silverlight Firestarter. Some of the companies have shipped and some haven’t. It’s just great to see the actual company names that are working on Silverlight ...

I have just come across Fusion Charts and the Libero API for using them in Web Forms and MVC. Given them a try:

The download URLs are:

The Windows Azure Team had just published their new development portal this week and the SDK 1.3. Within this new release there are a lot of cool feature available. The one I’m looking forward to is Remote Desktop Access to your running Windows Azure Virtual Machine. Configuration Remote Desktop Access It would be very simple to make the azure service enable the remote desktop access. First of all let’s create a new windows azure project from the Visual Studio. In this example I just created a normal ...
Today, at the Silverlight Firestarter event on the Microsoft Campus in Redmond, Scott Guthrie (Microsoft’s Corporate Vice President, .NET Developer Platform) announced Silverlight 5 and introduced us to its features. Among them: 1080p video, GPU-acceleration, "trickplay" (variable speed playback with pitch correction) WS-Trust support, low-latency networking for real time apps Ability to set breakpoints on data binding expressions and debug them Merging into Silverlight of WPF data binding features ...
All-In-One Windows Shell Code Samples Introduction Download Windows Shell code samples Request Windows Shell code samples Introduction The All-In-One Windows Shell code samples demonstrate the typical programming topics about extending Windows Shell and using the Windows Shell APIs. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they ...
All-In-One Windows 7 Code Samples Introduction Download Windows 7 Code Samples Request Windows 7 Code Samples Introduction Windows 7 provides many new programmable features, e.g. the new Taskbar, the Shell Library, the service trigger-start feature. The All-In-One Windows 7 code samples demonstrate the typical programming topics about Windows 7. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. ...
All-In-One ASP.NET Code Samples Introduction Download ASP.NET code samples Request ASP.NET code samples Introduction The All-In-One ASP.NET code samples demonstrate the typical programming topics about ASP.NET. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing ASP.NET projects. Visual Studio 2008 ASP.NET Code Samples ...
Let’s face it: not everybody can afford a full-blown Surface unit in his or her house. But most of us can afford a windows 7 touch enabled computer. The prices for these kind of devices have dropped a lot since the introduction of Windows 7. Companies such as Dell, HP and others offer notebooks as well as desktop systems that can handle multi-touch for a reasonable price. And with touch you’re halfway there. What you don’t have is the object recognition of the Surface. And the rigidity of the Surface ...
What do the various fields on the New Android Project window in Eclipse mean? Project name: The name of the folder where your project will be created. Build Target: You want to choose as low of a version as possible unless you absolutely need to use something in a later API. Application name: This is the human-readable title for your application — the name that will appear on the Android device. Package name: This is the package namespace (following the same rules as for packages in the Java programming ...
In this Issue: Justin Angel, siqaodb news, Colin Eberhardt, Rudi Grobler, Mohamed Mosallem, Einar Ingebrigtsen, William J. Steele, Dragos Manolescu(-2-, -3-). Above the Fold: Silverlight: "Visiblox Charts vs. Silverlight Toolkit Charts – a test of Performance" Colin Eberhardt WP7: "Windows Phone 7 Neurons App goes open source!" Justin Angel Holy Crap Category: "Rubik’s Cube for Silverlight and Windows Phone 7 using Balder" Einar Ingebrigtsen From SilverlightCream.com: Windows Phone 7 Neurons App ...
The code samples in Microsoft All-In-One Code Framework are updated on 2010-10-10. Download address: http://1code.codeplex.com/r... If it’s the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on YouTube http://www.youtube.com/watc... or read the introduction on our homepage http://1code.codeplex.com/, and this Port25 article http://port25.technet.com/a... ...
ShaprBox version 1.0.2 is out and contains some requested community features, changes and a bunch of bugfixes as well. Many thanks to all people who reported issues and feature requests from their projects. Special thanks to Yury who helped out to find the right solution for our performance issues in the GetFolder-API. You will find the new version of SharpBox on the project website at codeplex: http://sharpbox.codeplex.co... The following list gives you a brief overview about the ...
We have a lot of URL shorteners like Goo.Gl and Bit.Ly. Though each of the URL shorteners give a straight forward URL shortening right from their homepages without even in need to create an account it would be wise to have an account with them and create URLs through the same. We stand to gain a lot of advantages through the same. A few of them are: Tracking and review of the URLs that are created by us Click Statistics In future if we want to retire an URL it would be easier for us to locate and ...
I started a new SharePoint 2010 project several weeks ago and one of our first assignments was to create a quick demo to highlight some of the new 2010 functionality. In our discussions about 2010, my Sogeti colleague mentioned that far and away his favorite new 2010 feature was the Excel REST API. I wasn’t that familiar with it, so I offered to set up that part of the demo. I have a SharePoint 2010 server running in a virtual machine, with Excel Services already configured. Please note: if you are ...
*Moved to: TFS 2010 Work Item Seed: TFS Work Item system.id at a predefined numberThis week my customer had a requirement to have all new work items created to have an ID greater than 40,000. They have another system that stores tickets and they don’t want any conflict. There have been a number of ways to achieve this through a database change, but it is not supported by Microsoft. This means that if you make the change and mess it up you are on your own. Read more...Follow my new blog on http://blog.hinshelwood.com ...
Normal 0 false false false EN-US X-NONE HI MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} Attended the windows phone jump start ...
Content Reinvention with the Next Generation of Tables, eReaders, and Mobile Devices My notes from this session at Digital Hollywood: Speakers: Sarah Lumbard – Sr. Director, Product Strategy and Development / NPR Digital Media Bill Jensen – Director of New Media / Village Voice Media Mark Ghuneim – CEO / Wiredset Lee Shirani - Google Richard Gingras – CEO / Salon Russell P. Reeder – CEO / LibreDigital – Moderator How to get content to audiences to successfully using these new devices. That is what ...
In this Issue: Dennis Doomen(-2-), Felix Corke, Kunal Chowdhury, Michael Bach, Jeff Blankenburg, Shawn Wildermuth(-2-), Jeff Handley, David Anson, and Colin Eberhardt. Above the Fold: Silverlight: "Silverlight as an alternative to PowerPoint" Colin Eberhardt WP7: "Architecting WP7 - Part 1 of 10: Navigation Framework" Shawn Wildermuth Themes: "Silverlight 4 theme brush packs" Felix Corke Shoutouts: Robby Ingebretsen never wastes our time, so check out his latest post: The New “App” Sara Summers has ...
When developing pure messaging solutions (no orchestrations) in BizTalk often there’s a need to apply transformation on the message. BizTalk has out of the box functionality to execute maps on receive (inbound map) and send (outbound map) ports. Sometimes using classic BizTalk map is not the best solution, for example for complex transformations with grouping (for example, using Muenchian Method). In other cases, it’s strongly preferable to keep transformation easily configurable to be able to change ...
Microsoft All-In-One Code Framework is updated on 2010-10-10. Download address: http://1code.codeplex.com/r... If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read the introduction on our homepage http://1code.codeplex.com/, and this Port25 article http://port25.technet.com/a... Windows Shell Extension New Samples In the September release of All-In-One Code Framework, we gave ...
This post is written for those systems where a central MSMQ server sends messages to a large number of MSMQ clients. "Large" here could mean hundreds, maybe thousands. MSMQ is not designed to be a real-time system - although you can use it as such, that wasn't the main focus. Instead MSMQ will ensure messages get delivered, no matter how long it takes. This means that you can send messages to thousands of destinations but not necessarily instantly or concurrently. To understand why this is, we need ...
Entity Framework 4 Code First CTP4 was released in July and the API for developing without any edmx continues to mature and get better. Code First allows you to define your entity framework configuration with a Fluent API similar to Fluent NHibernate. Although the API for EF Code First is very user friendly, you should still have integration tests to verify that you’ve configured your entities correctly. This post will walk through configuring EF4 Code First optimistic concurrency. Suppose I have ...
As I mentioned in my last post I talked some about how my side project, PiX Eyewear, has given me an opportunity to venture out of the predominantly server-side .NET programming that I’ve been doing at my “day job” for the past several years. In this post I’ll be digging into a simple way that I’ve been able to leverage jQuery to solve a little problem I had with my Shopify site. Before I go any further I want to call out an excellent approach for displaying “related products” on a product page that ...
In this Issue: Bart Czernicki, Sharker Khaleed Mahmud, Dragos Manolescu, Peter Kuhn, Victor Gaudioso, John Papa, Jeff Blankenburg(-2-), Ning Zhang, Paul Seriff, Dennis Doomen, and Martin Krüger. Above the Fold: Silverlight: "My Silverlight 4 Reference Architecture: Commanding" Dennis Doomen WP7: "Windows Phone 7 RTM charting using the Silverlight Control Toolkit" Bart Czernicki Sketchflow: "Silverlight TV 48: Creating Rich Interactive Prototypes with Sketchflow - Part 1 " John Papa Now pulling Silverlight ...
ShaprBox version 1.0.1 is out and contains some requested community features and a bunch of bugfixes as well. Many thanks to all people who reported issues and feature requests from their projects. You will find the new version of SharpBox on the project website at codeplex: http://sharpbox.codeplex.co... The following list gives you a brief overview about the changes I did: New Feature - Added CreateFolder comfort function New Feature - Added GetFile comfort function New Feature ...
Today, I added a new extensibility feature to LINQ to Twitter, called Raw Queries. The Twitter API has historically changed suddenly and without warning, leaving 3rd party libraries, such as LINQ to Twitter deficient in full support. On occasion, LINQ to Twitter encounters bugs that leave users without a means for accomplishing specific tasks. Therefore, we need work arounds to allow users to quickly adapt to changes and new features. Raw queries include two points of extensibility: the ability to ...
I am using the mouse with my left hand but I am not swapping the mouse buttons. (Old habit from the times I was using public workstations at the university. I was too lazy to play with the system setup every time, so that I just moved the mouse from the right to the left side.) I am also using multiple pointing devices with my notebook. (a gaming mouse with multiple buttons at home, a simpler one at work, and also from time to time the touchpad ). Normally I would setup the mouse button layout in ...
Use Case Just started working with amazon's S3 buckets to hold a centralised filesystem to support a distributed workflow system. When the tasks in the workflow run on different physical machines in a viariety of locations so it's we need efficient ways of syncronising just small sub-sections of local files with a bucket. The Plan Amazons API allows listing objects by a key prefix i.e. search for all the files in a particular folder or sub-folders. This is a great way of syncronising folders where ...
I recently purchased the Kindle 3 and very excited to have this device that lets me read documents without tiring my eyes from the backlight. I can even let it read for me in a fairly natural way “when you get used to it”. I have also played some music using this device and perfectly understand that it was not designed to be some form of music player like iPod or Zune, but does give a good sound either off it speakers or through earphones. Things i like I was tired a few days ago and set the speakers ...
Any ramblings and blog posts associated with the UNISA COS 2144 tag should be considered study notes for my lectures... Section Outline Widget Categories QMainWindow & QSettings Dialogs Images and Resources Layout of Widgets QActions, QMenus, and QMenuBars QActions, QToolbars, and QActionGroups Regions and QDockWidgets Questions for this Section List six things that QWidgets have in common How can you save and later restore the size, position, and arrangements of widgets for a GUI app? Why would ...
In my previous post on this particular topic, I had mentioned a problem I was having when attempting to post with a new application. I did discover that not all applications are created equal. When I created a second application specifically for this post, it would not work at all. I have not yet contacted Facebook support to determine the root cause. If you run into the issue where it appears that the application is being granted the proper permissions, but still cannot post, create another application ...
Recently I blogged about WCF REST services with no svc file and no config. In this post I also discussed the pros/cons of WCF services as compared to using MVC controller actions for web services and I made the case that, in many instances, WCF REST services is better than using the MVC infrastructure because WCF provides: a more RESTful API with less work a convenient automatic help page to assist consumers of your service automatic format selection (i.e., xml/json) depending on HTTP headers In ...
In this Issue: Michael Washington(-2-), Brian Noyes, Michael Ossou, Sharker Khaleed Mahmud, Mike Taulty, Jeremy Likness, Brad Tutterow(-2-), and András Velvárt. Above the Fold: Silverlight: "Best Practices for Themes in Modular Silverlight Applications " Jeremy Likness WP7: "Being theme aware in Windows Phone 7 Silverlight apps" András Velvárt Lightswitch: "LightSwitch Student Information System" Michael Washington Shoutouts: Erik Mork & Crew have their latest podcast up: Show 106: Jetpack themes ...
After the first release of the SharpBox library I want to publish some information about very usefull comfort functions. This methods are implemented based on the API of the basic SharpBox library. No other internal code which communicates with the cloud storage provider was used. There are three main functions in version 1.0: UploadFile("C:\temp\myfile.... "/Public/"); DownloadFile("/Public/myfil... GetFolder("/Public/My/Very/... This three functions are usefull if ...