Running Cordova Multi-Device Hybrid App from Visual Studio On an iOS Device

By | .NET, C#, iOS, JavaScript, Kendo UI, Microsoft, Mobile, Multi-Device, News | One Comment

Abstract In a previous post we looked at how we can build and deploy a Multi-Device Hybrid App from Visual Studio to an Android device. It was a fairly simple process and within a few minutes we managed to get the app running on the device. If you’ve done any cross-platform development before, you would agree that building and deploying an app to an iOS device is not trivial. If you are an avid Windows user like me, it gets more intriguing. In this column, we will examine the different challenges and how we can build the app and deploy it…

Read More

Server Paging, Sorting, and Filtering with Kendo DataSourceRequest

By | ASP.NET, C#, Kendo UI, MVC, Telerik, Web | One Comment

As you would expect, the Kendo UI Grid and DataSource work extremely well together and give you paging, sorting, and filtering right out of the box.  By default, the DataSource will do all of this on the client which is fine for small sets of data, but it becomes a huge performance issue when you are dealing with thousands of records.  In this case, we need to move this work to the server. I typically do not endorse using the Kendo MVC Extensions for large applications (you get more flexibility and a cleaner architecture when you write your own Javascript),…

Read More
Borland1

A Dream 21 Years In The Making

By | News | 8 Comments

21 years ago, I had the honor of being employed by one of the greatest companies in the world at the time “Borland International” in Scotts Valley, CA.  A place where I made countless lasting friendships and learned most of what made me who I am today.  Besides the wonderful people and the smartest people in the software industry that I got to enjoy every day during my decade at Borland, the building that Phillipe Kahn built for us was amazing and the most beautiful office building on the west coast.  He spared no expense in creating what I consider a…

Read More

Live in-person training: Cross Platform Mobile Programming with Xamarin and C#​

By | News | No Comments

This is a one-time opportunity to work directly with master developer Jesse Liberty. The perfect fit for those getting started with Xamarin, We are so excited to have Jesse Liberty at our Hudson Ohio office September 17th and 18th, where he will be teaching Xamarin and C#! No Xamarin experience needed, but we do assume you are comfortable with C# basics. Buy your seat now for $749   During this course you will learn how to set up your Xamarin development environment, and how to create meaningful and useful Xamarin applications using best practices from the very start. Topics covered…

Read More

How to Customize Sitefinity Search Templates

By | Sitefinity | No Comments

If you ever tried customizing Sitefinity search templates, you quickly realize there isn’t a way to do it through the search widget. Almost all other widgets have an option to update the template or update the path to a custom layout file. In this post, we will gain full control by using pure HTML to create our search widget and JavaScript to wire it all together.

Read More

Nested Templates with Kendo UI

By | JavaScript, Kendo UI, Web | One Comment

Kendo UI templates provide a great amount of flexibility for styling content but also running Javascript code directly within the template.  You can use a template for pretty much anything since kendo.template() will transform the data and return the rendered HTML, but one of the more common uses is for an item template within an items collection, such as a ListView or Grid. You can use templates either declaratively in HTML for elements that support them, like this:

Or using kendo.template() either within your Javascript code, or in something like a grid column template:

When using kendo.template(), the easiest…

Read More

Exploring Image Filters in Xamarin iOS

By | .NET, C#, iOS, Mobile, Xamarin | One Comment

Xamarin iOS and CoreImage When writing for Xamarin iOS you can leverage the CoreImage framework to perform a wide array of image manipulation techniques. These techniques range from manipulating the image hue or colors to more advanced requirements such as facial detection. Xamarin boasts 50 photo filters available as a part of their iOS CoreImage implementation. These filters vary from image skewing and warping to those you’re probably familiar with through apps such as Instagram. The code: Let’s take a look at using these image filters inside of a Xamarin iOS application. Each of the filters is exposed in Xamarin iOS as…

Read More

Kendo Exception During MVC Model Binding of DataSourceRequest

By | News | No Comments

I just spent some time tracking this one down and wanted to document it here in the hopes that it will help others out. This is about an exception than can occur while performing server-side filtering with Kendo UI for MVC. I got it to happen by configuring a Kendo Mobile ListView to perform server-side filtering with a DataSource whose type is ‘aspnetmvc-ajax’. The exception occurs before execution enters the controller action. Here is the top relevant part of the stack trace:

After a bit of experimentation, I found the problem was being caused by the default for ListView.filterable.operator,…

Read More

Creating a basic list in Xamarin Forms

By | .NET, Android, C#, iOS, Mobile, Xamarin | One Comment

Lists are all over the mobile app scene – and for good reason too. They’re a great way to display groups of almost any type of data. Creating a list inside your Xamarin Forms project is an easy cross-platform solution to data organization. We’ll start off with a fresh Xamarin Forms PCL project. Inside your PCL you will find App.cs. By default this contains a Page object called “MainPage” which returns a basic label. This is where we will work with our simple list.

The code sample above is the construction of a simple ListView. There are a few…

Read More

Configuring Android Emulators in Xamarin Studio

By | .NET, Android, C#, Mobile, Xamarin | 4 Comments

