Tag | API Posts

Los servicios de almacenamiento de Windows Azure, son expuestos nativamente desde una interface REST lo cual permite su uso desde cualquier tipo de aplicacion y plataforma.Los servicios del API REST permiten Windows Azure Storage sonQueue Service APIOperationDescriptionList QueuesLists all queues under the given account.Create QueueCreates a new queue under the given account.Delete QueueDeletes a queue.Get Queue MetadataReturns queue properties, including user-defined metadata.Set Queue MetadataSets ...
We refreshed the home of the SharpBox project to give all API consumers, vendors and new project members a more organized way to find project related information. In the next weeks we will add more detailed documentation pieces to close our gaps. Feel free to propose missing information so that we can work on that. The following picture gives an impression how the new website looks like: Please visit our new page on http://sharpbox.codeplex.com and if you like SharpBox vote for it with stars on codeplex ...
If you want to get up to speed on Azure AppFabric brokered messaging there are a couple of resources you should check out. SB CTP Messaging User Guide This is a 30 page word document put together by the AppFabric dev team. It’s a great read to get an introduction to Queues, Topics and Subscriptions. If you are working in the AppFabric Labs environment using the May or June CTP the code will work fine. There have been significant changes in the API in the September 2011 release, so don’t expect any ...
In Windows Azure, we have the DiagnosticMonitorTraceListener which can be used for writing diagnostics to Local resource (like a local storage in the Worker or Web Role) which can then be ultimately stored in Windows Azure Table/Blob storage (transferred automatically by the Diagnostics Monitor in Windows Azure based on config settings). We could either configure the Diagnostic Monitor using Code (in Role Startup) or we can use a config file for the same (called diagnostics.wadcfg). The code configuration ...
In this Issue: Eric Jensen, Andrea Boschin, Gill Cleeren, Rene Schulte, Colin Eberhardt(-2-), Mark Tucker(-2-), Mark Monster, Walter Ferrari, and Michael Washington(-2-). Above the Fold: Silverlight: "Welcome to Zombieland, the Metro Style Land of WinRT and the Undead" Rene Schulte WP7: "Adding Tactile Feedback to your app the easy way" Mark Monster LightSwitch: "A Random Walk Through The LightSwitch Data Model" Michael Washington Windows8: "TweetSearch – A Cross platform Metro UI WinRT and Silverlight ...
Introduction I’m sure by now you have heard that the Silverlight 5 Release Candidate has been released. I recently had a chance to Guest Blog for the Microsoft MVP Award Program Blog on “Getting Started with the Silverlight 5 Release Candidate”. Now before we get started learning about it, let’s look at a few new features: What is new in the Silverlight 5? Multiple Window Support - Trusted app can create additional Windows. Ancestor RelativeSource Binding – Enables a DataTemplate to bind to a property ...

Last week, Microsoft held their long awaited Build Windows (or simply "Build") conference in Anaheim CA. About 5000 people packed the convention center to discover the latest version of the Windows operation system: Windows 8.

Read the rest of this entry »

