code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.Application;
namespace Lokad.Cloud.Console.WebRole.Models.Queues
{
public class QueuesModel
{
public AzureQueue[] Queues { get; ... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Models/Queues/QueuesModel.cs | C# | bsd | 1,239 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
namespace Lokad.Cloud.Console.WebRole.Models.Shared
{
public class DiscoveryModel
{
public bool IsAvailable { get; set; }
public bool Show... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Models/Shared/DiscoveryModel.cs | C# | bsd | 422 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
namespace Lokad.Cloud.Console.WebRole.Models.Shared
{
public class NavigationModel
{
public string CurrentController { get; set; }
public st... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Models/Shared/NavigationModel.cs | C# | bsd | 547 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
namespace Lokad.Cloud.Console.WebRole.Models.Logs
{
public class LogsModel
{
public string NewestToken { get; set; }
public bool NewerAvaila... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Models/Logs/LogsModel.cs | C# | bsd | 1,022 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.Management.Api10;
namespace Lokad.Cloud.Console.WebRole.Models.Scheduler
{
public class SchedulerModel
{
public CloudServiceSche... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Models/Scheduler/SchedulerModel.cs | C# | bsd | 368 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.Management.Api10;
using Lokad.Cloud.Application;
namespace Lokad.Cloud.Console.WebRole.Models.Services
{
public class ServicesModel
{
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Models/Services/ServicesModel.cs | C# | bsd | 802 |
<%@ Application Codebehind="Global.asax.cs" Inherits="Lokad.Cloud.Console.WebRole.MvcApplication" Language="C#" %>
| zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Global.asax | ASP.NET | bsd | 119 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Web;
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Framework.Discovery;
using Ninject.Modules;
using Ninject.Web.Mvc.FilterBind... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Behavior/RequireDiscovery.cs | C# | bsd | 2,033 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Linq;
namespace Lokad.Cloud.Console.WebRole.Behavior
{
public static class Users
{
public static bool IsAdministrator(... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Behavior/Users.cs | C# | bsd | 536 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web;
using System.Web.Mvc;
namespace Lokad.Cloud.Console.WebRole.Behavior
{
public sealed class RequireAuthorizationAttribute : AuthorizeAttribute... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Behavior/RequireAuthorization.cs | C# | bsd | 992 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Configuration;
using System.Security.Cryptography.X509Certificates;
using Microsoft.WindowsAzure.ServiceRuntime;
namespace Lokad.Cloud.Console.WebRole
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/CloudConfiguration.cs | C# | bsd | 1,410 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Framework/Discovery/AzureUpdater.cs | C# | bsd | 2,967 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Collections.Generic;
using System.Xml.Linq;
using Microsoft.WindowsAzure;
namespace Lokad.Cloud.Console.WebRole.Framework.Discovery
{
public clas... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Framework/Discovery/LokadCloudHostedService.cs | C# | bsd | 1,445 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Collections.Generic;
namespace Lokad.Cloud.Console.WebRole.Framework.Discovery
{
public class AzureDiscoveryInfo
{
pub... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Framework/Discovery/AzureDiscoveryInfo.cs | C# | bsd | 566 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Ta... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Framework/Discovery/AzureDiscoveryFetcher.cs | C# | bsd | 5,527 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Ninject;
using Ninject.Modules;
namespace Lokad.Cloud.Console.WebRole.Framework.Discovery
{
public class DiscoveryNinjectModule : NinjectModule
{
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Framework/Discovery/DiscoveryNinjectModule.cs | C# | bsd | 739 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Caching;
namespace Lokad... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Framework/Discovery/AzureDiscoveryProvider.cs | C# | bsd | 2,036 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Linq;
using System.Text;
using System.Web;
using System.Xml;
using Lokad.Cloud.Application;
using Lokad.Cloud.Console.WebRole.Helpers;... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Framework/Services/AppDefinitionWithLiveDataProvider.cs | C# | bsd | 6,343 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Lokad.Cloud.Console.WebRole.Models.Shared;
namespace Lokad.Cloud.Console.WebRole.Helpers
{
public sta... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Helpers/MenuHtmlExtensions.cs | C# | bsd | 2,222 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.Storage.Shared.Logging;
namespace Lokad.Cloud.Console.WebRole.Helpers
{
public static class IconMap
{
public const string Loadin... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Helpers/IconMap.cs | C# | bsd | 1,816 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
namespace Lokad.Cloud.Console.WebRole.Helpers
{
public static class IconHtmlExtensions
{
private const string InlineImageHtm... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Helpers/IconHtmlExtensions.cs | C# | bsd | 2,305 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
namespace Lokad.Cloud.Console.WebRole.Helpers
{
using System.Text;
using System.Web.Mvc;
public static class JavascriptHtmlExtensions
{
p... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Helpers/JavascriptHtmlExtensions.cs | C# | bsd | 1,917 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using Lokad.Cloud.Management.Api10;
namespace Lokad.Cloud.Console.WebRole.Helpers
{
public static class PresentationHelpers
{
publi... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Helpers/PresentationHelpers.cs | C# | bsd | 2,828 |
/*NEW SLIDER STYLES FOR SCALE, ETC*/
/* slider widget */
.ui-slider {
text-decoration: none !important;
}
.ui-slider .ui-slider-handle {
overflow: visible !important;
}
.ui-slider .ui-slider-tooltip {
display: none;
}
.ui-slider .screenReaderContext {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Content/ui.slider.extras.css | CSS | bsd | 2,466 |
/* Copyright (c) Lokad 2009 - All rights reserved */
/* When updating this file do not forget about Lokad.App overrides at the bottom */
body { padding: 0; margin: 0; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 62.5%; color: #565656; background: #2B2B2B; }
table, img, div, form{ paddi... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Content/Lokad.css | CSS | bsd | 31,857 |
/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body
{
background-color: #5c87b2;
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Content/Site.css | CSS | bsd | 5,324 |
/*
* --------------------------------------------------------------------
* jQuery-Plugin - selectToUISlider - creates a UI slider component from a select element(s)
* by Scott Jehl, scott@filamentgroup.com
* http://www.filamentgroup.com
* reference article: http://www.filamentgroup.com/lab/update_jquery_ui_16_sli... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Scripts/selectToUISlider.jQuery.js | JavaScript | bsd | 8,635 |
@model Lokad.Cloud.Console.WebRole.Models.Overview.OverviewModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Overview"; }
<h1>Lokad.Cloud Hosted Services Overview</h1>
<p>The following Lokad.Cloud Hosted Services have been discovered in your Windows Azure subscription.</p>
@foreach (var item in Mo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Overview/Index.cshtml | HTML+Razor | bsd | 1,189 |
@model Lokad.Cloud.Console.WebRole.Models.Overview.DeploymentModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Overview"; }
<h1>Lokad.Cloud Hosted Service Overview</h1>
<p>Details for the @Model.HostedService.ServiceLabel Hosted Service.</p>
<table class="table">
<tr>
<th style="text-align: rig... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Overview/ByHostedService.cshtml | HTML+Razor | bsd | 2,088 |
@model Lokad.Cloud.Console.WebRole.Models.Config.ConfigModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Config"; }
<h1>Dependency Injection Configuration</h1>
<p>Optional XML application configuration to customize dependency injection for cloud services using an autofac configuration section.</p>
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Config/ByHostedService.cshtml | HTML+Razor | bsd | 475 |
@model Lokad.Cloud.Console.WebRole.Models.Assemblies.AssembliesModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Assemblies"; }
<h1>Assembly Manager</h1>
<p>Content of the assembly archive:</p>
@if (Model.ApplicationAssemblies.HasValue) {
<table class="table">
<tr>
<th>Assembly</th>
<th>V... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Assemblies/ByHostedService.cshtml | HTML+Razor | bsd | 1,458 |
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Login"; }
<h2>Login</h2>
@if (ViewBag.Message != null) {
<div style="border: solid 1px red">@ViewBag.Message</div>
}
<p>You must log in before entering the Administration Console: </p>
<form action="Authenticate?ReturnUrl=@Html.Raw(HttpUtility.UrlEn... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Account/Login.cshtml | HTML+Razor | bsd | 667 |
@{
Layout = "~/Views/Shared/_Layout.cshtml";
} | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/_ViewStart.cshtml | HTML+Razor | bsd | 52 |
@model Lokad.Cloud.Console.WebRole.Models.Queues.QueuesModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Queues"; }
@section Header {
<script src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/knockou... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Queues/ByHostedService.cshtml | HTML+Razor | bsd | 5,556 |
<ul>
@if (Request.IsAuthenticated) {
<li>Welcome <b>@HttpContext.Current.User.Identity.Name</b> @Html.ActionLink("Logout", "Logout", "Account")</li>
}
else {
<li>@Html.ActionLink("Login", "Login", "Account")</li>
}
</ul>
| zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Shared/AuthBarPartial.cshtml | HTML+Razor | bsd | 259 |
@model Lokad.Cloud.Console.WebRole.Models.Shared.NavigationModel
<ul id="menu">
@foreach (var item in Model.HostedServiceNames) {
@Html.DeploymentMenuEntry(Model, item, item)
}
</ul>
| zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Shared/DeploymentMenuPartial.cshtml | HTML+Razor | bsd | 196 |
@model Lokad.Cloud.Console.WebRole.Models.Shared.NavigationModel
<ul id="menu">
@Html.NavigationMenuEntry(Model, "Overview", "Overview")
@Html.NavigationMenuEntry(Model, "Assemblies", "Assemblies")
@Html.NavigationMenuEntry(Model, "Config", "Config")
@Html.NavigationMenuEntry(Model, "Services", "Services")
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Shared/NavigationMenuPartial.cshtml | HTML+Razor | bsd | 495 |
@model System.Web.Mvc.HandleErrorInfo
@{ ViewBag.Title = "Error"; }
<h2>Sorry, an error occurred while processing your request.</h2>
| zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Shared/Error.cshtml | HTML+Razor | bsd | 141 |
@using Lokad.Cloud.Console.WebRole.Models.Shared
<!DOCTYPE html>
<html>
<head>
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/Lokad.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/jquery-ui-1.7.1.custom.css")" rel="stylesheet" type="text/css" />
<script src=... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Shared/_Layout.cshtml | HTML+Razor | bsd | 2,794 |
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Discovery"; }
<div class="warning">
The Lokad.Cloud Administration Console is currently discovering the Windows Azure subscription
for Lokad.Cloud deployments. This page automatically refreshes every 10 seconds.
Please wait or refresh manually.
</div>
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Discovery/Index.cshtml | HTML+Razor | bsd | 416 |
@model Lokad.Cloud.Console.WebRole.Models.Logs.LogsModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Logs"; }
@section Header {
<script src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js" type="text/javascript"></script>
<link href="@Url.Content("~/Content/ui.slider.extr... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Logs/ByHostedService.cshtml | HTML+Razor | bsd | 5,971 |
@model Lokad.Cloud.Console.WebRole.Models.Scheduler.SchedulerModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Scheduler"; }
<h1>Scheduler</h1>
<p>Manage scheduled execution of your services.</p>
<table class="table">
<tr>
<th>Name</th>
<th>Last Run</th>
<th>Period</th>
<th>Scope</th... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Scheduler/ByHostedService.cshtml | HTML+Razor | bsd | 722 |
@model Lokad.Cloud.Console.WebRole.Models.Services.ServicesModel
@{ ViewBag.Title = "Lokad.Cloud Administration Console - Services"; }
<h1>Service Manager</h1>
<p>All initialized cloud services are listed below. Enable or disable a service by clicking its status icon.</p>
@if (Model.QueueServices.Any()) {
<h2... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Views/Services/ByHostedService.cshtml | HTML+Razor | bsd | 2,375 |
using System.Reflection;
using System.Threading;
using System.Web.Mvc;
using System.Web.Routing;
using Lokad.Cloud.Console.WebRole.Framework.Discovery;
using Ninject;
using Ninject.Web.Mvc;
namespace Lokad.Cloud.Console.WebRole
{
public class MvcApplication : NinjectHttpApplication
{
priva... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Global.asax.cs | C# | bsd | 2,809 |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Lokad.Cloud.Console.WebRole")]
[as... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Properties/AssemblyInfo.cs | C# | bsd | 1,403 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRole.Controllers.ObjectModel;
using Lokad.Cloud.Console.WebRole.Framewo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/DiscoveryController.cs | C# | bsd | 1,361 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRole.Controllers.O... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/LogsController.cs | C# | bsd | 5,840 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRole.Controllers.ObjectModel;
using Lokad.Cloud.Console.WebRole.Frame... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/QueuesController.cs | C# | bsd | 1,940 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRole.Controllers.ObjectModel;
using Lokad.Cloud.Console.WebRole.Framewo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/ConfigController.cs | C# | bsd | 1,897 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRole.Controllers.ObjectModel;
using Lokad.Cloud.Console.WebRole.Framewo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/OverviewController.cs | C# | bsd | 1,741 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.IO;
using System.Web;
using System.Web.Mvc;
using Lokad.Cloud.Application;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRol... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/AssembliesController.cs | C# | bsd | 2,291 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using System.Web.Security;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OpenId;
using DotNetOpenAuth.OpenId.RelyingParty;
using Lokad.... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/AccountController.cs | C# | bsd | 3,616 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Linq;
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Framework.Discovery;
using Lokad.Cloud.Runtime;
using Lokad.Cloud.Storage;
namespace Lo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/ObjectModel/TenantController.cs | C# | bsd | 1,473 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Linq;
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Framework.Discovery;
using Lokad.Cloud.Console.WebRole.Helpers;
using Lokad... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/ObjectModel/ApplicationController.cs | C# | bsd | 2,604 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRole.Controllers.ObjectModel;
using Lokad.Cloud.Console.WebRole.Framewo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/SchedulerController.cs | C# | bsd | 1,162 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Web.Mvc;
using Lokad.Cloud.Console.WebRole.Behavior;
using Lokad.Cloud.Console.WebRole.Controllers.ObjectModel;
using Lokad.Cloud.Console.WebRole.Framewo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Console.WebRole/Controllers/ServicesController.cs | C# | bsd | 1,650 |
#region (c)2009 Lokad - New BSD license
// Company: http://www.lokad.com
// This code is released under the terms of the new BSD licence
#endregion
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
[assembly : AssemblyCompany("Lokad")]
[assembly : AssemblyProduct("Lokad.C... | zyyin2005-lokadclone | Source/GlobalAssemblyInfo.cs | C# | bsd | 1,097 |
#region Copyright (c) Lokad 2009
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.ServiceFabric.Runtime;
using Microsoft.WindowsAzure.ServiceRuntime;
namespace Lokad.Cloud
{
/// <summary>Entry point of Lokad.Cloud.</summary>
publ... | zyyin2005-lokadclone | Source/Lokad.Cloud.WorkerRole/WorkerRole.cs | C# | bsd | 2,343 |
#region Copyright (c) Lokad 2009
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the fo... | zyyin2005-lokadclone | Source/Lokad.Cloud.WorkerRole/Properties/AssemblyInfo.cs | C# | bsd | 773 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Autofac;
using Autofac.Builder;
using Autofac.Configuration;
namespace Lokad.Cloud
{
/// <summary>
/// Provider factory for standalone use of the cloud storag... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Standalone.cs | C# | bsd | 2,663 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.Diagnostics;
using Lokad.Cloud.Storage;
namespace Lokad.Cloud.Runtime
{
public static class CloudStorageExtensions
{
public sta... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Runtime/CloudStorageExtensions.cs | C# | bsd | 1,113 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.Storage;
namespace Lokad.Cloud.Runtime
{
/// <remarks>
/// The purpose of having a separate class mirroring CloudStorageProviders
///... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Runtime/RuntimeProviders.cs | C# | bsd | 1,992 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using Lokad.Cloud.Storage;
namespace Lokad.Cloud
{
[Serializable]
public class RoleConfigurationSettings : ICloudConfigurationSettings
{
public st... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/RoleConfigurationSettings.cs | C# | bsd | 1,955 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Autofac;
using Autofac.Builder;
using Lokad.Cloud.Management.Api10;
namespace Lokad.Cloud.Management
{
/// <summary>
/// IoC module for Lokad.Cloud manag... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/ManagementModule.cs | C# | bsd | 1,494 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Lokad.Cloud.Management.Api10
{
using Lokad.Cloud.Application;... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/ICloudAssembliesApi.cs | C# | bsd | 1,117 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Lokad.Cloud.Management.Api10
{
[ServiceContract(Name = "CloudSer... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/ICloudServicesApi.cs | C# | bsd | 1,492 |
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Runtime.Serialization;
namespace Lokad.Cloud.Management.Api10
{
/// <summary>
/// Cloud Service Info
/// </summary>
[DataContract(Name = "CloudS... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/CloudServiceInfo.cs | C# | bsd | 703 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Lokad.Cloud.Management.Api10
{
[ServiceContract(Name = "CloudConfiguration", Namespace = "http://sc... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/ICloudConfigurationApi.cs | C# | bsd | 761 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Lokad.Cloud.Management.Api10
{
[ServiceContract(Name = "CloudProvisioning", Namespace = "http://sch... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/ICloudProvisioningApi.cs | C# | bsd | 681 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Web;
using Lokad.Cloud.Diagnostics;
namespace Lokad.Cloud.Manageme... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/ICloudStatisticsApi.cs | C# | bsd | 1,422 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Lokad.Cloud.Management.Api10
{
[ServiceContract(N... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/ICloudServiceSchedulingApi.cs | C# | bsd | 1,466 |
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Runtime.Serialization;
namespace Lokad.Cloud.Management.Api10
{
/// <summary>
/// Cloud Assembly Info
/// </summary>
[DataContrac... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/CloudAssemblyInfo.cs | C# | bsd | 1,272 |
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Runtime.Serialization;
using Lokad.Cloud.Storage;
namespace Lokad.Cloud.Management.Api10
{
/// <summary>
/// Cloud Service Schedulin... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Api10/CloudServiceSchedulingInfo.cs | C# | bsd | 1,660 |
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Text;
using Lokad.Cloud.Management.Api10;
using Lokad.Cloud.Runtime;
using Lokad.Cloud.ServiceFabric.Runtime;
using Lokad.Cloud.Storage;
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/CloudConfiguration.cs | C# | bsd | 2,380 |
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using Lokad.Cloud.Diagnostics;
using Lokad.Cloud.Management.Api10;
namespace Lokad.Cloud.Manage... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/CloudStatistics.cs | C# | bsd | 2,820 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Linq;
using System.Collections.Generic;
using Lokad.Cloud.Management.Api10;
using Lokad.Cloud.Runtime;
using Lokad.Cloud.ServiceFabric;
... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/CloudServiceScheduling.cs | C# | bsd | 6,231 |
#region Copyright (c) Lokad 2009-2011
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Collections.Generic;
using System.Linq;
using Lokad.Cloud.Management.Api10;
using Lokad.Cloud.Runtime;
using Lokad.Cloud.ServiceFabric;
using Lokad.Clo... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/CloudServices.cs | C# | bsd | 4,633 |
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Zip;
using Lokad.Cloud.Application;
using Lokad.Cloud.Management... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/CloudAssemblies.cs | C# | bsd | 3,494 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using Lokad.Cloud.Storage;
namespace Lokad.Cloud.Management
{
/// <summary>Defines an interface to auto-scale your cloud app.</summary>
/// <remarks>The implementatio... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/IProvisioningProvider.cs | C# | bsd | 1,010 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/CertificateFileInput.cs | C# | bsd | 1,237 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/RegenerateKeysInput.cs | C# | bsd | 1,150 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/CreateDeploymentInput.cs | C# | bsd | 1,315 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/UpdateDeploymentStatusInput.cs | C# | bsd | 1,162 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/SwapDeploymentInput.cs | C# | bsd | 1,161 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/UpgradeDeploymentInput.cs | C# | bsd | 1,442 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/ChangeConfigurationInput.cs | C# | bsd | 1,107 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/InputParameters/WalkUpgradeDomainInput.cs | C# | bsd | 1,100 |
#region Copyright (c) Lokad 2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Security.Cryptography.X509Certificates;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
u... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/ManagementClient.cs | C# | bsd | 3,385 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/ExtensionMethods.cs | C# | bsd | 11,755 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/AffinityGroup.cs | C# | bsd | 2,036 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/HostedService.cs | C# | bsd | 2,502 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/RoleInstance.cs | C# | bsd | 1,771 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/Operation.cs | C# | bsd | 2,260 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/Deployment.cs | C# | bsd | 3,431 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/Role.cs | C# | bsd | 1,510 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/Certificate.cs | C# | bsd | 1,904 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/Entities/StorageService.cs | C# | bsd | 2,871 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/IAzureServiceManagement.cs | C# | bsd | 14,526 |
#region Copyright (c) Lokad 2009-2010
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.ServiceModel;
using System.ServiceModel.Security;
using System.Threading;
using Lokad.Cloud.Storage.Shared.Policies;
namespace Lokad.Cl... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/AzureManagementPolicies.cs | C# | bsd | 2,032 |
#region Copyright (c) Lokad 2010, Microsoft
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
//
// Based on Microsoft Sample Code from http://code.msdn.microsoft.com/azurecmdlets
//---------------------------------------------------------------------------------
// C... | zyyin2005-lokadclone | Source/Lokad.Cloud.Framework/Management/Azure/ApiConstants.cs | C# | bsd | 1,227 |