Tuesday, October 13, 2009

Running .NET Apps on iPhone

I missed it somehow, but Novell released MonoTouch (current release is v.1.1.1) , which gives the developers the opportunity to develop iPhone applications using C# and their favorite .NET Framework classes.
Actually, we talk here about static native code generation ( there is no CLR implementation).
It is based on Mono's feature called Full AOT (Ahead of Time Compilation)

MonoTouch supports garbage collection, multi-threading, and many features of .NET 3.5, including C# 3.0 and LINQ, with some exceptions due to the security system in the device. See Limitations for more information about the limitations of MonoTouch.

The following .NET assemblies are part of MonoTouch 1.0:

  • mscorlib.dll
  • System.dll
  • System.Core.dll
  • System.Xml.dll
  • System.Xml.Linq.dll

MonoTouch supports BCL, WebServices, Linq and even limited WCF functionality.
There are number of limitations . The main reason is the static code generation process. There is no direct debugging experience and generics support is limited - read more about limitations


Checkout this screencast for a quick Hello World feel. (via www.codesnack.com)

It sound very promising ... just need $400/$1000, Mac, and iPhone Developer Program membership to get hands durty.

Game developers may check out Unity for another C# to XCode compiler. However Unity is dedicated to game development

Links
MonoTouch web site
Limitations of MonoTouch
Debugging support in MonoTouch
Editions and Pricing
Getting started screencast
Full AOT (Ahead of Time Compilation)
Unity web site

Tuesday, July 21, 2009

iPhone vs Stone

Thursday, July 16, 2009

Microsoft SQL Server 2005: Property Owner is not available for Database xxxxx

I restored a backup over a fresh MS SQl 2005 instance recently.
I tried to open the properties dialog from the Management Studio/Object Explorer for the restored database and got the following message


Property Owner is not available for Database 'db_name'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)


Fortunately, I solved my problem by executing the following query against the restored database:

sp_changedbowner sa

Friday, April 17, 2009

Microsoft Days 2009 pictorial

This is the last day of Microsoft Days 2009 (Sofia) . I really had a great time during the last 2 days(Dev tracks). There were many great sessions and excellent opportunities for social networking.
The Microsft Surface was the real hit! Only one "big" organizational issue- there was no coffie available after lunch (again), which leads to a massive after-lunch nap effect , despite of the presenters efforts to hold the audience focused. Anyway this was a great event, again!










Wednesday, April 15, 2009

SOA is great

I just found some funny "Chuck Norris style" thoughts on SOA (Service Oriented Architecture). Check them out:

  • SOA is so great 10 facts aren’t enough.
  • SOA is the only thing Chuck Norris can’t kill.
  • The first rule of SOA is you do not talk about SOA.
  • SOA in a Nutshell is 7,351 pages spread over 10 volumes.
  • SOA is not complex. You are just dumb.
  • Guns don’t kill people, the SOA WS-* stack kills people.
  • SOA can write and compile itself.
  • SOA is the mistress to all CIOs.
  • SOA is just one letter away from SOB. On purpose.
  • If a tree falls in the forest, SOA knows about it.
  • SOA is being used in the developing world to solve hunger. Entire populations will be fed on future business value.
  • SOA knows what you did last summer, and is disappointed that it wasn’t SOA.
  • SOA violates the first and third laws of thermodynamics.But not the second, as all energy flows from SOA.
  • SOA is the secret ingredient that makes the colonel’s chicken so tasty.
  • Neo didn’t bring down the Matrix. SOA did.
  • SOA actually stands for Same Old Architecture - whatever your old architecture is.
  • It has been said that an infinite number of monkeys pressing their buttocks against keyboards for an infinite amount of time will eventually produce the complete works of William Shakespeare. 100 monkeys typing for 10 hours will eventually produce a SOA project plan
  • With enough SOA in a room, you don’t even NEED developers.
  • Nothing gets between me and my SOA - except more SOA.

via Zeesjan's Integration Bits