Saturday, September 21, 2013

Review for ASP.NET MVC 4 Mobile App Development

image I was offered a free e-copy of "ASP.NET MVC 4 Mobile App Development" from Packt to read and write an honest review for it. Since I’m a tester of ASP.NET team and is working with ASP.NET technologies daily, I didn’t think I would learn much form the book before reading.

But I was wrong. I’m surprised that there are pieces that I found that is interesting and refreshing, especially step by step guide of applying Domain Driven Design and SOLID principles to the sample project, including using MEF as service locator. Certainly I also gained a little knowledge on how to brew beer.

In first chapter, author talks about the mobile web development history and challenges that modern developers are facing. It’s nice to get refreshed again on these topics.

In 2nd chapter, author talked about the home brewing beer project requirement and the first step to create the project using MVC4 template. It’s great to know how beer is brewed.

Chapter 3 and 4 are introduction to MVC4 and use Entity Framework 5 to model the project. It’s the basic MVC4 introduction. You can easily understand the model creation based on the project requirement.

Chapter 5 and 6 are applying design principles to the project. I found it refreshing and interesting since it shows me the design and architecture thought step by step. This knowledge will actually helpful to me in the future to apply the same design principles to my own projects. Though I’m also wondering if the author can show how to write unit tests, the benefit of using such design may be even more obvious.

Chapter 7, 8 and 9 discuss routing, input validation, authentication and authorization, which are all important aspects and fundamentals for the project.

Chapter 10 and 11 talk about how to use asynchronous programming, bundling, real time framework SignalR to enhance the performance and user experience. These are all new features for MVC4 and Microsoft Web Stack for Visual Studio 2012.

Chapter 12, 13 and 14 show how to optimize the project for mobile devices. These are all important concept for mobile design using MVC4.

Chapter 15 shows a list of challenging ideas, to encourage readers expanding the project even further.

The book walks through project requirement, design, development, optimization phases, with excellent writing and interesting ideas. I will recommend the book to any developer who is looking to learn MVC4 for mobile development.

However, lack of a chapter for testing disappointed me a bit since without proper testing, a project should never get released.

I also found the downloaded code doesn’t load and work directly, and have to look at author’s blog post to solve my problem: http://andy-meadows.com/2013/09/help-with-asp-net-mvc-4-mobile-app-development-sample-code/ .

At the time of my writing, MVC5 is about to be released officially with Visual Studio 2013. Most of the topics in this book are still valid. I wish the author will release some blog or update to discuss the project upgrade path to MVC5 project and how to utilize the new features in MVC5 in his project.

Tuesday, December 4, 2012

Link to Lightweight Test Automation Framework

In today's webcamp Vancouver, one attendee approached me asking me how to test browser UI efficiently.  He's currently using coded UI to do the automation, and the speed is not satisfactory.

I pointed him to http://ltaf.codeplex.com/, which is an open source project that was developed and is currently used by the ASP.NET QA Team to automate regression tests for the product. It is designed to run within an ASP.NET application.

Hopefully with this framework, he can do the asp.net UI automation much more efficient.

Xinyang Qiu

Thursday, November 8, 2012

Windows Azure Mobile Service Reference Links

Get Started:
http://www.windowsazure.com/en-us/develop/mobile/  

SDK:
http://aka.ms/zumosdk

Build Videos:
http://channel9.msdn.com/Events/Build/2012/3-057
http://channel9.msdn.com/Events/Build/2012/3-129
http://channel9.msdn.com/Events/Build/2012/3-039  

Forums and feature request:
http://aka.ms/zumoforum
https://mobileservices.uservoice.com/forums/182281-feature-requests

Blogs:
http://www.thejoyofcode.com/
http://blogs.msdn.com/b/carlosfigueira/
http://blogs.msdn.com/b/windowsazure/  

Client SDK Source and sample:
https://github.com/WindowsAzure/azure-mobile-services

Documents:
http://aka.ms/zumodocs , including server modules and scripts

Advanced reading:
http://www.nickharris.net/2012/11/how-to-upload-an-image-to-windows-azure-storage-using-mobile-services/ (updated 11/13/2012)
















Windows 8 Store App development resource links

 
This is for my own notes on some links when developing Windows 8 Store Apps.



How to create a privacy policy: