Things hard and not so hard.... RSS 2.0
# Sunday, July 10, 2011

Folks,

Finally cracked it!!! ohh how long has this been bugging me.

Basically when I connected my wp7 omnia 7 phone old Zune would complain with

CONNECTION ERROR
Can't connect to your phone. Disconnect it, restart it, then try connecting again.

I tried a whole series of options from download new wp7 drivers, changing usb ports, trying everything.

An interesting piece was that my Windows 7 PC detected the device, it was just Zune complaining.

After checking the EventLogs, I noticed crypto errors everytime I connected my phone.

The Fix:

1. Close Zune

2. Go into Certificate manager and delete the ‘Zune-tuner’ (named) certificate(s).

3. Re-Open Zune

4. Connect phone.

Finally……

Sunday, July 10, 2011 12:38:55 AM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [2] -
Windows Phone 7
# Monday, July 04, 2011

See you there folks…I’m coming up from the trenches to share what’s in the real world with the class…content types, deployments etc.

Hope to see you there.

 

 

 

clip_image001

Sydney | SharePoint 2010 Bootcamp

“The best course I have done in years!”

“A fantastic course. Mick really has depth of knowledge and is a very engaging trainer”

 

REGISTER TODAY - 4 seats left!

Special offer of 15% discount if book & pay before June 30th 2011.

 

 

Overview

This is a 5-day bootcamp designed for both IT Professionals and Developers packed with fun and technical training to explore the features of SharePoint 2010 ‘out of the box’.

 At course completion students will be able to upgrade their SharePoint V3 sites/portals to SharePoint 2010, to implement and extend Microsoft Office client side solutions, and also implement custom workflows developed in Visual Studio.

 They’ll be equipped to care for their SharePoint farm, back it up and restore it, and set up and configure SharePoint 2010 infrastructure. Architecting the portal and sub-sites layouts is streamlined using best strategies and known best practices within the SharePoint space.

 Students will create custom WebParts and SharePoint customisations easily, as well as site wide features, event handlers and InfoPath Forms based solutions. They will also explore Excel Services and Business Intelligence Offerings.

 Be ready to roll up your sleeves and start your adventure here!

Date:                     Monday 25 – Friday 29 July 2011
Instructor:           Mick Badran – MVP
Location:             Breeze Office
                               
Edgecliff Court,
                                Suite 5a
                               
2 New McLean Street, Edgecliff NSW 2027

Time:                    8.30am – 4.30pm
Duration:             5 Days
Course Price:     $3,450.00 + GST

Register NOW: Emmav(AT)breeze(DOT)net(NO DOT)

 

 

Monday, July 04, 2011 9:51:23 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
Events | SharePoint | 2010 | Training
# Wednesday, June 22, 2011
So you've got an on-premise WCF Service and you're going to expose the endpoint to the Cloud via ServiceBus.

I'm with a client excited about the prospect of Azure and using ServiceBus for connectivity for our local WCF Services.

Remember ServiceBus is touted as the firewall friend communications mechanism.

Should be pretty easy right? - just follow an article like - http://msdn.microsoft.com/en-us/library/ee732535.aspx

If you are on a Secure Server - i.e. one that doesn't have default open slather access to the internet by default you will fall well short.
(nb: the Azure ServiceBus documentation is a little thin here also. ie no mention whatsoever)

You will get 'can't contact watchdog.servicebus.windows.net' and many others....So....

After much head banging Scotty sat down one rainy day and looked at the full conversation to establish a connection to the cloud via Service Bus

NB: XXXX is your ServiceBus endpoint name you configured in the Azure Management Portal earlier. This endpoint lives in the Azure Singapore Data Center

