Download presentation
Presentation is loading. Please wait.
Published byΔορκάς Πολίτης Modified over 6 years ago
1
Social Media And Global Computing Using DLLs with MVC
2
Making Use of Stand-alone Components
Classes can be compiled and stored as a dynamic link library (DLL) instead of into the EXE file type Adds a reference to the DLL That referenced file with the .dll extension becomes part of the application’s private assembly
3
Add Reference to Standard Libraries
Right-Click on References Then select Add Reference
4
Add Reference to Standard Libraries
Use Browse Tab to locate DLL
5
Add Reference to Standard Libraries
Select Your DLL Then It is listed in your References
6
Using DLLs in your Application
DLL components can be reused with many different applications Two Steps Add a reference to the DLL components Include a ‘using’ statement with the namespace Then declare an objects of the component type(s) Use members of the referenced classes in the Library. For Example: using ChatBot; . . . Doctor myBot = new Doctor(); string answer = myBot.AskDoctor(sentence);
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.