locked
what is difference among the library, framework and SDK in concept RRS feed

  • Question

  • User88744855 posted

    apologized that i am posting a question which is not related to c# rather it is generic type. here i am posting this because i do not know which forum is appropriate for this question. it would be great if some one discuss like what is difference among the library, framework and SDK in concept ?

    what should be very definition of library and when something should consider as framework and which one should be consider as SDK. just discuss this and difference among them. thanks

    Tuesday, November 4, 2014 2:32 AM

Answers

  • User724169276 posted

    Hello Mouu,

    I will try to give you an idea about these names:

    • SDK : (Software Development Kit)             

    A software development kit (SDK) is a collection of APIs that you can reference as a single item in Visual Studio. The Reference Manager dialog box lists all the SDKs that are relevant to the project. When you add an SDK to a project, the APIs are available in Visual Studio.

    There are two types of SDKs:

    • Platform SDKs are mandatory components for developing apps for a platform. For example, the Windows 8.1 SDK is required to develop Windows Store apps.

    • Extension SDKs are optional components that extend a platform but aren’t mandatory for developing apps for that platform.

    http://msdn.microsoft.com/en-IN/library/hh768146.aspx

    • Library:

    A library includes a subset of namespaces that allow you to create ASP.NET Web sites, components, and controls. Basically a library is a collection of namespaces.

    http://msdn.microsoft.com/en-us/library/ms644559(v=vs.85).aspx

    • Framework:

    A framework is the collection of all library classes which is often known an Framework class library.Framework is the heart of ASP.NET development.

    http://en.wikipedia.org/wiki/.NET_Framework

    Hope This Helps. :)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 4, 2014 2:44 AM

All replies

  • User724169276 posted

    Hello Mouu,

    I will try to give you an idea about these names:

    • SDK : (Software Development Kit)             

    A software development kit (SDK) is a collection of APIs that you can reference as a single item in Visual Studio. The Reference Manager dialog box lists all the SDKs that are relevant to the project. When you add an SDK to a project, the APIs are available in Visual Studio.

    There are two types of SDKs:

    • Platform SDKs are mandatory components for developing apps for a platform. For example, the Windows 8.1 SDK is required to develop Windows Store apps.

    • Extension SDKs are optional components that extend a platform but aren’t mandatory for developing apps for that platform.

    http://msdn.microsoft.com/en-IN/library/hh768146.aspx

    • Library:

    A library includes a subset of namespaces that allow you to create ASP.NET Web sites, components, and controls. Basically a library is a collection of namespaces.

    http://msdn.microsoft.com/en-us/library/ms644559(v=vs.85).aspx

    • Framework:

    A framework is the collection of all library classes which is often known an Framework class library.Framework is the heart of ASP.NET development.

    http://en.wikipedia.org/wiki/.NET_Framework

    Hope This Helps. :)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 4, 2014 2:44 AM
  • User-434868552 posted

    @mou_inn

    multiple definitions are possible ... this is my understanding:

    it's hard to pin down; in c# a library file is a .dll ... a small library might be a single .dll; a very large library might contain many .dll files, for example, a graphics library wherein all of the .dll files pertain to graphics ... basically, a library is very specialized.

    Frameworks also vary in size, for example, a unit testing framework like xUnit.net has a cohesive purpose which is to allow the creation and running of unit tests.  OTOH, the hugest framework that a c# programmer will encounter in the .NET Framework.  a fair guess is that 90% or more of what most programmers might want to accomplish can be done with the .NET Framework.

    boundaries are fuzzy and you should read http://en.wikipedia.org/wiki/Software_development_kit -- put simply a Software Development Kit allows one to develop specific purpose software ... for example "Microsoft Robotics Developer Studio 4" can be thought of an SDK for developing robotics applications.  While developing your robotics applications, you will be using parts of the .NET Framework in your efforts; you may also choose xUnit.net to unit test the additional .NET code that you craft as part of your project.  You might even write a small library for your project to predict battery levels.

    Tuesday, November 4, 2014 3:16 AM