Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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/
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Orleans - Distributed Actor Model
=======

[![Build status](http://corefx-ci.cloudapp.net/jenkins/job/dotnet_orleans/badge/icon)](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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/Orleans/Configuration/ConfigUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions src/OrleansAzureUtils/AzureClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ namespace Orleans.Runtime.Host
public static class AzureClient
{
/// <summary>Number of retry attempts to make when searching for gateway silos to connect to.</summary>
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
/// <summary>Amount of time to pause before each retry attempt.</summary>
public static TimeSpan StartupRetryPause = AzureConstants.STARTUP_TIME_PAUSE; // 5 seconds
public static readonly TimeSpan StartupRetryPause = AzureConstants.STARTUP_TIME_PAUSE; // 5 seconds

/// <summary>
/// Whether the Orleans Azure client runtime has already been initialized
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansRuntime/Core/Dispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansRuntime/GrainDirectory/LocalGrainDirectory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansRuntime/GrainDirectory/RemoteGrainDirectory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansRuntime/GrainTypeManager/GrainTypeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansRuntime/MembershipService/MembershipOracle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansRuntime/Silo/SiloProviderRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/Tester/ObserverTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down