Tuesday, April 23, 2013

Testing WebAPI with Fiddler

I was wanting to test some WebAPI Methods via Fiddler so that I could all be working on one machine, debug, and make sure that everything is working.  Here is what my fiddler setup looks like:
 
We're calling into a method with the signature:
        public List Post([FromBody] UserLocation value)
        {
//............
        }
 
The UserLocation object has the following signature;
    public class UserLocation
    {
        public string AppKey { get; set; }
        public double Latitude { get; set; }
        public double Longitude { get; set; }
    }

Monday, April 22, 2013

Xamarin.iOS Visual Studio Plugin Article

Developers working with Xamarin MonoTouch have been stuck with developing on a Macintosh and working with MonoDevelop. This hasn't been a bad thing. The Apple iOS SDK only runs on the Mac, so this requirement hasn't been a major limiting factor in iOS development.
Unfortunately, .NET and C# developers are used to using Visual Studio. Microsoft has spent a lot of time, effort and money to make Visual Studio the premier software development tool in existence. Xamarin Inc. has heard from those developers who want to integrate Visual Studio with iOS development. On Feb. 20, Xamarin introduced Xamarin.iOS for Visual Studio. This plug-in allows developers using Visual Studio to write iPhone and iPad applications for the iPhone using the Microsoft .NET Framework and C#.

Friday, March 22, 2013

Juice Up Your Android UI

Recently, I wrote an article for our Mono for Android column about improving your user interface of your applications.  The url is:http://visualstudiomagazine.com/articles/2013/03/01/enhancing-your-uis.aspx
I hope that you enjoy the article.  I spent a lot of time on the article plus, helping out users and creating applications that are helpful to them is a personal/pet project of mine. 
One thing that I wanted to mention in the article and could not besides a side mention is the part about reverse geocoding.  Reverse geocoding is the process of taking a latitude/longitude and getting back an address.  Users are familiar with addresses, not latitude/longitude.  Unfortunately, I was not able to show the Android reverse geocoding that is built in.  Why?  Well, at the time, I was pre-release tester of what would become Mono for Android 4.6 and all the new stuff inside of it.  I couldn't come out and say that's why this didn't work and I was not comfortable trying to go ahead with the code anyway.  I know that the code worked in previous versions.  Unfortunately, deadlines will sometimes hit you over the head when you don't expect it.  Bottom line: I apologize to you the reader.  I will have an article out on mapping at a later time and I will discuss reverse geocoding there.

Wednesday, March 6, 2013

Mobile Web Development Featuring jQuery Mobile

I'll be doing a seminar on jQuery Mobile on April 23.  I hope that you can attend.  Here is the info:
Start: 4/23/2013 11:00 AM (UTC -05:00) Eastern Time (US & Canada)
End: 4/23/2013 4:30 PM (UTC -05:00) Eastern Time (US & Canada)
Rates: $199.99

Mobile development is a hot item. Customers are buying iPhones, iPads, Android devices, and many other mobile computing devices at an ever increasing record pace. Devices based on iOS and Android are nearly 80 percent of the marketplace. RIM continues to be dominant in the business area across the world. Nokia's growth with Windows Phone will grow on a worldwide basis. At the same time, clearly web development is a tremendous driver of applications, both on the public Internet and on private networks. How can developers target these various mobile platforms with web technologies? Developers can write web applications that take advantage of each mobile platform, but that is a lot of work. Into this space, the jQuery Mobile framework was developed. This eLearning series will provide an overview of mobile web development with jQuery Mobile, a detailed look at what the jQuery Mobile framework provides for us, how we can customize jQuery Mobile, and how we can use jQuery Mobile inside of ASP.NET.

Sessions (each session runs approximately 75 minutes):


Session 1: Mobile Web Development

    Are you wondering what web developers can do in the mobile world?  This session will focus on:
  • What web developers need to know about the idiosyncracies of mobile development
  • Tools to use for mobile development
    • ASP.NET development options: Webforms v MVC v Web Pages
    • Web browsers
  • Javascript language features useful for mobile web development
  • Integrating with the Phone
  • Meta tags to improve the user experience

Session 2: jQuery Mobile

You are probably aware of the jQuery javascript library. This seminar will introduce jQuery Mobile, a library that will make the development of web applications for mobile devices easy. We’ll look at the basics of jQuery Mobile, including
  • Page Setup
  • Toolbars
  • Navigation
  • Integrating basic controls with jQuery Mobile
    • Buttons
    • List components
    • Form/UI components
  • Basic options for jQuery Mobile
  • AJAX operations with the ListView

Session 3: jQuery Mobile Advanced with ASP.NET

jQuery Mobile allows developers to create an application with a mobile-specific user interface. There are many options to optimize and change the default behavior of jQuery Mobile, as well as how ASP.NET developers can easily integrate with jQuery Mobile. This session will look at
  • Creating a Template for ASP.NET developers
  • Creating a custom theme
  • Build one ASP.NET Page with jQM Themes to target multiple devices
  • Offline operation and the application manifest
  • Plug-ins and optimizations for tablets
  • jQM Events

 

Instructors


Wally McClure graduated from the Georgia Institute of Technology (Georgia Tech) with a BS & MS in Electrical Engineering. Since that time, he has done consulting and development for companies large and small. Wally has authored books on iPhone Programming with Mono/Monotouch, Android Programming with Mono for Android, application architecture, ADO.NET & SQL Server, and finally AJAX. He is a Microsoft MVP and an ASPInsider, and a partner in Scalable Development, Inc., where we're ramping up to provide training on iPhone, Android, and HTML5.

 

