3

I'm creating a new ASP.NET Core 1.0 application targeting the full .NET Framework 4.6.1.

Because I'll be running this app on Azure, I don't want to target the new .NET Core framework. I don't need to worry about running it on other platforms.

I now need to add a couple of class library projects to my solution to handle some back end functions. Which class library should I choose?

enter image description here

P.S. I'm using Visual Studio 2015 with Update 3 and as I mentioned, this will be an ASP.NET Core 1.0 app targeting .NET Framework 4.6.1 that will run as a WebApp on Azure.

1
  • Go with Class Library (2nd option), comes with less stuff easier to manage if you don't need everything. Seems for your purpose it should be fine. Commented Jul 28, 2016 at 21:42

1 Answer 1

2

If you will only be ever targeting .NET Framework 4.6.1 on Windows, just go with the normal Class Library template.

If you want to future-proof your code, use the Class Library (.NET Core) template and target netstandard1.3 or higher in your library.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.