Migrating to .NET Standard

Migrating to .NET Standard

Postby Leslie » Sun May 14, 2017 11:27 pm

Migrating to .NET Standard

After years of targeting .NET Framework 4.5 (Portable Class Libraries) Profile 259, we have now decided to move forward and upgrade our framework targets to .NET Standard 1.0 and .NET Standard 1.3 specification compliant platforms.

What is .NET Standard?

Why the migration?

  • Firstly, we pay heed to our developers and as many of you might have noticed, developers relying on our frameworks have requested support for .NET Core in our Forum which is a subset of API implementations supported by .NET Standard specification.
  • Secondly, it is time to move on to a better stable framework target that is consistent throughout multiple platforms. One of our goals is to make our frameworks as platform independent as possible and .NET Standard is the next step towards portable frameworks.
  • Lastly, Microsoft has officially ended support for .NET Framework 4.5 since January 2016. Which also suggests that it is high time to move to .NET Framework 4.6 and above.

Note: Majority of our portable frameworks will now target .NET Standard 1.0 specification compatible platforms. Except Syn.Bot Framework which will target both PCL Profile 259 and .NET Standard 1.3

How does this affect Developers?

In 2 Words - "Not Much".

As .NET Standard 1.0 is fully compatible with our frameworks that were previously targeting PCL Profile 259 you wouldn't have to make any changes to your current project to reference newer versions of our frameworks.

Syn Bot Framework however, is going to dual target PCL Profile 259 and .NET Standard 1.3 for the next couple of months till support for PCL Profile 259 is dropped before the end of the year.

Developers who wish to use Syn Bot Framework in .NET Core 1.0 or above will have to ensure that their projects target .NET Framework 4.6 or above.

Some Common Q/A

  • Question: My project targets previously released version of your framework. Do I need to make any changes to my project to update to newer versions?
    Answer: No. You do not have to make any changes to your project.
  • Question: Will the frameworks still support the previously targeted platforms (Windows, Linux, macOS, iOS, Android)?
    Answer: Yes. All newer versions will still work in previously supported platforms.
  • Question: My project uses Syn Bot Framework and I now want to use it in a .NET Core project. Are their any changes I would need to make to my project?
    Answer: Especially for supporting .NET Core 1.0 and above we are dual targeting Syn Bot Framework with PCL Profile 259 and .NET Standard 1.3. To use it in a .NET Core based project you will have to ensure that your project targets .NET Framework 4.6 or above.
  • Question: What about other non-portable frameworks developed by Syn? Will they too be migrated to .NET Standard?
    Answer: We are currently focusing only on portable frameworks that we've developed so far. Non-Portable frameworks will continue to target currently supported platforms.
  • Question: When is the migration to .NET Standard supposed to start?
    Answer: The migration has already started and we plan to finish the migration by 22nd of May 2017.
  • Question: What would be your recommendation for developing .NET based applications from now on?
    Answer: Though this may be a debatable recommendation. For .NET Applications (WPF, Console and WinForms) we recommend targeting .NET Framework 4.6 or above and for Class Libraries we recommend basing your project on .NET Standard 1.3 or above specification. We also recommend using Visual Studio 2017 as it comes with tons of improvements and features when compared to Visual Studio 2015.

Edit: The final migration completion date has been postponed and will be completed by first week of June 2017. Also Syn Bot Framework will target .NET Framework 4.5, .NET Framework 4.6, .NET Standard 1.0 and .NET Standard 1.3
User avatar
Leslie
Lead Software Architect
 
Posts: 273
Joined: Fri Sep 14, 2012 12:20 pm

Re: Migrating to .NET Standard

Postby Archi » Mon May 22, 2017 12:03 am

You might want to look into this bug regarding migration to .NET standard, thanks! :)
Archi
Expert
 
Posts: 19
Joined: Wed May 03, 2017 11:13 pm

Re: Migrating to .NET Standard

Postby FreakShow » Sat Jun 03, 2017 8:53 am

its first week of june ;) cant wait for the stable syn bot 2.1

I heard javascript will not be available in .net standard 1.0 projects? is it true? I am on .net standard 1.4 will my js work?
FreakShow
Pro
 
Posts: 42
Joined: Fri Apr 05, 2013 1:20 am

Re: Migrating to .NET Standard

Postby Leslie » Sat Jun 03, 2017 6:15 pm

Yes that is true indeed. Only projects targeting .NET Standard 1.0 will not support JavaScript, the rest of the targeted platforms (.NET 4.5, .NET 4.6 and .NET Standard 1.3 and above) will support JavaScript.
User avatar
Leslie
Lead Software Architect
 
Posts: 273
Joined: Fri Sep 14, 2012 12:20 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest
cron