task

SUMMARY - overview asp.net video

[previously]

  1. ] http://odetocode.com/videos/play/aspnet5-overview - the 15 year reboot

[currently]

  1. ]  

[next]

  1. [00:00] asp.net 5 brings radical changes to the asp.net experience but we still have many familiar concepts, its all about 
    1. ] new runtimes, 
    2. ] command line tools, 
    3. ] new project system
  2. [00:00] history - asp.net has been around for a long time, 15+ years
    1. ] major arch changes - rather then refactor, whole new system for today's web, ex. prev dependancy on system.web is gone
    2. ] cross platform, - osx and linux
    3. ] lightwieght - if you dont need session state, membership, dont include it. you don't need to pay the cost for all the features of a monolithic runtime, if you don't need them! 
    4. ] unified programming model(PM) - web mvc and web api pm's have merged into 1. no longer 2 different sets of controller classes, 2 different sets of filter classes, now only 1. The web forms PM, which has been around since the beginning, is gone. Also gone are http modules and http handlers. With this version we process requests with controllers and middleware. 
  3. [02:40] high level overveiw of development stack (msft diagram)
    1. ] asp.net 5 give you 2 different frameworks to choose from, ] .net framework 4.6, ] .net core5
    2. ] .net framework 4.6 - can use to develop almost any type of application, (desktop, server, web, ...) full featured and expansive, windows only, type of framework requires installer program to place on machine for apps to function properly
    3. ] .net core5 - coreCLR is smaller platfrom, required to develop xplatfrom apps, 
    4. ] shared - include compliers(roslyn) and package manage(nuget) for managing dependancies and adding additional features
  4. [04:45] get started
    1. ] using Visual Studio(VS) 2015 community edition IDE - which is a free version(for non enterprise development) of msft's fully featured VS IDE
    2. ] download, install (using default settings), 
    3. [05:30] apply the latest updates (asp.net 5 beta 7 ) - 
    4. ] REF  - source code for asp.net 5 is on github - releases tab contains all of the releases
  5. [06:00] file new project
    1. ] under templates/visual C#/web - choose the "web application" template to create a new ..., *] other options include 'class library' and 'console application'
    2. ] name the project, click OK
    3. ] now more templates (subtemplates?) dialog is shown
      1. ] group - asp.net 4.5.2 templates, - these are older templates(empty, forms, mvc, api, spa, azure api app, azure mobile app, azure svc)  that were in VS 2013, they use MVC 5
      2. ] group - asp.net 5 preview templates - these are newest templates(blank, web api, web app), they use MVC 6
      3. *] dialog OPTIONS - include 
      4. ] add folders/core references
      5. ] add unit tests
      6. ] hosting - azure 
    4. ] selected ' asp.net - blank' to create a new blank project
    5. ] use 'ctrl + f5' to run the new project, displays "hello world"
  6. [07:10] project structure - differences between the old and the new 
    1. ] vs\projects\{project-name} - contains .sln file for project
    2. ] {project-name}\src- - contains src files, src files are what are displayed in the IDE solution explorer window, contains file
    3. ] xproj. - this replaces the csproj file,  it is an XML file, BUT it does NOT contain a listing of all files in the project, like .csproj did 
    4. ] project contents are file system based, NOT BASED on a 'projects contents listing' from the xproj/csproj file 
    5. ] you can add a cs file to the filesystem on the host machine, in the project and it will be automatically be included in your project
    6. ] EX - greeter.cs - 
    7. ] this is done in realtime - 
    8. *] you wont have to rebuild the project, everytime you make a change to your code. 
    9. ] bc c# compiler as a service, 
  7. [11:00] project structure
    1. ] wwwroot - 
      1. ] is thedefault folder for static files, html, javascript, css files 
      2. ] IF you dont want a file to be sent back to client(ex db pw, ...), keep it out of wwwroot
      3. ] name can be changed in project.json IF you like
    2. ] project.json -
      1. ] heart of the project, 
      2. ] defines dependancies, defines the runtime(full or coreCLR), defines the build (build, compile and packaging options for applications)
    3. ] dependancies - 
      1. ] other components and libraries app requires to do it's work , 
      2. ] dependencies listed are nuget packages, 
      3. ] 2 way to add nuget package, 1] right click references, || 2] type package name from in code window, searches nuget, intellisense 
      4. ] EXAMPLES - adds MVC framework package, removes it
    4. ] commands 
    5. ] frameworks 
    6. ] publishExclude
    7. ] exclude - 
  8. [18:00] framework choices - dnx4.51, dnxCore
    1. ] DNX layer - the appropriate app execution environment for our app
    2. ] dnx451, dnx46 - full featured, highest level of back compatability, windows only
    3. ] dnxcore50 - 
    4. ] you can compile your app against both frameworks 
  9. [20:45] example  - how core works
[reference]
  1. ] github.com/aspnet/home  - source code for asp.net 5 
  2. ] http://blogs.msdn.com/b/visualstudio/archive/2015/07/20/visual-studio-2015-and-visual-studio-2013-update-5-released.aspx
Details Photos Edit more

Details

ID: 5828

NAME: CREATE-summary

DESCRIPTION: VIDEO[45:00] k.scott allen - .net 5 overview -

START DATE TIME: 2015-11-14 08:27:13

EST DURATION: 01:00:00

END DATE TIME: 2015-11-14 09:27:13

STATUS:

PRIORITY: -5

OWNER ID: 1

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities