8
LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

Embed Size (px)

Citation preview

Page 1: LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

LinqPad Introduction

Add Productivity Value(Include LINQ introduction)Sharing SessionFreddy Munandar

30 April 2015

Page 2: LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

What is LINQ?

0Language Integrated Query0Feature Set Of Microsoft’s .NET Framework

0 Extensions added to .NET 3.50 Adds functionality to C# and VB.NET

0Standarized Data Retrieval0Makes Queries Part Of the Native Programming

Language0LINQ Standarized Operations; Not File Structures

Page 3: LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

LINQ Requirement

0LINQ Requires The Following References In Project (Visual Studio)0 System.Core0 System.Xml.Linq0 System.Data.Linq0 System.Data.DataSetExtensions

Page 4: LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

What is LINQPad?

0The .NET Programmer’s Playground0 Interactively query SQL databases (among other data

sources such as OData or WCF Data Services) using LINQ, as well as interactively writing C# code without the need for an IDE

0A general "test workbench" where C# code can be quickly prototyped outside of Visual Studio

0 It can also be used to write code in the VB.NET, SQL and F# languages

Page 5: LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

Benefit

0 With LINQPad's instant edit/run cycle and optional full autocompletion, you'll have code snippets fully tweaked in less time than it takes to bring up Visual Studio's Add Reference dialog!

0 Tweaking your code until it does what you want, then paste working code into Visual Studio

0 Knowing what Exceptions would be thrown by a framework method under various inputs - LINQPad answered that very quickly

0 Learning .NET Programming Language (C#) more fast0 LINQPad’s Dump method is tuned with numerous heuristics, it

intelligently walks object graphs for the best possible output.0 Etc.

Page 6: LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

Demo

0LINQ to Objects0LINQ to DataSets (ADO.NET)0LINQ to XML0As Test Driven Development - Scratch Pad0As Quick Test for Any .NET Code

0 Check the Unicode character0 Check the value of object properties0 Browse some web using WebClient

0Many Many Many Others you can do by yourself

Page 7: LinqPad Introduction Add Productivity Value (Include LINQ introduction) Sharing Session Freddy Munandar 30 April 2015

LinqPad is the .NET Programmer’s Playground

Unleash your Raw creativity, by think

like me (a kid)