Friday, September 30, 2011

Using WCF Service with Silverlight - CodeProject

Here is a great guide to WCF web services and Silverlight This is where you need to start!

Using WCF Service with Silverlight - CodeProject

Wednesday, September 28, 2011

Introduction to IIS 7.0 Architecture - CodeProject

Introduction to article

This Article looks into the end-to-end request processing architecture in IIS 7.0.IIS 7.0 has been completely redesigned in comparison with the previous versions. I will begin with the core IIS 7.0 components and their role in the processing of an HTTP request.
I will then look at how a request is executed, focusing on the integrated request processing pipeline and core Web server modularity



Introduction to IIS 7.0 Architecture - CodeProject
Enhanced by Zemanta

Gadget Maker IDE - CodeProject

Introduction to Article

I have created an IDE using Visual C# 2010 (Express Edition) that automates the process of creating a Windows Vista Gadget. This IDE has the common features found in an IDE, for example, editing the HTML/JavaScript code using an editor, editing the gadget manifest using a GUI interface, inserting generic code and building the gadget. I have used SharpZipLib, a free C# compression library to compress the gadget files.


Gadget Maker IDE - CodeProject
Enhanced by Zemanta

Tuesday, September 27, 2011

Deploying A Web Service

The Microsoft Visual Studio .NET logo.Image via WikipediaFor the past several months I've been working on a .Net program in Silverlight that employs a web service. IT took some time but I did make it work in Visual Studio 2010. The problem came when I wanted to deploy it to web server. It refused to work. The Silverlight App had the ASP.Net debugging activated and my webservice didn't so I had to add the following line to just before my web service's class instantiation:

And I had to make sure that the url in the ServiceReference.ClientConfig file and the configuration for the web service match the url for the web service *.svc file on the web server. I found this to be a problem when it came comes to trying to run the projects from inside Visual Studio 2010, I have to switch the url to match the local server. I also found out that I had to change the code for calling the web service.

Uri address = new Uri(Application.Current.Host.Source, "../YourService.svc"); // this url will work both in dev and after deploy.

var webService = new YourWebService.YourWebServiceClient("YourServiceEndPointName", address.AbsolutePath);
You can read the links I used to come up with this:



Deployment of Silverlight App + Silverlight-Enabled WCF Service to Production

Deploying Silverlight with WCF Services
Enhanced by Zemanta

How to flush a storage volume's the file cache, lock and dismount it and eject the media - CodeProject

Introduction to Article

Ejecting a media is well known for CD/DVD drives. Here we get a physical ejection. But also ZIP/JAZ drives and card readers (drives with a removable media) support ejection and since they are not read only it is required to dismount their file system before ejection to prevent loss of data.


How to flush a storage volume's the file cache, lock and dismount it and eject the media - CodeProject
Enhanced by Zemanta

Thursday, September 22, 2011

How to Create a Simple Natural Interaction (NI) App. - CodeProject

Introduction to Article

OpenNI is an easy and friendly platform, used for Natural Interaction (NI) programming to create NI Apps.
This article contains a short description for a beginner NI programmer on how to create a simple “Hello World” NI App.
Natural Interaction (NI) refers to a concept whereby Human-device interaction is based on human senses, mostly focused on visual and auditory senses. NITE™ by PrimeSense, is the middleware that perceives the world in 3D based on depth images, and translates these perceptions into meaningful data in the same way that people do. NITE acts as the perception engine that comprehends user interaction within their surroundings and includes both computer vision algorithms.


How to Create a Simple Natural Interaction (NI) App. - CodeProject
Enhanced by Zemanta

Tuesday, September 20, 2011

How to: Get Android 3.0 on your desktop PC with emulation | Everything About Tablets

Image representing Android as depicted in Crun...Image via CrunchBaseGot Android apps to test but no hardware to use? Emulators are a good alternative.


How to: Get Android 3.0 on your desktop PC with emulation | Everything About Tablets

And here is an article about how to load an app form a apk file in an emulator

How to Install APK Files on Android Device Emulator

Enhanced by Zemanta

Monday, September 19, 2011

XAMLFinance – A Cross-platform WPF, Silverlight & WP7 Application - CodeProject

Introduction to Article


