diff --git a/.gitignore b/.gitignore
index fd5204b5f64..98c4cb479a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,9 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
+# Orleans code-gen files
+orleans.codegen.cs
+
# User-specific files
*.suo
*.user
@@ -138,6 +141,8 @@ publish/
!**/packages/build/
# If using the old MSBuild-Integrated Package Restore, uncomment this:
#!**/packages/repositories.config
+# Auto-downloaded nuget.exe
+**/[Nn]u[Gg]et.exe
# Windows Azure Build Output
csx/
diff --git a/README.md b/README.md
index dd812865ffc..3c6da0982e3 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,13 @@
Orleans - Distributed Actor Model
=======
+[](http://corefx-ci.cloudapp.net/jenkins/job/dotnet_orleans/)
+
Orleans is a framework that provides a straightforward approach to building distributed high-scale computing applications, without the need to learn and apply complex concurrency or other scaling patterns. It was created by Microsoft Research and designed for use in the cloud. Orleans has been used extensively in Microsoft Azure by several Microsoft product groups, most notably by 343 Industries as a platform for all of Halo 4 cloud services, as well as by a number of other companies.
-Documenation
+Documentation
=======
-Documenation is localed [here] (https://github.com/dotnet/orleans/wiki).
+Documentation is located [here] (https://github.com/dotnet/orleans/wiki).
License
diff --git a/src/ClientGenerator/Serialization/SerializationGenerator.cs b/src/ClientGenerator/Serialization/SerializationGenerator.cs
index 5764bc15d05..1fa700355ec 100644
--- a/src/ClientGenerator/Serialization/SerializationGenerator.cs
+++ b/src/ClientGenerator/Serialization/SerializationGenerator.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections.Generic;
using System.CodeDom;
using System.Linq;
diff --git a/src/Orleans/Configuration/ConfigUtilities.cs b/src/Orleans/Configuration/ConfigUtilities.cs
index eefd1f0f8e2..b6a5a7436d3 100644
--- a/src/Orleans/Configuration/ConfigUtilities.cs
+++ b/src/Orleans/Configuration/ConfigUtilities.cs
@@ -311,8 +311,8 @@ internal static TimeSpan ParseTimeSpan(string input, string errorMessage)
unitSize = 1000; // Default is seconds
numberInput = trimmedInput;
}
- int rawTimeSpan;
- if (!Int32.TryParse(numberInput, out rawTimeSpan))
+ double rawTimeSpan;
+ if (!double.TryParse(numberInput, out rawTimeSpan))
{
throw new FormatException(errorMessage + ". Tried to parse " + input);
}
diff --git a/src/OrleansAzureUtils/AzureClient.cs b/src/OrleansAzureUtils/AzureClient.cs
index 372f8fb2306..40ff610cedb 100644
--- a/src/OrleansAzureUtils/AzureClient.cs
+++ b/src/OrleansAzureUtils/AzureClient.cs
@@ -38,9 +38,9 @@ namespace Orleans.Runtime.Host
public static class AzureClient
{
/// Number of retry attempts to make when searching for gateway silos to connect to.
- public static int MaxRetries = AzureConstants.MAX_RETRIES; // 120 x 5s = Total: 10 minutes
+ public static readonly int MaxRetries = AzureConstants.MAX_RETRIES; // 120 x 5s = Total: 10 minutes
/// Amount of time to pause before each retry attempt.
- public static TimeSpan StartupRetryPause = AzureConstants.STARTUP_TIME_PAUSE; // 5 seconds
+ public static readonly TimeSpan StartupRetryPause = AzureConstants.STARTUP_TIME_PAUSE; // 5 seconds
///
/// Whether the Orleans Azure client runtime has already been initialized
diff --git a/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs b/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs
index 89da0a5ed63..26689f880ad 100644
--- a/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs
+++ b/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/src/OrleansRuntime/Core/Dispatcher.cs b/src/OrleansRuntime/Core/Dispatcher.cs
index 1f80a9165fd..7cc0808daee 100644
--- a/src/OrleansRuntime/Core/Dispatcher.cs
+++ b/src/OrleansRuntime/Core/Dispatcher.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/OrleansRuntime/GrainDirectory/LocalGrainDirectory.cs b/src/OrleansRuntime/GrainDirectory/LocalGrainDirectory.cs
index 4f1a5198489..951bcb2a237 100644
--- a/src/OrleansRuntime/GrainDirectory/LocalGrainDirectory.cs
+++ b/src/OrleansRuntime/GrainDirectory/LocalGrainDirectory.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/src/OrleansRuntime/GrainDirectory/RemoteGrainDirectory.cs b/src/OrleansRuntime/GrainDirectory/RemoteGrainDirectory.cs
index 102a84a2b01..d8be39b9ccd 100644
--- a/src/OrleansRuntime/GrainDirectory/RemoteGrainDirectory.cs
+++ b/src/OrleansRuntime/GrainDirectory/RemoteGrainDirectory.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
diff --git a/src/OrleansRuntime/GrainTypeManager/GrainTypeManager.cs b/src/OrleansRuntime/GrainTypeManager/GrainTypeManager.cs
index 0b111746077..a12f3c0823a 100644
--- a/src/OrleansRuntime/GrainTypeManager/GrainTypeManager.cs
+++ b/src/OrleansRuntime/GrainTypeManager/GrainTypeManager.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/OrleansRuntime/MembershipService/AzureBasedMembershipTable.cs b/src/OrleansRuntime/MembershipService/AzureBasedMembershipTable.cs
index 2f4b1624303..43efd7627f5 100644
--- a/src/OrleansRuntime/MembershipService/AzureBasedMembershipTable.cs
+++ b/src/OrleansRuntime/MembershipService/AzureBasedMembershipTable.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
diff --git a/src/OrleansRuntime/MembershipService/MembershipOracle.cs b/src/OrleansRuntime/MembershipService/MembershipOracle.cs
index 31fdb0a03dc..c8c3fdeb713 100644
--- a/src/OrleansRuntime/MembershipService/MembershipOracle.cs
+++ b/src/OrleansRuntime/MembershipService/MembershipOracle.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
diff --git a/src/OrleansRuntime/Silo/SiloProviderRuntime.cs b/src/OrleansRuntime/Silo/SiloProviderRuntime.cs
index 4cd6e7d09b7..4c0a11ec800 100644
--- a/src/OrleansRuntime/Silo/SiloProviderRuntime.cs
+++ b/src/OrleansRuntime/Silo/SiloProviderRuntime.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Linq;
using System.Threading.Tasks;
diff --git a/src/Tester/ObserverTests.cs b/src/Tester/ObserverTests.cs
index 2c992ba4f3d..99c48e4cb52 100644
--- a/src/Tester/ObserverTests.cs
+++ b/src/Tester/ObserverTests.cs
@@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
- using System;
+using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;