Download - Software components With special focus on DLL Software components1.

Transcript
Page 1: Software components With special focus on DLL Software components1.

Software components 1

Software componentsWith special focus on DLL

Page 2: Software components With special focus on DLL Software components1.

Software components 2

Component-based software engineering• Separation of concerns• Encapsulation• Substituable

• Components can replaces each other, provided they have the same interface• Reusability

• Components can be used in different applications

• Service-orientation • Components service applications• Components are placed on the host computer or accessed through a network

(ex. web services)

Page 3: Software components With special focus on DLL Software components1.

Software components 3

General requirements

• Components must be• Fully documented• Thoroughly tested• Designed to be used in different context/applications

Page 4: Software components With special focus on DLL Software components1.

Software components 4

Microsoft DLL/class libraries

• DLL = Dynamic Link Library• Aka. C# class libraries

• Microsoft components• Class libraries, useful with• desktop applications

• Portable class libraries useful with • desktop applications• Windows Phone application• Window Store applications• More platforms, less API can be used in a portable class library

Page 5: Software components With special focus on DLL Software components1.

Software components 5

References and further readings

• Wikipedia Component-based software engineering• https://en.wikipedia.org/wiki/Component-based_software_engineering

• Rizan Ali Creating a Library Using Visual Studio 2015• http://www.c-sharpcorner.com/UploadFile/66489a/creating-C-Sharp-class-lib

rary-dll-using-visual-studio-2015-pre/

• MSDN Cross-Platform Development with the Portable Class Library• https://msdn.microsoft.com/en-us/library/gg597391.aspx