Enterprise Framework

Software Solutions in the Enterprise

How To : ASP.NET vNext : Step by Step Setup on Mac and console app

ASP.NET vNext Step by Step setup on Mac and console app

I have put together a sequence of continuous steps for running vNext on your Mac

  1. Open Terminal
  2. Install Ruby
  3. Install Homebrew by running:
    1. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    2. brew install wget
  4. Run the brew command to tap the ASP.NET vNext related git repositories
    1. brew tap aspnet/k
    2. To delete the previous tap commands
      1. brew untap aspnet/k
  5. Run install for KVM to install the latest KRE package
    1. brew install kvm
  6. Run the following if kvm is not recognized by terminal
    1. source kvm.sh
  7. Switch directories.  Replace {username} with your username.
    1. cd /users/{username}/Documents
  8. Make a new directory
    1. mkdir C#
    2. cd C#
  9. Use vi to create a new file called Program.cs
    1. vi Program.cs
    2. :i
    3. using System;

      public class Program
      {
      public static void Main()
      {
      Console.WriteLine("Hello World");
      }
      }
    4. press ESC
    5. :w
    6. press ESC
    7. :q!
  10. Use vi to create a new file called project.json
    1. vi project.json
    2. :i
    3. {
      "dependencies": {

      },
      "frameworks": {
      "aspnet50": {},
      "aspnetcore50": {
      "dependencies": {
      "System.Console": “4.0.0-beta-*”
      }
      }
      }
      }
    4. press ESC
    5. :w
    6. press ESC
    7. :q!
  11. Run the kpm restore command.
    1. kpm restore
  12. Run the program
    1. k run
References:

vNext home page is http://www.asp.net/vnext

vNext Source code is https://github.com/aspnet/home

vNext Wiki is https://github.com/aspnet/Home/wiki


Mac ASP.NET vNext Development Tools

ASP.NET vNext Tools for Mac

Atom.IO

A hackable text editor developed by Github



Sublime

Sublime Text is a sophisticated text editor for code, markup and prose.
You'll love the slick user interface, extraordinary features and amazing performance.

http://www.sublimetext.com/3

Sublime extension for ASP.NET vNext

https://github.com/ligershark/kulture/

Omnisharp

OmniSharp is a family of Open Source projects, each with one goal - To enable great .NET development in YOUR editor of choice.

http://www.omnisharp.net/

Innovation : ASP.NET vNext

What is ASP.NET vNext?

It's the next generation of ASP.NET built by Microsoft that can be ran on Linux, Mac and of course Windows.  ASP.NET MVC and ASP.NET Web API in ASP.NET vNext are becoming a single unified framework.

The vNext home page is http://www.asp.net/vnext

The vNext Source code is https://github.com/aspnet/home

The vNext Wiki is https://github.com/aspnet/Home/wiki

Minimum Requirements

Getting Started

Github DotNet
- https://github.com/dotnet

I'm excited to try it with Mac and Linux.  I think the opportunities will be endless

Related Articles:

http://www.hanselman.com/blog/IntroducingASPNETVNext.aspx

http://www.hanselman.com/blog/AnnouncingNET2015NETasOpenSourceNETonMacandLinuxandVisualStudioCommunity.aspx

http://news.microsoft.com/2014/11/12/microsoft-takes-net-open-source-and-cross-platform-adds-new-development-capabilities-with-visual-studio-2015-net-2015-and-visual-studio-online/

http://blogs.msdn.com/b/somasegar/archive/2014/11/12/opening-up-visual-studio-and-net-to-every-developer-any-application-net-server-core-open-source-and-cross-platform-visual-studio-community-2013-and-preview-of-visual-studio-2015-and-net-2015.aspx

Visual Studio 2013 : Compile Errors for System.Linq and System.Data.Entity

Visual Studio 2013 Compile Errors

  • Error 1 - 'System.Linq.IQueryable<int>' does not contain a definition for 'FirstOrDefaultAsync' and no extension method 'FirstOrDefaultAsync' accepting a first argument of type 'System.Linq.IQueryable<int>' could be found (are you missing a using directive or an assembly reference?)
  • Error 2 - 'System.Data.Entity.DbSet<MyApp.Models.MyClass>' does not contain a definition for 'CountAsync' and no extension method 'CountAsync' accepting a first argument of type 'System.Data.Entity.DbSet<MyApp.Models.MyClass>' could be found (are you missing a using directive or an assembly reference?)
  • Error 3 - 'System.Data.Entity.DbSet<MyApp.Models.MyClass>' does not contain a definition for 'FirstOrDefaultAsync' and no extension method 'FirstOrDefaultAsync' accepting a first argument of type 'System.Data.Entity.DbSet<MyApp.Models.MyClass>' could be found (are you missing a using directive or an assembly reference?)
