ASP.NET 5 Workshop
Details
Come and learn how to build the next generation of ASP.NET 5 apps using C# 6 and Visual Studio 2015 RC! Food and drinks will be provided, and raffles* will be held throughout the event.
Important: Please bring a laptop with all requisite software** already installed.
Agenda, 10 am - 5 pm:
Part 1: Guided walkthrough:
-
Breakfast
-
Introduction to ASP.NET 5: Discussion of major conceptual changes from previous versions of ASP
-
Getting Started: setting up IDE, project setup, app startup configuration
-
Building a basic WebApi: Exposing controller methods to the web
-
Self-Hosting: Getting off IIS Express
-
Lunch
-
Dependency Injection: Instantiating and configuring the IoC container bundled in ASP 5
-
Setting Up Gulp: Configuring a build runner to monitor your files
-
Integrating a Datastore: Using an external data store to back your application
Part 2: Assisted Self Study
-
SPA Breakouts (Unguided) - Consume your WebApi with a Single Page Application. Feel free to make unconference style self organizing circles (one per SPA?)
-
Hack Hour: Use your new knowledge to create an application that is useful or cool to you. Optionally: can present your app to the group if you'd like.
-
Retrospective: Discussion, feedback, & retrospection.
If you're interested in being a facilitator, please contact one of the organizers.
*Raffle prizes:
- Free CSM training!!
- Razer DeathAdder Chrome mouse
- Microsoft Arc Touch Bluetooth mouse
- Sennheiser HD 280 headphones
- Bluesim wireless bluetooth earbuds
- 32 gb usb (actual) "key"
Requisite Software:
Here's everything you need to dive in to the ASP.NET 5 Workshop in Windows, OS X or Linux:
Windows (VS2015) Visual Studio 2015
https://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs.aspx
Download Visual Studio 2015 Enterprise Edition RC
Start installing this while you download everything else -- it could take a while
Node.js and Node Package Manager (npm)
https://nodejs.org/dist/v0.12.5/x64/node-v0.12.5-x64.msi
Yeoman (requires npm)
Open a Command Prompt and enter:
npm install -g yo
SQL Server 2014 Express (or your SQL server of choice)
https://www.microsoft.com/en-us/server-cloud/products/sql-server-editions/sql-server-express.aspx
Download SQL Server 2014 LocalDB Express 64 Bit and install
Entity Framework 7 (once you have started your project)
In Visual Studio 2015 RC, once you have a new project open the Package Manager Console and enter:
Install-Package EntityFramework -Pre
Windows (ASP.NET 5 Stand-alone) Visual Studio Code
https://code.visualstudio.com/Download
Download the Windows distribution and start the one-click install
ASP.NET 5 Stand-alone
Follow Microsoft's instructions on installing the .NET Version Manager (DNVM) and .NET Execution Environment (DNX) in Windows: http://docs.asp.net/en/latest/getting-started/installing-on-windows.html#install-asp-net-standalone
Node.js and Node Package Manager (npm)
https://nodejs.org/dist/v0.12.5/x64/node-v0.12.5-x64.msi
Yeoman (requires npm)
Open a Command Prompt and enter:
npm install -g yo
SQL Server 2014 Express (or your SQL server of choice)
https://www.microsoft.com/en-us/server-cloud/products/sql-server-editions/sql-server-express.aspx
Download SQL Server 2014 LocalDB Express 64 Bit and install
Entity Framework 7 (once you have started your project)
In Visual Studio 2015 RC, open the Package Manager Console and enter: Install-Package EntityFramework -Pre
OS X Visual Studio Code
https://code.visualstudio.com/Download
Download the OS X distribution of Visual Studio Code
Extract VSCode-darwin, copy the Visual Studio Code app to your Applications folder, and run
ASP.NET 5 Stand-alone
Follow Microsoft's instructions on installing the .NET Version Manager (DNVM) and .NET Execution Environment (DNX) in OS X: http://docs.asp.net/en/latest/getting-started/installing-on-mac.html
Node.js and Node Package Manager (npm)
https://nodejs.org/dist/v0.12.5/node-v0.12.5.pkg
Yeoman (requires npm)
Open a terminal and enter:
npm install -g yo
MySQL Community Server (or your SQL server of choice)
http://dev.mysql.com/doc/refman/5.7/en/osx-installation.html
Download and install the Mac OS X distribution of MySQL Community Server
Entity Framework 7 (once you have started your project)
Edit your package.json file to include the following dependencies:
"EntityFramework.SqlServer": "7.0.0-beta2",
"EntityFramework.Commands": "7.0.0-beta2",
Linux Visual Studio Code
https://code.visualstudio.com/Download
Download the Linux x64 distribution of Visual Studio Code
Extract VSCode-linux-x64 and run the Code binary
ASP.NET 5 Stand-alone
Follow Microsoft's instructions on installing the .NET Version Manager (DNVM) and .NET Execution Environment (DNX) in OS X: http://docs.asp.net/en/latest/getting-started/installing-on-linux.html
Node.js and Node Package Manager (npm)
Open a terminal and enter:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
Yeoman (requires npm)
Open a terminal and enter:
npm install -g yo
MySQL Community Server (or your SQL server of choice)
Open a terminal and enter:
sudo apt-get install mysql-server
sudo mysql_install_db
sudo /usr/bin/mysql_secure_installation
Entity Framework 7 (once you have started your project)
Edit your package.json file to include the following dependencies:
"EntityFramework.SqlServer": "7.0.0-beta2",
"EntityFramework.Commands": "7.0.0-beta2"
