Tag Archive | "c#"

Tags: , , , , , , , , ,

.NET ueber alles

Posted on 05 July 2010 by Alexander Viken

Through this spring i’ve been playing around with some iPhone development to teach myself Objective-C. It hasn’t been all fun..

With 10 years of .NET development behind me i’ve got a good understanding of development, and I  read  code in almost any language. Now a few days before i start my summer vacation have learned two things…

  • I really enjoy developing software.
  • I still find it painful to take joy in developing software in Objective-C.

It is two-folded; I don’t really like the language, and  the standard IDE Xcode is an incomplete and non-productive IDE in my opinion. Continue Reading

Comments (0)

Tags: , , , , , , , , , , , , , , , , , , , ,

Setting up a maintainable windows phone development project in Visual Studio 2008

Posted on 14 October 2009 by Alexander Viken

In this post i share what is my experience, and what i have found to work for me as a best practice for setting up my projects and software structure when developing windows phone applications in Visual Studio 2008.

Basically I am  applying some Model-View-Presenter principles tweaked for simplicity and dividing the different parts into separate projects.

The Model-View-Presenter software design pattern is in my opinion the easiest pattern to use. It is also easy to get going with if you`re not familiar with the jungle of three or four letter acronym patterns and support frameworks available.

Patterns are important and you should use them! By applying, in this case a MVP pattern we can easily handle the rapid changes in new hardware, screen form factors, UX requirements and connectivity requirements to back-end systems. Continue Reading

Comments (2)

Tags: , , , , , , , , , , , , , ,

How to use the MSDN managed code gesture wrapper in a Windows Mobile 6.5 device project

Posted on 02 October 2009 by Alexander Viken

Here´s a short how-to for getting started with gestures in your Windows Mobile applications. First how you set up your device project, and then i explain how it works using the managed gesture wrapper from MSDN.

First of all you need to consider if you would like to do it the “hardcore” way? by doing all the P/Invoke native calls yourself (then this documentation on MSDN is really useful) or if you just want to get gestures working and use the managed wrapper available in the MSDN code library, - You can also find the source code for the  wrapper there if you later need to find out how it really works. I haven´t  investigated the wrapper library yet, so I am not sure if it  encapsulates all the native functionality that is available.

First of all; Start Visual Studio 2008 and create a new device application solution. There is no specific Windows Mobile 6.5 application template so you just choose a Windows Mobile 6 project. Next you need to do is to add a reference to Microsoft.WindowsMobile.Gestures.dll (assuming now that you have downloaded the dll file) in your WYSIWYG in VS08.

  1. Visual Studio 2008 toolboxRight click on the General tab in the toolbox and select “choose items…”
  2. In the “Choose toolbox items” dialog select the browse button in the “.NET Framework Components” tab
  3. Browse to where you extracted the Gestures dll file and select it.
  4. A component called “GestureRecognizer” has it´s checkbox checked and selected.  Click the OK button.
  5. Continue Reading

Comments (0)

Tags: , , , ,

Passed MS 70-536 today

Posted on 07 March 2009 by Alexander Viken

It was disapointingly easy and i left the test center with a score of 911.

70-536 book coverOn a side note; I purchased the MCTS Self-Paced Training Kit from MS Press for .NET Framework 2.0 Application Development Foundation about a year ago on amazon and i’ve never ever read a book with more errors. In my edition pages 700 – 730 is missing.   There’s been a couple new editions but they have the same isbn id so you won’t know which edition to avoid.

The book has no less than 4 long pages with commens and corrections. if needed here is links to Part 1, Part 2, Part 3 and Part 4

Comments (1)

About the author, Alexander Viken
Working as Chief Mobility Consultant at Creuna Norway. I received MSFT MVP for Device Application Development in June 2010 and are interested in mobility trends, the market, technology, software development for Windows Phone, iOS and Android mostly, but not exclusively. Scrum master that fights to keep it lean.
Advertise Here

Me on Twitter