How to programmatically upload a file to your Dropbox account. On a train trip during the New Year’s weekend, I spent time testing and collecting notes about how to interact with Dropbox. I will share my findings with you in this blog post. Dropbox “Dropbox is a free service that lets you bring your [...]
Entries Tagged '.Net' ↓
Unboxing Dropbox and SharpBox
February 6th, 2012 by Johan Silfversparre — .Net
Secure your REST-based WCF service with WIF, part 2
January 28th, 2012 by Stefan Severin — .Net
This is the second post in a series of blog posts on how to secure REST-based services built on WCF and ASP.NET. One possible use case would be that we are hosting an OAUTH resource server where a third-party client has been issued a token by an authorization server with the approval of the resource [...]
A quick note about exit codes from powershell
January 19th, 2012 by Jakob Nilsson-Ehle — .Net
This may be an extreme edge case, but since I spent a few hours on something rather trivial, I though I should share it. When running Invoke-Command from powershell invoked via command line – be wary of the curly braces. What is the difference between the following two commands? powershell.exe -Command “& {invoke-command {throw ‘error’}}” [...]
Tags: .Net, powershell
WebClient/WebRequest threading untangled
January 18th, 2012 by Andreas Hammar — .Net
WebRequest and its baby sister WebClient behave differently regarding what thread they return on. This is a short post to really clarify what returns where. Summary WebClient will always return on the UI thread if called from the UI thread WebRequest will always return on a background thread The investigation To test this I created [...]
Tags: windows phone, windows phone 7, wp7dev
Crafting the Øredev Windows Phone app live tile
January 9th, 2012 by Andreas Hammar and Håkan Reis — .Net
In November last year, it was once again time for the 2011 Øredev developer conference. For the 2010 conference, we at Jayway created a schedule app with a social twist – a puzzle game that you played by talking to other participants. When updating the app this year, we decided to make use of the [...]
Tags: windows phone, windows phone 7, wp7dev
Working with the Search charm in Windows 8
January 9th, 2012 by Peter von Lochow — .Net
I actually attended BUILD. I sat there, bombarded with so much information about Windows 8 and Metro style applications that I just went into my happy place, franticly taking notes on all that I should investigate later on. That very long and almost unreadable list contained, amongst many others, the keywords – contracts and charms. [...]
Secure your REST-based WCF service with WIF, part 1
January 5th, 2012 by Stefan Severin — .Net
In this particular scenario we have a REST API built on WCF and ASP.NET which exposes resources owned by some imaginary users, and we want to make their resources accessible to third-party applications (clients) in a secure way. That is, we want to allow our users to grant authorization to clients requesting access to [...]
Graphite with .Net and Ubuntu 11.10
January 4th, 2012 by Henrik Feldt — .Net, Tips & Tricks
This is a quick write-up on how to get started with graphite as a .Net developer. We’re going to start using graphite with a virtual machine in VirtualBox, although you could use something else also. Steps: Download/install VirtualBox Download/install Ubuntu Download/install Graphite Expose VM to network Use Graphite from C# Download/install VirtualBox Start by downloading [...]
Tags: devops, graphing, graphite, open source, statsd, ubuntu
N2CMS, TinyMCE and cufon
December 14th, 2011 by Anders Poulsen — .Net
Problem On http://www.leanonme.net/ we use cufon to create text with special stylized fonts. This presents a challenge in cases such as the one above, where the content editor should be able to mix regular font with cufon-enabled font. We have solve the problem by integrating custom formatting directly in the TinyMCE editor, which N2CMS uses [...]
Tags: N2CMS
Possible pitfall when using EF Migrations
December 14th, 2011 by Per Ökvist — .Net
Recently the EF migrations package reached version 0.8 beta. The goal is to include this in the upcoming EF release. Today EF code first has a simple model of initializers. This solves simple scenarios when developing and changing model or deploying a brand new instance. Migrations continues the story, to handle just that. Migrations. Change [...]
Tags: entity framework
In the async world – no one can hear you scream
December 12th, 2011 by Peter von Lochow — .Net
I wrote my first Windows 8 Metro application right before Øredev 2011. It was a small application that basically just displayed all tracks and speakers at the conference. I had the luxury of having access the raw conference xml data from the server, but one thing that I have learnt from conferences is that the [...]
MVC3, Razor and MS Chart Controls in .NET 4
December 11th, 2011 by Henrik Andersson — .Net
During this weekend I was elaborating with Microsoft Charting Tool and want with this blog post share the knowledge that I gained. Demo I started with an empty ASP.NET MVC 3 Web Application with the View engine Razor and I selected an Empty template. I added a reference to the assembly System.Web.DataVisualization. Thereafter I [...]
Tags: ASP.NET MVC
Testing Web.config Transformations, Part 1
December 8th, 2011 by Mads Troest — .Net, Testing, Tips & Tricks
Web.config transformations is a Microsoft-supported technology for adapting a base configuration to a particular deployment environment. In my previous post, I mentioned how AppHarbor provides an online tool for manually testing transformations. Also, the Visual Studio extension SlowCheetah provides support for manually testing and transformation and diffing them against the base configuration from inside Visual Studio. These [...]
Tags: automated testing, configuration, Deployment, transformation, web, Web.config, xml
WinRM w/ self-signed certificate in 4 steps
November 21st, 2011 by Henrik Feldt — .Net, Architecture, Cloud, Tips & Tricks
Targeted environment: Windows Server 2008 or Windows Server 2008 R2 You’ll be self-signing with makecert from the Windows 7.1 SDK. The certificate tool is a single executable, specifically at %PROGRAMFILES%\Microsoft SDKs\Windows\v7.1\Bin\makecert.exe, per default. You’ll need it – copy it to the server unless you already have the SDK installed on it. Secondly, you’ve got a [...]
Tags: devops
WP7 getting started (6) – Make your application come alive
November 16th, 2011 by Anders Poulsen — .Net
This is the fifth in a series of blog posts describing how to get started with Windows Phone 7 development. It is written based on my own experience getting started with Windows Phone 7 development. The previous entry, where I demonstrated how to use databound controls in xaml based webservice is available here. The purpose of [...]
Tags: .Net, windows phone 7, wp7dev
