Upload
robert-maclean
View
2.738
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
Lap around .NET and Visual Studio 2012Robert MacLeanTechnology SpecialistBBD
The platter of .NET 4.5 & VS 2012 featuresLOT’S of demo’sHigh level explanationsNot covering or even mentioning everything – not enough time
No ALM or Windows Store appsLeave wanting to explore more!
WelcomeWhat can you expect from this talk!
A little historyMy favoritesWorkflow FoundationAsync
Visual Studio throughout!
AgendaPart 1
WCFEntity FrameworkLightswitchASP.NET MVC
Visual Studio throughout!
AgendaPart 2
History lesson timeHow does .NET 4.5 work with previous versions?
CLR 1.0 CLR 1.1 CLR 4.0CLR 2.0
.NET
1.0
C#
1.0
VB
7.0
.NET
1.1
C#
1.2
VB
7.1
.NET
2.0
C#
2.0
VB
8.0
.NET
3.0
C#
2.0
VB
8.0
.NET
3.5
C#
3.0
VB
9.0
.NET
3.5
SP 1
C#
3.0
VB
9.0
.NET 4
C#
4.0
VB
10.0
.NET
4.5
C#
5.0
VB
11
.0
Released 13 Feb 2002
Visual Studio CadenceOut of band updates with new featuresEvery quarter
User Voice
A different style of work
My favorite things
Visual Studio 2012 upgrading is risk lessCulture can be controlled globally in code
Important with the changes in numbers with Windows 8Can also control in app.config
CallerMemberName makes code less brittle & provides smart ways to inspect what is happening!
CallerFilePathCallerLineNumber
My favorite thingsReview
What is new in Workflow Foundation?
Workflow
Workflow persistenceWhat is that?
Workflow
Wait for later time
Crashes
Wait for event
Timer
Admin
Event
Code
Database Server
Workflow persistenceWhat is the problem?
Workflow
Wait for later time
Crashes
Wait for event
Timer
Admin
Event
Code
Database Server
Workflow 4.5 has versioningSide by side versioningDynamic update versioning
Workflow persistenceThe solution
State machine supported out of the boxwf.codeplex.com
C# expression supportDesign surface is vastly improved
Quick add sequenceAnnotationsSearchDocument outline
Workflow Persistence Versioning
What is new in Workflow Foundation?Review
Async
await & async modifiers give us syntactic sugar.Built on top of Task Parallel Library (TPL), so all the TPL knowledge from .NET 4 is useful. New TPL features
WhenAll, WhenAny, Delay
Plenty of new API’s inside .NET take advantage of this.
AsyncReview
Microsoft new work style: Cadence & User VoiceVisual Studio upgrading is risk freeFavorites: CallerMemberName & CultureWorkflow designer improvements = productivity improvementsWorkflow versioningAsync – the solution to most of your concurrency issues
Part 1 reviewReview
End of part oneSee you after the break
Lap around .NET and Visual Studio 2012Robert MacLeanTechnology SpecialistBBD
Continuation from part 1The platter of .NET 4.5 & VS 2012 features
LOT’S of demo’sHigh level explanationsNot covering or even mentioning everything – not enough time
No ALM or Windows Store appsLeave wanting to explore more!
WelcomeWhat can you expect from this talk!
A little historyMy favoritesWorkflow FoundationAsync
Visual Studio throughout!
What we have already seenPart 1
WCFEntity FrameworkLightswitchASP.NET MVC
Visual Studio throughout!
AgendaPart 2
What’s new in WCF 4.5?
Configuration improvements mean less head scratchingWeb socket support for better interop
Didn’t show it, but we also have UDP support now
What’s new in WCF 4.5Review
Entity Framework 5
Runs on it’s own cadence – so more features & improvements more oftenEnum support throughoutSupport for localdb Designer improvements!
Entity Framework 5Review
Lightswitch
LightswitchThemes
Included with Visual Studio Pro+ for freeNew shell & themesService only publishingBest way to create OData services
LightswitchReview
What is new in ASP.NET?
BundlesJust how big an improvement?
To 59.83 KB + one call overhead
From 353,5 KB + multiple call overhead+84% improvement
OData versus WebAPIWCF Data Services Web API
What do you get? Server and client Server only
Compliance High High-Medium-Low
Maturity High Preview -> V1
OData coverage High Low - Medium
Flexibility Low High
Key requirements IQueryable -
Business logic Medium Easy
Formats OData only Any format
Untyped Yes No
WCF Data Services is like views on a databaseWeb API is like stored procs on a database
Shipping on own cadence – so more toys more oftenNew out of the box RESPONSIVE templatesVisual Studio Improvements
Page inspectorCSSJavaScriptMultiple browser support
BundlesWebAPI
ASP.NETReview
WCF config improvements & new protocolsEF running on their own cadence, enum support & designer improvementsLightswitch – best way to great OData servicesASP.NET: own cadence, great UI, development improvements everywhere, bundles, WebAPI!
Part 2 reviewReview
:(The presentation is finished, please feel free to ask any questions now. Thank you for being a great audience today!
You can contact me at @rmaclean or [email protected] Slides & demos will be available at http://www.sadev.co.za