Jon Kragh's Tumblr

Content: Some personal, some tech, some music, etc.

Programming, Recording & Mixing Music, Photography, Working Out, Rescue Dogs, Pitbulls, Jersey Shore Resident

Search

Additional pages

Find me on...

Posts I like

More liked posts

That the AnonymousIdentificationModule is added to your web.config

Really cool talk by Frank Kern

Notes from cloning a VM in Azure

  • Reimport ssl certs for existing sites
  • Create new cert for web deploy

My New Product for Promoting things on Facebook and Twitter!

Visual Studio 2012 on Windows 8 JavaScript Debugging was not working for me.  After banging my head against the wall I fixed this by: 

  • Set the browser to something other than IE such as Firefox or the Page Inspector, and run
  • Switch it back to IE and run
  • Hit Breakpoints!

The intellect has little to do on the road to discovery. There comes a leap in consciousness, call it intuition or what you will, the solution comes to you and you don’t know how or why.

Albert Einstein

My notes on WinRT, Windows8 and .Net

Here are my notes from various blogs and Tech Ed videos on WinRT & Windows 8.
  • WinRT - New Windows 8 runtime, mostly managed code for most common actions (no pinvoke)
  • Windows 8 Apps are Sandboxed
  • App must ask permission of the user to use certain APIs such as camera, file storage, etc
  • There are special C# projects called portable libraries that are dlls that play by the rules of the Windows 8 sandbox.  Looks like Class libraries for Windows 8 should start with this project type (need to still clarify this).
  • Design - less is more, use the designs set for UX and interaction set by MS - fairly well documented (Visual Studio Templates provide a decent starting point). No Chrome for apps.
  • Contracts - Search and other contracts (sharing text, pics etc) should be tied into by your app for seamless experience in Windows- don’t roll your own. (e.g. Windows search key will search all apps and display results in your app so you can draw as appropriate).
  • Async and Await are key to the new Metro Style apps to keep them responsive. .NET 4.5 exposes many of these new methods for operations that can take over 50ms
  • Deployment can be done in the enterprise by “sideloading” via AD as opposed to the app store for public apps.  There is a sideloading and self-serve mode for deploying windows 8 apps in the enterprise.
  • Metro is experience not just look and feel - a set of design principles to be followed
  • Pride in craftsmanship is a focus of Metro apps - don’t let your app suck
  • Interface design should be done touch first, PC second
  • Design for a minimum resolution of 1024x768- figure out how to utilize more resolution when it is available (I saw this in a presentation - need to clarify this is true for phones)
  • VS tools can imitate touch with scroll wheel and tools
  • Must use Visual Studio 2012 on Windows 8 to develop for Windows 8
  • Window 8 Metro XAML stems from WPF, skills are transferable
  • MVVM seems to be a prevailing pattern for Metro App architecture in C#/XAML
  • Asynchronous operations are the norm rather than the exception.  WinJs provides this with the promise interface (used by popular libraries such as jQuery), C# with Async, Await
  • Xaml / C# and Js/Html have the same access to WinRT.  Javascript can call C#
  • JavaScript & Html have skins that are metro styled and can tie into the same gestures, etc
  • Use capabilities of today’s devices: geolocation, cameras, etc
  • A lot of the metro design is high level screens go into details screens with contextual actions in the App bar
  • Appbar is hidden without swiping (means a lot of actions are hidden until a swipe is done)

I’m going to try this after upgrading to VS 2012 RTM. Support for less and coffeescript intellisense in VS and a lot of other goodies.

This fixed it for me…

Loading posts...