WCF som lösning för kommunikation mellan applikationer för 32- respektive 64-bitars ordlängd
Bäckström, Niklas (2013)
Bäckström, Niklas
Arcada - Nylands svenska yrkeshögskola
2013
All rights reserved
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2013061714286
https://urn.fi/URN:NBN:fi:amk-2013061714286
Tiivistelmä
Avsikten med detta examensarbete är att utreda hur Windows Communcation Founda-tion(WCF) passar för att lösa problemet med att använda 32-bitars komponenter i 64-bitars applikationer. Problemet är att 64-bitars applikationer inte direkt kan använda sig av 32-bitars komponenter utan det krävs en applikation eller tjänst som förmedlar kom-munikationen. Examensarbetet är uppdelat i en teoretisk och en praktisk del. Den teore-tiska delen berättar vad tjänster och WCF är och hur de fungerar. Teoretiska delen går även in på hur en WCF tjänst och klient kan konfigureras. I den praktiska delen visas hur kommunikation mellan processer på en dator kan implementeras med hjälp av WCF. Den praktiska delen är programmerad i C# och i märkningspråket XML. Slutsatsen av exa-mensarbetet är att WCF mycket väl kan användas som en metod för interprocesskommu-nikation mellan två komponenter på en dator. The purpose of this thesis is to explore how Windows Communication Foundation(WCF) suits to solve the problem of using 32-bit components in 64-bit applications. The problem is that 64-bit applications can't directly make use of 32-bit components without an appli-cation or service that mediates the communication. The thesis is divided into a theoretical and a practical part. The theoretical selection describes what services and WCF are and how they work. The theoretical part also shows how a WCF service and client can be configured. The practical part demonstrates the implementation of inter-process commu-nication using WCF. The practical example is programmed in C# and the markup lan-guage XML. The conclusion of the thesis is that WCF is well suited for inter-process communication between two components within a computer.