Monthly Archives

October 2013

iOS 7 Bars with Xamarin.iOS

By | C#, iOS, Xamarin | No Comments

In this post we are going to take a look at using UIToolbars and UINavigationBars with iOS 7. I will take a moment to note that although we are using Xamarin.iOS, the behavior and techniques described herein are the same as if you were using Objective-C and Xcode. We are going to take a look at how the bar controls behave, specifically when your desire is to place them at the top of the screen. One of the challenges that I have experienced, is that much of the Apple documentation and articles on the web regarding the behavior of toolbars…

Read More

Learning Xamarin–Menus!

By | Uncategorized | No Comments

This is post 10 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] In this entry, I look at creating menus in an Android application. In my last post in this series, I looked at how to pass data from one Activity to another using JSON.  We’ll build on that example in this one, both to have a nice starter app and also to pass the menu choice along within the View Model.  To get started, make a copy of the previous application (you can download it here).  Now we are going to…

Read More

How to return JSV formatted collection types from SQL Server to ServiceStack.OrmLite

By | Uncategorized | No Comments

In my last blog post about migrating ASP.NET Membership users to ServiceStack, I mentioned that it was possible to return user roles in each result row rather than requiring a separate query to return roles. This time I’ll go into detail on how to do that both for collections of scalars and collections of complex types. First of all, you need to be able to escape strings that contain JSV characters. The description of the format and escaping rules are here. Here is a sample implementation of JSV escaping in SQL that uses a numbers table. create function dbo.jsv_escape(     @value…

Read More

How to migrate ASP.NET Membership users to ServiceStack

By | Uncategorized | One Comment

We love ServiceStack here at Falafel. If you’re already using it, you know why. If you haven’t used it or even heard of it, read the wiki intro to see what all the love is about. When it comes time to create a real application with ServiceStack, you may be faced with a situation where you already have a lot of user logins already in existence in the former de-facto authentication system for Microsoft developers: ASP.NET Membership. The good news is that as long as you kept to the defaults when it came to how ASP.NET Membership stored user passwords,…

Read More

Kendo UI JSFiddle Starter Template

By | Kendo UI | 2 Comments

When working on building large applications, I often find it helpful to prove out a concept or isolate a problem in a sandbox environment.  There are several online tools such as JSFiddle, JS Bin, and CodePen that work really well for trying out code and sharing with others.  However, when using a tool like JSFiddle to test some Kendo UI code, you have to manually enter the external URLs to reference the JavaScript and CSS files.  To save some time, I have shared a public JSFiddle that will give you a jumpstart with the latest Kendo references as well as…

Read More

Learning Xamarin–Preserving State With JSON

By | Xamarin | No Comments

This is post 9 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] In a recent entry in this series, I discussed one approach to preserving state when the application is stopped.  I then received a tweet from my friend Paul Betts of GitHub.com saying “one thing that’s super useful is to use JSON.net to stuff off objects in the Bundle.”  Great idea. Paul was kind enough to send a code snippet and from there I worked up an example.  Let’s review it together… Begin by taking a look at this original posting…

Read More

Falafel Software Announces Sitefinity Partnership with European Firm Konstrui

By | Uncategorized | No Comments

Falafel Software is pleased to announce a new European partnership with Konstrui, a software development firm building “things for the web”. Konstrui is a Sitefinity Gold Partner located in the Netherlands and will assist Falafel with Sitefinity projects that require a European presence. Konstrui’s existing European customers are certain to benefit from the new partnership as well, as Konstrui will be referring customers in need of Sitefinity training to Falafel’s comprehensive online training options. Konstrui, was founded by Daniel Plomp in 2008 and has since delivered more than 25 custom Sitefinity solutions. Mr. Plomp is a Telerik MVP and a…

Read More

Learning Xamarin–Taking the plunge

By | Xamarin | No Comments

This is post 8 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] For the past number of weeks, I’ve slowly been learning Xamarin for Android, as documented in this series.  I’ve been putting in about half a day a week, taking my time, not letting the anxiety of learning this seemingly complex topic overwhelm me.  Until now, I’ve been following along with other people’s exercises, or adapting exercises I found into new material.  Today, I decided to see what would happen if I set out to write a simple program based on…

Read More

Jesse Liberty Wins Microsoft MVP Award

By | Uncategorized | No Comments

Falafel Software is very proud to announce that our very own Jesse Liberty has won the prestigious Microsoft Most Valuable Professional (MVP) Award for the second time. The Microsoft MVP Award is given to community leaders who show a deep passion for Microsoft technologies and actively share their knowledge with the technical community. Winning a MVP Award is no small feat. Microsoft estimates that there are 100 million technical community members worldwide but only about 3,800 receive a MVP Award each year; and every year existing MVPs must work to win the award again. Jesse won his first MVP Award…

Read More

Falafel Software Releases New Book for Sitefinity 6.1

By | News | No Comments

It’s here! The latest edition to our “Sitefinity Nuts and Bolts” line of training books is here and includes all of the Sitefinity 6.1 goodness. Sitefinity 6.1 Nuts and Bolts is a comprehensive training guide that covers everything from user basics to advanced programming topics. This is the one guide that Sitefinity users, administrators, designers and programmers need on their e-bookshelves. In this new 550 page e-book, readers will enjoy detailed examples and step by step walkthroughs explaining how to use Sitefinity’s latest features.  Learn how to create and edit content, configure and deploy websites, work with page templates, control…

Read More

DevReach “Crafting Cross-Platform Mobile Apps with HTML, CSS, and JS in Icenium” Slides and Code

By | Uncategorized | No Comments

Thanks to everyone who came out to my session yesterday at DevReach on developing mobile apps in HTML5 and JavaScript using Icenium. I’ve posted the slides and code examples from the session below. Please feel free to contact me if you have any questions. Crafting Cross-Platform Mobile Apps with HTML, CSS, and JS in Icenium Code Examples Slides  

Read More

Learning Xamarin–Spinner Control

By | Xamarin | One Comment

This is post 7 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] In this post, I’ll explore how you might add a Spinner control to your application.  Spinner is one of dozens of controls available to Xamarin.Android applications.  With the latest versions of Xamarin for Visual Studio and Xamarin Studio, adding controls has become very easy – simply a matter of dragging them on to the design surface and setting their properties (though you can still create them directly in XML if you like). The spinner control, as you can see in…

Read More