Kamis, 07 April 2011
Silverlight: How to Communicate with Desktop Application via HTTP
IntroductionThis article is a free continuation of How to Receive Messages from a Desktop Application and How to Send Message to a Desktop Application where the Silverlight application communicates with the standalone .NET application via TCP. In this article, I would like to show how to implement the communication via HTTP. The example below implements a .NET application as a service and a
Android Fundamentals: Working With Content Providers
The TutList application that we’ve been working with has a pretty big flaw right now: the article data is not “live”, but static content. In this tutorial, you take several more steps towards a flexible and expandable solution by modifying the application to act as a data-backed content provider. The Android framework uses a concept called content providers to enable applications to share and use
WCF ExceptionHandling in Silverlight
I have recently done some LOB application development in Silveright in which we used a WCF service to communicate to the backend. There was an unexpected surprise that Exceptions throw in the WCF service were not transferred to the Silverlight Client! In Silverlight you always get a System.ServiceModel.CommunicationException: The remote server returned an error: NotFound.... error. We wanted to
Getting something better than “Server not found.” from WCF in Silverlight
When developing applications in Silverlight it is inevitable that you will need to perform a request back to the server for data or processing. The common practice is to use Windows Communication Foundation (WCF). I find that WCF usually handles all of my needs and it works well when everything is happy and just right. However, if anything is not in its correct place, we can have tons of problems
HttpContext.Current returning null when using NetTcpBinding in WCF4
When using NetTcpBinding, not all of the features of WCF are available, particularly those using HTTP. NetTcpBinding removes a dependency on HTTP (and IIS as a result, allowing the service to be hosted in WAS instead.) HttpContext.Current is one of the features in WCF that is not available when using NetTcpBinding.Read more: WF, WCF, and AppFabric notes Posted via email from Jasper-net
Memcached for Dummies
The other day I was chatting with a colleague about Memcached. Eviction policy came up, and I casually mentioned that Memcache isn't strictly LRU. But a quick Bing search said Memcache is LRU, like this Wikipedia entry. Hmm, I was 99.9% sure Memcache is not LRU, something to do with how it manages memory, but maybe I was wrong all these years. After reading through some Danga mailing lists
How to implement Template Binding in Silverlight Custom Control?
Continuing to our 2nd chapter of the series here on Silverlight Custom Control. In this chapter we will discuss on dynamically setting the Content and other properties to our Custom Control that we implemented earlier. After reading this article, you will be able to create properties and set content dynamically to your control. So, lets start describing them and learn something again today.
10 Steps to Initiating an OpenStack Cloud Service
OpenStack currently consists of three main components: Nova (Compute), Swift (Object Storage), and Glance (Image Service). There are some other projects such as a dashboard and mobile apps as well. You can see the full list here. This is great start, but in order for OpenStack to compete long term, other infrastructure and platform services will need to be brought in. I’d like to talk about the
טיפ: איך לעבוד עם jQuery בתוך ויז’ואל סטודיו 2010
כדי לספק ממשק משתמש עשיר וחוויתי באפליקציות Web, קשה להמנע כיום משימוש בספריית JavaScript כלשהי. jQuery היא ספריית ה- JavaScript הפופולריות ביותר כיום, ואם עדיין לא יצא לכם להתנסות בה, כדאי שתציצו במדריך jQuery באתר וובמאסטר. פוסטים קשורים שכדאי לקרוא: NuGet – תשתית קוד פתוח לניהול ספריות ותוספות לאפליקציות Web jQuery בגירסה 1.5.1 כעת תומך באינטרנט אקספלורר 9מיקרוסופט תורמת קוד ל- jQuery (מנוע
Mono Android and iPhone Updates
Today we are happy to release Mono for Android 1.0 as well as MonoTouch 4.0.Both products allow you to use the C# language to write applications that run on Android and iOS devices. Both products are based on the latest Mono 2.10 core. The Parallel Frameworks can be used to write more elegant multi-threaded code across all devices, and automatically takes advantage of multiple cores available on
3 simple and effective tips to improve your classes in C#
The other day I was taking a look to a C# Web application develop by a co-worker. The application was fine and it delivered the functionality proposed. Nevertheless, I found some common errors (or things to improve) in the way the classes were written. Let’s go ahead with some simple and useful tips to write C# classes. Tip # 1: Define only one class per file.C# allow us to define more than one
MonoTouch 4.0
We just released MonoTouch 4.0, a product to build iOS applications using C# and .NET. We also released our new Mono for Android product.New in MonoTouch 4.0MonoTouch 4.0 is a major upgrade to our product as it upgrades the Mono runtime engine from the old, trusted and friendly Mono 2.6 to the latest and greatest Mono 2.10 core, these are some of the new features available as part of this upgrade
Microsoft clarifies HTML5 v Silverlight
Microsoft has learned its lesson and, not wanting to alienate or spook its Silverlight developers yet again, has posted a carefully crafted blog post that explains its position vis-a-vis Sliverlight and HTML5. Only a short time ago Microsoft upset a lot of developers by claiming that HTML5 was the way of the future, a fine sentiment, and that Silverlight was only for Windows Phone 7 - not such
How to design a Custom Control by editing the Part Template?
This is a continuation to my previous post "How to create a Custom Control in Silverlight?" In this tutorial part, we will discuss on the template and modify our basic template to give a better look as per our need. In this chapter, we will learn about template Part and how to modify the existing template. Read out more to learn in depth about Custom Control in Silverlight. This will benefit you
HTML vs. Silverlight vs. WPF
At Readify we focus on the Microsoft stack - WPF, Silverlight, and ASP.NET. The bulk of our projects are ASP.NET, some are Silverlight, and even less are WPF (though the WPF projects tend to be bigger in scope, so they're probably about even). Usually the customer has decided on a technology stack before we arrive, and they've engaged us to help plan/design/build/ship the application. Sometimes
Silverlight 5 Beta Here, HTML 5, Sterling Feedback and More
I have a few things to cover on this post. I want to start with Silverlight 5 but stay tuned for some information about how you can learn more and ask direct questions about the Sterling database. Silverlight 5 Beta is Here The Silverlight Team just officially announced that the Silverlight 5 beta will be available next week at MIX 2011. This is an exciting milestone because the new version will
Developing Native Android Applications: Not as Hard As You Might Think
Two months ago, my boss asked me to try and build a native Android application based on the mobile website I had created for the university's annual Maryland Day festival. Both he and I are part of an IT initiative in our department tasked with figuring out how best to provide IT services to smartphone users on campus, and while we have in-house expertise in iPhone development, none of us were
April MSDN magazine out now
This month’s MSDN magazine is online and ready for reading. April’s hot topic is Windows Azure – here are the highlights: Windows Azure Development: CQRS on Windows Azure Learn how Command Query Responsibility Segregation represents a shift from more classic, three-tier application architecture toward a message-based, asynchronous pattern. We walk you through a reservation booking app to
Error Handling – The C++ Way
In my experience as software developer, I noticed that there are lots of people that write in C++, but do not use exceptions. They prefer to use return codes instead. I guess that this is caused by the late addition of exceptions in the C++ standard. Whatever the reason is, personally, I prefer to use exceptions as an error handling technique. Almost 10 years ago I started programing in Object
Tron legacy
How the Tron:Legacy movie was filmed. I spent a half year writing software art to generate special effects for Tron Legacy, working at Digital Domain with Bradley "GMUNK" Munkowitz, Jake Sargeant, and David "dlew" Lewandowski. This page has taken a long time to be published because I've had to await clearance. A lot of my team's work was done using Adobe software and Cinema 4D. The rest of it got
Langganan:
Postingan (Atom)