Happiness is a Boring Stack - C# SQL Server, etc doesn't break, but still keep up with the latest cool stuff.
Monday, October 31, 2016
Javascript Links
If you are new to JavaScript, start with the articles in the learning area and the JavaScript Guide. Once you have a firm grasp of the fundamentals, you can use the JavaScript Reference to get more details on individual objects and statements.
Getting st
Friday, October 28, 2016
Node.js
Express web framework:
In Visual Studio:
AngularJS: AJAX using ASP.NET Web API & Node.JS:
Run a node server app as a windows service or in the background:
I've npm installed PM2
pm2 list
pm2 start appHttp.js
pm2 stop appHttp.js
Upgrade node and npm
Download and run Node MSI (the official Node site)
Run npm-windows-upgrade (the official NPM site)
node -v
npm -v
here's how to upgrade npm:
npm-windows-upgrade -p -v latest
Node for Windows guidelines
Node API Docs
%APPDATA%\npm\node_modules\learnyounode\node_apidoc
NPM
Scenario: install lodash globally, then make it a dependency of the project
-----------------------------------------------------------------------------------------
npm install -g (-g is for global)
ex: npm i -g lodash
npm i --save lodash (this marks lodash as a project dependency in the package.json file )
-----------------------------------------------------------------------------------------
Scenario: install packages locally and check them in
(an option to consider)
need to have node_modules folder in .gitignore
-----------------------------------------------------------------------------------------
Scenario: download dependencies not checked in
npm install
-----------------------------------------------------------------------------------------
npm shrinkwrap (do this after an install so that dependencies of dependencies, etc get versioned
so that everyone cloning the project will have all the same dependencies recursively down the
dependency chain) - Caveat - to be 100% confident, check binaries in.
Sunday, September 25, 2016
Web API Links
Try this:
With StructureMap
this:
it works with SM 4.4.1
VStudio example with logging confirmation: $/Bucket/Services/WebApiStructureMap
not this:
Saturday, September 17, 2016
New Project Connected to BitBucket Git Repo
(Using a Web API project)
Create project in VS2015 selecting "Create new Git repository" checkbox.
Click on Team Explorer Home toolbar button.
Click on Sync button.
Create repo in BitBucket.
Under "Publish to Remote Repository", click "Publish Git Repo"
Get URL to BB repo under Command Line link "I'm starting from scratch"
Paste then click "Publish"
Now click Sync, and with little or no indication of any progress you should see the files in BB.
You can change a file and check in then sync and it should appear in BB (or actually, I think you may need to put a change in, not sure)
Sunday, January 17, 2016
Android Links
Navigation
Designing Effective Navigation (Android Developers)
Versions
Marshmallow 6
Lollipop 5
KitKat 4.4 - 4.4.4, 4.4W - 4.4W.2
Subscribe to:
Posts (Atom)