File Downloads with ASP.NET MVC

By | .NET, ASP.NET, MVC | No Comments

So you need to download a file to the browser with ASP.NET MVC? Let’s take a look at a simple example, starting with the Controller’s Action method. Controller Code System.Web.Mvc provides a few different types of FileResult (which derives from ActionResult): FileContentResult, FilePathResult, and FileStreamResult. However, since they all derive from FileResult, we can simply use FileResult as our return type.

In this example, we are using an ID to look up some sort of data and create a MemoryStream that contains the file contents. If the data already exists as a file on the server’s file system, you would only…

Read More
teleriknext_header

Lino Tadros and Venkata Koppaka Share Expert Web Development Advice at TelerikNEXT 2015

By | News, Sitefinity, Telerik | One Comment

Falafel Software’s Lino Tadros and Venkata Koppaka will be presenting at the upcoming TelerikNEXT 2015 conference, where they will be sharing some expert advice on flawlessly managing the web development project process, and how to develop a clean and modern enterprise website using tools like MVC, Angular JS and Sitefinity Feather. What? Falafel at TelerikNEXT 2015: When are our sessions? Lino Tadros presenting “Best practices for understanding and implementing website project requirements” – Monday at 10:45 am in Conference Room 4 Venkata Koppaka pesenting “Modern MVC and Front-End Development with Telerik Sitefinity” – Tuesday at 1:30pm in Conference Room 4…

Read More

Custom Skin for Kendo UI DataViz Components

By | Fun, HTML5, JavaScript, Kendo UI, Mobile, MVVM, News, SPA, Web | No Comments

Kendo UI DataViz is a collection of components targeting data visualization such as charts, gauges and diagrams. These elements are indispensable in any application that deals with data aggregation and data presentation. When you develop an application, it is seldom that you are satisfied with the default theme (or the other themes) that Kendo UI offers because oftentimes you need to make your application look and behave like the original mockups that the designers put together. Just like other popular presentation frameworks, Kendo UI offers a Theme Builder that allows you to create your “unique” and custom theme. With a bit of…

Read More
Tabs

XAML Inheritance in Xamarin

By | Xamarin | 6 Comments

Now it’s time to build the Fiction page. Hmmm, it is just like the Book page but with a different title (and of course, a subset of the books). We could copy and paste the XAML into the Fiction page. But then the NonFiction page is very similar to the Fiction page ,as is the Biographies pages. In each case, as far as the view is concerned, all we want to do is change the title. We could implement this by copy and paste, but “clipboard-inheritance” makes me itch.

Read More
Perfect_Match_Puzzle_Piece

Free Webinar: SharePoint & Sitefinity, the Perfect Match

By | Microsoft, Sitefinity, Tools | One Comment

Much like the perfect union of peanut butter and jelly, some development tools — like Microsoft SharePoint and Telerik Sitefinity CMS — are a match made in heaven.  The perfect complement of functionality between Sitefinity and SharePoint allows you to make sure your project is flawless. In this webinar, Falafel’s CEO Lino Tadros and Telerik’s Director of Sitefinity Product Marketing Robert Mattson will share the pros and cons of the two solutions and how they can work for you and your project. Webinar: Microsoft SharePoint and Telerik Sitefinity: The Right Tool. The Right Job. Date: February 25, 2015 Time: 11am…

Read More
Training

Should you attend software training?

By | SmartBear, Training | No Comments

One of the things we pride ourselves on at Falafel is the outstanding training we offer to our customers. Whether you’re looking at implementing a new tool and need to learn how to use it, want to brush up on industry best practices, or learn a new skill we can help you out. There are a lot of benefits of attending software training (for both you and your company), but identifying all of the benefits and articulating that ROI to your manager can be challenging. Today our awesome partner, SmartBear, published a guest post from us that covers exactly that.

Read More
Visual Studio

Software Craftsmanship Online Workshop

By | .NET, C#, Training | One Comment

Earlier this year, I delivered a 5-day online workshop to a customer’s team on software craftsmanship. The class went really well and I thought the format worked out, even though typically this kind of class is done in-person.  We basically did four hours of instruction per day, with an hour break in the middle for lunch. There was some hands-on during this time, but most of the hands-on material was left for students to do on their own time as labs. We don’t go more than 4 hours per day with remote training because it’s tough to keep the attention…

Read More
Living-Star-Trek-Scotty-Hello-Computer-thumb-550xauto-64489

Hands-free WinRT: Part 1 – The Talking App

By | .NET, Mobile, Windows Universal Apps | No Comments

In Star Trek, characters routinely talk to the ship’s computer and it talks back. This feels very natural to the viewer, because the computer is just another character in the story. However, when given the opportunity to talk to my own computer today, I still feel awkward and prefer not to… especially if other people are within earshot! The exception to this is when I’m driving. My Lumia Windows Phone integrates nicely with my car’s Bluetooth, so as text messages arrive, I can have them read aloud and even reply to them simply by having a Star Trek-like conversation with my…

Read More

Codemash 2015 Recap

By | Windows | No Comments

I’ve been attending Codemash since its inception. The conference occurs in early January and has always provided me with enough topics that I want to investigate to fuel and motivate me for the entire year. Codemash casts such a wide net of topics and technology that there is always something for everybody. Here are some of my highlights: Holiday Light Fight I really love tinkering with sensors, lights, microcontroller boards and System on a Chip boards (SOC). It didn’t take me long to sign up for the Holiday Light Fight pre-compiler session at Codemash. I’ve always wanted to figure out…

Read More

Accessing the Unity Gyroscope

By | .NET, Blogs, C#, Fun, Microsoft, Mobile, Multi-Device, News, Unity | No Comments

In my continuing desire to explore the capability of Unity accessing the device sensors, I’m exploring the gyroscope. The gyroscope is an instrument that is used to measure the change in rotation along its axis. The first versions of this instrument started off as large and heavy mechanical tops, then progressed to very small MEMS that can now fit into our phones. To demonstrate the gyroscope I’ll use the same code base that I’ve been using in my previous Unity posts; Unity Accelerometer Device Attitude Alignment and Displaying the Device Compass in Unity. So you’ll see the device orientation cubes…

Read More
teleriklogo

Falafel Team Selected as Telerik Developer Experts

By | Kendo UI, News, Sitefinity, Telerik | One Comment

Telerik recently announced the launch for their new Telerik Developer Network, and with it the Telerik Developer Experts program. We’re excited to say that Telerik chose not just one, but FOUR of our fantastic Falafel team to be Telerik Developer Experts. The Developer Experts program recognizes members of the Telerik Developer Network community who have gone above and beyond to share their knowledge and contribute to the community, but are also experts in one or more of Telerik’s tools. We’re very proud of our CEO, Lino Tadros; Master Consultant, Jesse Liberty; Senior Software Engineer, Keith Burnell; and Software Architect, Venkata…

Read More
2015-01-29 08_45_47-master • ExampleKendoExport (Debug_Any CPU) - Microsoft Visual Studio (Administr

Learning to Export Kendo UI Widgets without a Browser Using PhantomJS: Part 1

By | News | No Comments

I have been doing some research into browser-less exports of some Kendo UI widgets on an existing page, and I am really liking PhantomJS as a solution for my needs. PhantomJS is targeted more for testing, but in this case I was looking for a way to create a PDF report of a Kendo UI widget server-side that could be saved and emailed as a snapshot-in-time of some particular data.

Read More

How to use SignalR with Kendo UI

By | .NET, ASP.NET, Kendo UI, News | 3 Comments

Why SignalR? For most Kendo projects that I’ve been involved with, Kendo UI consumes JSON data originating from an ASP.NET controller (either a JsonResult action or a WebAPI action). The lifecycle is pretty straight-forward: the DataSource reads the initial data, and then a separate AJAX postback is performed for each create, update, and destroy operation. The problem with this is that the user is looking at a snapshot of the data. Suppose that another user is also looking at that data, and decides to change it. How do we alert the first user that their data is stale and needs…

Read More
MonkeySumo

CodeMash – it ain’t just the sessions

By | careers, News, Xamarin | No Comments

CodeMash is one of my favorite conferences, and I had the pleasure of doing a pre-con (4 hours hands on) and a sponsor talk this year.  One of the (many) reasons I like this conference (and one of the reasons it has grown so large) is the people.  It is by far one of the friendliest conferences around, and a good chance to see old friends (and make new ones – sounds like the girl scouts). This year CodeMash was, as usual, chock full of great presentations.  I can tell by looking at my handy EventBoard application There was a…

Read More
MVP-Badge3

Jesse Liberty Selected as Xamarin MVP!

By | C#, Mobile, Xamarin | No Comments

We’re excited to share some more good news that Falafel’s Master Consultant, Jesse Liberty, has just been announced as a Xamarin MVP! Jesse is the first Falafel team member to receive the Xamarin MVP, and we couldn’t be more thrilled. The Xamarin MVP program was started in 2013 to recognize community leaders who have demonstrated their commitment to mobile app development by sharing their passion and real-world knowledge of C#, F# and Xamarin tools with the community. Congratulations to all of the new MVPs recognized by Xamarin today! Pssst! Want to learn from the master mobile developer himself? Learn more…

Read More

Windows Phone and MVVM Light: NavigationService and CanGoBack

By | MVVM | 2 Comments

MVVM Light is a simple yet powerful framework for developing apps, and with the latest version 5 includes a new cross-platform NavigationService to aid in abstracting the navigation component of your apps. However, looking at the implementation of the INavigationService interface, there is no property available to support the idea of CanGoBack, which is important for devices like Windows Phone that include a back button. The default code that gets generated for the HardwareButtons.BackPressed event relies on the Windows implementation of NavigationService, which does have such a property, as shown in this example:

However since we’re using the MVVM Light version, we need a…

Read More
star-rating-windows-phone

Telerik UI for Windows Universal: Customizing the RadRating Control

By | Windows Universal Apps | One Comment

I’m working on a project using the new Telerik UI for Windows Universal, specifically the Rating control. This control is highly customizable, supporting different shapes and symbols, and is surprisingly easy to modify. In my case, I was satisfied with the default Star symbol, but needed to modify the color. I expected to see this as a simple property of the Rating control itself, but didn’t see one available in the Properties window nor via Intellisense. It turns out that the Rating control is a templated control, which is much more flexible than a simple property, as it allows you to intuitively specify different…

Read More

Data Annotations & Entity Type Configuration

By | .NET, C#, News, Web | One Comment

We can replace Data Annotations with Entity Type Configuration to make our classes look clean and simple. Majority of developers prefer using View Models for CRUD operations leaving no reason to have Data Annotations defined in our model classes. This article will show you how to replace Data Annotations with Entity Type Configuration when using Entity Framework Code-First.

Read More