Category Archives: Microsoft

Items relating to Microsoft

Salesforce Bulk API Starter Nuget Installation Issue

danieleboldrini reported the following issue when trying to install the SFBulkAPIStarter Nuget package in VisualStudio 2015. Full Issue Details

Could not install package ‘SFBulkAPIStarter 0.12.0’. You are trying to install this package into a project that targets

‘.NETFramework,Version=v4.5.2’, but the package does not contain any assembly references or content files that are compatible with that framework.

With VisualStudio 2015 Community, I was able to reproduce the issue in a new console application. Doing the same in VisualStudio 2013 Community installed fine. Very weird.

After digging around a bit, Microsoft changed how they treat Nuget package lib contents in VisualStudio 2015. In version 0.12, all the DLLs were under the lib folder because they weren’t targeting any specific version of the .NET runtime since there wasn’t a specific version dependency.

To appease the VisualStudio 2015 gods, the DLLs were put under the net45 folder in the Libs folder and released in version 0.13 on Nuget.

What Nuget packaging issues have you encountered? Is there a better way to handle this?

Nuget_SFBulkAPIStarter_0_13

2016 BUILD: THE FUTURE OF C# REVIEW

The Future of C# session is a presentation given by Dustin Campbell and Mads Torgersen talking about the future of the C# language.

Takeaways

  • Designed to run everywhere, compile to native code, develop in any editor, and made open source. This is a work-in-progress with the Roslyn compiler and Visual Studio Code.
  • Mads showcased various new C# features coming in C# 7 and after.
    • Local Functions where you can embed a function in another function.
    • Tuples. (int, int)
    • Patterns. A new control structure that allows one to define a pattern and assign the result to a local variable.
      • Example: “if (v is int i)” – C# will evaluate if v is an integer and if so, assign it to a variable i.
    • Switch on anything now instead of just numeric types.
  • Dustin showcased Roslyn, Visual Studio Code and Visual Studio enhancements.
    • Find all implementations on interfaces and abstract classes.
    • Breakpoints in Visual Studio Code.
    • Better filtering in Intellisense by properties and methods and contains in Visual Studio.
    • Embedded Styling Rules natively in Visual Studio.

What were your takeaways?

Happy Coding,

Luke

2016 Build: The Future of .NET Languages Review

The Future of .NET Languages Review session is a round-table discussion with Dustin Campbell, David Stephens, Seth Juarez, and Mads Torgersen talking about the future of .NET Languages including C#, Visual F#, and Visual Basic.

Mads and Dustin are very intelligent guys who can explain complex ideas in a simple way. I’ve watched many of their sessions over the years and they’re some of my favorite presenters.

Takeaways

  • Visual Basic aka VB is still alive and well. For a while, new C# features were being brought into VB and vice-versa to keep them on par with each other. Now, that will only happen if it makes sense to do so.
  • C# is receiving more functional language features like Tuples and local functions.
  • C# and Visual F# languages are open sourced and the features being added are discussed first on GitHub discussion threads.
  • C# release schedule will be more frequent with smaller features.

What did you think of the video? Any other takeaways worth mentioning?

Happy Coding,

Luke

Microsoft Build 2016

Microsoft held its annual developer conference, Build, in San Francisco last week. Big announcements such as new offerings and improvements to various technologies are done at Build. Also, many developer sessions are offered on various topics. This allows developers to learn and discuss the information in 30 minute or 60 minute blocks.

The Keynote this year showcased many new things such as Windows 10 enhancements, being able to develop XBox games from your XBox, and voice bots aka “Conversations as a Platform”.

Dreaming of Attending

One of these years, I’m going to attend. Perhaps next year.

Estimated Price: $4,000. $2,000 for registration, $1,000 for lodging and $1,000 for travel and food.

Build Exercising

Exercising on my elliptical machine while watching Build videos is one of my favorite activities in the spring. With so many sessions, this keeps me busy for about a month.

Watching presentations from Scott Hanselman is especially entertaining. He keeps it light while keeping the great knowledge flowing like a river.

Sessions To Watch

The Future of C#

The Future of .NET Languages

Running Bash on Ubuntu on Windows

A Developers Guide to Azure SQL Data Warehouse

Large-Scale Compute with Azure Batch

Applications That Learn & Adapt: Azure Machine Learning + Search

UI Test Automation for Browsers and Apps Using the WebDriver Standard

TracePoints, a Better Way to console.log

U-SQL in Azure Data Lake – HyperScale Data Processing for the .NET Developer

Managing Secrets for Azure Apps

Building Multitenant SaaS Applications with Tenant Isolation and Unlimited Scale on Azure SQL Database

Building an Application for the Azure Marketplace

Conversation as a Platform

Five Things You Didn’t Know You Could Build with Microsoft Edge

The Future of Visual Studio

Debugging Tips and Tricks for .NET Developers with Visual Studio

What’s New in Typescript

Building Resilient Services: Learning Lessons from Azure with Mark Russinovich – One of my favorite sessions to watch every year. Mark gives case studies from real clients of what they did wrong and how to improve.

Anders Live

Getting Started in Open Source with Scott Hanselman

Creating Cross-Platform Apps with Angular 2

DevOps at Scale: A True Story

.NET Overview

How Google Uses TypeScript

Python and Node.js on Visual Studio

Mark Russinovich Live

Envisioning Next Generation Financial Trading with HoloLens

Azure Functions Under the Hood

Building and Maintaining Resilient Customer Applications on Azure

Visual Studio 2015 Extensibility

Build 2016 Session Videos