powershell

1Gig-Tech (#42) – Docker, PowerShell, PowerBI, ASP.NET Core

October 2, 2016 1Gig Tech No comments , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 10 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • Introducing Docker for Windows Server 2016 (Michael Friis)
    Today, Microsoft is announcing general availability of Windows Server 2016 at the Ignite conference in Atlanta. For Windows developers and IT-pros, the most exciting new Windows feature is containers, and containers on Windows Server 2016 are powered by Docker.
  • Running Powershell on Google Cloud SDK (Mete Atamel)
    It’s exciting to see so many options for .NET developers to manage their cloud resources on Google Cloud Platform. Apart from the usual Google Cloud Console, there’s Cloud Tools for Visual Studio, and the subject of this post: Cloud Tools for PowerShell.
  • How to use Power BI Embedded with AspNetCore
    If you are looking to build an AspNetCore website, and take advantage of Power BI embedded, you’ve probably found that there isn’t any SDK support for basic report rendering (yet). While the underlying PowerBI.Core and PowerBI.Api assemblies work just fine, there is no equivalent to PowerBI.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#40) – PowerShell, IoT, .NET, ESP8266, Deep Learning

September 4, 2016 1Gig Tech , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 11 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • Engineering the Future of .NET (Sam Basu)
    While there is a huge army of engineers at Microsoft who work on .NET and C#, the following folks are arguably the most influential in bringing you the future of .NET and .NET Tooling.
  • Download free Windows Server 2016 eBook, White paper, PDF, etc. (AnandK)
    Microsoft and its partners have made available for download a bunch of resources for Windows Server 2016, that can help you get the best out of this Server operating system. Windows Server 2016 is the next version of Microsoft’s server operating system, being developed in line with Windows 10.
  • Writing a bot for IP Messaging in Node.js (Dominik Kundel)
    It seems like bots are the new hot thing that every chat supports. They usually augment conversations or they can perform tasks for the user. We will add to an existing IP messaging chat a simple bot that will return us a GIF whenever we ask for it.
  • What is Deep Learning?
    Deep learning is an emerging topic in artificial intelligence (AI). A subcategory of machine learning, deep learning deals with the use of neural networks to improve things like speech recognition, computer vision, and natural language processing.
  • Unit Testing .NET Core (Ricardo Peres)
    With the recent arrival of .NET Core, some things that we were used to having are no longer available. This includes unit tests – plus Visual Studio integration – and mocking frameworks. Fortunately, they are now becoming available, even if, in some cases, in pre-release form.
  • AWS vs Azure vs Google Cloud Platform – Internet of Things
    Choosing the right cloud platform provider can be a daunting task. Take the big three, AWS, Azure, and Google Cloud Platform; each offer a huge number of products and services, but understanding how they enable your specific needs is not easy.
  • .NET Rocks! vNext
    The URL for this tag filter is below. Copy it to easily share with others. Carl Franklin is Executive Vice President of App vNext, a software development firm focused on the latest methodologies and technologies. Carl is a 20+ year veteran of the software industry, co-host and founder of .

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#23) – Performance, DSC, PowerShell

January 31, 2016 1Gig Tech , ,

Welcome to 1Gig Tech update!

Happy New Year! The New Year edition has 16 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • How to compute the Hash value of a file using #CSharp? (Kunal Chowdhury)
    When downloading from a remote location, many time we need to know whether the file downloaded properly or not. There are many techniques to know about it but among them, one of the approach is to check the hash value of the file. The Cryptography APIs of .NET can help you to calculate the same.
  • To base() or not to base(), that is the question (jonskeet)
    Today I’ve been reviewing the ECMA-334 C# specification, and in particular the section about class instance constructors. If a class contains no instance constructor declarations, a default instance constructor is automatically provided.
  • Performance Doesn’t Matter (Unless You Can Prove That It Does)
    The interesting thing about all of these questions is that they each have a defined, measurable answer. Almost certainly, .Any() will be faster than .Count() (for an IEnumerable, as we’ll see below). Almost certainly, in simple cases, Redis will be faster for reads than SQL Server.
  • VerbalExpressions/CSharpVerbalExpressions
    VerbalExpressions is a CSharp library that helps to construct difficult regular expressions. When first building the solution there will be external libraries that are missing since GitHub doesn’t include DLLs. The best way to get these libraries into your solution is to use NuGet.
  • Machine Learning
    Less than a year ago we decided to acquire Revolution Analytics, the leading commercial provider of software and services for R, the world’s most widely used programming language for statistical computing and predictive analytics.
  • Fixing Spaghetti: How to Work With Legacy Code
    What is Legacy Code? Legacy code is software that generates value for a business but is difficult for developers to change. The terms “code rot” and “spaghetti code” refer to legacy code that is tangled up in poor quality.
  • Gone Mobile 29: Push Notifications
    This episode covers pretty much everything there is to know about Push Notifications. From Apple’s APNS to Google’s C2DM and GCM, learn about what they are and how they work.
  • hack.summit() 2016
    You are now registered to hack.summit(). Please find your unique ticket number below. You will need it to watch the live conference. Don’t worry, we are also sending this to your e-mail right now, along with an automated reminder email 30 minutes before the event.
  • PowerShell Classes for Developers (Punit Ganshani)
    The DevOps Zone is brought to you in partnership with New Relic. Learn more about the common barriers to DevOps adoption so that you can come up with ways to win over the skeptics and kickstart DevOps.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#22) – TrackJS, Microservices, PowerShell, .NET CLI

December 27, 2015 1Gig Tech , , ,

In the last edition for 2015, there are 11 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

Happy holidays!

  • Exploring the new .NET (Scott Hanselman)
    I’ve never much like the whole “dnvm” and “dnu” and “dnx” command line stuff in the new ASP.NET 5 beta bits. There’s reasons for each to exist and they were and they have been important steps, both organizationally and as aids to the learning process.
  • PowerShell Classes for Developers
    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 .
  • Azure WebJobs are awesome and you should start using them right now!
    These real world experiences with Azure are now available in the Pluralsight course “Modernizing Your Websites with Azure Platform as a Service” No really, they’re totally awesome! I used Azure WebJobs in the very early days and whilst they served a purpose, I wasn’t blown away with them at the
  • Create a database, as easily as a spreadsheet
    A query UI anyone can use Filter, sort, group and report with ease. Even non-technical teammates can use our query UI. Save any query as a view to get back to anytime or to share with the team. A query UI anyone can use Filter, sort, group and report with ease.
  • What you need to know about Bootstrap 4 (Ezequiel Bruni)
    Bootstrap is beloved by many. Well, if not “beloved”, then it is at least appreciated for what it is: a giant framework with almost everything you could need for building a site or web app interface. Bootstrap is changing, though. That’s right, version four is in alpha release.
  • Data Science and Machine Learning Essentials
    Learn key concepts of data science and machine learning with examples on how to build a cloud data science solution with R, Python and Azure Machine Learning from the Cortana Analytics Suite.
  • A Review of JavaScript Error Monitoring Services (Raymond Camden)
    If you’re like me, then you’ve been diligent about writing the best JavaScript code you can. You lint. You write tests (both for the code and the UI). You check out your site in multiple different browsers, locales, time zones, and dimensions. You do a good job. Rock on, you.
  • Data Sketches – Yahoo! (YAHOO)
    In the analysis of big data there are often problem queries that don’t scale because they require huge compute resources to generate exact results, or don’t parallelize well. Examples include count distinct, quantiles, most frequent items, joins, matrix computations, and graph analysis.
  • TrackJS
    Minified JavaScript code is hard to debug. With Trackjs, simply drag-and-drop your sourcemap on to a stacktrace and we’ll automatically un-minify source code.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

We will resume again in Feb 2016 (yes, not in Jan due to some other commitments).

Thanks

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!

1Gig-Tech (#21) – VSCode, PowerShell, VSTS, xUnitConverter

December 20, 2015 1Gig Tech , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 10 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • VS Code (December Release)
    November was a big release for us (adding extensibility support and moving to open source) and we appreciate all the support we received leading up to and during the Connect(); event. We’ve kept busy in December and we hope you like this release.
  • Visual Studio Team Services– Work Items (Heath Stewart)
    It’s been a long journey, but I’m excited to let you know that the new work item form for Visual Studio Team Services (VSTS) is finally here! In this post, I want to walk you through the reasoning behind this new form, share the progress we’ve made, and give an update on what you can expect over t
  • Updating the .NET target framework for many projects (danielf)
    I do component based development. Meaning I have 30+ repos, builds and each of them has 1-10 projects – The main library project, tests, samples and so on. The news about the support end for the .NET Framework 4, 4.5 and 4.5.1 was the motivation to update ALL of my projects.
  • To String or to string
    Like many developers, I have many strong opinions about things that really do not matter. Even worse, I have the vanity to believe other developers want to read about it. For example, a recent Octokit.net pull request changed all instances of String to string.
  • Smaller, Faster Websites (Mat)
    The following is a transcript of a talk given at various events throughout 2015, including Bocoup’s own TXJS and Boston JS. My name is Mat Marquis, of Marquis Home Renovation. I don’t care about websites. I’m a carpenter.
  • Measuring cloud performance just got easier and better
    In February 2015, Google Cloud Platform and 30+ industry leaders and researchers launched PerfKit Benchmarker (PKB). PKB is an open source cloud benchmarking tool with more than 500 contributors from across the industry, including major cloud providers, hardware vendors and academia.
  • Architecture of a Database System
    Architecture of a Database System – Hellerstein, Stonebraker & Hamilton, 2007. This is a longer read (and hence a slightly longer write-up too) coming in at 119 pages, but it’s written in a very easy style so the pages fly by.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#9) – Azure, Node C, NQuery, ASP.NET, PowerShell

September 5, 2015 1Gig Tech , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 13 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • terrajobst/nquery-vnext (terrajobst)
    This is a Roslyn inspired rewrite of NQuery. The goals are: Expose the internals of the compiler as an object model to support building advanced editor features.
  • Microsoft Free online courses from Microsoft
    “Be passionate and bold. Always keep learning. You stop doing useful things if you don’t learn.” – Satya Nadella, CEO, Microsoft We live in a mobile-first and cloud-first world. Computing is ubiquitous, and experiences span devices and exhibit ambient intelligence.
  • ing Raphael.js Charts in ASP.NET MVC (Mahesh Sabnis)
    Being able to draw graphics and objects in the web browser is something that has become a common phenomenon in today’s web landscape. As web developers working on Line of Business applications (LOB), we are often faced with the task of visually representing huge volumes on data.
  • Announcing Availability of ASP.NET 5 Beta7 (Heath Stewart)
    ASP.NET 5 beta7 is now available both on NuGet and as a tooling update to Visual Studio 2015! This release also includes the first public preview of the .NET Execution Environment (DNX) for Mac and Linux based on .NET Core – no Mono required. Let’s take a look at how we can get started with ASP.
  • PowerShell Script for Restart Windows Services with Dependent Services
    This is a PowerShell Script to restart a windows service with its dependent services. The dependent services that were not running when the restart request made, will not be started, so that the system services state will remain same after restart service script run. Download RestartService.
  • Cloud Explorer for Visual Studio 2013
    Free View your cloud resources, inspect their properties, and perform key developer actions from within Visual Studio. CREATED BY REVIEWS (0) Review SUPPORTS Visual Studio 2013 DOWNLOADS Download (2,604) VERSION 1.0.50825.
  • mateogianolio/node-c
    Embed C functions in JavaScript comments. Should work on Linux and OS X. This is more a proof of concept than something to be used in production. Be careful.
  • UWP: New features of Launcher class (Sergiy Baydachnyy)
    In this post I want to discuss how to establish communications between Universal Windows Platform applications. It was a problem since Windows 8 because each application is running in its own sandbox without access to data of other applications. Of course, Windows 8.
  • .NET Problem Solvers
    Whether you have been a member of the .NET community for ten years or ten days, we solve some amazing problems together. We wanted to take a moment to salute two inspiring problem-solvers that are always looking for new and innovative ways to enhance our community. Thanks you two!
  • Auto-Complete .NET Constructor Params (Jason Shirk.)
    If you’re a regular PowerShell script or module author, you’re probably accustomed to creating .NET objects using object constructors. In the Microsoft .NET Framework, each struct or class can have one or more constructors.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thank

The PowerShell Conference 2015 Asia

July 4, 2015 CSharp, PowerShell, Sessions, Visual Studio , ,

The agenda for the first PowerShell Asia Conference is out!

Several excellent speakers have been lined up for this 2 day conference.  Speakers include Jeffrey Snover (@jsnover) and Nana Lakshmanan (@nanalakshmanan)  from the PowerShell team and a strong line-up of MVPs and well-known community contributors.

They’ll cover in-depth topics on the PowerShell language and how you can use PowerShell to automate the technologies you use.

PowerShellConf2015

The conference is on Friday and Saturday and it ends with a closing session of drinks and nibbles at a local bar. Head right home on Sunday or do some sightseeing. The Formula 1 Grand Prix Night Race is on Sunday.

The full agenda of the conference can be viewed at http://powershell.asia/

I will also be presenting a session on “Object Oriented .NET with PowerShell

Object Oriented Programming has been an essential skill for developers and over the years the technical fraternity has witnessed several OOP languages and leveraged their benefits. Using object orientation in PowerShell can take your scripts go to different level.

The session will focus on using .NET with PowerShell – creating classes in PowerShell, objects, reference types, events, loading assembly and alike. Leverage your .NET skills and create managed-PowerShell scripts!

Do make sure to follow the updates on The PowerShell Conference 2015 Asia on its website on any device you own, or through the Windows Phone app if you own a Windows Phone and Windows Store if you are running Windows 8.1 or 10.

So register yourself today!

Follow on Feedly