This article describes the development of XAML Finance, a cross-platform application which works on the desktop, using Windows Presentation Foundation (WPF), on the web, using Silverlight and on Windows Phone 7 (WP7). My aim in writing this article is to highlight how the XAML based technologies used for desktop, web and mobile allow you to share large quantities of code and cost-effectively distribute your application on a range of devices.



XAMLFinance – A Cross-platform WPF, Silverlight & WP7 Application - CodeProject
Enhanced by Zemanta

Friday, September 16, 2011

vb.net - ComAutomationFactory - Stack Overflow

.Net Framework LogoImage via WikipediaIntroduction to the article

I'm trying to use the ComAutomationFactory class in VB .NET the example im working from is c# and is working fine but my project doesn't compile and says this class is not defined??
also what is the return type? in the c# example it returns a type of dynamic but this type does not exist in vb .NET?


vb.net - ComAutomationFactory - Stack Overflow
Enhanced by Zemanta

UI Automation in Silverlight - Simulating User Interactions - gaisen - Site Home - MSDN Blogs

Silverlight LogoImage via WikipediaIntroduction to article

I was recently tasked with automating Silverlight Rich Internet Applications (RIAs) in our immediate group. Some tools out there provide limited assistance in this regard; for example, you can write unit tests against your Silverlight controls for in-proc testing. You can read more about that approach here: http://www.jeff.wilcox.name/2008/03/31/silverlight2-unit-testing/


UI Automation in Silverlight - Simulating User Interactions - gaisen - Site Home - MSDN Blogs
Enhanced by Zemanta

Cutting Edge Silverlight4 COM+ Features - Justin myJustin = new Silverlight.Expert.Justin();

Silverlight LogoImage via WikipediaHere is an invaluable blog article about how to use Silverlight 4 in Out-of-Browser to get effects that take advantage of the protected status that gives you a lot more openness to the operating system.

Cutting Edge Silverlight4 COM+ Features - Justin myJustin = new Silverlight.Expert.Justin();
Enhanced by Zemanta

Thursday, September 15, 2011

How to Compress Several Pages into One page to Print in Silverlight - CodeProject

Silverlight LogoImage via WikipediaIntroduction to Article

In this article, I will introduce the method to compress several pages contents in one page and print this page in Silverlight.


How to Compress Several Pages into One page to Print in Silverlight - CodeProject
Enhanced by Zemanta

Wednesday, September 14, 2011

Installing Oracle 11g XE (Express Edition) - CodeProject

Introduction to Article

Oracle 11g XE is a free edition of Oracle database which supports most of the functionality of Standard edition. 11g XE is available (at least) for Windows and Linux.

As with all free versions of databases, also XE has limitations:

  • The maximum database size is 11 GB
  • The maximum amount of RAM XE can use is 1 GB
  • Only one instance of Oracle XE can be installed on a single computer
  • XE uses only a single CPU so it does not distribute operations between several CPU’s


Installing Oracle 11g XE (Express Edition) - CodeProject
Enhanced by Zemanta

Sunday, September 11, 2011

Play AVI files in Silverlight 5 using MediaElement and MediaStreamSource - P/Invoke - CodeProject

Introduction to the Article

Silverlight 4 did not have P/Invoke support for calling native functions; Silverlight 5 does (see Pete Brown's blog for more details http://10rem.net/blog/2011/09/01/silverlight-5-rc-now-available). Our objectives for this HowTo article is no different from my previous article with almost exactly the same Title. That article dealt with COM support. It is important to go through that article first - most of the steps covered there won't be covered here (CustomMediaStreamSource.aspx).

So in short, just as the previous article, this HowTo article tries to demostrate the power of the MediaElement and MediaStreamSource classes with P/Invoke support to call native code to play an AVI video.


Play AVI files in Silverlight 5 using MediaElement and MediaStreamSource - P/Invoke - CodeProject
Enhanced by Zemanta

Wednesday, September 7, 2011

Transformers G1 : Awakening Android Download Game v1.0.0

Hey, there is a Transformers G1 game for Android! I don't really like turn-based battle in a video game but on the plus side it is Transformers!


Transformers G1 : Awakening Android Download Game v1.0.0
Enhanced by Zemanta