none
About .Net Standard RRS feed

  • Question

  • Hello!

    I have some reflective questions:

    1.
    What is the benefit to use .net standard?

    2.
    What context is recommended to use .net standard?

    3.
    When should you use .net standard?

    4.
    Do you have a sample when you use .net standard in relation to the existing solution and its project?

    Thank you!
    Sunday, November 3, 2019 8:01 AM

Answers

  • Hello,

    First check out the following page were no matter the app type the top reasons to use 

    • You have cross-platform needs.
    • You are targeting microservices.
    • You need high-performance and scalable systems.

    Then check out the FAQ page.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Sunday, November 3, 2019 10:13 AM
    Moderator
  • Hi Sakura Data,

    Thank you for posting here.

    >> What is the benefit to use .net standard?

    .NET Standard's library is a library that combines APIs from .NET Framework, .NET Core, and Xamarin allowing engineers to use a single base class library rather than mastering three different ones related to each .NET implementation. This step unified the ecosystem and brought a higher consistency into reusing components across different platforms.

    >> What context is recommended to use .net standard?

    >> When should you use .net standard?

    As Kareninstructor suggested, you have cross-platform needs and so on.

    You should be able to use the same .NET Standard interface on any of these .NET platforms:


    >> Do you have a sample when you use .net standard in relation to the existing solution and its project?

    Here's a reference you can refer to.

    Create and consume a .Net Standard Library in .Net Framework and .Net Core Applications

    Besides, you can also refer to the following references about .NET Standard.

    1. .NET Standard
    2. .NET Standard 2.0 - Making Sense of .NET Again

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Wednesday, November 6, 2019 7:06 AM
    Moderator

All replies

  • Hello,

    First check out the following page were no matter the app type the top reasons to use 

    • You have cross-platform needs.
    • You are targeting microservices.
    • You need high-performance and scalable systems.

    Then check out the FAQ page.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Sunday, November 3, 2019 10:13 AM
    Moderator
  • https://www.infoq.com/news/2017/10/dotnet-core-standard-difference/

    <copied>

    .NET Standard

    Each implementation of the managed framework has its own set of Base Class Libraries. The Base Class Library (BCL) contains classes such as exception handling, strings, XML, I/O, networking, and collections.

    .NET Standard is a specification for implementing the BCL. Since a .NET implementation is required to follow this standard, application developers will not have to worry about different versions of the BCL for each managed framework implementation.

    The relationship between .NET Standard and a .NET implementation is the same as between the HTML specification and a browser. The second is an implementation of the first.

    Hence, the .NET Framework, Xamarin, and .NET Core each implement .NET Standard for the BCL in their managed framework. Since the computer industry will continue to introduce new hardware and operating systems, there will be new managed frameworks for .NET. This standard allows application developers to know that there will be a consistent set of APIs that they can rely on.

    Each .NET version has an associated version of the .NET Standard.

    <end>

    Sunday, November 3, 2019 11:06 AM
  • Hi Sakura Data,

    Thank you for posting here.

    >> What is the benefit to use .net standard?

    .NET Standard's library is a library that combines APIs from .NET Framework, .NET Core, and Xamarin allowing engineers to use a single base class library rather than mastering three different ones related to each .NET implementation. This step unified the ecosystem and brought a higher consistency into reusing components across different platforms.

    >> What context is recommended to use .net standard?

    >> When should you use .net standard?

    As Kareninstructor suggested, you have cross-platform needs and so on.

    You should be able to use the same .NET Standard interface on any of these .NET platforms:


    >> Do you have a sample when you use .net standard in relation to the existing solution and its project?

    Here's a reference you can refer to.

    Create and consume a .Net Standard Library in .Net Framework and .Net Core Applications

    Besides, you can also refer to the following references about .NET Standard.

    1. .NET Standard
    2. .NET Standard 2.0 - Making Sense of .NET Again

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Wednesday, November 6, 2019 7:06 AM
    Moderator
  • Hi Sakura Data,

    Is your problem solved? If so, please click "Mark as answer" to the appropriate answer, so that it will help other members to find the solution quickly if they face a similar issue.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, November 22, 2019 9:59 AM
    Moderator