welcome! [] · microsoft gold partner for learning administration sql server bi sharepoint .net...

36
©WebAgeSolutions.com 1 Welcome! .NET Framework Programming Stack Will start shortly Dial-in numbers are NOT toll free. Use Microphone if possible Mute your microphone when not speaking Check that you can "raise your hand" next to your name on the left When we start I'll ask everyone to raise their hand to verify you can hear me To ask a question type it in the “Questions” section and raise your hand to help me notice it Questions will be answered at the end of the webinar

Upload: others

Post on 06-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

©WebAgeSolutions.com 1

Welcome!

.NET Framework Programming Stack

Will start shortlyDial-in numbers are NOT toll free. Use Microphone

if possibleMute your microphone when not speaking

Check that you can "raise your hand" next to yourname on the left

When we start I'll ask everyone to raise their handto verify you can hear me

To ask a question type it in the “Questions” sectionand raise your hand to help me notice it

Questions will be answered at the end of thewebinar

©WebAgeSolutions.com 2

"Web Age Speaks!" Webinar Series

.NET Framework Programming Stack

©WebAgeSolutions.com 3

Introduction

Faheem Javed

MCT, Instructor & Consultant

[email protected]

Web Age Solutions

Microsoft Gold Partner for Learning

Administration

SQL Server

BI

SharePoint

.NET

©WebAgeSolutions.com 4

Overview of Webinar C# 6 – New Features

LINQ

ADO.NET Entity Framework

Web Development using .NET Framework ASP.NET Web Forms

ASP.NET MVC• ASP.NET MVC

• ASP.NET MVC w/ jQuery

• ASP.NET MVC w/ AngularJS

ServicesWeb API

Windows Communication Foundation

Windows Presentation Foundation

Cross Platform Development Options

SharePoint Development

.NET Framework

CLR

CLS

Multi-Platform Apps

Windows, Windows Tablet, Windows Phone, XBOX One

iOS, Android

Linux

©WebAgeSolutions.com 5

C#

©WebAgeSolutions.com 6

C# 5 Recap

Implicit Type Declaration

Anonymous Type

Object Initializer

List Initializer

Optional Parameters, Named Parameters

Extension Methods

Asynchronous Programming

Lambda Expression

©WebAgeSolutions.com 7

C# 6 – New Features

Dictionary Initializer

String Interpolation

Null Conditional Operator

Expression Bodied Functions

Expression Bodied Auto-Properties

©WebAgeSolutions.com 8

LINQ

What is LINQ and Why use it?

LINQ to Objects

LINQ to XML

©WebAgeSolutions.com 9

ADO.NET Entity Framework

©WebAgeSolutions.com 10

ADO.NET Entity Framework

ORM

LINQ to Entity Framework

Database-First, Code-First, Model-First

POCO

©WebAgeSolutions.com 11

Windows Communication Foundation

©WebAgeSolutions.com 12

Windows Communication Foundation

Service Oriented Architecture

N-tier Architecture

Protocols: http, net.tcp, msmq, …

©WebAgeSolutions.com 13

Web API

REST Services

JSON

©WebAgeSolutions.com 14

Web Development Options

©WebAgeSolutions.com 15

Web Development Options

ASP.NET Web Forms

ASP.NET MVC

ASP.NET MVC

ASP.NET MVC w/ jQuery

ASP.NET MVC w/ AngularJS

©WebAgeSolutions.com 16

ASP.NET Web Forms

©WebAgeSolutions.com 17

ASP.NET Web Forms Pros

Ease of Use

UI Designer

Server Side Controls with Auto Generated HTML (RAD)

Easier URL

Events (Page_Load, Button_Click etc.)

ViewState for all Server Side Contols

Client Side Scripting is Optional

SharePoint Development – Server Object Model

©WebAgeSolutions.com 18

ASP.NET Web Forms Cons

URL is a physical resource

ViewState can be huge

Lack of control over HTML

No Architecture OOB (we can always implement our own architecture)

©WebAgeSolutions.com 19

ASP.NET MVC

©WebAgeSolutions.com 20

ASP.NET MVC

MVC Pattern

Model

View

Controller

URL Routing

©WebAgeSolutions.com 21

ASP.NET MVC Pros

Design Pattern

URL Routing (no physical url)

Default action in route

HTML Controls

Get / Post Actions

ViewData / ViewBag / Model instead of ViewState

Redirecting to another action (action method in controller)

More Control over HTML

Encourages More Client Side Scripting

Testing

Web API – REST Services

SharePoint 2013 Development - App Model©WebAgeSolutions.com 22

ASP.NET MVC Cons

Steep Learning Curve

No OOB UI Designer (Page Inspector can be used to some extent)

URL can be confusing in the beginning

No Server Side Controls (OOB)

Encourages More Client Side Scripting

©WebAgeSolutions.com 23

Common Functionalities

Configuration File (web.config)

State Management (Session, Application, Cookie)

QueryString

Forms Authentication

©WebAgeSolutions.com 24

Hybrid Development

Using both Web Forms and MVC in a same project

©WebAgeSolutions.com 25

ASP.NET MVC w/ jQuery

ASP.NET MVC

Framework on server side

jQuery

No framework on client side

Just a library of functions

AJAX

©WebAgeSolutions.com 26

ASP.NET MVC w/ AngularJS

ASP.NET MVC

Server side framework

AngularJS

Client-side structural framework for creating dynamic web apps.

Ideal for creating data-driven applications

Web Standards

HTML5, CSS3, JavaScript (client side)

REST Service / Controller (server side)

JSON©WebAgeSolutions.com 27

Windows Presentation Foundation

©WebAgeSolutions.com 28

Windows Presentation Foundation

XAML

Transformation

DirectX

Resources

Styles

Templating

Animation

Interoperability with Windows Forms

©WebAgeSolutions.com 29

Workflow Foundation

©WebAgeSolutions.com 30

Cross Platform Development

©WebAgeSolutions.com 31

Cross Platform Development Options

Universal Windows Platform (UWP)

Windows (desktop, tablet, phone, XBOX One)

DNX (.NET Execution Environment)

Windows, MAC, Linux

ASP.NET, Class library

No WPF

Apache Cordova

Windows, Android, iOS

Xamarin

Windows, Android, iOS

©WebAgeSolutions.com 32

SharePoint Development

©WebAgeSolutions.com 33

SharePoint Development

Custom Templates

Taxonomy / Metadata

Forms

Workflows

Branding

BCS / BDC

Event Receivers

Timer Jobs

©WebAgeSolutions.com 34

©WebAgeSolutions.com 35

Summary

.NET Framework Programming Stack

Courses:

C# - 10266, 20483

ADO.NET Entity Framework - 10265

Windows Presentation Foundation – WA1907

Workflow Foundation - 6462

Windows Communication Foundation - 10263

ASP.NET Web Forms - 10267

ASP.NET MVC

• ASP.NET MVC, ASP.NET MVC w/jQuery, ASP.NET MVC w/ AngularJS

Web API

©WebAgeSolutions.com 36

Contact and Resources

Web Age Solutionswww.webagesolutions.com/contactus/

US - 215-517-6540

Canada - 416-406-3994