DCSIMG
DEV - Ran Wahle's blog

Ran Wahle's blog

Browse by Tags

All Tags » DEV (RSS)
Programmer’s Backdoor Trap
Today I’ve encountered something that made a programmer happy but made me sad. He had to pull data out of Data Warehouse and use it for his system. Later, he was informed that DWH personnel made his life easy: They’ve decided to write the data into his own database so he wouldn’t have to work so hard. Unfortunately this news made him happy, and therefore he went on with it, which made me even sadder. ...
KnockoutJS–Dependencies
KnockoutJS–Dependencies One of the things we’ll probably need is to be able to have dependency tracking in our bounded data. For example – if we have a customer’s list, we’d like to see the customer’s orders whenever we click on a customer. In this post I’ll demonstrate how to do it using the dependentObservable function of KnockoutJS Let’s look at the following JavaScript code: var viewModel = { customers: ko.observableArray([]), selectedCustomer: ko.observable(), orders: ko.observableArray([])...
KnockoutJS–Event binding
After binding the data into our page, we wish to be able to create an interactive page. This means that we want to be able to add some behavior to our view-model, triggered by an event on the page. (A button being clicked for example)....
KnockoutJS–Templates
After being introduced to KnockoutJS concept and go to know the basics of data-binding with Observable and observableArray, let’s move on to how to work with templates and our collection to them. In this post I’ll explain how to bind a collection with template. ...
KnockoutJs–MVVM in HTML & Javascript
One of the things I’ve cherished the most about XAML related technologies development was the ability to completely decouple behavior and UI using MVVM. I didn’t know about any possibility to implement the same pattern on HTML & Javascript based applications. ...
Your service generates odd WSDL? Search for Serializable attribute
A problem I’ve encountered at a customer I work for was very strange behavior regarding the WSDL being generated by it’s service. The WSDL didn’t contain any class property, moreover it did contain private members of a class being exposed by the service....
Handling application states on Windows 8
As heard on BuildWindows and over and over again throughout the sessions there is new application state called Suspended....
Windows 8 For developers - what’s new?
Today in BUILD, it was all about Windows 8 and it seems like a very big change from what we’ve known so far. And what is the big change? ...
Changing namespace in ASP.NET Web-Form
Changing namespace in ASP.NET Web-Form When converting VS Web-Site to VS Web application One of the problem you might stumble upon is class name collisions. It is due to the fact that web-site, because of it’s compilation mode, can have the same class name (and no namespace) on different files because they will end up in different assemblies. On web-application though, it is a different story. All classes ends up in the same assembly and therefore we have to name them differently. You will encounter...
Using session manager class in Global.asax
Long ago, I’ve written about Session Manager class. The class purpose was to wrap session variables in properties and gain type safety to them. In this class we’ve added a Session property with get accessor, which wraps the HttpContext.Current.Session. Everything went well until I’ve encountered the need to use this class on Session_End method in global.asax ...
404.2 and , ISAPI restriction and Web Service Extension
A common and very misleading http error is the status with code 404.2 . It is misleading because it belongs to the 404 family which may indicate that the resource was not found, however this error indicates that the server has blocked our request by it’s lockdown policy. ...
Configure your ASP.NET application that uses routing in IIS-6
After coding our routing handler in our ASP.NET application (available in .NET 3.5 and in much easier way in .NET 4) Since IIS-6 doesn’t use .Net as a natural part of it’s pipeline there is a need to do some configuration. ...
Navigation in MVVM
One of the main issues regarding Silverlight was the navigation issue, what commonly refers as “How can we support browser’s back button”. Although Microsoft has standard solution for that is somewhat limited. It’s limitation concerns two main issues: 1. Navigation requires as to use Page Navigation and not user controls 2. It won’t support scenario when pressing a link changes the internal state but will replace the entire page instead. In this post, I’ll demonstrate how we can overcome these issues. ...
Free eBook – WP7 programming by Charles Petzold
Windows Phone 7 programming eBook can be downloaded here From first glance, this book also fits those of you who’s not yet familiar with XAML, Silverlight, WPF etc. You will be after reading it. Enjoy.
MVVM for Silverlight – what is it about?
I recently had the pleasure of having Elad Katz as a consultant for the customer SilverLight I work for on Sela’s behalf. Elad’s job was to lead us migrating a “regular” Silverlight project to MVVM . This post is the first in a series discussing MVVM and it’s application in Silverlight. In here I’ll discuss about what MVVM is all about and what are it’s advantages....
More Posts Next page »