When ConnectionMode = TCP (Hybrid)
1.       CNAME lookup for watchdog.servicebus.windows.net > returns ns-sb-prod-sn1-001.cloudapp.net
2.       Connect to ns-sb-prod-sn1-001.cloudapp.net (port 9350)
3.       CNAME lookup for XXXX-sb.accesscontrol.windows.net returns ns-ac-prod-sin-001.cloudapp.net
4.       Connect to ns-ac-prod-sin-001.cloudapp.net (port 443)
5.       CNAME lookup for XXXX.servicebus.windows.net returns ns-sb-prod-sin-001.cloudapp.net
6.       Connect to ns-sb-prod-sin-001.cloudapp.net (port 9351)
 
When ConnectionMode = Http
1.       CNAME lookup for XXXX-sb.accesscontrol.windows.net returns ns-ac-prod-sin-001.cloudapp.net
2.       Connect to ns-ac-prod-sin-001.cloudapp.net (port 443)
3.       CNAME lookup for XXXX.servicebus.windows.net returns ns-sb-prod-sin-001.cloudapp.net
4.       Connect to ns-sb-prod-sin-001.cloudapp.net (port 80)
 
Also, when we lock this down to https endpoint step 4 above will be over 443
 
So the complete firewall rules to support both modes should be:
·         watchdog.servicebus.windows.net (9350-9353)
·         ns-sb-prod-sn1-001.cloudapp.net (9350-9353)
·         XXXX-sb.accesscontrol.windows.net (443)
·         ns-ac-prod-sin-001.cloudapp.net (443)
·         XXXX.servicebus.windows.net (80, 443, 9350-9353)
·         ns-sb-prod-sin-001.cloudapp.net (80, 443, 9350-9353)
 
Note the difference between ns-sb-prod-sn1-001.cloudapp.net and the others ns-ac-prod-sin-001.cloudapp.net, ns-sb-prod-sin-001.cloudapp.net

Hopefully you won't get caught out at a client site asking for firewall changes, one at a time as you discover them.

Enjoy,

Mick + big thanks Scotty for the details.

Wednesday, June 22, 2011 12:24:38 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [2] -
AppFabricServer | Azure | BizTalk | 2010 | BizTalk Adapter Pack | Tips
# Tuesday, June 07, 2011
While on a journey of trying to dispell some of the unknown magic surrounding the Azure/AppFabric/ServiceBus and Web/Worker Roles, I was hit with a challenge of:

"How much will my ServiceBus Connections cost me? How is Cost calculated? is it cost effective?"
Yes and No.

So - quick one on ServiceBus. It allows you to auto-create an cloud based endpoint to your on-premise application (you can also control how client requests/messages are distributed through your endpoint, direct, multicast and queued)

The costings......

Richard has a great article here and there's the updated FAQ to guide you through.

Some key points:
- a 'Connection' is defined as either your application connecting OR one of your clients.
- a maximum of 2000 concurrent connections are allowed per ServiceBus namespace.
- you are charged on the average number of connections through the day/month
     - # of connections are sampled in 5 minute intervals and must be connected longer than 10 secs (as per the current FAQ)

- DATA Charges are EXTRA to above.

(This has the distinct feeling of early mobile phone plans where there were so many moving parts and bits you paid for, that it was almost impossible to calculate your monthly spend.

Azure definately needs caps and plans rather than sting you every step of the way)

So the situation I am currently facing is potentially a high volume public facing port.

One solution to this is:
- use a webrole with it's own endpoint the clients call into.
- Webrole talks to SB Endpoint
- SB endpoint talks to onpremise

Costs: DATA In/Out + Webrole + 2 SB Connections(for starters).

There's a couple of cost calculators here:
- http://www.microsoft.com/windowsazure/pricing-calculator/
- http://azureroi.cloudapp.net/

Check them out,

Still unravelling the mysteries of the Cloud...








Tuesday, June 07, 2011 10:08:02 AM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -

# Thursday, June 02, 2011

The product team have been busy folks, pick up the update after the milk and eggs….

http://blogs.msdn.com/b/biztalkcrt/archive/2011/06/01/announcing-biztalk-2010-cu1.aspx

Thursday, June 02, 2011 4:26:30 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
BizTalk | 2010
# Tuesday, April 26, 2011

Hi folks, I thought I’d share something that captivated me on this rainy Easter day and that was

