DotnetConf 9/10/2018 7:49 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.

Slides:



Advertisements
Similar presentations
61% YoY Growth.NET Active Developers (VS 2012+) 40%.NET Core downloads by new developers 62% GitHub contributions from outside of Microsoft (corefx.
Advertisements

Building Azure Mobile Apps
What is it all about? .NET MeetUp in Prague, CZ (2017/7/19)
11/12/ :06 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
GrapeCity Build Experiences with Enterprise-level Tools and Solutions
DevOps with ASP.NET Core and Entity Framework Core
12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modernizing your. NET applications with. NET Standard,
The Xamarin Promise - Realized
Unleash .NET 2015 in your apps
Getting started with .NET Core
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite /16/2018 3:12 PM BRK2119
Microsoft /23/2018 8:20 PM THR3038 Implement dev and test scenarios using Azure and Visual Studio Team Services Alex Mang Azure MVP © 2016 Microsoft.
Introduction to ASP.NET 2.0
ASP.NET Core: Web apps, cloud apps, and containers
6/2/2018 4:08 AM BRK3327 Ten things you didn't know about building .NET UWP apps in Visual Studio 2017 Daniel Jacobson Program Manager – Visual Studio.
Building Custom Application With Office Add-Ins for OneNote
Windows Developer Day Fall Creators Update October 10, 2017.
The Modern ASP.NET Tech Stack!
Discover the New SharePoint Content Publishing Experiences
Getting Started with Visual Studio Tools for Tizen
Windows Azure Jason Olson, Program Manager 4-142
Did your feature got in, out or planned?
Building Innovative Apps using the Microsoft Developer Platform
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
ASP.NET in Linux and Windows containers
Modern Web Development
Microsoft Build /13/2018 2:24 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
DNN Connect 2017 Microsoft Keynote
Introducing ASP.NET Core 2.0
Microsoft Virtual Academy
1.1. .NET architectural components and .NET Core
Modernizing App Experiences
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
.NET Standard Jon Galloway | Executive Director, .NET |
Explore web development with Microsoft ASP.NET Core 1.0
What is it all about? .NET MeetUp in Amsterdam, NL (2017/7/11)
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Building Modern Web Apps with ASP.NET MVC 6
Sviluppo mobile con Visual Studio OnLine
Explore web development with Microsoft ASP.NET Core 1.0
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Overview of the .NET Platform
Microsoft Ignite /14/ :21 AM BRK2101
Microsoft Build /14/ :29 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Build /15/2018 6:28 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
DotnetConf 11/17/ :06 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Office 365 Development July 2014.
Learn. Imagine. Build. .NET Conf
Hosted Web Apps with Windows App Studio
Microsoft Connect /1/2018 2:36 AM
Office 365 Development July 2014.
Tech Ed North America /1/ :36 AM Required Slide
1/2/2019 9:19 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Microsoft Build /2/2019 6:45 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
2/24/2019 6:15 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Build /27/2019 2:26 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
SharePoint Development
Microsoft Build /8/2019 6:29 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
4/12/2019 5:27 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Learning with Xamarin Workbooks
Martin MSBuild Martin
Martin A. NuGet Deep Dive Martin A.
Build /15/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Introduction to ASP.NET Parts 1 & 2
Blazor A new framework for browser-based .NET apps Ryan Nowak
11/11/2019 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
What’s ASP.NET 5 and Why? Scott Hunter | Director of Program Management Scott Hanselman | Principal Program Manager.
DevOps for Desktop Apps
Presentation transcript:

dotnetConf 9/10/2018 7:49 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

NuGet Deep Dive: Accelerating your .NET Development dotnetConf 9/10/2018 7:49 PM NuGet Deep Dive: Accelerating your .NET Development Harikrishna Menon Senior Program Manager – NuGet @devatmic © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What is NuGet? Package manager for Microsoft Dev Platforms Share Code dotnetConf 9/10/2018 7:49 PM What is NuGet? Package manager for Microsoft Dev Platforms Easy to use package manager for .NET - C#, VB, F#, C++/CLI Share Code Share code across your teams by building commonly used pieces of functionality and sharing it out Have fine grained dependency management Accelerate your development Use open source libraries that fit your licensing needs to accelerate your development Stop reinventing the wheel Open Source Nuget is open source from day 1 and guess what, we accept contributions! © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Creating and Publishing NuGet packages dotnetConf 9/10/2018 7:49 PM Creating and Publishing NuGet packages © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Notes: Please welcome the .NET Standard Library [explain details]

dotnetConf 9/10/2018 7:49 PM Community Tools NuGet Package Explorer: Explore packages and build them visually NuSpec Reference Generator: Generate dependencies for nuspec NuProj: Advanced nuget package creator with VS integration © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Publishing your package dotnetConf 9/10/2018 7:49 PM Publishing your package © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Publishing Options Public Private NuGet.Org NuGet.Server VSTS dotnetConf 9/10/2018 7:49 PM Publishing Options Public Private NuGet.Org NuGet.Server VSTS 3rd party © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Other Package Management Options dotnetConf 9/10/2018 7:49 PM Other Package Management Options Host your own NuGet Gallery If you want to, you can pretty much re-host NuGet.org in your domain and with custom branding Other 3rd party package management products myget ProGet Nexus Repository Artifactory and more… © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Packaging Scenarios dotnetConf 9/10/2018 7:49 PM More Packaging Scenarios Bait and Switch packages Enables access to native implementation from a PCL Native implementation exposed through a reference assembly for a PCL Solution level packages Installs a tool or additional commands for the Package Manager console No longer supported in 3.0.0 and above Meta Packages Packages that don’t have any content except for its dependencies Easier for customers to consumer a SDK as a whole instead of individual packages Creating packages during Build Easily add a AfterBuild Task to your csproj that can create a NuGet package after successful builds <Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'"> <Exec Command="nuget pack myproject.csproj -Prop Configuration=Release“/></Target> © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Moving to Project.json dotnetConf 9/10/2018 7:49 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Why project.json? Global packages Transitive restore dotnetConf 9/10/2018 7:49 PM Why project.json? Disclaimer: project.json will evolve to live inside MSBUILD projects by end of the year. Upgraders are in plan. Global packages Shared packages folder for project.json based projects. Faster restores! Transitive restore Only direct dependencies are added to project.json, indirect dependencies are pulled in during restore P2P dependency flow No need to install reference project dependencies on top level projects. Dependencies flow automatically Better Security Scripts don’t modify your system, VS or project © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

packages.config to project.json dotnetConf 9/10/2018 7:49 PM packages.config to project.json > BACKUP csproj and packges.config > uninstall the packages from UI or PMC > delete packages.config > remove references to assemblies in csproj > create a project.json in the root of your project > add dependency > build (restores packages) { "dependencies": {}, "frameworks": { "net45": { } }, "runtimes": { "win": { } } } { "dependencies": {"Newtonsoft.Json": "7.0.1" }, "frameworks": { "net45": { } }, "runtimes": { "win": { } } } © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

a less complex way to do this  dotnetConf 9/10/2018 7:49 PM a less complex way to do this  coming this summer!!! © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Sharing code in .NET today and tomorrow dotnetConf 9/10/2018 7:49 PM Sharing code in .NET today and tomorrow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET today—app models and libraries .NET FRAMEWORK .NET CORE XAMARIN MODELS APP LIBRARIES BASE Compilers Languages Runtime components COMMON INFRASTRUCTURE Base Class Library Core Library Mono Class Library ASP.NET Windows Forms WPF UWP ASP.NET Core iOS Android OS X Challenges Difficult to reuse skills Need to master 3+1 base class libraries Difficult to reuse code Need to target a small common denominator Difficult to innovate Need implementations on each platform Notes: Even if we are reusing a lot across components (especially with the open sourcing last year), the reality is that each platform has its own implementation of the base libraries. Note: .NET Framework BCL and Mono BCL are the same APIs, different implementation. .NET Core “Core Library” is a similar set of APIs, but different.

COMMON INFRASTRUCTURE .NET tomorrow Compilers Languages Runtime components COMMON INFRASTRUCTURE XAMARIN iOS Android OS X .NET STANDARD LIBRARY One library to rule them all .NET FRAMEWORK ASP.NET Windows Forms WPF .NET CORE UWP ASP.NET Core Reuse skills Master one library, not a platform Reuse code Big surface area - no small common denominator Faster innovation .NET Standard can grow without updating platforms Notes: Please welcome the .NET Standard Library [explain details]

.NET CLI The new modern way of creating nuget packages with .NET CLI dotnetConf 9/10/2018 7:49 PM .NET CLI The new modern way of creating nuget packages with .NET CLI > dotnet new > dotnet restore > code . > {{CODE ON, EDIT METADATA}} > dotnet pack Easily create single assembly nuget packages targeting netcoreapp or netstandard (Modern PCL) © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What's next for NuGet dotnetConf 9/10/2018 7:49 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Coming up soon…. NuGet Clients NuGet.org Docs Semver 2.0.0 dotnetConf 9/10/2018 7:49 PM Coming up soon…. Plans subject to change . Once we finalize, it will be posted in our wiki https://github.com/Nuget/Home/wiki NuGet Clients Semver 2.0.0 NuGet Upgrader NuGet Package Source Analyzer NuGet Authoring Tools in VS/Xamarin Studio NuGet.org Staging Docs A much better doc story hosted at http://docs.microsoft.com, with samples, getting started guides, videos and more © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

resources docs: http://docs.nuget.org blog: http://blog.nuget.org/ dotnetConf 9/10/2018 7:49 PM resources docs: http://docs.nuget.org blog: http://blog.nuget.org/ contribute: http://docs.nuget.org/contribute issues: https://github.com/Nuget/Home (client), https://github.com/NuGet/NuGetGallery (gallery) feedback: feedback@nuget.org @nuget © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

dotnetConf 9/10/2018 7:49 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.