Geeks With Blogs

Tim Murphy

Tim is a Solutions Architect for PSC Group, LLC. He has been an IT consultant since 1999 specializing in Microsoft technologies. Along with running the Chicago Information Technology Architects Group and speaking on Microsoft and architecture topics he was also contributing author on "The Definitive Guide to the Microsoft Enterprise Library".

I review for the O'Reilly Blogger Review Program

Technorati Profile

Tim Murphy's .NET Software Architecture Blog Adventures in Architecting and Developing .NET August 2011 Entries
WCF Deployment To IIS
If you are developing you WCF service for web service deployment under IIS and coding with the Visual Studio web server you are in for a rude awakening when it comes time to deploy your solution. Ok, so that is a little over dramatic, but there are a few steps and precautions you need to know about. Below are the main steps to deploying your application to IIS assuming WCF is already installed and registered. The first step is to create an application pool. Make sure that for your .NET 3.5 WCF service ......

Posted On Monday, August 29, 2011 6:03 AM

Creating Emails For Windows Phone 7
There are many reasons that you may want to add email capability to your Windows Phone 7 application. There are a number of ways you can communicate information out from an application. The mechanism for sending email from your WP7 application is the EmailComposeTask API. The difference between this API and the one that you would use for an ASP.NET application is that it opens a screen to allow the user to select an account to use and then creates a message which the user then has to send. This makes ......

Posted On Monday, August 22, 2011 3:31 PM

The Power Of Windows Phone 7 Tasks
One of the things that is important to learn when you are developing any application is how it will interact with the environment it lives in. I’m not talking about simply interacting with files or database but with major resources. With WP7 there are a number of things such as the photos, browser, maps and the phone itself that your application may be concerned with. The WP7 development API includes a number of access points to give your application greater reach. These APIs can be found here. They ......

Posted On Friday, August 19, 2011 9:04 AM

WCF Service Development Basics
Part of the fun of being a consultant is that the technology you use changes from day to day. Recently it is WCF which, while knowing the concepts of since it came out I haven’t used up until now. The nice thing is that it really isn’t any harder to develop for than a normal ASP.NET web service. A couple of the attributes change and which project type you start with is different, but it is still message based services. Just like the method of a web service needs a Webmethod attribute a method in ......

Posted On Thursday, August 18, 2011 2:44 AM

Windows Phone 7 TextBox InputScope
I originally started looking for how to make a TextBox have autocomplete capability. Strangely all the articles said that it couldn’t be done. The last thing you want is for your applications to make your users struggle entering information when every other application gives them a quicker entry method. So what is the solution? The TextBox tag has an InputScope property which if you set it to Text it builds a dictionary list as the user types. For the other InputScope types it mainly changes the ......

Posted On Wednesday, August 17, 2011 3:16 PM

Chicago IT Architect Group August 2011 Recap
We had a full house this month with a lot of interest in the SOLID principle. SOLID is one of those topics that should be basic study in all of our schools. Of course along with a large crowd comes a lot of discussion. There were debates as to how much each individual principle has merit and how to properly apply it. This is the lively discussion that really makes me enjoy organizing these presentations. Visit Michael Kappel’s web site here. Tags: Chicago Information Technology Architects ......

Posted On Tuesday, August 16, 2011 2:35 PM

Handling Windows Phone 7 Back Button
When you have an application that navigates to more than one level of pages you find situations where you don’t want to go back to the previous page. Originally I was thinking that the answer was to capture the OnBackButton event and force the navigation back to the main page, but through several posts I found that this would not pass certification. Here is a link that really helped to figure out a more appropriate solution. To be a little more complete here is example code that you can use use for ......

Posted On Tuesday, August 16, 2011 12:22 AM

Practical Window Phone 7 ListBox Usage
Almost every example of a Silverlight ListBox that I have found merely shows how to get data bound to it, not what to do once you get it there. What good is a ListBox that you can’t get a reference back from? The quickest practical way is to hold your original datasource and use the index of the selected item as you key back into your data. It isn’t pretty and you wouldn’t want to take this approach with large amounts of data, but then again a mobile device isn’t meant to display large amounts of ......

Posted On Monday, August 15, 2011 9:48 AM

Sending Large Arrays With WCF
Windows Communication Foundation is a powerful tool for building contract based messaging. As with most powerful technologies with flexibility comes a fair amount of complexity. I ran into one of these situation while trying to send files as part of message in the form of a byte array. In itself this is a simple concept. The problem is that the default configuration of WCF is setup to protect us from denial of service attacks to the best of its ability. In order to achieve this it is setup for relatively ......

Posted On Monday, August 15, 2011 2:11 AM

Windows Phone 7 Key Silverlight Page Events
Often times you want to you need to update a page when you enter it or save information automatically when you leave it. When you look through the events list on the property page you won’t find an event that occurs at those points in the page lifecycle. Intellisense is your friend in this case. The events OnNavigateTo and OnNavigateFrom can be overridden to give your application the required functionality. Below is a sample signature for OnNavigateTo. protected override void OnNavigatedTo(System.Window... ......

Posted On Sunday, August 14, 2011 1:08 AM

More Windows Phone 7 Panorama Notes
The saga goes on. There is always something more to learn. While I thought that ManipulationCompleted would do the trick from me it turned out it won’t. It turns out that if you want to figure out what PanoramaItem you are on when the user navigates between PanoramaItems the SelectionChanged event in conjunction with the SelectedItem on the Panorama works pretty well. private void Panorama_SelectionChanged(o... sender, SelectionChangedEventArgs e){ PanoramaItem item = (PanoramaItem)Panorama.Sele... ......

Posted On Friday, August 12, 2011 4:02 PM

Windows Phone 7 Panorama Page
Creating a WP7 application with a Panorama page is fairly simple. Teaching it to do tricks is another thing altogether. As with most development controls the key is to learn the event model along with the object model. Knowing what manipulation means, when it happens and what the different levels it occurs at can be a great benefit. This was the case when I wanted to make sure that a particular item was updated before the user got to a particular PanoramaItem. The visibility of a PanoramaItem does ......

Posted On Friday, August 12, 2011 6:20 AM

Integrating Cloud Application In Your Enterprise
More and more companies are turning to companies who host cloud applications such as SalesForce. I may be mistaken, but I thought we used to call these ASPs (Application Service Providers). Whatever we call them they are the latest trend in IT services especially in larger corporations. So what does this trend mean for those of us who design, build and integrate systems? It means a new set of challenges, considerations and opportunities. The more you know about these areas going into a project the ......

Posted On Friday, August 12, 2011 3:33 AM

August 2011 Chicago Information Technology Architects Group Meeting
Our summer break is over and with the dog days of August we are getting back to setting up presentations of interest to Chicago area IT Architects. This month we will have Michael Kappel presenting on a topic we have been trying to get organized for a while. SOLID is an acronym for five object oriented design and development principles that everyone should know. Michael is going to give a platform agnostic discussion of these five key principles. Please join us by registering below. Register here ......

Posted On Monday, August 1, 2011 12:27 AM

Copyright © Tim Murphy | Powered by: | Join free