Month: January 2017

Uncategorized

Searchable Azure Book Catalog from Build Azure

Great resource for finding Azure related material.

Build Azure

It’s generally difficult to find a good book on cloud and Microsoft Azure related material to help learn from. This can be extremely frustrating when you’re new to a technology and are looking for a concise source to get up to speed, and good books are the perfect solution to this. After some deliberation, I’ve decided to start a new project for Build Azure. The new project is the Build Azure Book Catalog, and it’s located at http://books.buildazure.com

buildazurebookcatalogscreenshot001

View original post 335 more words

Uncategorized

Azure Web Apps only in Current Portal from February 1, 2017

Build Azure

azure-app-service-web-app_colorMicrosoft has been working for a couple years to add support to all existing Azure services, as well as a plethora of new services, within the Current Azure Portal (http://portal.azure.com). One of the huge services that wasn’t available in the Current Azure Portal until recently is Azure AD; which is still in Preview within the Current Portal. However, Azure Web Apps have been supported in the Current Azure Portal for about 2 years or so at this point, and Microsoft is taking this new / current portal migration even further…

Starting February 1, 2017, Azure Web Apps will no longer be available in the “Classic” Azure Portal (http://manage.windowsazure.com). For most the duality of the Portals has been a bit frustrating, and it’s relieving to see that Microsoft is making the move to not just add support for services in the Current Portal, but also remove them…

View original post 80 more words

Development

Error when opening an ASP.NET Core project with Visual Studio 2015 after installing Visual Studio 2017 RC : The following error occurred attempting to run the project model server process 1.0.0-preview4-004223

Ok so if your like me and tried installing Visual Studio 2017 RC, you were probably astonished at how fast it installs compared to previous version of Visual Studio. But as impressive at it is at installing, I ran into some compatibility issues with Visual Studio 2015, so I had to uninstall Visual Studio 2017 RC.

Now even with Visual Studio 2017 RC uninstalled, I ended up running into an issue when I was trying to open a  new or existing ASP.NET Core project. Here is the error I would get when trying to open my ASP.NET Core projects in Visual Studio 2015:

The following error occurred attempting to run the project model server process 1.0.0-preview4-004223

image

To resolve this, I had to go to directory “C:\Program Files\dotnet\sdk” and delete folder “1.0.0-preview4-004233” as shown here:

image

This then resolved my issue when trying to open an existing or new ASP.NET Core project in Visual Studio 2015.

Enjoy!

AzureDevelopment

Azure Tools Extension for Visual Studio Code

Came across an awesome Visual Studio Code extension called “Azure Tools for Visual Studio Code” by Brady Gaster. Check it out!

This extension for Visual Studio Code gives Azure developers some convenient commands for creating or accessing resources directly in the editor.

Features

  • Search the Azure QuickStart Templates GitHub repository
  • Download Azure Resource Manager (ARM) template and parameter files to workspace
  • Uses the Azure Resource Manager Tools extension to simplify the template-editing experience
  • ARM template deployment to live Azure subscription
  • Login with Microsoft Account (@hotmail.com, @live.com, etc.)
  • Login with Azure Active Directory (or "Organizational") account
  • Create App Service Web Apps
  • Create App Service Function Apps
  • Create Storage Accounts
  • Get Storage Account connection string
  • Browse to resource in portal
  • Browse to resource group in portal
  • Support for multiple Azure subscriptions
  • Supports all Azure data centers

Each of these commands is visible directly from commands visible in the command palette.

Installation

Azure Tools Extension for Visual Studio Code can be installed from the built-in extension tab in Visual Studio Code. Just search for “Azure Tools” and it will be the first result. Click on the extension and then click on the green “Install” button.

image

This extension is available as an open-source project and can be found in the GitHub repository https://github.com/bradygaster/azure-tools-vscode.

Enjoy!

References

Announcing the Azure Tools Extension for Visual Studio Code

Uncategorized

Observable’s in Angular 2 (RxJS)

mytechnetknowhows

Observables in Angular 2 can be achieved using RxJS(Reactive Extensions for JavaScript). Observables is an ES7 feature so you need to make use of an external library to use it today. RxJS is a library that allows you to work with asynchronous data streams. So what are asynchronous data streams?

  • Asynchronous – we can call a function and register a callback to be notified when results are available, so we can continue with execution and avoid the Web Page from being unresponsive. This is used for ajax calls, DOM-events, Promises, WebWorkers and WebSockets.
  • Data – raw information in the form of JavaScript data types as: Number, String, Objects (Arrays, Sets, Maps).
  • Streams – sequences of data made available over time. Technically everything is stream.

Observables can help manage async data and a few other useful patterns. Observables are similar to Promises but with a few key differences. The first is Observables emit multiple…

View original post 853 more words