Technorati Tags: Windows 8 Just like many thousands of geeks around the world I downloaded the Windows 8 preview from Microsoft’s website: http://msdn.microsoft.com/e... and spent some time playing with it. Being an embedded developer I don’t have any powerful machine lying unused in my office, so I installed Windows 8 on a very low-spec machine, a 1.6GHz Atom with 1GB of RAM and a 120GB HD (taken from an old mac). First of all I must say that I’m pretty impressed by the responsiveness ...
Programming for Metro Metro is the future http://zd.net/rnT9VZ .NET is for old apps. WinRT replaces WPF & WCF. XAML is big. There were no Silverlight sessions. HTML 5 and Javascript ( Blend for HTML) are back in fashion – I wont dwell on this because web apps are (inconsistently) simplistic in concept and over-complex in development. Yes, all those XAML skills are portable, Silverlight (RIP) apps can run as Metro apps with a bit of fidgeting with namespaces – you just need to know what controls ...
The Azure AppFabric Service Bus Brokered Messaging functionality has shipped to production, and is available in Azure data centers across the world. This means that we now have point-to-point queuing and publish-subscribe messaging available in the cloud in the form of Queues, Topics and Subscriptions. Be aware that there are substantial changes in the classes in the Microsoft.ServiceBus.Messaging namespace, which means I will have to re-record webcasts and repost blog posts. I’ve spent quite a bit ...
This week I’m at the Microsoft Build/Windows conference. Now I’ve been to many conferences throughout the years and this is the first conference where I literally knew nothing about including the agenda. When I signed up for my badge on arrival we got a conference guide with all the hours of the session but no sessions. Very secret, very cloak and dagger. This created a huge buzz but also upped the expectation quite a bit… So with the tabled laid out and the expectation high I sat down and waited ...
Introduction · CQL is a SQL-like language (SELECT..FROM..WHERE) for static analysis of .NET code. · It is a nice complement to code contracts, & is usable in unit tests. If you've ever looked at creating custom FxCop rules using the archaic and undocumented Introspection API (see http://www.binarycoder.net/... ), then you will appreciate the elegant CQL syntax for static analysis! · supported by NDepend http://www.NDepend.com How It Works · Lets dive into a contrived example ...
Download Demo - LINQpad Query In this blog post I’ll be showing you how to query TFS using LINQpad. 1. Download LINQpad Those who are familiar with LINQpad know its benefits and ease of use, i would urge others to try it. You can download LINQpad and read more about it from here => http://www.linqpad.net/ 2. Download TFS SDK I have a blog post on where and how to download the TFS SDK from => here 3. Querying TFS using LINQpad Open LINQpad Select Query Properties by selecting Query from menu ...
In the previous post I droned on about how to apply the AsyncOperationService to an API conforming to the .NET Asynchronous pattern. In this post I’ll be building a more real world example. Well I say “real world” please don’t confuse that with something actually useful. Its still a little contrived and is not an example of best practice but it is something you could actually build and test. What are we going to build? We are going to build an ambitious ground breaking Silverlight app that allows ...
In this Issue: Ollie Riches, Tony Champion, Kunal Chowdhury, WindowsPhoneGeek, Jeremy Likness, Mike Taulty, Jesse Liberty, Sumit Dutta, Asim Sajjad, Justin Angel, and Shawn Wildermuth(-2-). Above the Fold: Silverlight: "Creating a Multi-Click Event in Silverlight 5" Tony Champion WP7: "Windows Phone 7 Marketplace Statistics" Justin Angel Shoutouts: SilverlightShow has posted their top 5 for last week: SilverlightShow for August 29 - Sept 04, 2011 Michael Palermo's latest Desert Mountain Developers ...
Yeah, you read that right. I may be weird, but I do think that unit testing is fun. It is also very important. I didn’t know much about Unit testing when I came out of school. I think colleges need to have a class dedicated to it. But anyway, I didn’t do much of it at my previous job since I was developing the Siebel CRM. Since Siebel is an Oracle product, it involves mostly configuration and customization using built components. We did some integration testing by building any new components into ...
I have introduced a method to detect the stack size and other stack info during runtime in this article http://geekswithblogs.net/K... But what if we want to determine the stack size on arbitrary thread or for whatever reason, writing a code is not an option but wish to peek the stack size via debugger? Fortunately, there is a debugger extension (CeDebugX) provides many power tools, such as !stacktrace or !stackeval to get the stack info for ...
This post is about using the AsyncOperationService with .NET Asynchronous Pattern. Warning: this is another article that is likely to give you a headache. Its designed to provide full details of how things work. If you don’t want the headache then, skim the article and copy’n’paste the code from the “FromAsyncPattern” box below (it assumes you already have AsyncOperationService code). Subsequent articles will outline more real world uses which may (and I say “may” very tentatively) not be so headache ...
Our brand new and first service release for SharpBox 1.1 is out. This is the first release which follows the idea to deliver every 4 to 6 weeks a small service release with the latest bugfixes from the field. This release contains an important change for all storage provider developers. The assembly AppLimit.CloudComputing.Sha... contains all storage provider which are not part of the core API. This location should be a home for only a short period of time until the ...
In this Issue: Andrea Boschin, Shawn Wildermuth, Kunal Chowdhury, Peter Kuhn, Loek van den Ouweland, XAMLNinja, Ollie Riches(-2-), WindowsPhoneGeek, John Papa, Den Delimarsky, and Sumit Dutta. Above the Fold: WP7: "Fun With New Live Tile API" Shawn Wildermuth Expression Blend: "Icons or other visuals with XAML instead of bitmaps" Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Gill Cleeren posted his SilverlightShow Advanced Silverlight 5 webinar files From SilverlightCream.com: ...
NHibernate has many ways to create and executes queries. With one of them* - the Named Queries we can execute our manually created stored procedures. This example is dedicated to SQL Server. This is important to notice, because this code is database specified. That means, for each database the query can look diffrent. E.g. in SQL Server we call the stored procedure by using the syntax: exec <procedure>. In Oracle it is: call <procedure>, so we must remember it. Let's assume we have a ...
When testing in ASP.NET MVC3, one of the common elements you might want to test is authorization. Although the framework does most of the heavy lifting for ASP.NET Membership and authorization it is still worthwhile to be able to write a test to show that the proper Authorization tag is in place. You might think that it’s as easy as calling the method on the controller with a proper context, but that’s not the case. When you call the methods directly on the controller the authorizations are skipped. ...
There are many reasons that you may want to add email capability to your Windows Phone 7 application. There are a number of ways you can communicate information out from an application. The mechanism for sending email from your WP7 application is the EmailComposeTask API. The difference between this API and the one that you would use for an ASP.NET application is that it opens a screen to allow the user to select an account to use and then creates a message which the user then has to send. This makes ...
I recently had the pleasure of creating a course for Pluralsight on MVC Scaffolding. For the next 24-hours the course will be completely free! Click here to view the course now. I’ve divided the course up into three modules. In the first module, I cover everything you need to know to be quickly productive with MVC Scaffolding. This includes mastering the command line, understanding one-to-many relationships, and scaffolding Actions and Unit Tests. In the second module, I do a deep dive on customizing ...
The WebBrowser control uses behind the scenes the IE engine to render the pages. Fortunatelly/Unfortunatelly is that, we have together with the rendered page the IE-default shortcuts, the context menu shown after pressing the right mouse button etc. To disable e.g. refreshing the page by pressing F5, we can set the WebBrowserShortcutsEnabled property to false. To disable the context menu, the WebBrowser control have either a property, called IsWebBrowserContextMenuEnab... When we set it to false, ...
I was recently asked to review Studio for Wijmo MVC by Component One and, overall, I am impressed. There are 2 major components of this. The first is Wijmo Complete which is a collection of over 30 UI widgets (very similar to jQuery UI). The second is Wijmo Scaffolding for MVC which builds upon the scaffolding that was released as part of the MVC 3 Tools Update (note: is does *not* build on top of powershell-based MVC Scaffolding which Microsoft released earlier this year). Some of the Wijmo widgets ...
In this Issue: AfricanGeek, Dhananjay Kumar, Erno de Weerd, Jesse Liberty(-2-), Den Delimarsky, Austin Andrews, John Papa, Morten Nielsen(-2-), Andrej Tozon(-2-), and Michael Washington. Above the Fold: Silverlight: "Papa's Perspective: Fundamental MVVM" John Papa WP7: "Connecting Windows Phone 7, Zune, a Proxy Server and an Intranet Web Service" Erno de Weerd LightSwitch: "Using WCF RIA Services With LightSwitch: I Know You're Scared, I Understand" Michael Washington Shoutouts: Michael Crump is ...
One of the things that is important to learn when you are developing any application is how it will interact with the environment it lives in. I’m not talking about simply interacting with files or database but with major resources. With WP7 there are a number of things such as the photos, browser, maps and the phone itself that your application may be concerned with. The WP7 development API includes a number of access points to give your application greater reach. These APIs can be found here. They ...
Recently I stumbled across a question on stackowerflow.com about Edulinq. Its a series of blog posts turned at the end into a free eBook. Downloaded to my eBook reader and had a lot of fun in subway. There where not to much to discover inside of LINQ for me, but it could help a novice to understand the LINQ “magic” and use it efficiently. Another very important point for me was the test driven approach. You could take this book as a guide for test driven design and development. Reading this book ...
In this Issue: Michael Washington, Pontus Wittenmark(-2-), Derik Whittaker, Peter Kuhn, Michael James, XamlNinja, Adam Kinney, Morten Nielsen(-2-), Alex Sorokoletov(-2-), and Den Delimarsky. Above the Fold: Silverlight: "WPF vs. Silverlight - Part 1 - Custom Controls Theme" Morten Nielsen WP7: "New Windows Phone “How Do I” Video Series" Adam Kinney LightSwitch: "The LightSwitch Control Extension Makers Dilemma" Michael Washington Shoutouts: Michael Palermo has his latest Desert Mountain Developers ...
For a very (too) long time, the installation procedure for MVVM Light sucked. It involved downloading and unzipping files in various locations. Unfortunately, creating an automated installer is not completely trivial because of the variety of files that are getting installed: Binaries, Code Snippets, Project and Item Templates, all require different locations, and all that for VS2008, VS2010, Blend 4 and Silverlight 3, Silverlight 4, WPF3.5 SP1, WPF4, WP7.0 and now WP7.1 “Mango”. Read the rest of ...
Let me state the obvious, for any application you develop you need to log information, errors, exceptions etc that can help you and others know what’s going on with your application When you create a new Windows Azure application using Visual Studio you will find the following snippet in your configuration file <system.diagnostics> <trace> <listeners> <addtype="Microsoft.Wind... Microsoft.WindowsAzure.Diag... Version=1.0.0.0, ...
In this Issue: XamlNinja(-2-), Ollie Riches(-2-), Michael Washington, Bart Czernicki, Chris Craft, Colin Eberhardt, Kunal Chowdhury, Jasim Schluter, Pete Vickers, Samuel Jack, and Mike Ormond. Above the Fold: Silverlight: "Creating Inner Shadow Effects for WPF and Silverlight" Samuel Jack WP7: "WP7Contrib: Transient caching with In Memory Cache Provider" Ollie Riches LightSwitch: "Using OLAP for LightSwitchUsing OLAP for LightSwitch" Michael Washington Shoutouts: The folks at SilverlightShow have ...
Further to the discussions at http://stylecop.codeplex.co... and http://devnet.jetbrains.net... please will everybody who values the Stylecop/Resharper integration, post at http://devnet.jetbrains.net... a request to the Jetbrains team that they expedite the production of the updated API for ReSharper 6. Passionate aboutAutomated C# & VB.NET code formatting and sharing code styles in your team ...
Lately i have seen the below remarks coming through in the communities, Get Latest does not work in TFS I always have to use Get Specific version to get the server changes on my local Why get latest misses updating some files while get specific works I’ll be using the TFS API to show you how the “Get Latest” is suppose to work and show you how you can avoid getting in a situation where you might have to use “Get Specific” to get the latest version of your workspace. I would assume that you know the ...
Over 6 months ago we released SharpBox 1.0.3 our last bugfix and service release. In the last few months we were focused on reworking our library core to achieve a couple of simplicity and feature goals. The importants goals from my personal perspective were: Clear and stable service provider API which allows 3rd part vendors to implement new cloud storage protocols Adding a well working WebDAV client in our API core to support all the webdav base storage providers by default Bringing our different ...
MvcScaffolding is a tremendous productivity improvement for MVC developers. Earlier this year, Steve Sanderson posted the definitive 7-part series on MvcScaffolding which is a must-read for anyone serious about doing scaffolding. The best part about the scaffolding infrastructure is that MvcScaffolding is actually built on top of another package called T4Scaffolding. T4Scaffolding can be used as the basis for *any* scaffolding – not just MVC projects. To that end, we can enjoy the same power of MvcScaffolding ...
In this Issue: Rudi Grobler, Roy Dallal, Hannah Watkins, AfricanGeek, Kunal Chowdhury(-2-), Beth Massi, Mohamed Mosallem, Michael Crump, and Jesse Liberty. Above the Fold: Silverlight: "Communicating between two local Silverlight Applications" Michael Crump WP7: "Designing for Steam Achievements, a Windows Phone 7 app" Hannah Watkins LightSwitch: "Relating and Editing Data from Multiple Data Sources on the Same Screen" Beth Massi Shoutouts: My Friends at SilverlightShow have their top 5 posts from ...
Giovanni Bassi published the original NuGet package for LINQ to Twitter (L2T), which I'm appreciative of. Since then, I have yet to do a release myself, but that is changing now. The current version of LINQ to Twitter is stable enough for a release, so the time is right. I think there are a few aspects of a LINQ to Twitter NuGet package that aren't as simple as point at a project and your done, so I'll document my process here in case anyone else is interested. Getting Started I had played around ...
LMAX provides a .NET API for automating your financial trading strategy. sign up & download here:http://www.lmaxtrader.... If you can combine software engineering skills + numerical analysis skills + an understanding of financial markets --> the whole is greater than the sum of the parts. You can build products that make money, and you can save money by being a cross-domain expert. http://en.wikipedia.org/wik... - see here to learn more about this lucrative field. A good ...
Ron Jeffries challenged me to show how Flow-Design and Event-Based Components can help software development. This is the problem he posed in the Software Craftsmanship discussion group: Solve bowling scoring. Here is the specification. Note that this is a simpler version than the one Bob Martin often uses. I'll take questions if you have any. Given a list of the rolls of a legal game of ten pin bowling, which you may assume are provided without error or omission, produce the total, final, score of ...
That's it!!! After many days and nights... and an amazing set of challenges, I just released the Enzo Backup for SQL Azure BETA product (http://www.bluesyntax.net). Clearly, that was one of the most challenging projects I have done so far. Why??? Because to create a highly redundant system, expecting failures at all times for an operation that could take anywhere from a couple of minutes to a couple of hours, and still making sure that the operation completes at some point was remarkably challenging. ...
The Membership API came in .NET 2.0 and was a huge enhancement in building web applications with users, managing roles, permissions etc., The Membership API by default uses SQL Express and until Visual Studio 2008, it was available only through the ASP.NET Configuration manager screen (Website – ASP.NET Configuration) or (Project – ASP.NET Configuration) and for every application, one has to manually visit this place to start using the Security and other settings. Upon doing that the default SQL ...
Great! You have reached that point where you would like to extend TFS. The first step is to connect to TFS programmatically. Download: Working Demo - VS 2010 Working Demo - VS 2012In this blog post I’ll be showing you, How to connect to TFS programmatically using TFS 2010 SDK How to connect to TFS programmatically using TFS 2012 SDK DLL references required to connect to TFS programmatically Connectivity classes & scope How to establish a connection interactively How to establish a connection ...
Hopefully nothing. But if you have to do more than simple XCopy deployment and you need to support updates, upgrades and perhaps side by side scenarios there is no way around MSI. You can create Msi files with a Visual Studio Setup project which is severely limited or you can use the Windows Installer Toolset. I cannot talk about WIX with my German colleagues because WIX has a very special meaning. It is funny to always use the long name when I talk about deployment possibilities. Alternatively you ...

