Windows Support Number

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 6 December 2011

RavenDB - locked database base when running Azure emulator

Posted on 06:07 by Unknown
Thought I'd note this down for anyone observing this in the future - this was purely down to user (me) error!

If you ever find yourself using the embedded version of RavenDB in an asp.net based azure hosted service running in the azure emulator locally don't play around with azure instance settings as it can f**k-up royally and cause you no end of pain with your RavenDB instance.

Specifically if you change the number of instance to anything other than 1 you start to observe race conditions in your app. Always keep the instance count to 1 when running in the emulator locally:


If you don't you start to receive exceptions like the following:


IT took me about an hour to figure this out, I only realised when I looked at the azure compute storage emulator and saw 2 instances running simultaneously. I would have thought these would be using separate physical database instances but after thinking about this it became obvious they weren't - the IIS instances were virtualised but the physical folder structure wasn't.










Read More
Posted in NoSQL RavenDB Azure Development | No comments

Configuring default page for azure service

Posted on 05:31 by Unknown
Been playing around with Azure for a week or so now and I'm starting to get my head round it, to be honest it ain't that difficult. @RichGee & I are going to be deploying RESTful services into the cloud for our shiney ninja project and whilst we are spiking these out I wanted to be able to set the default page, you know something like 'default.html'.

Now this was easy when hosting a service in IIS, all you had to do was specify the default document types:


But in azure there isn't any visible way to access IIS from the management tools, you only have access to the 'Hosted Services' console:


 I suppose you could remote onto the virtual box and set it up in IIS, but that feels overly complicated.

There must be any easier way? 

There is if you are using asp.net, the  element in the web.config. This allows you specify the default document at design time and will be injected into IIS when the web service\site is installed into IIS by azure:

More info can be found in MSDN here.





Read More
Posted in Azure IIS RESTful development | No comments

Thursday, 1 December 2011

Getting app feedback from windowsphone.com

Posted on 07:54 by Unknown
I was chatting with my good friend Denis (@dhaman) about user feedback for the apps he's produced for the iPhone & droid app stores and just like the WP7 app store they all fall short in supporting your app once released out into the wild. I was also reading the final post in the '31 days of mango...' by @jeffblankenburg and he talks about promoting your app, he mentions the great work Nick (@spacescape) did originally for FINDaPAD in producing a template you can use to provide a bespoke site for WP7 app - Nick pushed this out to codeplex here.

Denis pointed out he started to explicitly put a feedback mechanism in the app blurb, ideally at the top. Initially I thought I don't need this, we've got http://findapad.biz with feedback via uservoice, but then I realised there isn't any way for a user viewing FINDaPAD in the app store to get in touch with us. This is a piece of functionality that should be in the app store and I don't mean a forum like feature to discuss the review\rating by a dissatisified user (1 star rating for FINDaPAD) I mean the ability to provide a contact point for any user to talk to you.

As you can see from the screenshot below they don't even provide anyway to show a support URL or email. I would have expected something down the left hand-side.


I don't really expect the app store to get a make over until Windows 8 platform is released (including to the phone). So what I am going to do to help us get better feedback in the mean time is put an explicit message in the blurb. Something like:

'We really want to hear from you, get in touch via feedback @ http://findapad.biz'

Now where this should be positioned is the difficult question, I'll try near the bottom at first and see what happens.






Read More
Posted in FINDaPAD, WP7 feedback development app store | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Unit testing Rx methods Timeout & Retry with moq
    Earlier this week I was trying to unit test an asynchronous service (Foo) which used another asynchronous service (Bar) internally and ran i...
  • Understanding RefCount in Reactive Extensions
    A couple of weeks ago  @LordHanson  & I ran into an issue converting a stateless async service exposed as an Rx cold observable to a  co...
  • StructureMap: ILifecycle
    The other day I wanted to control the scope of a service inside a web based app with semantics which didn't fit either 'HttpContextS...
  • MVVM anti-pattern: Injecting the IoC container into a View Model
    This is another anti-pattern I've seen a lot recently, the dynamic use of the IoC container inside a view model to resolve child view mo...
  • How many pins can Bing Maps handle in a WP7 app - part 1
    part2 -  http://awkwardcoder.blogspot.com/2011/10/how-many-pins-can-bing-maps-handle-in.html part3 -  http://awkwardcoder.blogspot.com/2011/...
  • Bad developers love 'The Daily WTF'
    When 'The Daily WTF' started up back in 2003/2004 it was a great laugh looking at shocking code other developers wrote, but after a ...
  • Using CompositeDisposable in base classes
    To help make an object eligible for collection by the GC (garbage collector) one would implement the IDisposable interface. Executing the di...
  • Implementing a busy indicator using a visual overlay in MVVM
    This is a technique we use at work to lock the UI whilst some long running process is happening - preventing the user clicking on stuff whil...
  • Daily Dilbert Service - the most important service I've ever written...
    NuGet package available here ... First off a big shout to  @hamish  &  @leeoades  on this one - I'm just blogging about it. At work ...
  • Comparing performance of .Net 4.5 to .Net 4.0 for WPF
    Currently I'm working on a .Net 4.0 WPF app and we've had some discussion about moving to .Net 4.5, we don't get to make the dec...

