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

January 31, 2016 1Gig Tech No comments , ,

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

Global Azure Bootcamp 2016 Website Template

January 27, 2016 ASP.NET vNext, Azure No comments

Last year I had designed the website for Global Azure Bootcamp 2015, Singapore. The website contained information like Agenda, Speakers, Location, Contact, Sponsors, etc. With the help of Global Organizers around 10 countries were able to customize the template to host their own website for their local event.

This year again I’ve designed the template for Global Azure Bootcamp 2016, Singapore. However, unlike last year, the template needs absolutely NO development effort and NO knowledge of HTML5/CSS3/jQuery, etc.

You just need to provide your event information in a JSON file on GitHub repo and host your website as Azure WebApp (where else?). This process takes less than 10 minutes. You can host it on Linux / Windows as it is built using new ASP.NET Core 1.0

Here are some important links, to get you started

Wiki: https://github.com/punitganshani/azurebootcamp/wiki
Demo Site: http://demo-azurebootcamp.azurewebsites.net/
Singapore Site: http://singapore.azurebootcamp.net

One of my friends is also planning to use this information to create a Mobile Application so as far as you have the JSON file, your location will be automatically added to the Mobile App too. Stay Tuned for updates!

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

December 27, 2015 1Gig Tech No comments , , ,

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 No comments ,

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 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.

  • 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 (#20) – CodeInject, Books, LiveWriter, .NET4.6.1

December 13, 2015 1Gig Tech No comments , , ,

Welcome to 1Gig Tech update!

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

  • The .NET Journey: Recapping the last year (Heath Stewart)
    Having just completed Connect(); // 2015, we thought to take a moment to review everything that’s happened with .NET over the last year, between last year’s and this year’s Connect();. And what a year it’s been! We’ve seen significant developments in the .
  • Optimizing Xamarin.Forms Apps for Maximum Performance
    We know performance matters when it comes to mobile apps. With Xamarin, your iOS and Android apps are fully native apps taking advantage of each and every optimization the platform has to offer. It’s no different if you’re building native mobile apps with Xamarin.
  • Free Red Book: Readings in Database Systems, 5th Edition (Todd Hoff)
    Editors Peter Bailis, Joseph M. Hellerstein, and Michael Stonebraker curated the papers and wrote pithy introductions. Unfortunately, links to the papers are not included, but a kindly wizard, Nindalf, gathered all the referenced papers together and put them in one place. What’s in it?
  • TFVC and Git repositories in the same team project (Heath Stewart)
    Many teams are transitioning from TFVC to Git for version control and want to keep their work items, build definitions, and other data in their team project. Now with TFS Update 1 or Team Services, you can add Git repositories to your existing team project created with TFVC.
  • Programming Sucks
    Every friend I have with a job that involves picking up something heavier than a laptop more than twice a week eventually finds a way to slip something like this into conversation: “Bro,1[1] you don’t work hard. I just worked a 4700-hour week digging a tunnel under Mordor with a screwdriver.”
  • .NET Framework 4.6.1 is now available! (Heath Stewart)
    Today we are announcing the availability of .NET Framework 4.6.1. You can download this release now. The .NET Framework 4.6.1 can be installed on Windows 10, Windows 8.1, Windows 8, Windows 7 and the corresponding server platforms.

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

Thanks

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

December 6, 2015 TFS, Videos No comments , , , , ,

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 No comments , , , ,

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 No comments ,

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

 

1Gig-Tech (#19) – Glimpse, WebHooks, ASP.NET on AWS

December 4, 2015 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.

  • quozd/awesome-dotnet (quozd)
    Awesome .NET! A collection of awesome .NET libraries, tools, frameworks, and software. Inspired by awesome-ruby, awesome-php, awesome-python, frontend-dev-bookmarks and ruby-bookmarks.
  • 01 Punit Ganshani – Packaging your libraries with NuGet
    Speakers: Punit Ganshani Average: 5 (1) Download How do I download the videos? To download, right click the file type you would like and pick “Save target as…” or “Save link as…” Why should I download videos from Channel9? It’s an easy way to save the videos you like locally.
  • Coding is boring, unless… — Enki Blog — Medium
    As a developer, I never managed to stick to the same job for more than two years. Each new job was a good career move, and a high turnover is common in our industry. But my previous employers were not particularly happy that I left.
  • Glimpse v2 Beta1 Released! (nikmd)
    This morning at the Connect(); event in New York city, Scott Hanselman announced some exciting news: Glimpse v2 Beta1 is now available! Glimpse v2 is a major evolution of the platform. We’re extremely proud of what we’ve accomplished thus far, and we think you’ll like what you see.
  • Re: Tyranny of NuGet
    My old friend Mitch Denny (it’s been a while!) wrote about the Tyranny of NuGet. In addition to these two popular uses, NuGet is also used by the new PowerShell Package Management tools as one possible source/provider of packages, once again for installation of software.
  • .NET Reflector 9.0 release notes (Tom Crossman)
    The Roslyn compiler and the C#5 compiler emit different IL for asynchronous and anonymous methods. Reflector can now correctly decompile Roslyn-compiled code for these language constructs. Thanks to Paulo Morgado for his input during the beta program.

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

Thanks

Follow on Feedly