Archive for December, 2012

As many of you may now i had been studying Windows phone 8 since last month. Windows Phone is a mobile platform that i truly admire for the implementation choices and for the ecosystem we can create when having Windows Phone 8, Azure and Windows 8.

At this time after a month doing hand’s on labs and studying i would be ready to write a series of post about the technologies or to shoot a deck of slides with a resume of what’s new. But in this case i think is a better choice to show you the excellent resources already available, that i think everyone who want to become a ninja in Windows Phone 8 should consider in his start.

wp8

First off all get the Windows phone 8 SDK:

http://dev.windowsphone.com/en-us/downloadsdk

To get a high level presentation of the new platform:

http://channel9.msdn.com/Events/Windows-Phone/Summit

A entire channel 9 course to give you all the guidelines and show you whats inside the box and how to use that:

http://channel9.msdn.com/posts/Building-Apps-for-Windows-Phone-8-Jump-Start-01a-Introducing-Windows-Phone-8-Development-Part-1

keep in mind the site of this technology website

http://dev.windowsphone.com/en-us

And if you are like me a person who like to start the tests with a virtual machine you can try this recipe to build your development enviroment

http://www.developer.nokia.com/Community/Wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_Working_Emulator

 

Windows phone 8 training

http://blogs.msdn.com/b/uk_faculty_connection/archive/2012/12/04/windows-phone-8-training-kit-now-available.aspx

finally for the ones like me that wish to understand how cross windows 8 + windows phone 8 app’s can be

http://dev.windowsphone.com/en-us/featured/Windows-Phone-8-and-Windows-8-app-development

If you have any question or need some help in your learning path fell free to ask.

Advertisements

Last week i had spent a couple of nights teaching Android 4 development at The OpenSoft Developer’s Unit. For the second time this year i had the pleasure to share some of my technological knowledge with this team. The first session was about some of the most in vogue HTML 5 features and the web offline storage, this time was about Android development.

devand

Is always a great challenge to train a development team made of senior developers and high level architects, that have the mission to start a Android cross device app in the next month.

Was very good to give the quick start to the engines of this international development team. Hope to see your work done soon folks. The slides of this workshop are available at y slideshare and the hands on labs on my git.

ps: by the way before this session i had deliver this workshop 3 times,the first was at Innovagency the software development Companywhere i am CTO, then was at NHK a small technology education school, and them at LX factory to a independent Freelancer’s group.

SQL server DataSync is one of the most important features when we have the need to sync our on premise data with Azure SQL  Services  and vice verse  In this post we will define a step by step  method to accomplish the task of sync the Azure SQL services with the one onPremise SQL Server.

datasync scheme

To start we will consider that you already have a Database running on the Azure SQL Services and a configured SQL database server.  Already having a database on Azure and a pre-configurated SQL server Machine, we start by creating a  Azure Sync Group. We can define a Azure Sync Group “as a collection of SQL Database instances, and SQL Server databases that are configured for mutual synchronization by the SQL Data Sync service. A Sync Group is comprised of a “hub” database and one or more “member” databases”. Be careful to create your SQL Data Sync server in an appropriate region.

Data Sync is one of that features that is not yet avaable in the new portal of windows azure so the first step is to revert to the old management portal of Windows Azure, you can anchieve that by clicking on your name at the right top of the screen and select to go to the old portal.

oldportal

Once in the old portal you should select Data Sync Option, and after that on the main pane select Provision Data Sync preview Server

datasyncoption

After that it will be asked to choose a subscription and a location.

selectregion

After the provision of our sync server we will create our Syncronization Group

syncdatabasegroup

After that we choose a name to our Sync group and select the Azure Database we intend to be the Data Hub

synchub def

After configure the source Azure Database, let’s choose or on premise server

synchub def2

WE select the option to have a new sql database since we consider that we have not yet a Sync Agent installed int the on-premised SQL server, we can choose also the direction of the sync in this case we had selected to have the sql azure as the source of the Synchronization.

synchub def3installagent

After clicking next you will download the agent, after that install the agent on you on-premise server. After installing the agent launch the Microsoft SQL Data Sync Agent, in the management console of the agent we should insert the key that we had receive previously.

clip_image022[4]

 

After defining the agent key we should register the appropriate database on the server.

 

conf agent

 

After register the on-premise database be acrefull to validate the satet of the database ( it should appear in the reachable state).

confdb 2

 

Now that we already had install and configure the Sync Agent on our SQL Server let’s go back to the portal and follow the rest of the steps

download the agent

 

After the last step the on-premise database will be connected to Windows Azure, it’s now tim to configure the schedule (since this is a lab and we need quick results let’s use a sync interval of 5 minutes). pay attention to the conflict resolution combo and select the must interesting option for your case.

clip_image030[4]

Next we define what  data will be sync. After all this configuration is time to deploy the Sync Group, by clicking in deploy.

deploysync The Sync Group will be provisioned and the first data synchronization will run. After a few seconds the status of the two databases should transition to good. And now you had ended your synchronization configuration. Hope this post had help you to a better understanding of the needed configuration needed to sync your Windows azure services with on-premises SQL server.  No it’s time for you to explore more this powerful mechanism, if you have questions feel free to ask.