SlideShare a Scribd company logo
joe.raio@microsoft.com
Getting Started with ASP.net Core 1.0
Joe Raio
Senior Technical Evangelist
DX Audience
Joe.Raio@Microsoft.com
joeraio.com
@joescars
About Me: Based in Ft. Lauderdale,
FL. Recently Married. I love Music,
Aviation and all things Technology
Getting Started with ASP.net Core 1.0
Getting Started with ASP.net Core 1.0
ASP.NET Core 1.0
ASP.NET 2015 in a Nutshell
.NET Framework 4.6 .NET Core 1.0
Full .NET Framework for any scenario and
library support on Windows
Modular libraries & runtime optimized for
server and cloud workloads
What about ASP.NET 5?
ASP.NET Core 1.0 was previously called ASP.NET 5
It was renamed in January 2016
Announcement post
More details
You’ll still see it referred to as ASP.NET in Visual Studio and in some docs
Will be updated in next ASP.NET Core Release Candidate
Now MVC and Web API
are just features of
ASP.NET Core
ASP.NET Core 1.0
One set of concepts – remove duplication
Web UI and Web APIs
Smooth transition from Web Pages to MVC (future)
Built DI first
Runs on IIS or self-hosted
ASP.NET Core 1.0 – Key Values
Choose your Editors
and Tools
Open Source
with Contributions Cross-PlatformOSS
Seamless transition
from on-premises to cloud
Faster Development CycleTotally Modular
Fast
Getting Started with ASP.net Core 1.0
Demo
Getting started with ASP.NET Core 1.0
16
Demo
Creating an ASP.NET Core 1.0 project
Getting Started with ASP.net Core 1.0
Getting Started with ASP.net Core 1.0
Getting Started with ASP.net Core 1.0
Demo
Working with ASP.NET Core 1.0 on Mac OSX
Mono
Visual Studio Code
ASP.NET 5 for Mac OS X
https://docs.asp.net/en/latest/getting-
started/installing-on-mac.html
Getting Started with ASP.net Core 1.0
TagHelpers
HTML helpers expressed as tags
Ex. Instead of:
@Html.LabelFor(m => m.UserName, new { @class = "col-md-2 control-label" })
Write this:
<label asp-for="UserName" class="col-md-2 control-label"></label>
Easier to customize with additional attributes
Work seamlessly with the HTML editor
TagHelpers
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>Log in Form</legend>
<ol>
<li>
@Html.LabelFor(m => m.UserName)
@Html.TextBoxFor(m => m.UserName)
@Html.ValidationMessageFor(m => m.UserName)
</li>
TagHelpers
<form anti-forgery=“true“ validation-summary=“true” action="Create“>
<fieldset>
<legend>Log in Form</legend>
<ol>
<li>
<label for=“UserName”>
<input for=“UserName”>
<span validation-for="Name" style="color:blue" />
</li>
public interface ITagHelper
{
int Order { get; }
Task ProcessAsync(TagHelperContext context, TagHelperOutput output);
}
TagHelpers: Create Your Own
Examples:
https://github.com/aspnet/Mvc/tree/dev/src/Microsoft.AspNet.Mvc.TagHelpers
Getting Started with ASP.net Core 1.0
http://www.asp.net/vnext
http://get.asp.net
http://docs.asp.net
https://live.asp.net/
Getting Started with ASP.net Core 1.0
Joe.Raio@Microsoft.com
http://joeraio.com
http://azure.Microsoft.com
http://www.dreamspark.com
http://www.bizspark.com
Download this presentation:
http://aka.ms/sfcc2016joe

More Related Content

PDF
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
PPTX
ASP.NET Core: The best of the new bits
PPTX
ASP.NET Core 1.0 Overview
PPTX
.Net Core 1.0 vs .NET Framework
PPTX
ASP.NET Core Unit Testing
PDF
Moving ASP.NET MVC to ASP.NET Core
PPTX
Moving forward with ASP.NET Core
PPTX
ASP.NET Core MVC + Web API with Overview (Post RC2)
Getting Started with ASP.NET Core 1.0 (formerly ASP.NET 5)
ASP.NET Core: The best of the new bits
ASP.NET Core 1.0 Overview
.Net Core 1.0 vs .NET Framework
ASP.NET Core Unit Testing
Moving ASP.NET MVC to ASP.NET Core
Moving forward with ASP.NET Core
ASP.NET Core MVC + Web API with Overview (Post RC2)

What's hot (20)

