channel9

PowerShell Classes for Developers

December 22, 2015 PowerShell, Videos ,

Classes in PowerShell have been a feature since long and creating objects of these classes isn’t new. From the classic way of creating objects of .NET classes (like the MailMessage in Example 1 below) or to defining a custom .NET class (in the Example 2 below), we have seen PowerShell extend .NET classes and types in numerous ways.

Example 1: Creating object of a .NET class

$message = New-Object System.Net.Mail.MailMessage

Example 2: Defining .NET class in PowerShell

$source= "
    public class BasicTest 
    { 
        public static int Add(int a, int b) 
        { 
            return (a + b); 
        }
        
        public int Multiply(int a, int b) 
        { 
            return (a * b); 
        }
}" 
Add-Type -TypeDefinition $source

The New PowerShell Classes

Now with new version PowerShell, you can create classes in PowerShell instead of just using .NET classes. Object Orientation is now available in your scripting language so that you can shorten your scripts and make them more maintainable.

Two of my short videos (published on Channel9) will help you quickly rampup your PowerShell skills to create PowerShell classes, objects, methods, overloads, scope and a lot more.

Video 1: Getting Started with PowerShell Classes

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-PowerShell-Classes-for-Developers-Part-1

 

Video 2: Constructor, Methods, Overloading and Scope

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-PowerShell-Classes-for-Developers-Part-2

Hope this helps you in understanding PowerShell classes!

NodeJS, Java and .NET Build Automation with VSTS (VSO, TFS)

December 6, 2015 TFS, Videos , , , , ,

Have you tried Visual Studio Online (or Visual Studio Team Services, as it is now called) for build automation? VSTS (TFS 2015) has a new and much powerful build engine than TFS 2013 and you can now configure build automation for NodeJS, Java, Android, XCode and .NET.

The video recording below is a quick guide to configure Cross Platform Build Automation with VSTS or TFS 2015 (on-prem)

 

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-DevOps-Build-Automation-with-VSTS–TFS-2015

Telemetry for Internet of Things – Pre and Post Azure IoT Suite (Channel 9)

December 5, 2015 Azure, IoT, Videos , , , ,

In the last month, I recorded 3 sessions, 15 minutes each, that illustrate Telemetry for Internet of Things – Pre and Post Azure IoT Suite for Channel 9.

These short videos can help the audience understand general concept of Internet of Things, Event Hubs, Azure IoT Suite and Hub. The examples discussed in the video are in .NET and NodeJS

 

Video #1: Understanding IoT and Event Pipeline

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-Internet-of-Things-1-Understanding-IoT-Event-Processing-Pipeline-and-Event-Hub

 

Video #2: Azure Event Hubs using Azure SDK and NodeJS

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-Internet-of-Things-2-Azure-Event-Hubs-using-SDK-and-NodeJS

 

Video #3: Azure IoT Suite – Device Provisioning, Producer, Consumer and Registry

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-Internet-of-Things-3-Azure-Iot-Suite-Device-Provisioning-Producer-Consumer-and-Reg

 

Packaging your Libraries with NuGet (Channel 9)

December 4, 2015 NuGet, Videos, Visual Studio ,

I recently did a recording that illustrates the need of NuGet and how to package your libraries with NuGet.

The recording is available on Channel9

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-Packaging-your-libraries-with-NuGet

 

Channel9 – DevOps: Continuous Delivery using Visual Studio Online and Azure

June 22, 2015 Azure, Sessions, TFS, Videos, Visual Studio , , , , ,

I am glad to say that my webcast, that I delivered as part of Southeast Asia MVP ComCamp 2015, has been published on MSDN Channel9 

The session outlines the best of cloud world – ALM and Continuous Delivery into Azure platform.  The session will focus on configuring VSO, developing applications using VS2015 and running continuous integration (unit tests) and auto deploying the code to Azure Staging and Production platforms.

Direct link: https://channel9.msdn.com/Events/MVPAsiaCommunity/ComCamp2015May/SEA05

 

 

Dynamic Guide Article on Channel9

April 12, 2013 Accomplishments, Personal

This is one of my proud moments as my dynamic guide has been mentioned on Channel9

Video Linkhttp://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-April-12-2013
Article Linkhttp://www.ganshani.com/2013/04/complete-guide-to-dynamic-keyword-in-c/

Understanding RhinoMocks, NSubstitute and Moq

January 20, 2013 CSharp, Open Source, Visual Studio , , , , ,

For those who are following me on Codetails, would know that I am actively blogging (since Nov 2012) on Codetails on all technology stuff.  One of the series of articles I wrote on Codetails that got great applause from the technical community is on Mocking Frameworks with .NET Here are the links that describe the technical details

  1. Understanding Mock and frameworks – Part 1 of N – Understanding the need of TDD, Mock and getting your application Unit Test ready
  2. Understanding Mock and frameworks – Part 2 of N – Understanding Mock Stages & Frameworks – Rhino Mocks, NSubstitute and Moq
  3. Understanding Mock and frameworks – Part 3 of N –  Understanding how to Mock Methods calls and their Output – Rhino Mocks, NSubstitute and Moq
  4. Understanding Mock and frameworks – Part 4 of N –  Understanding how to Mock Exceptions and Event Subscriptions  – Rhino Mocks, NSubstitute and Moq

And here is my proud moment – featured on Microsoft Channel9

Linkhttp://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-January-18-2013

Developer Tools Article on Channel9

March 9, 2012 Accomplishments, Personal

This is one of my proud moments as my Developer Tools has been mentioned on Channel9

Video Linkhttp://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-Mar-9-2012

Article Links

  1. Must have tools Part 1 of 2 – http://www.ganshani.com/2012/02/must-have-tools-on-windows-part-1-of-2
  2. Must have tools Part 1 of 2 – http://www.ganshani.com/2012/03/must-have-tools-on-windows-part-2-of-2/
Follow on Feedly