After a couple of fixes in our generic WebDAV code the SharpBox library contains experimental support for box.net via the box.net WebDAV interface. I'm using this interface because the RESTful API is currently not ready for desktop application without website interaction, e.g. NT Services or other WCF Service. The stable support will be part of the official 1.1 release.

I'm happy about feedback to improve performance and stability!

Workflow 4 State Machine – Distributed Tracking Visualization · Disclaimer: This post requires an understanding of WF 4.0.1 , WCF and WPF. · Before I explain the how, look at the following image for the what: I am debugging a REMOTE workflow STATEMACHINE instance, and from tracking information sent from server, I am able to highlight the current state in my client! Visual Workflow Tracking Sample – a Big Ball of Mud · Workflow 4 provides the System.Activities.Presentat... class which ...
In a previous post, I talked about how to build your own custom Media Type Formatter with the WCF Web API. In this post, I used HAL as the media type to expose an API for Nerd Dinner. There are a core set of guiding principles to building RESTful services and one of those principles is that documentation efforts for a service should be focused on defining the media type(s) and link relations that the service uses. While it’s important to have a consistent pattern for URI design, it’s really not that ...
Media Type Formatters in the WCF Web API provide a way for the consumer of your service to not only specify the format they want for their response, but also specify the format they are using on their request. Typically the desired response format is specified in the “Accept” request header and the request body format is specified in the “Content-Type” request header. Media types are central to building any RESTful service. Two of the most common media types are “application/xml” and “application/json”. ...
I was chatting the other day with someone about adapters for connecting to LOB applications and an interesting point came up which I thought id share my thoughts on. The scenarios is that if you have a line of business application for arguments sake lets say its dynamics CRM which has a BizTalk adapter available but also has an existing web service API (or some other protocol based API). Which should you use for integration? In my opinion the answer to this is the usual "it depends" answer. I think ...