PPTX
ASP.NET Core MVC + Web API with Overview
PPTX
A Whirldwind Tour of ASP.NET 5
PPTX
ASP.NET Core MVC + Web API with Overview
PPTX
Microsoft ASP.NET 5 - The new kid on the block
PPTX
.Net Core
PPTX
.Net Core - not your daddy's dotnet
PPTX
ASP.NET Core 1.0 Overview
PDF
Dot Net Core
PPTX
.NET Core: a new .NET Platform
PDF
Introduction to ASP.NET Core
PPTX
ASP.NET 5 Overview: Post RTM
PPTX
Microsoft &lt;3 Linux with ASP.NET Core
PPTX
Introduction to .NET Core & ASP.NET Core MVC
PPTX
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladores
PPTX
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
PPTX
What's New in ASP.NET Core 2.0
PPTX
ASP.NET 5 Overview for Apex Systems
PPTX
C#: Past, Present and Future
PPTX
Debugging your Way through .NET with Visual Studio 2015
ASP.NET Core MVC + Web API with Overview
A Whirldwind Tour of ASP.NET 5
ASP.NET Core MVC + Web API with Overview
Microsoft ASP.NET 5 - The new kid on the block
.Net Core
.Net Core - not your daddy's dotnet
ASP.NET Core 1.0 Overview
Dot Net Core
.NET Core: a new .NET Platform
Introduction to ASP.NET Core
ASP.NET 5 Overview: Post RTM
Microsoft &lt;3 Linux with ASP.NET Core
Introduction to .NET Core & ASP.NET Core MVC
Que hay de nuevo en 2013 en la plataforma Microsoft para desarrolladores
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
What's New in ASP.NET Core 2.0
ASP.NET 5 Overview for Apex Systems
C#: Past, Present and Future
Debugging your Way through .NET with Visual Studio 2015
Ad

Viewers also liked (14)

PPTX
ASP.NET Core 1.0 Overview: Post-RC2
PPTX
ASP.NET Core 1.0 Overview: Pre-RC2
PPTX
Introduction to .NET Core
PPTX
PPTX
Cross Platform Web Applications Using ASP.NET Core 1.0
PPT
Ais powerpoint (1)
PPTX
Building Real Time Applications with ASP.NET SignalR 2.0 by Rachel Appel
PPTX
TypeScript: Tényleg ez lenne a fájdalommentes JavaScript?
PPTX
IIS 7.5 webszerver újdonságok
PPTX
Windows a dobozban, avagy IoT fejlesztés C#-ban
PPTX
Prototípus-fejlesztés 3D nyomtatással (Balássy György és Takács Péter)
PPTX
Enterprise Developer Meetup bevezető (2015.01.28.)
PPTX
XXI. századi szoftverfejlesztés
PPT
ASP.NET Core 1.0 Overview: Post-RC2
ASP.NET Core 1.0 Overview: Pre-RC2
Introduction to .NET Core
Cross Platform Web Applications Using ASP.NET Core 1.0
Ais powerpoint (1)
Building Real Time Applications with ASP.NET SignalR 2.0 by Rachel Appel
TypeScript: Tényleg ez lenne a fájdalommentes JavaScript?
IIS 7.5 webszerver újdonságok
Windows a dobozban, avagy IoT fejlesztés C#-ban
Prototípus-fejlesztés 3D nyomtatással (Balássy György és Takács Péter)
Enterprise Developer Meetup bevezető (2015.01.28.)
XXI. századi szoftverfejlesztés
Ad

Similar to Getting Started with ASP.net Core 1.0 (20)

PDF
Asp-net
PPTX
What’s New and Hot in .NET 4.0
PPTX
Crack mcts.com
PPT
Aspnet2.0 Introduction
PPTX
ASP.NET Core 1.0: Understanding ASP.NET Core 1.0 (ASP.NET 5)
PPTX
What's New in Visual Studio 2010
PPTX
Novidades Do Asp.Net 4 E Do Visual Studio 2010
PDF
Net Framework vs .Net Core A Complete Comparison.pdf
DOC
Asp.Net Tutorials
PDF
Murach: An introduction to web programming with ASP.NET Core MVC
PDF
Pottnet MeetUp Essen - ASP.Net Core
PDF
Pottnet Meetup Essen - ASP.Net Core
PPTX
Intro to VS 2010 & .Net 4.0
PPTX
PHP konferencija - Microsoft
PPTX
Introduction to ASP.NET 5
PPT
Migrating To Visual Studio 2008 & .Net Framework 3.5
PPTX
PHP and Zend Framework on Windows
PPT
Asp.net
PPTX
NET app modernization and Microsoft Azure.pptx
PPTX
Windows Server and Fast CGI Technologies For PHP
Asp-net
What’s New and Hot in .NET 4.0
Crack mcts.com
Aspnet2.0 Introduction
ASP.NET Core 1.0: Understanding ASP.NET Core 1.0 (ASP.NET 5)
What's New in Visual Studio 2010
Novidades Do Asp.Net 4 E Do Visual Studio 2010
Net Framework vs .Net Core A Complete Comparison.pdf
Asp.Net Tutorials
Murach: An introduction to web programming with ASP.NET Core MVC
Pottnet MeetUp Essen - ASP.Net Core
Pottnet Meetup Essen - ASP.Net Core
Intro to VS 2010 & .Net 4.0
PHP konferencija - Microsoft
Introduction to ASP.NET 5
Migrating To Visual Studio 2008 & .Net Framework 3.5
PHP and Zend Framework on Windows
Asp.net
NET app modernization and Microsoft Azure.pptx
Windows Server and Fast CGI Technologies For PHP

