Posts

Mystery of NuGet Packages in Visual Studio 2019/2020

This repository is for NuGet Packages in Visual Studio 2019/2020. The Nuget package  EncryptValidate  uses   Rijndael for encrypting passwords and also converting text to a  SecureString  object. Using secure objects, you can read more about secure strings here https://docs.microsoft.com/en-us/dotnet/api/system.security.securestring?view=netcore-3.1#HowSecure https://github.com/AlphaDeveloperYouTube/NugetPackages  The full tutorial can be found on YouTube https://www.youtube.com/watch?v=AXs_dCj2MoI&feature=push-u-sub&attr_tag=2VNBLc9-7j5v79uv%3A6

React for Beginners Step 5 - Displaying API JSON Array Data within Render Method

This code is for the following video:  https://youtu.be/_b9L38nJRws      import   React , {  Component  }  from   'react' ; //import Contacts from './components/contacts'; class   App   extends   Component  {    state  = {      books :  []   }    componentDidMount () {      fetch ( 'https://www.anapioficeandfire.com/api/books?pageSize=30' )       . then ( res   =>   res . json ())       . then (( data )  =>  {          this . setState ({  books :   data  })       })       . catch ( console . log )   }    render () {      var   output      var   output2      if  ( this . state . books  ==  undefined  ||  this . state . books . length  ==  0 ) {        output  =  'Hold on...data is loading'     }      else  {        output  =  this . state . books [ 0 ]. name          output2  =  ' ISBN:'  +  this . state . books [ 0 ]. isbn     }      return  (        < div >          < li >   { output }   </ li >          < li >   {

React for Beginners Step 4 - Making an API Call + Render Method + componentDidMount Video

This code relates to Step 4 of the video here:  https://youtu.be/bLFNFbnntgw import   React , {  Component  }  from   'react' ; //import Contacts from './components/contacts'; class   App   extends   Component  {    state  = {      books :  []   }    componentDidMount () {      fetch ( 'https://www.anapioficeandfire.com/api/books?pageSize=30' )       . then ( res   =>   res . json ())       . then (( data )  =>  {          this . setState ({  books :   data  })       })       . catch ( console . log )   }    render () {       var   output       var   output2    if  ( this . state . books  ==  undefined  ||  this . state . books . length  ==  0 ) {      output  =  'Hold on...data is loading'         }          else         {            output  = this . state . books [ 0 ]. name                output2  = ' ISBN:'  +  this . state . books [ 0 ]. isbn           }      return  (        < div >      < li >   { output }   </ li >

Step 2 - creating first scaffold app for ReactJS

This post relates to video step here:  https://www.youtube.com/watch?v=vGF3sIESnBc First create a folder in the Windows directory Then in the address bar type in cmd Type the following commands npx create-react-app my-app cd my-app npm start

Logitech USB Unifying Receiver

Image
A bit of helpful tip before you buy a Logitech keyboard or mouse. Logitech basically have two types of connections for connecting keyboards and mouse.  Some of their devices are compatible with something called the "Unifying Receiver" this means that you can connect two devices such as keyboard and mouse to one USB receiver.  Other devices do not connect to a unifying receiver and instead connect to something called a nano received. The nano receiver is unique per device so will not connect to another keyboard or mouse from logitech other than the one it came with. So the most popular MK270 combo that Logitech have is not compatible with a unifying receiver so if you damage your receiver, you cannot go out and buy a new receiver for your keyboard or mouse. And vice-versa if you damage your mouse from the combo set of MK270, you cannot just buy a replacement mouse that can connect to same receiver. You will have to buy a new receiver too for your mouse unless one comes with it

Jabra Elite 45e alternative to Bose Soundsport Comfort

Image
Good morning on this windy day in the North West region of UK. I think I have found an alternative to Bose Soundsport earphones/earbuds. These are the Jabra Elite 45e, after a bit of research I have ordered these but not tested them as of yet. I will let you know their comfort level in my next blog. These headphones, based on my research, also do not go directly into the ear canal.  I got these from Jabra's ebay store brand new for £44.99. Original price was £89.00 Check out my next blog for their full comfort level review and sound quality.

Bose SoundSport wireless headphones £114.95

Image
The most comfortable wireless earphones in the market without making you feel claustrophobic. I am seriously considering these as my brother already has them and they are really good. One thing I like about them is that they are comfortable in the ear. Unlike the most in earphone they do not need to go into your ear canal. The horrible under water or in swimming pool feeling does not apply to these. SoundSport wireless headphones are currently on sale at the official Bose store: https://www.bose.co.uk/en_gb/products/headphones/earphones/soundsport-wireless.html#v=soundsport_wireless_aqua The wired version. One thing to consider is that if the price is too high for you, then get the wired version from official Bose store here: https://www.bose.co.uk/en_gb/products/headphones/earphones/soundsport-in-ear-headphones-samsung-devices.html#v=soundsport_ie_headphones_ii_samsung_charcoal The wired version cost £44.95 at the time of writing. They were same price on Amazon but were out of stock o