C# Present and Future Marita Paletsou Software Engineer.

Slides:



Advertisements
Similar presentations
Ofir Aspis 1/2010 VS 2010 Targets High Level - IDE New Features VS 2010 As Editor and Platform Demo Editor features Extending.
Advertisements

Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
C# Programming: From Problem Analysis to Program Design1 Debugging and Handling Exceptions C# Programming: From Problem Analysis to Program Design 3 rd.
Chapter 11 Debugging and Handling Exceptions
By Sam Nasr Nasr Information Systems May 14, 2013.
THE FUTURE OF C# KEVIN PILCH-BISSON MADS TORGERSEN
Java Programming, 3e Concepts and Techniques Chapter 4 Decision Making and Repetition with Reusable Objects.
Java Review 2 – Errors, Exceptions, Debugging Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
 Tim Wagner Visual Studio Platform Dev Manager Microsoft Corporation TL32.
Aptech Borivali(West) Hefin Dsouza. Agenda  What is.NET and What is Visual Studio? .NET Framework 3.5 Overview.  Visual Studio 2008 Enhancements. 
Evolutie vs Revolutie Chris de Kok Evolutie vs Revolutie.NET 2015.NET 4.6 ASP.NET 5 -> MVC 6 Visual Studio 2015 C# 6.0 Agenda.
Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson
Managed Code Generics Language Integrated Query Dynamic + Language Parity C# VB 11.0 Windows Runtime + Asynchrony C# VB 7.0 C# VB.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Introducing Visual Studio ® LightSwitch™ Andrew Coates Microsoft DEV201 #auteched #dev201.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
MySQL Connection using ADO.Net Connecting to MySQL from.NET Languages.
Consuming REST Services from C# SoftUni Team Technical Trainers Software University
Joe Hummel, the compiler is at your service Chicago Code Camp 2014.
Future of VB and C# Lucian Wischik VB Language PM Microsoft.
Lagash Systems Mariano Sánchez – Software
Ready Marjan Nikolovski Father, Dev, CEO/Emit Knowledge Down the rabbit hole Error handling examined try { } // // Blog: emitknowledge.com/research-labs.
WHO WILL BENEFIT FROM THIS TALK TOPICS WHAT YOU’LL LEAVE WITH ASP.NET developers, including Web Forms & MVC History of async programming in.NET How async.
Esri UC 2014 | Technical Workshop | Creating Geoprocessing Services Kevin Hibma.
Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Other news? async and await Anonymous types (var, dynamic) Tuples Object instantiation Extension methods UCN Teknologi/act2learn1FEN 2014.
C# 6 - do it right Vedran Kaldi Senior
Error Handling Tonga Institute of Higher Education.
CIS 200 Test 01 Review. Built-In Types Properties  Exposed “Variables” or accessible values of an object  Can have access controlled via scope modifiers.
.NET Mobile Application Development XML Web Services.
Writing Better C# Using C# 6 By: Mitchel Sellers.
Agenda UCMA 3.0 Highlights Management PowerShell cmdlets to create and manage UCMA trusted applications and endpoints. Autoprovisioning Application.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Exception and Exception Handling. Exception An abnormal event that is likely to happen during program is execution Computer could run out of memory Calling.
Barbara Doyle Jacksonville University What’s New with Visual Studio and C#?
Throw, Throws & Try-Catch Statements Explanations and Pictures from: Reference:
C# 5.0 Alex Davies 22 nd December What we will cover C# 5.0,.NET 4.5, Visual Studio 11 Caller Info Attributes Upgrade from synchronous to asynchronous.
Async Made Simple in Windows 8, with C# and Visual Basic Alex Turner Program Manager VB/C# Compilers Microsoft Corporation DEV332.
THE FUTURE OF C#: GOOD THINGS COME TO THOSE WHO ‘AWAIT’ Joseph Albahari SESSION CODE: DEV411 (c) 2011 Microsoft. All rights reserved.
.NET Application Development in the CygNet ® Ecosystem Mike Borland, Senior Software Development Manager Dan Snyder, Staff Software Engineer.
Improving Your Application with IntelliTrace #ITDevConnections.
Top 10 Entity Framework Features Every Developer Should Know
C# and VB code-focused development with Visual Studio
Part 1: Overview of LINQ Intro to LINQ Presenter: PhuongNQK.
DotNetSpider Editor Hefin Dsouza
Windows Calls Applications (windows.applicationmodel.calls)
CIS 200 Test 01 Review.
The Future of C# The Future of C# and VB 2-577
Async or Parallel? No they aren’t the same thing!
Coding Defensively Coding Defensively
New Features of C# Kuppurasu Nagaraj Microsoft Connect 2016
Module 1: Getting Started
Quick Start Guide for Visual Studio 2010
.NET and .NET Core 9. Towards Higher Order Pan Wuming 2017.
12 Asynchronous Programming
Creating Windows Store Apps Using Visual Basic
C# Today and Tomorrow Mads Torgersen,
Microsoft Build /6/2018 4:22 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
TechEd /9/2018 4:17 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Tiberiu Covaci Senior Technical Trainer Many-core
Build /2/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Serverless Architecture in the Cloud
Developer Productivity: What’s New in C# 6
What is Visual Studio Code?
Debugging and Handling Exceptions
Presentation transcript:

C# Present and Future Marita Paletsou Software Engineer

Agenta Brief History C# 5.0 Basic Features.NET Compiler Platform New IDE Experience C# 6.0 New Features

Brief History C# 1.0 VS NET C# 2.0 VS 2005.NET 2.0 C# 3.0 VS NET C# 4.0 VS 2010.NET 4.0 C# 5.0 VS NET 4.5 Generics Static Classes Nullable Types Anonymous Methods LINQ Query & Lamda Expressions Extension Methods TPL DLR Named & Optional Params async + await Caller Info Managed Code

Synchronous vs Asynchronous Synchronous: Execution in a single series Wait one task to finish before move to another Bad User Experience Asynchronous: Run time-consuming operations concurrently Return as soon as an operation is completed Better User Experience

Asynchronous Programming Patterns Asynchronous Programming Model BeginMethodName and EndMethodName Event-based Asynchronous Pattern MethodNameAsync and MethodNameCompleted Task-based Asynchronous Pattern Single method returns Task or Task

async + await Return types: Task void Let compiler do the hard work How does it work?

async void Only for event handlers Caller has no information when async void is completed Caller is unable to catch exceptions from an async void

Demo

Caller Infromation Attributes Debugging, tracing, error handling in runtime Argument types: [CallerMemberName] [CallerFilePath] [CallerLineNumber] Apply to optional parameters

Demo

Opening up VS 2013 Community Edition - Free full featured IDE.NET Server Core “Roslyn” Compiler

New IDE Experience Quick Fixes Renaming Tool Introduce Local Colorization Quick Info Signature Help

C# 6.0 New Features (1) Using Static Classes using System.Console; WriteLine("My message"); Await Calls in catch and finally try { //Do some work } catch (Exception ex) { await Task.Delay(200); } finally { await Task.Delay(200); }; Exception Filters catch (Exception ex) if (ex.Message.Contains("Cannot divide")) Null Conditional Operator member operator: ?. index operator: ?[]

C# 6.0 New Features (2) nameof Expressions throw new ArgumentNullException(nameof(value)); Dictionary Initializers var myDict = new Dictionary () { [1] = "My Name" }; Auto-Property Initializers Only Getter: public Guid guid { get; } = new Guid(); Getter/Setter: public int studentYearOfBirth { get; set; } = 1993; Epression Bodied Properties & Functions public string firstName => string.Format("{0} {1}", firstNm, lastNm); public int age() => DateTime.Now.Year - yearOfBirth;

Demo

Useful Links Visual Studio 2013 Community Edition: Visual Studio 2015 Preview &.NET 4.6 Preview: downloads-vs “Roslyn” Compiler:

Microsoft Virtual Academy for Devs Όλα τα trainings που χρειάζεσαι δωρεάν σε ένα site! /game development / /web development / /cloud development / /mobile development / /C#-XAML-HTML/ /app development/ /visual studio και πολλά άλλα… MVA

Session Evaluation Your feedback is important and valuable Submit before the event’s close session to WIN prizes 2 ways to access Go to m.itprodevconnections.gr Ask for an Evaluation Sheet from the registration desk

Get In Touch

Q&AQ&A Questions And Answers

Thank you!