Fix by adding:
using System.Data.Entity;

How To : Ubuntu 14.04 : Install MEAN stack

How To Install MEAN on Ubuntu 14.04

MEAN = Mongo, Express, AngularJS, Node.js

  1. Install npm, this will install Node.js as well.
    1. sudo apt-get install npm
  2. Install MongoDb
    1. sudo apt-get install mongodb
  3. Create a symlink
    1. sudo ln -s /usr/bin/nodejs /usr/bin/node
  4. Install Bower
    1. sudo npm install -g bower
  5. Install Grunt
    1. sudo npm install -g grunt-cli
  6. Install Latest MEAN.IO
    1. sudo npm install -g meanio@latest
  7. Initialize a new application
    1. mean init {YourNewApp}
  8. Add Dependencies
    1. cd {YourNewApp} && npm install
      1. Express
      2. Mongoose
      3. Passport
      4. AngularJS
      5. Twitter Bootstrap
      6. UI Bootstrap
  9. Run the App
    1. grunt
  10. View in browser
    1. http://YourIP:3000
Visit MEAN.IO for details


How To : Install Windows Azure Pack : Service Bus 1.1 (Windows Service Bus 1.1)

Install Service Bus 1.1 on Windows Server 2012 R2

Recently I tried installing Windows Azure Package Service Bus 1.1 (Windows Service Bus 1.1) onto Windows 2012 R2 but encountered installation issues.  


  1. Search for Service Bus 1.1 

    In the search results, click Add to the right of "Windows Azure Pack: Service Bus 1.1"

    Click Install

    Click I Accept

    Click Continue for Updates 

  2. If you get an error:

    We're sorry. The following products have failed to install.
    Microsoft Windows Fabric V1 CU1
    This product did not install successfully
    Windows Azure Pack: Service Bus 1.1
    This product cannot be installed because a product that it depends on did not install successfully.
    Web Platform Installer 5.0 Log
    The following products were successfully installed.

    Microsoft Windows Fabric v1 RTM
  3. The output of the log file was 

    DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9842185
    DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9842185 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Length: 175
    Content-Type: text/html; charset=utf-8
    Expires: Tue, 05 Aug 2014 19:21:40 GMT
    Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 2.0.50727
    Set-Cookie: MC1=GUID=b8a90906345ec44b9734fb0bc0bef7f1&HASH=0609&LV=20148&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
    X-Powered-By: ASP.NET
    Date: Tue, 05 Aug 2014 19:22:39 GMT
    
    
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '436628'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '7190440'
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '109979'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '441687'
    DownloadManager Warning: 0 : Could not resolve keyword ID AzuerReady
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-97141593.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '11468'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '64021'
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-230948881.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '11373'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '65942'
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1135381691.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '7517'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '40596'
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1877981721.xml'
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9842185' after preprocessing, location on disk: 'C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1343597488.xml'
    DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
    DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Length: 203
    Content-Type: text/html; charset=utf-8
    Expires: Tue, 05 Aug 2014 19:21:41 GMT
    Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 2.0.50727
    Set-Cookie: MC1=GUID=5ac4b356e09d944aae83a0c262163979&HASH=56b3&LV=20148&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
    X-Powered-By: ASP.NET
    Date: Tue, 05 Aug 2014 19:22:41 GMT
    
    
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '22960'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '76029'
    DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
    DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
    DownloadManager Information: 0 : Ratings file loaded successfully
    DownloadManager Error: 0 : WebClient download error. Uri: http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png, Error: System.Net.WebException: The remote server returned an error: (404) Not Found.
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png responded with 404
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 404 The specified blob does not exist.
    Content-Length: 215
    Content-Type: application/xml
    Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    x-ms-request-id: 4edfdef3-27be-4ef0-9921-50b2b1b99759
    x-ms-version: 2009-09-19
    Date: Tue, 05 Aug 2014 19:22:50 GMT
    
    
    DownloadManager Error: 0 : WinInet download error. Uri: http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png, Error: System.Net.WebException: Url 'http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png' returned HTTP status code: 404
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Error: 0 : WebClient download error. Uri: http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png, Error: System.Net.WebException: The remote server returned an error: (404) Not Found.
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png responded with 404
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 404 The specified blob does not exist.
    Content-Length: 215
    Content-Type: application/xml
    Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
    x-ms-request-id: 3b1ce36b-db66-422e-b115-705423a2d64b
    x-ms-version: 2009-09-19
    Date: Tue, 05 Aug 2014 19:23:08 GMT
    
    
    DownloadManager Error: 0 : WinInet download error. Uri: http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png, Error: System.Net.WebException: Url 'http://dpetrainingkits.blob.core.windows.net/shared/EnterpriseDevCamps.png' returned HTTP status code: 404
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.OpenUrlAndFollowRedirects(Uri& uri, IntPtr& hInetFile)
       at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
       at Microsoft.Web.PlatformInstaller.UI.DownloadServiceImplementation.DownloadFile(Uri uri, String filePath)
    DownloadManager Information: 0 : Adding product Windows Azure Pack: Service Bus 1.1 (ServiceBus_1_1) to cart
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Adding product 'ServiceBus_1_1'
    DownloadManager Information: 0 : Adding dependency product 'WindowsFabric
    DownloadManager Information: 0 : Checking MU opt-in status.
    DownloadManager Information: 0 : MU Service found: Microsoft Update
    DownloadManager Information: 0 : MU Opt-in Status: usrsRegistered
    DownloadManager Information: 0 : Setting current install to 1
    DownloadManager Information: 0 : Starting install sequence
    DownloadManager Information: 0 : Downloading file 'http://download.microsoft.com/download/B/3/3/B33EC622-B250-49A1-A314-97CCB0DEFFC0/WindowsFabricCU1.1.0.976.0.msp' to: C:\Users\ramiscaray\AppData\Local\Temp\tmp1F13.tmp
    DownloadManager Information: 0 : Content-disposition header: attachment
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '10915840'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '10915840'
    DownloadManager Information: 0 : Moving downloaded file 'C:\Users\ramiscaray\AppData\Local\Temp\tmp1F13.tmp' to: C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsFabric\F7A92FE4B397E73B3B38F3C7717754BF8FC742E3\WindowsFabricCU1.1.0.976.0.msp
    DownloadManager Information: 0 : Downloading file 'http://go.microsoft.com/fwlink/?LinkID=324000&CLCID=0x409' to: C:\Users\ramiscaray\AppData\Local\Temp\tmp2454.tmp
    DownloadManager Information: 0 : http://go.microsoft.com/fwlink/?LinkID=324000&CLCID=0x409 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Type: text/html; charset=utf-8
    Expires: Tue, 05 Aug 2014 19:24:01 GMT
    Location: http://download.microsoft.com/download/A/C/4/AC4B3ABA-EF70-4C24-8827-6FBFA1857D96/SB1-1_RTM/en/Service_Bus.msi
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Date: Tue, 05 Aug 2014 19:25:00 GMT
    Content-Length: 227
    
    
    DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Windows Fabric V1 CU1'. Commandline is: 'C:\Windows\sysnative\msiexec.exe /update "C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsFabric\F7A92FE4B397E73B3B38F3C7717754BF8FC742E3\WindowsFabricCU1.1.0.976.0.msp" /quiet /norestart IACCEPTEULA=yes PRINCIPALUSER=ramiscaray PRINCIPALDOMAIN=SCNETI'. Process Id: 4036
    DownloadManager Information: 0 : Install exit code for product 'Microsoft Windows Fabric V1 CU1' is '1603'
    DownloadManager Error: 0 : Install return code for product 'Microsoft Windows Fabric V1 CU1' is Failure
    DownloadManager Information: 0 : Product Microsoft Windows Fabric V1 CU1 done install completed
    DownloadManager Information: 0 : Increasing current install to 2
    DownloadManager Information: 0 : Content-disposition header: attachment
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '7610880'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '7610880'
    DownloadManager Information: 0 : Moving downloaded file 'C:\Users\ramiscaray\AppData\Local\Temp\tmp2454.tmp' to: C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBus_1_1\1C4BEC246A78DB77E92CAEC589C64FF7702F7AA8\Service_Bus.msi
    DownloadManager Warning: 0 : Dependency failed for product 'Windows Azure Pack: Service Bus 1.1'. Skipping install
    DownloadManager Information: 0 : Product Windows Azure Pack: Service Bus 1.1 had a dependency fail. Increasing install product to 3
    DownloadManager Information: 0 : Product: WindowsFabric, Install Status: InstallCompleted-Failure, Install Time: 00:00:00.5468636
    DownloadManager Information: 0 : Product: ServiceBus_1_1, Install Status: DependencyFailed-None, Install Time: 00:00:00
    DownloadManager Information: 0 : Clearing cart
    DownloadManager Information: 0 : Adding product Windows Azure Pack: Service Bus 1.1 (ServiceBus_1_1) to cart
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Adding product 'ServiceBus_1_1'
    DownloadManager Information: 0 : Adding dependency product 'WindowsFabric
    DownloadManager Information: 0 : Checking MU opt-in status.
    DownloadManager Information: 0 : MU Service found: Microsoft Update
    DownloadManager Information: 0 : MU Opt-in Status: usrsRegistered
    DownloadManager Information: 0 : Setting current install to 1
    DownloadManager Information: 0 : Starting install sequence
    DownloadManager Information: 0 : Using cached file at C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsFabric\f7a92fe4b397e73b3b38f3c7717754bf8fc742e3\WindowsFabricCU1.1.0.976.0.msp instead of downloading from http://download.microsoft.com/download/B/3/3/B33EC622-B250-49A1-A314-97CCB0DEFFC0/WindowsFabricCU1.1.0.976.0.msp
    DownloadManager Information: 0 : Downloading file 'http://go.microsoft.com/fwlink/?LinkID=324000&CLCID=0x409' to: C:\Users\ramiscaray\AppData\Local\Temp\tmp12DB.tmp
    DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Windows Fabric V1 CU1'. Commandline is: 'C:\Windows\sysnative\msiexec.exe /update "C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsFabric\f7a92fe4b397e73b3b38f3c7717754bf8fc742e3\WindowsFabricCU1.1.0.976.0.msp" /quiet /norestart IACCEPTEULA=yes PRINCIPALUSER=ramiscaray PRINCIPALDOMAIN=SCNETI'. Process Id: 3276
    DownloadManager Information: 0 : http://go.microsoft.com/fwlink/?LinkID=324000&CLCID=0x409 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Type: text/html; charset=utf-8
    Expires: Tue, 05 Aug 2014 19:25:02 GMT
    Location: http://download.microsoft.com/download/A/C/4/AC4B3ABA-EF70-4C24-8827-6FBFA1857D96/SB1-1_RTM/en/Service_Bus.msi
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Date: Tue, 05 Aug 2014 19:26:02 GMT
    Content-Length: 227
    
    
    DownloadManager Information: 0 : Content-disposition header: attachment
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '7610880'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '7610880'
    DownloadManager Information: 0 : File 'C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBus_1_1\1C4BEC246A78DB77E92CAEC589C64FF7702F7AA8\Service_Bus.msi' already exists, deleting old copy of the file
    DownloadManager Information: 0 : Moving downloaded file 'C:\Users\ramiscaray\AppData\Local\Temp\tmp12DB.tmp' to: C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBus_1_1\1C4BEC246A78DB77E92CAEC589C64FF7702F7AA8\Service_Bus.msi
    DownloadManager Information: 0 : Install exit code for product 'Microsoft Windows Fabric V1 CU1' is '1603'
    DownloadManager Error: 0 : Install return code for product 'Microsoft Windows Fabric V1 CU1' is Failure
    DownloadManager Warning: 0 : Dependency failed for product 'Windows Azure Pack: Service Bus 1.1'. Skipping install
    DownloadManager Information: 0 : Product Microsoft Windows Fabric V1 CU1 done install completed
    DownloadManager Information: 0 : Increasing current install to 2
    DownloadManager Information: 0 : Product Windows Azure Pack: Service Bus 1.1 had a dependency fail. Increasing install product to 3
    DownloadManager Information: 0 : Product: WindowsFabric, Install Status: InstallCompleted-Failure, Install Time: 00:00:00.9218684
    DownloadManager Information: 0 : Product: ServiceBus_1_1, Install Status: DependencyFailed-None, Install Time: 00:00:00
    DownloadManager Information: 0 : Clearing cart
    DownloadManager Information: 0 : Adding product Windows Azure Pack: Service Bus 1.1 (ServiceBus_1_1) to cart
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product VC11Redist_x64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Adding product 'ServiceBus_1_1'
    DownloadManager Information: 0 : Adding dependency product 'WindowsFabric
    DownloadManager Information: 0 : Checking MU opt-in status.
    DownloadManager Information: 0 : MU Service found: Microsoft Update
    DownloadManager Information: 0 : MU Opt-in Status: usrsRegistered
    DownloadManager Information: 0 : Setting current install to 1
    DownloadManager Information: 0 : Starting install sequence
    DownloadManager Information: 0 : Using cached file at C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsFabric\f7a92fe4b397e73b3b38f3c7717754bf8fc742e3\WindowsFabricCU1.1.0.976.0.msp instead of downloading from http://download.microsoft.com/download/B/3/3/B33EC622-B250-49A1-A314-97CCB0DEFFC0/WindowsFabricCU1.1.0.976.0.msp
    DownloadManager Information: 0 : Downloading file 'http://go.microsoft.com/fwlink/?LinkID=324000&CLCID=0x409' to: C:\Users\ramiscaray\AppData\Local\Temp\tmpB478.tmp
    DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Windows Fabric V1 CU1'. Commandline is: 'C:\Windows\sysnative\msiexec.exe /update "C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsFabric\f7a92fe4b397e73b3b38f3c7717754bf8fc742e3\WindowsFabricCU1.1.0.976.0.msp" /quiet /norestart IACCEPTEULA=yes PRINCIPALUSER=ramiscaray PRINCIPALDOMAIN=SCNETI'. Process Id: 1796
    DownloadManager Information: 0 : http://go.microsoft.com/fwlink/?LinkID=324000&CLCID=0x409 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Type: text/html; charset=utf-8
    Expires: Tue, 05 Aug 2014 19:30:08 GMT
    Location: http://download.microsoft.com/download/A/C/4/AC4B3ABA-EF70-4C24-8827-6FBFA1857D96/SB1-1_RTM/en/Service_Bus.msi
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Date: Tue, 05 Aug 2014 19:31:08 GMT
    Content-Length: 227
    
    
    DownloadManager Information: 0 : Content-disposition header: attachment
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '7610880'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '7610880'
    DownloadManager Information: 0 : File 'C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBus_1_1\1C4BEC246A78DB77E92CAEC589C64FF7702F7AA8\Service_Bus.msi' already exists, deleting old copy of the file
    DownloadManager Information: 0 : Moving downloaded file 'C:\Users\ramiscaray\AppData\Local\Temp\tmpB478.tmp' to: C:\Users\ramiscaray\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBus_1_1\1C4BEC246A78DB77E92CAEC589C64FF7702F7AA8\Service_Bus.msi
    DownloadManager Information: 0 : Install exit code for product 'Microsoft Windows Fabric V1 CU1' is '1603'
    DownloadManager Error: 0 : Install return code for product 'Microsoft Windows Fabric V1 CU1' is Failure
    DownloadManager Warning: 0 : Dependency failed for product 'Windows Azure Pack: Service Bus 1.1'. Skipping install
    DownloadManager Information: 0 : Product Microsoft Windows Fabric V1 CU1 done install completed
    DownloadManager Information: 0 : Increasing current install to 2
    DownloadManager Information: 0 : Product Windows Azure Pack: Service Bus 1.1 had a dependency fail. Increasing install product to 3
    DownloadManager Information: 0 : Product: WindowsFabric, Install Status: InstallCompleted-Failure, Install Time: 00:00:01.4965021
    DownloadManager Information: 0 : Product: ServiceBus_1_1, Install Status: DependencyFailed-None, Install Time: 00:00:00
    
  4. After looking at Event Viewer > Windows Logs > Applications > (!) Error.  This should have been in the prerequisites.

    Product: Windows Fabric -- This product requires Microsoft VC Runtime 11 to work.
    
  5. The fix

    Install Visual C++ Redistributable for Visual Studio 2012.  You can download Visual C++ Redistributable  for Visual Studio 2012. The most recent is Update 4.
    
    http://www.microsoft.com/en-us/download/confirmation.aspx?id=30679
    
  6. Restart the Web Platform Installer Install for Service Bus 1.1