Categories

  • .Net
  • .Net 4.5
  • Abstractions
  • Advertising
  • Agile
  • Agile Courage
  • AOP
  • Async
  • automated testing
  • Azure
  • Azure IIS RESTful development
  • BDD
  • Bing Maps
  • Bounded Context
  • C#
  • C# 5.0
  • Caching
  • Chocolatey
  • CLoud
  • CodePlex
  • Coding
  • Coding Building CI Testing
  • Coding C#
  • coding C# IoC StructureMap
  • Coding Functional-Programming
  • Coding REST Knowledge
  • Coding Services
  • Coding TDD Refactoring Agile
  • Command
  • continuous testing
  • coupling
  • CultureInfo
  • DAL
  • databases
  • DDD
  • DDD Coaching
  • DDD Domain Events Auditing nHibernate
  • DDD Entities Value Objects
  • Debugging
  • Design Patterns
  • Design Patterns Databases Auditing
  • Developement
  • Development
  • Development Coding
  • Development Process
  • Development unit testing
  • Development VS 2011
  • Diagnostics
  • Disposable
  • Exceptions
  • FINDaPAD
  • FindaPad Property Rental Windows Phone 7 Mobile Devices
  • Fun Coding Duct-Tape
  • Hotfixes
  • integration testing
  • IoC
  • jasmine
  • javascript
  • Jobs Development
  • LINQ
  • marketplace
  • Mobile Devices
  • Mocking
  • MSDN Coding
  • MSpec
  • Multilingual
  • MVC
  • MVVM
  • nCrunch
  • nHbiernate Repository Pattern Criteria
  • nHibernate Auditing Design Fluent
  • nHibnerate Entities Events Listeners
  • node.js
  • nodes.js
  • Nokia
  • NoSQL RavenDB Azure Development
  • Observations
  • OO
  • ORM
  • Performance
  • Portable Class Library
  • Portable Library
  • PostSharp
  • Process
  • Rants
  • RavenDB IIS 7.5 Development
  • Reactive
  • Reactive Extension
  • Reactive Extensions
  • ReadOnlyCollections
  • Resharper
  • REST Distributed-Systems
  • REST HTTP
  • rest web
  • RESTful
  • Rx
  • Serialization
  • Silverlight
  • Silverlight Installation
  • Task
  • TDD
  • TDD IoC DI
  • TDD Mocking
  • TDD Team Observation
  • Telerik
  • testing
  • threading
  • TPL
  • UI
  • Undo-Redo
  • unit testing
  • ViewModels
  • VS 2012
  • wcf
  • web api
  • Web Services
  • web services mobile devices data
  • WebAPI
  • Windows
  • Windows 8
  • windows phone
  • Windows Phone 7
  • WP7
  • WP7 Bing Maps Development Network HTTP
  • WP7 Bing Maps Development UK Crime
  • WP7 Bing Maps Development UK Crime Clustering
  • WP7 Bing Maps Development UK Polygons Clustering Performance
  • WP7 cryptography bouncy castle
  • WP7 Cultures C#
  • WP7 feedback development app store
  • WP7 Javascript web browser
  • WP7 MSBuild
  • WP7 ORM Databases performance
  • WP7 Serialisation
  • WP7 SilverlightSerializer C#
  • WP7 sqlite performance development
  • WP7 WP7Contrib Bing Maps Development
  • WP7 WP7Contrib Bing Maps Polygon Development
  • WP7 WP7Contrib CodePlex
  • WP7 WP7Contrib CodePlex Bing Maps Development
  • WP7 WP7Contrib CodePlex ObservableCollection
  • WP7 WP7Contrib ILMerge .Net
  • WP7 WP7Contrib Phone Maps
  • WP7 WP7Contrib SilverlightSerializer C#
  • WP7Contrib
  • WP7Contrib Bing Maps WP7
  • WP7Contrib WP7 Geo-Location development C#
  • WP7Contrib WP7 HTTP Compression
  • WP7Contrib WP7 Url Development Rx
  • WP7Dev
  • WPF
  • WPF Cultures
  • WuApi
  • XAML

Blog Archive

  • ►  2013 (16)
    • ►  November (5)
    • ►  September (3)
    • ►  August (1)
    • ►  July (1)
    • ►  June (3)
    • ►  May (2)
    • ►  January (1)
  • ►  2012 (44)
    • ►  November (2)
    • ►  October (8)
    • ►  September (5)
    • ►  August (2)
    • ►  July (4)
    • ►  June (3)
    • ►  May (1)
    • ►  April (2)
    • ►  March (13)
    • ►  February (4)
  • ▼  2011 (52)
    • ▼  December (3)
      • RavenDB - locked database base when running Azure ...
      • Configuring default page for azure service
      • Getting app feedback from windowsphone.com
    • ►  November (5)
    • ►  October (7)
    • ►  September (7)
    • ►  August (11)
    • ►  July (4)
    • ►  May (2)
    • ►  April (1)
    • ►  March (5)
    • ►  February (3)
    • ►  January (4)
  • ►  2010 (1)
    • ►  August (1)
  • ►  2009 (32)
    • ►  December (3)
    • ►  November (7)
    • ►  October (6)
    • ►  September (11)
    • ►  April (1)
    • ►  March (4)
Powered by Blogger.

About Me

Unknown
View my complete profile