Visual Studio Asynchronous Programming - http://msdn.microsoft.com/en-au/vstudio/async
(you’ll need VS2010 + SP1 before you grab the CTP)
There’s a new improved compiler + an extended library for us.

Hands up who’s done async programming in either VB.NET or C#??? It’s a pain! Thread management, Main UI threads can only update certain objects, passing values between main + background threads, determining whether a thread has completed its tasks… and so on…

Basically all these ‘issues’ keep us from delving further into the world of asynchronous programming cause it very rapidly becomes complex just managing the two worlds – sync + async.

Today I was pleasantly surprised!!!

About a year ago I saw a great presentation on F# and I was amazed at how if they wanted to run a bit of code async it was simple an extra character as in:

set results = …..   <-sync

set results! = ….  <- run this async

(don’t quote me on the above, but it’s something like that – let’s call it pseudo code)

Why are we interested in this? – that’s always the first question to ask when investigating. Too many times we here ‘this is really cool’ and ‘check this cool software out’ etc… but the real reason of WHY do we want to go down this road is never answered.

On a ‘developers machine’ looking at 5 items, running a single test client – you’d have to say “works on my machine” and you’d have no need to async anything. True. Let’s move beyond our beloved developer box and think about UAT/PROD environments and what your code is doing.

What happens if 4 concurrent requests come along – how is your code going to perform? (As developers we’d be thinking …’it’s in the hands of IIS, not my issue’ :) )
(I recently was presented with a solution that ran across 20 odd servers, the answer to everything was get more hardware to make the app more performant, scalable etc – couldnt be the code.)

So as the requests start to build (don’t know an exact number but let’s say 100/sec), what is happening to your code? how often do we sit down with profiling tools on our code in this space? must be the disks..slow…and as always we have definitive proof works on my machine says the developer!

It’s not until we see our code running under load that we get an appreciation for where things could be improved and are causing grief for not only IIS but other systems as well.

Scalability, performance and scalability – single threaded app/service vs multi-threaded. Multi-threaded tend to win all the time.

Let me give you a couple of suggestions where this stuff is great:

  1. As part of a WF/WCF/Class where you want to ‘push’ some processing into the background – critical things can be done upfront, and you can push some of the ‘other stuff’ into the background.
  2. Take advantage of some of the great multi-core/multi-cpu Servers out there – single threaded tend to run on the same core on the same CPU (known as thread affinity)

Anyway enough jabbering from me and let’s see some of the hidden gems…

Async Programming Framework

Let me show you a couple of examples (from my set):

1. Fetching a webpage

image

Here I go off to twitter and search for all the BizTalk items.

Couple of things to notice
- …Async is added to the end of routines for convention, indicating that these are Async callable routines.
- not a single IAsyncResult to be seen, no StateObject and no Callback routines!
– line 104 the async keyword indicating that this routine itself can be called async if desired (more for the compiler)
- line 108 the await keyword is used in the Async framework to ‘wait for the async task to complete’  then move onto the next line.
- line 108 WebRequest.Create(…).GetResponseAsync – it’s the GetResponseAsync that is the async method, no …Begin or ..OnEnd calls! Just write it as you read it.
- line 109 We get a reference to the response stream (I should check for the existence of data etc – demo code, demo code :))
- line 112 …await stm.ReadAsync(…) – reads the response stream into a buffer on a background thread and we wait there until this completes (await keyword). By all means there’s many other ways to program this, as in we don’t need to wait, we could run this guy in the background quite happy and then check on him periodically.

That’s it! Not too tough at all, multi-threaded goodness right there. You can have blocking and non-blocking calls etc.

2. What about a Chunk of CPU based code

NO Async Example – as per normal, doing some cpu things.

image

Written in Async….

image

Points to notice:
- line 63 async Task<int[]> … to the Async framework the async methods are wrapped within a Task class. We must ‘wrap’ anything we return from our routines within a Task<..> – here I’m returning an int[]
-line 66 … = TaskEx.Run(…something to run in a background thread…). As we’re dealing with a block of code, there’s a Task Extension class that allows us to run that bit of code Async.
-line 79 await matrix – this line ensures that our async routine has indeed completed (or errored) before we move onto the next line.

