+ All Categories
Home > Software > Microsoft

Microsoft

Date post: 12-Apr-2017
Category:
Upload: john-patrick-oliveros
View: 571 times
Download: 2 times
Share this document with a friend
11
Microsoft <3 Linux with ASP.NET Core (true love or bad romance?) Patrick Oliveros Microsoft MVP Visual Studio and Development Technologies
Transcript
Page 1: Microsoft

Microsoft <3 Linux with ASP.NET Core

(true love or bad romance?)

Patrick OliverosMicrosoft MVP Visual Studio and Development Technologies

Page 2: Microsoft

agenda• Cross Platform Landscape• Why ASP.NET on Linux?• .NET Core• ASP.NET Core• Working on Linux• Set-up• Deployment

• Questions

Page 3: Microsoft

cross platform landscapeMicrosoft .NET Mono .NET Core

Run Windows Run Linux / OSX Run Android/iOS Mature Open Source

Page 4: Microsoft

.net core• Complete re-implementation of .NET• Thousands of semi-independent libraries• Modular• Current in pre-release / heavy development• Open Source / MIT license

Page 5: Microsoft

asp.net core

Page 6: Microsoft

which to choose?

To be clear, ASP.NET 4.6 is the more mature platform. It's battle-tested and released and available today. ASP.NET Core 1.0 is a 1.0 release that includes Web API and MVC but doesn't yet have SignalR or Web Pages. It doesn't yet support VB or F#. It will have these subsystems some day but not today.

- Scott Hanselman(http://www.hanselman.com/blog/ASPNET5IsDeadIntroducingASPNETCore10AndNETCore10.aspx)

Page 7: Microsoft

setting up asp.net core on linux• docs.asp.net• Install/update the following packages• Bower• Grunt• grunt-cli• Npm• Yo*• Git• gulp

Page 8: Microsoft

demo

Page 9: Microsoft

watch out!• As of today, use Mono 4.0.5 instead of the current

release.

• Issues Reported:• https://github.com/aspnet/Home/issues/1181• https://github.com/aspnet/KestrelHttpServer/issues/406• https://github.com/aspnet/Home/issues/1093

Page 10: Microsoft

watch out! – mono issues

Page 11: Microsoft

references• get.asp.net• docs.asp.net• trails sample project• https://github.com/spboyer/trails

• setup asp.net core in Ubuntu• http://blog.jsinh.in/hosting-asp-net-5-web-application-on-

linux/#.VsW2bfJ94Rm• take note of the caveat indicated in the talk. see this link for

more information:• http://www.shrayas.com/asp-net-5-npgsql-linux-mono-4-2.html


Recommended