- Token Based Authentication using ASP.NET Web API 2, Owin middleware, and ASP.NET Identity – Part 1.
- AngularJS Token Authentication using ASP.NET Web API 2, Owin, and ASP.NET Identity – Part 2.
- Enable OAuth Refresh Tokens in AngularJS App using ASP .NET Web API 2, and Owin – Part 3.
- ASP.NET Web API 2 external logins with Facebook and Google in AngularJS app – Part 4.
1. Equality Operator
2. Variable Scope
3. For each
4. Switch statement
5. Function overloading
6. undefined function parameter
7. Truthy and Falsy
8. Curly braces and return statement
9. this keyword
- Install nodejs directly in RPi http://nodejs.org/ (may need the latest from https://gist.github.com/adammw/3245130)
- Install Cylon.js (http://cylonjs.com/)
- Install Pi-blaster (https://github.com/hybridgroup/pi-blaster)
- By default, the Android Debug Bridge (ADB) is configured to communicate with an Android device via USB. It is possible to to reconfigure it to use TCP/IP instead of USB. In order to do this, both the device and the computer must be on the same WiFi network. To setup your environment to debug over WiF issue these steps from the command line:
- Determine the IP address of your Android device. One way to find out the IP address is to look under Settings > Wi-Fi, and then tap on the WiFi network that the device is connected to. This will bring up a settings screen showing information about the network connection.
- Connect your Android device to your computer via USB.
- Next restart ADB so that it using TCP on port 5555. From a command prompt, type the following command: adb tcpip 5555
- Disconnect the USB cable connecting your device to your computer
- Configure ADB so that it will connect to your Android device on the port that was specified in step 1 above: e.g. adb connect 192.168.0.12:5555 Once this command finished the Android device is connected to the computer via WiFi.
- When you are done debugging via WiFi, it is possible reset ADB back to USB mode with the following command: adb usb
- To list the connected device, use the command: adb devices
- Data Types
- Access Modifiers and Properties
- Static and Instance Members
- Function Overloading
Free Ebook: Typescript for C# Programmers,
- Create a self-signed Management Certificate. Open a Visual Studio command prompt(As administrator). Details.
makecert -sky exchange -r -n "CN=AzureCertificateName01" -pe -a sha1 -len 2048 -ss My "AzureCertificateName01.cer"
- Upload Management Certificate to Azure
To upload a management certificate to Windows Azure, go to the Settings page in the Management Portal, and then click MANAGEMENT CERTIFICATES.
- To install Windows Azure PowerShell. Download here.
- Set Windows PowerShell execution policy (As adminstrator):
PS C:\> Set-ExecutionPolicy RemoteSigned
- Store Azure Subscription and Certificate locally (Run once) details.
$mySubID = "subscritionID"
$certThumbprint = "Thumbprint"
$myCert = Get-Item cert:\CurrentUser\My\$certThumbprint
$mySubName = "SubscriptionName"
Set-AzureSubscription -SubscriptionName $mySubName -Certificate $myCert -SubscriptionID $mySubID
- Select Azure Subscription
Select-AzureSubscription -SubscriptionName $mySubName
- Store Azure Subscription and Certificate locally
Start-AzureVM -ServiceName "myCloudServiceName" -Name "myVMServiceName"
Stop-AzureVM -ServiceName "myCloudServiceName" -Name "myVMServiceName"