The Problem After installing Xamarin Studio and compiling one of the demo apps you might have noticed that when you try to run it on Android you are faced with an issue. The Android SDK doesn’t seem to automatically install the x86 or ARM system images for the latest stable release. When selecting an emulator you are likely faced with the following image that shows the available emulators as “Incompatible API Level”. If you dig deeper by selecting “Manage Android Devices” you will notice that you can create new emulators fairly easily but the CPU/ABI will not be available for…

Read More

Kendo UI Mobile with MVVM and RequireJS

By | Kendo UI | One Comment

A potent mix for creating elegant mobile applications is Kendo UI Mobile with MVVM and RequireJS. Included is an online sandbox environment with code snippets that will highlight the concepts needed to create more advanced Kendo UI Mobile applications. This has been created using jsFiddle and acts as a starter template to update or fork as needed.

Read More

Easier Testing for Kendo UI Pages

By | C#, JavaScript, Kendo UI, News, Telerik, Testing | No Comments

It’s taken years, but delivery teams are creating, by design, systems that are more open to unit testing. There’s less tight coupling inside methods, dependencies are passed in by injection, less use of statics inside blocks, etc. Using these approaches lets teams write much better unit tests without having to use complex, brittle mocks. The benefit’s not just for testability–these principles lead to dramatically healthier codebases, too! That same thoughtful approach to testable system design can also pay off in spades when you’re working with UI testing, regardless of the toolset you’re using for UI automation. Biggest Pain Points Two…

Read More

Don’t Miss J. Tower Speaking in Utah Next Week

By | .NET, News | One Comment

J. Tower will be speaking at the Utah Country and Northern Utah .NET User Groups next week as he travels around the country on a one-year-long road trip. His sessions will be covering Single-Page Applications (SPAs) with ASP.NET and 30 Tools for Modern .NET Web Development in 60 Minutes Utah Country .NET User Group – Provo, UT – Wed, Aug 6 http://www.ucnug.org Single-Page Applications (SPAs) with ASP.NET Single-page applications (SPAs) are very popular right now, but they can also be difficult to create. In this session, we will see how SPAs work and see how to get started creating one. We will also…

Read More

Picking your Challenges – Luminance for Points

By | .NET, Blogs, C#, Fun, Windows | No Comments

One of the things I’m learning as I’m settling into my #2520orBust challenge, is picking which challenges I’m going to tackle on DVLUP.com. You have to consider the requirements of the challenge and the due dates. You also have to consider the amount of free time you have to devote to the challenge. For me, that’s not much time. So, I’m looking at the low hanging fruit right now. The next challenge on my list is the “New App Special“. It’s 250 pts, and I’ve got until the end of August. The app I have in mind is a lux…

Read More

Kendo Undocumented: Using data bindings in grid column templates

By | News | 3 Comments

I’ve found that the more I use Kendo, the more of a MVVM junkie I become. I use data binding for everything I possibly can and it has led to nothing but happiness. Then one day, I wrote a grid column with a data binding in it, and the binding didn’t work. It was weird because I was sure I had already used data bindings in other templates, and not just edit templates either. With just a little experimentation, I discovered a neat little fact: you can use data binding in column templates if the grid is initialized with data attributes….

Read More
MVVMLightFeather

Learning Xamarin: MVVM Light and Xamarin Forms

By | News, Xamarin | One Comment

Today I’m going to kick off a series of postings on creating an application using Xamarin Forms and the MVVM Light Toolkit. This is part of a larger series on Learning Xamarin… In my previous article I attempted to explain why MVVM is inherently desirable and especially so with Xamarin Forms which supports both XAML and DataBinding. In this article I will create a dead simple example (actually, I’ll steal Lauren’t simple example) to get my feet wet.

Read More

Creating a Custom Kendo UI Validator

By | JavaScript, Kendo UI, News | No Comments

Kendo UI makes it very easy to do validation with any of their built-in validators. These are built on top of the validation features in HTML5, but have been made to also works in non-HTML5 compliant browsers. The built-in validators work for 80% or more of situations, but occasionally you need to validate something in a unique way that requires some custom logic. Like much of the Kendo UI framework, Kendo UI’s validation widgets make it easy for you to customize them. For validation, the key is to create a custom validation rule when you’re setting up your validator widget, like this:

That…

Read More

Multi-Device Hybrid Apps… Where are the iOS and Windows Simulators?

By | .NET, C#, iOS, JavaScript, Kendo UI, Microsoft, Mobile | One Comment

In a previous post we have discussed how we can build and run the multi-device hybrid apps in a simulator for Android and we also demonstrated how we can build and deploy the application to a physical device. If you’ve recently upgraded your Visual Studio 2013 to Update 2, you might have noticed that there is no way for you to simulate the application in iOS whether in an iPad or an iPhone. The current version of Cordova tooling in Visual Studio claims to support multiple platforms which is a fact. In this column I will show you how you can add…

Read More

HTTP GET array param to ASP.NET MVC with Kendo DataSource

By | .NET, ASP.NET, JavaScript, Kendo UI, MVC | No Comments

This post is inspired by a recent conversation with one of my colleagues here. He had the following requirements: ASP.NET MVC controller (not Web API) Kendo DataSource reading with HTTP GET Controller action accepts a list of values So, something like this:

This is an awkward little corner case. Change any one of the requirements and everything will work just fine. Fresh out of the box, Web API understands sending multiple values in the query string (at least, with the right controller action method signature). MVC controllers understand arrays if they’re posted in the body of the request,…

Read More