Too easy if you’ve lived in the other world.

As always remember this is CTP so I wouldn’t go rolling out into Prod just yet. The perf numbers I get are pretty much identical to rolling all of this by hand with ThreadPool.QueueWorkItem(…) and IAsyncResult etc.

Well done MS!

Enjoy and here’s my VS.NET Sample Solutions – I had great fun! Oh – this is also applicable to Silverlight + WP7 apps :)

Tuesday, April 26, 2011 11:33:52 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
.NET Developer | Async | Silverlight | TechTalk | Tips
# Tuesday, March 29, 2011

Hi all, the BizTalk team has been busy and now the BizTalk 2010 exam has been officially released.

http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-595

I’m going to sit it in the next few weeks and get a taste of it.

Good luck all and what a great day this is – well done Team!

Snippet…..

Audience Profile

Candidates for this exam typically work as a BizTalk developer in an organization that has a need to integrate multiple disparate systems, applications, and data as well as the need to automate business processes by using BizTalk Server.

 

Candidates should have a solid understanding of fundamental BizTalk concepts around the core messaging engine and building business processes using orchestrations.

 

Candidates will have some exposure to larger-scale multi-server solutions and deployment/management familiarity. This core knowledge is required for BizTalk 2006 R2, 2009, and 2010. In addition, core knowledge of Windows Communication Foundation (WCF) and Electronic Data Interchange (EDI) is also required.

Candidates should also have at least two years’ experience developing, deploying, testing, troubleshooting, and debugging BizTalk Server 2006 and later solutions across multiple projects and have experience using the Microsoft .NET Framework, XML, Microsoft Visual Studio, Microsoft SQL Server, Web services, and WCF while developing BizTalk integration solutions

 

Credit Toward Certification

When you pass Exam 70-595: TS: Developing Business Process and Integration Solutions by Using Microsoft BizTalk Server 2010, you complete the requirements for the following certification(s):

Microsoft Certified Technology Specialist (MCTS): Microsoft BizTalk Server 2010

Note This preparation guide is subject to change at any time without prior notice and at the sole discretion of Microsoft. Microsoft exams might include adaptive testing technology and simulation items. Microsoft does not identify the format in which exams are presented. Please use this preparation guide to prepare for the exam, regardless of its format.

Tuesday, March 29, 2011 10:58:43 AM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [0] -
BizTalk | 2010 | Insights
# Wednesday, March 23, 2011

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b4579045-b183-4ed4-bf61-dc2f0deabe47

The core client DLLs are now available as a separate download.

The strange thing is that when you install these on your machine it still puts them under the c:\program files\common files\….\Web Server Extensions… etc.

The main dlls are:

1: Microsoft.SharePoint.Client.dll

2: Microsoft.SharePoint.Client.Runtime.dll

& the Sliverlight client dlls.

Given the directory paths, it maybe worth just grabbing the dlls you need for you solution and deploy them as part of the package.

Wednesday, March 23, 2011 6:26:14 PM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0] -
2010
# Friday, March 18, 2011

April 4th folks…April 4th.

Quick background: The BizTalk team have been travelling the globe on a ‘Microsoft Integration Roadshow’ covering countless countries and cities.

On April 4th the bus stops in Sydney. Here’s the official blurb and I’ll be presenting – let me know if there’s anything you’d like covered in my demo and I’ll try and accommodate.

Enjoy,

Mick.

 

clip_image001

 

 

REGISTER TODAY >>

Date

Monday, 4th April, 2011

Location

The Menzies Sydney

14 Carrington Street,

Sydney NSW 2000

Time

8:30am-12:30pm

 

 

 

 

 

 

 

 

 

 

 

 

Sydney  |  Monday April 4th, 2011

 

Microsoft Integration Road Show

Worldwide events running Feb - Apr 2011

