Top Rated Most Recent. Accept Solution Reject Solution. Totally pointless question. If someone manages to "answer" this invalid question which cannot be reasonably answered of course , it won't help you.
Why invalid? You need to understand that words or "answers" do not mean knowledge. Could this discussion on good or valid questions help? See: How to ask a good question? Posted 7-Feb pm Sergey Alexandrovich Kryukov. Uday P. Singh 8-Feb am. Thank you, Uday, but please remember: I did not say that, you did :- --SA. Therefore, Dll is assembly file which hold data structures, object classes.
API is the located in Dll also. Thank You. Posted 7-Feb pm SayreCC. Posted 7-Feb pm uspatel. Add your solution here. OK Paste as. Treat my content as plain text, not as HTML. Sorry, I don't exactly understand what "official" here represents but let me give an example.
Consider a recommendation service, it is currently embedded in the web app, so my UI layer composes object of BL and uses it accordingly to show the output.
We also have created a web API to expose this functionality to some other 3rd party apps, not within our control. Since it is a layered architecture, we get the DLL of each layer too. Now I want to use recommendation in our new internal jobs, let's say to send emails to client. What should be done in this case — nak. Add a comment. Active Oldest Votes. Based on comments A DLL is usually easier for an inexperienced developer to produce - point for DLL thanks to yawar-murtaza but it must be remembered that it will only be made for and tested on the system s that they have available In the case of long operations an API call can time out thanks to myroman but a DLL can give the appearance of the machine locking up Im calling that a draw.
Improve this answer. Steve Barnes Steve Barnes 5, 1 1 gold badge 14 14 silver badges 17 17 bronze badges. It doenst require any extra operations over head like setting up a new web application and maintaining it - Point for DLL.
I think it was mentioned in the post, but to make it more clear, For cases when BL is doing some long running operation, http call to an API can fail because of timeout - Point for DLL. YawarMurtaza - good point I have added and entry based on it to the answer.
This is a very nice comparison. Sign up or log in Sign up using Google. Sign up using Facebook. Add a comment. Active Oldest Votes. Improve this answer. Carthic 91 8 8 bronze badges. Michael Borgwardt Michael Borgwardt k 75 75 gold badges silver badges bronze badges.
That is a great answer! Thank you very much indeed : — imahan. APIs are merely functions which can be called by user processes, what about this? Most platforms have their own mechanisms. This is the best answer imo. Worth noting that APIs can also be used as a guideline for implementers of the code library, not just for clients of it. Mono as an alternative. Net Framework class library. Same API, diff. David Heffernan David Heffernan k 40 40 gold badges silver badges bronze badges.
Chathuranga Chandrasekara Chathuranga Chandrasekara That is in other words, are APIs merely functions which can be called? Well, This is an example. This is from Sharepoint API. But this is delivered as a DLL file. I mean the every API should be presented delivered to the user in some format.
DLL is a concrete, technical file format. Michael - Good explanation. DaedalusFall DaedalusFall 7, 6 6 gold badges 28 28 silver badges 42 42 bronze badges. Mudassir Mudassir Of course i can browse through wikipedia and find out answers, I am here because i didn't understand what is said there!
See my updated answer. APIs make application development independent of underlying library implementations. Example: if you write a program in C to print "Hello World". BMW 1, 1 1 gold badge 11 11 silver badges 23 23 bronze badges. Vishwanath Teggihalli Vishwanath Teggihalli 11 1 1 bronze badge.
0コメント