Clone the repository with all the submodules
git clone git@github.com:dmorris99/TH_SVR.git --recursive
git checkout origin/development --track
if you have an old version of git the option --recursive might not exist. In that case run:
git clone git@github.com:dmorris99/TH_SVR.git
git submodule update --init
git checkout origin/development --track
We use NuGet as a package manager, you need to enable package restoration in visual studio under:
TOOLS > Library Package Manager > Package Manager Settings
Turn on the Allow NuGet to download missing packages during build
To avoid having 'empty' commits in git due to Windows/Mac line ending difference, we use the strip'em add-in for Visual studio. You should install it and and set the line ending to Unix (LF).
by default IIS Express does not support PUT and DELETE. Here is a walkthrough on how to fix it: http://geekswithblogs.net/michelotti/archive/2011/05/28/resolve-404-in-iis-express-for-put-and-delete-verbs.aspx
Enabling PUT and DELETE verbs in IIS Express 8 (Without Admin console) http://stackoverflow.com/questions/10906411/asp-net-web-api-put-delete-verbs-not-allowed-iis-8/10907343#10907343
You should go through this to enable ssl during development and allow IIS to server to serve external traffic (to your iOS client for instance ;)
http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx http://www.iis.net/learn/extensions/using-iis-express/handling-url-binding-failures-in-iis-express
Make sure you read the last comment on hanselman.com tutorial by Weilin Chou to keep ssl certificate working after reboot.
To see list of API endpoints, visit https://apigee.com/nia1/embed/console/TradeHeroAPI. As you add more endpoint, please update Documentation/tradehero-wadl.xml
You basically need to patch the config file of the test runner located at:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.x86.exe.config
and add the following node under the configuration node:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
Looking for more info about localization? Feel free to visit TH_IOS wiki!