So, I recently refreshed my Mac - I use it for Xamarin development and while I am travelling or to show off :D I use it in conjunction of my awesome Windows Desktop Build with VS2017. So I follow the drill, install Mac - update all things - setup iTunes etc. This time I started with Brew first to install NodeJS - even before I installed XCode or Xamarin - Brew suggested to install XCode command line tools so I installed it (almost there, hang on). Then I installed XCode (v8.3.2 in my case - yours might be different) and then all things Xamarin. This worked pretty well on MAC somehow. But then I tried to connect my VS + Xamarin setup with Xamarin Mac Agent and I keep getting this error: Xcode license must be accepted in order to be connected and working against the Mac I did » Read more

 Jsinh        

THE IDEA "God's Own Machine" - Always loved this term, not sure who coined it but read it first from Scott's Blog long back. All right - back in Early 2014, I decided to create my own build (custom assembled desktop computer) and I came up with a build that I call "Triga". Follow the link for more details of it. Three years later while using Triga day and night, I started feeling to do an upgrade and create a better build to keep up with the new tech / gadget's trend. Plus, this one was dying or lagging at times, especially when I try to work on Xamarin based stuffs. I believe that it is worth spending money as a programmer if you can save time and be more productive in your work instead of waiting for couple of seconds to few minutes to see your » Read more

 Jsinh        

Developers mostly like to take control of your machine and how things work on it. This time I decided to take control where NodeJS would restore my global packages and manages package cache. In this case I am referring to Windows 10 particularly as that is my core development platform. By default NodeJS gets installed in C:\Program Files\nodejs folder (assuming you are installing nodejs - Windows x64 version). After installation lets say I wish to install http-server package so I can run static HTTP server from any folder. As soon as I do npm install http-server -g, this start adding package and it's dependency packages into C:\Users\username\AppData\Roaming\npm and C:\Users\username\AppData\Roaming\npm-cache folder. So I wish to shift these two folders to different and custom location e.g: D:\nodejs. Let's do it! Step: Edit NPMRC file at follow location: C: » Read more

 Jsinh        

Using MySQL community server in one of the projects I have been working on. Few days back I reset my machine and installed latest version of MySQL server - v5.7.12 (development mode). This started giving me error on "update from source" in EntityFramework (EDMX) - design first approach. Unexpected exception occurred when generating the model. See output window for more details. Exception message : 'StrongTypingException: The value for column 'IsPrimaryKey' in table 'TableDetails' is DBNull.'. So I started googling (obviously) and came across few bugs already reported with similar problem - here and here. I was able to solve the issue in most simplest way possible is to downgrade to MySQL Server Version 5.6.30 There might be other ways to fix it with latest version of MySQL server but this was the straight forward fix I can use to get around this issue and » Read more

 Jsinh        

Azure notification hub can be used to send push notification to your client app. It supports sending push notification to application build with Xamarin (but not only restricted to it). I create a notification hub in Azure using FREE TIER for a work related project, with intention to be used by team to work and test push notification in their application development. Development environment setup gave assumption that the usage will be quite less so free tier will suffice the need here. When you install the application (the one which has integrated Azure Notification Hub) on first run application will register the device with the Azure notification hub service (based on permission available) and that will count against "Active Device" in your hub server statistics. Last night, team member complained that he is now getting: 'The remote server returned an error: (403) Forbidden.'.', Exception=System.Net. » Read more

 Jsinh