Overview

Enterprises today typically work in a fairly heterogeneous environment with disparate systems. Connecting the systems and applications sitting across the diverse platforms and tying them to the business processes has become one of the top priorities for most organisations. As they continue to evolve towards a cloud strategy - to take advantage of the economic and scale benefits - the need to have a robust Integration Platform escalates. Microsoft offers a tremendous opportunity for customers to make a paradigm shift in the way they do business to maximize their benefits and profitability whilst maintaining an optimized cost structure.

 

Don’t miss this exciting opportunity to learn how we can help you beat the demands of today’s difficult economy, about our commitment to BizTalk Server and how we plan to continue to innovate in the integration space helping you begin your journey to the Cloud.

 

Agenda
8:30am – 9:00am:  Light Breakfast and Registration

9:15am – 10:00am: Keynote

“Innovations in Integration – Begin your journey to the Cloud”

Speaker: Paul Larsen

Group Program Manager, Microsoft Corporation

10:00am – 11:00am:  Customer session

Caltex is Australia's leading oil refiner and supplies products via a network of pipelines, terminals, depots and the company-owned and contracted transport fleet. Caltex made the business decision to acquire many of their independent resellers – who were spread across every state of Australia.

In this session you’ll learn how Caltex COSMOS project integrated those different reseller businesses into a single operating entity now called Caltex Petroleum Services.

Robin Brown, IT Project Manager, Caltex Australia

11:00am – 11:30am:  Break

11:30am – 12:30pm:  Technical Drilldown

Mick Badran, CTO, Breeze

This session is for those that want to delve into the technology to see the latest integration best practices and products including BizTalk Server 2010, AppFabric and Azure.

 

Location
The Menzies Sydney

14 Carrington Street,

Sydney NSW 2000

Target Audience
CIO/TDM/BDM, IT Directors/Managers, Architects, IT Pro & Developers

To Register
Click here to register. Space is limited so register today to ensure your attendance at this event.

 

clip_image005

clip_image006

Microsoft confidential information. © 2011 Microsoft Corporation. All right reserved.clip_image007

 

 

 

 

 

 

 

Friday, March 18, 2011 9:54:47 AM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0] -
BizTalk | 2010 | Events | BizTalk2010
# Thursday, March 17, 2011

As you may/may not know native Restful support is a little lacking in BizTalk 2010.

A ‘little’ massaging is needed.

By plugging in a couple of classes into the WCF stack, BizTalk sits in the middle quite nicely.

Netin Mehrotra from MS has come to the rescue – he provides a great walk through article and sample code to boot.

Here’s the REST SAMPLE CODE

Here’s the REST ARTICLE

Enjoy guys.

The alternative is to create your own WCF Service in Windows Server AppFabric hosted in IIS and then you’ve still got the problem of ‘how’ to talk to BizTalk.

Choices…choices… :)

Thursday, March 17, 2011 2:21:25 PM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0] -
AppFabricServer | BizTalk | 2010
# Monday, March 14, 2011

“Good People talk plans….Great people talk logistics” :)

Thanks Rahul – had to write that one down.

Monday, March 14, 2011 3:30:21 PM (AUS Eastern Daylight Time, UTC+11:00)  #    Comments [0] -
General
Archive
<July 2011>
SunMonTueWedThuFriSat
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456
Blogroll
 AppFabric CAT
AppFabric Windows Server Customer Advisory Team - New Blog.
[Feed] BizTalk 2006 - Windows SharePoint Services adapter
BizTalk 2006 Sharepoint adapter!!
 Breeze SharePoint 2010 Bootcamp
Breeze SharePoint 2010 Bootcamp
[Feed] BTS 2006 R2/EDI
[Feed] Chris Vidotto (MS BTS Legend)
Needs no intro....
 Mark Daunt
BTS/SPS/.NET GURU!!!
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2014
Breeze
Sign In
Statistics
Total Posts: 606
This Year: 10
This Month: 0
This Week: 0
Comments: 270
All Content © 2014, Breeze