Description
Course info
Rating
(37)
Level
Intermediate
Updated
May 2, 2014
Duration
3h 48m
Description

scritpcs is a new and exciting open source project that allows you to write and execute C# in your favorite text editor. This course provides an introduction to the concepts and use of scriptcs. Specifically, you'll learn how to install scriptcs, use the REPL, use scriptcs from your favorite text editor, manage dependencies with NuGet, and wrap up complex code in Script Packs.

About the author
About the author

Paul is a Technical Evangelist for Microsoft and is based in Brisbane, Australia. He is also the creator of the scriptcs version manager project.

Section Introduction Transcripts
Section Introduction Transcripts

Introduction
Welcome to Pluralsight. I'm Paul Bouwer and you're watching Introduction to scriptcs. In this course I'm going to introduce you to scriptcs. This open-source project promises a lightweight approach to writing C#. By the end of this course, you'll understand the basic concepts of scriptcs and you'll have the basic building blocks for writing, executing, and debugging C# in scriptcs. In this Introduction module, we are going to look at what scriptcs is, what the inspiration behind scriptcs was, and the goals of the scriptcs project. We'll look at why you should be paying attention to scriptcs by exploring scenarios where this lightweight approach to writing C# makes a lot of sense. And finally, I'll lay out exactly what you're going to learn in this course.

The Basics
In this module we will look at how you go about installing scriptcs. We will then explore the basic concepts of scriptcs and get you up and running in the REPL and with using C# script files. We'll finish off this module by taking a closer look at Roslyn and its relationship with scriptcs.

Beyond the Basics
In this module, we'll be looking Beyond the Basics. We'll explore the behavior of the various scriptcs command line options and we'll even look at how we can wrap these up in a Config file. And finally, we'll look at how you can pass non-scriptcs arguments into both the REPL and C# script files.

Package Management
In this module, we'll be looking at how we perform more complex tasks within scriptcs, by diving into Package Management. We'll explore how to manage NuGet packages within scriptcs and how to use NuGet packages in both the REPL and C# script files.

Script Packs
In this module, we'll be looking at why Script Packs are necessary and what pain points they solve. We'll explore the concepts you need to know when using Script Packs and then dive in and look at how to use them. We'll also look at how you go about writing and even publishing a Script Pack. And finally, we'll look at how you'll be able to write your Script Packs in the not too distant future.

Debugging
In this module, we'll be looking at the Debugging story in scriptcs. We'll explore how you debug scripts and Script Packs. We'll start off with an interactive debugging experience using the REPL. Then we'll explore a really low-friction option and use simple Console. WriteLine statements in our scripts. Then we'll move on to Loggers and Dumpers. Finally, we'll progress through to a full debugging experience using Visual Studio for those situations where logging just won't cut it. We'll have access to breakpoints, watches, and even the Immediate Window.