Recently uploaded (20)

PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Behind the Smile Unmasking Ken Childs and the Quiet Trail of Deceit Left in H...
PPT
tcp ip networks nd ip layering assotred slides
PPTX
CSharp_Syntax_Basics.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PPTX
artificial intelligence overview of it and more
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
DOCX
Unit-3 cyber security network security of internet system
Cloud-Scale Log Monitoring _ Datadog.pdf
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
522797556-Unit-2-Temperature-measurement-1-1.pptx
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Introuction about ICD -10 and ICD-11 PPT.pptx
Behind the Smile Unmasking Ken Childs and the Quiet Trail of Deceit Left in H...
tcp ip networks nd ip layering assotred slides
CSharp_Syntax_Basics.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxx
introduction about ICD -10 & ICD-11 ppt.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Triggering QUIC, presented by Geoff Huston at IETF 123
artificial intelligence overview of it and more
Sims 4 Historia para lo sims 4 para jugar
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PptxGenJS_Demo_Chart_20250317130215833.pptx
Slides PDF The World Game (s) Eco Economic Epochs.pdf
SAP Ariba Sourcing PPT for learning material
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
Unit-3 cyber security network security of internet system

Getting Started with ASP.net Core 1.0

Editor's Notes

  • #2: Focusing on the Cross Platform and Cloud Today
  • #5: Open Source etc…
  • #8: Key message: Differentiate the purpose and scenarios between .NET Framework and .NET Core. They Key point on .NET Core is that it’s self-contained and specialized on specific workloads. Make sure that we make the point that BOTH are valid. There is no decrease in investment on the .NET Framework side. Transition. There is a common shared layer to these 2 pieces
  • #9: ASP.net core is built for performance, scalability and to be cross platform. Web forms is not supported in asp.net core Only support for c#
  • #10: http://www.hanselman.com/blog/ASPNET5IsDeadIntroducingASPNETCore10AndNETCore10.aspx https://blogs.msdn.microsoft.com/webdev/2016/02/01/an-update-on-asp-net-core-and-net-core/
  • #12: They are not separate pieces, its all built in.
  • #17: It’s easy to get started. Visit https://get.asp.net – Download the installer and you are ready to go!
  • #19: From VS2015 all you do is go to File > New Project -> ASP.NET Web Application
  • #20: Select Web Application under ASP.NET 5 Templates. That’s it! It will now create your project
  • #21: REFERENCE SNIPPETS.TXT Let’s explore the project structure i.global.json: This file is used to configure the solution as a whole. It includes just two sections, projects and sdk by default. ii.References: This folder details the server-side references for the project which might be assemblies, NuGet packages, or projects. iii.wwwroot: This special folder represents the actual root of the web app when running on a web server. Resources like images, script files and stylesheets are located inside this folder. iv.Dependencies: This section contains two subfolders: Bower and NPM. These folders correspond to two package managers by the same names, and they’re used to pull in client-side dependencies and tool. v.Migrations: This folder contains the Entity Frameworks migrations. This folder is added when the Individual User Accounts authentication option is selected during the configuration of the project template. vi.Models: This folder will contain the classes that represent your application data. vii.Controllers, ViewModels, Views and Services: These folders are related with ASP.NET MVC components. Except for the Controllers folder, these folders are added when the Individual User Accounts authentication option is selected during the configuration of the project template. You will explore the MVC and Web API technologies in the next exercises. viii.appsettings.json: This file contains the configurations like connection strings and logging levels. ix.gulpfile.js: This file contains the Gulp tasks for the project. x.project.json: This file is used to define the project’s server side dependencies, as well as other project-specific information. xi.Startup.cs: class file wires up configuration, MVC, EF, Identity services, logging, routes, and more. It provides a good example for how to configure the services used by your ASP.NET app.
  • #30: Demo each live site