Customer Service

If you have any questions regarding this event, the registration process or would like to register more than one attendee, please contact us directly.
Email: service@devproconnections.com 
Phone: 800-793-5697 or 913-967-1719

Monday, March 4, 2013

Free Xamarin Studio and Free Chapters 1-4 Professional Android Programming with Mono for Android and .NET/C#

On February 20, Xamarin announced a new version of MonoDevelop called Xamarin Studio. We've been big fans of Xamarin and Miguel de Icaza's work all the way back to the inception of the Mono project so we're especially amped to see Xamarin release a Free Starter Xamarin Studio to bring this great mobile development tool to an even bigger programmer audience.
Professional Android Programming with Mono for Android and .NET/C#In the spirit of free then, we're happy to share this free starter from Wrox's Professional Android Programming with Mono for Android and .NET/C#. Download this free starter is a PDF with chapters 1-4 of the book to get you started developing Android apps in the Xamarin tools. While the new Xamarin tools have changed a bit, we do still think these chapters will be useful if you're new to using Mono and Xamarin for Android development. Here's the outline of what's covered in these free Mono for Android chapters. We hope if you find this useful, you'll come back and buy the complete book from Wrox here at Wrox.com or at your favorite book retailer.

Chapter 1: Introduction to Android, Mobile Devices, and the Marketplace

  • Product Comparison
  • Mobile Development
  • Android
  • Cross-Platform Alternatives
  • Summary

Chapter 2: Introduction to Mono for Android

  • Before You Begin Developing
  • Visual Studio Development with Mono for Android
  • Mono for Android Development with MonoDevelop
  • Summary

Chapter 3: Understanding Android/Mono for Android Applications

  • What Is an Android Application?
  • Binding the Components: The Android Manifest
  • Summary

Chapter 4: Planning and Building Your Application's User Interface

  • Guidelines for a Successful Mobile UI
  • Building an Android UI
  • Choosing a Control Layout
  • Designing Your User Interface Controls
  • Controlling Your Menus
  • Resolution-Independent UI
  • Constructing a User Interface: A Phone and Tablet Example
  • Summary

Monday, February 18, 2013

MonoTouch Training Course now online: iOS 6 PassKit Coding and Events

Course Description: So what is a PassKit, this course will introduce you to the PassKit , the types there are, the file structure, security and other items. Next you‘ll be shown how to create a PassKit manually with such things as provisioning, KeyChain access and other items. Then you will learn about coding for a Pass, including complain applications, classes, list of passes to name a few items that will be covered. Next you will learn about reminders and events. You’ll see the EventStore, Enumerate Calendars, create an event, and create a reminder, running a query plus more.
1+ hours of media runtime 
PassKit Intro
  • PassKit Agenda
  • What is PassKit
  • PassKit Ecosystem
  • What is a Pass
  • Types of Passes
  • File Structure
  • Pass.json File
  • Barcodes
  • Relevancy
  • Localization
  • Security
  • Passbook
  • Getting Passes into Passbook
Manually Create a PassKit
  • Create a Pass Manually
  • Provisioning
  • Created
  • Certificate Signing Request
  • KeyChain Access
  • Certificate Request
  • Pass Certificate Created
  • Download
  • Build the Signpass Utility
  • Must Update
  • Run the Signpass Utility
  • Manifest.json Output
  • End Result
  • Resources
Coding
  • Companion Applications
  • Passes and MonoDevelop
  • Classes
  • Check Passbook Availability
  • Pass Library Instance
  • List of Passes
  • Displaying a Pass
  • Loading a Pass From a File
  • Replace an Existing Pass
  • Editing a Pass
  • Receiving Change Notifications
  • Resource
  • Demo: Passes
  • Demo: Pass Code
Reminders and EventKit
  • Agenda
  • EventStore
  • Accessibility
  • Requesting Access
  • Objects
  • Enumerate Calendars
  • Add or Modify an Event
  • Create an Event
  • Create a Reminder
  • Retrieve an Event
  • Retrieve a Reminder
  • Deleting an Event
  • Search for Events
  • Search for Reminders
  • Demo: EventKit
  • Demo: Reminders
  • Demo: Running a Query
  • Resources

Thursday, February 7, 2013

iOS6 for .NET & C# Developers with MonoTouch - New UI Controls

Course Description: The User Interface (UI) has become a very important part of any application. This course will cover application UI in iOS 6. You will see the UI refresh control and how to have the UI refresh in an application. Then you will look at UI collection view and how work with data, cells and other items. Then the course will cover layout and display. You will see section inset, sub classing layouts and how to create linear and circular layouts.
1+ hours of media runtime
User Interface
UI Refresh Control
  • Pull to Refresh
  • UI Refresh Control
  • Begin/End Refreshing
  • Other Members
  • What About iOS5?
  • Demo: iOS6 UI Refresh Control
  • Demo: iOS5 UI Refresh
UI Collection View
  • UI Collection View
  • Data
  • UI Collection View Cell
  • Cells
  • Supplementary Views
  • Decoration Views
  • Delegate
  • Cell Highlighting
  • Disabling Selection
  • Cell Menus
  • Demo: UI Collection View
Layout and Display
  • Layouts
  • Section Inset
  • Subclassing Layouts
  • UI Collection View Flow Layout
  • Custom Layouts
  • Demo: Linear Layout
  • Demo: Circular Layout
  • Key Takeaway