Skip to content

Commit

Permalink
Rename solution
Browse files Browse the repository at this point in the history
  • Loading branch information
chengwhynot committed Dec 16, 2014
1 parent 5fe33d2 commit 77ed78d
Show file tree
Hide file tree
Showing 69 changed files with 1,144 additions and 89 deletions.
505 changes: 505 additions & 0 deletions ConcordyaWebApi.XML

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WebApplication1.sln → ConcordyaWebApi.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "WebApplication1\WebApplication1.csproj", "{C30BCF2D-633D-4CF5-8D64-44C7D03887FF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConcordyaWebApi", "WebApplication1\ConcordyaWebApi.csproj", "{C30BCF2D-633D-4CF5-8D64-44C7D03887FF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
505 changes: 505 additions & 0 deletions WebApplication1/App_Data/ConcordyaWebApi.XML

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WebApplication1/App_Start/BundleConfig.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Web;
using System.Web.Optimization;

namespace WebApplication1
namespace ConcordyaWebApi
{
public class BundleConfig
{
Expand Down
2 changes: 1 addition & 1 deletion WebApplication1/App_Start/FilterConfig.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Web;
using System.Web.Mvc;

namespace WebApplication1
namespace ConcordyaWebApi
{
public class FilterConfig
{
Expand Down
4 changes: 2 additions & 2 deletions WebApplication1/App_Start/IdentityConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using WebApplication1.Models;
using ConcordyaWebApi.Models;

namespace WebApplication1
namespace ConcordyaWebApi
{
// Configure the application user manager used in this application. UserManager is defined in ASP.NET Identity and is used by the application.

Expand Down
2 changes: 1 addition & 1 deletion WebApplication1/App_Start/RouteConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Web.Mvc;
using System.Web.Routing;

namespace WebApplication1
namespace ConcordyaWebApi
{
public class RouteConfig
{
Expand Down
6 changes: 3 additions & 3 deletions WebApplication1/App_Start/Startup.Auth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
using Microsoft.Owin.Security.Google;
using Microsoft.Owin.Security.OAuth;
using Owin;
using WebApplication1.Providers;
using WebApplication1.Models;
using ConcordyaWebApi.Providers;
using ConcordyaWebApi.Models;

namespace WebApplication1
namespace ConcordyaWebApi
{
public partial class Startup
{
Expand Down
2 changes: 1 addition & 1 deletion WebApplication1/App_Start/WebApiConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;

namespace WebApplication1
namespace ConcordyaWebApi
{
public static class WebApiConfig
{
Expand Down
2 changes: 1 addition & 1 deletion WebApplication1/Areas/HelpPage/ApiDescriptionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Web;
using System.Web.Http.Description;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
public static class ApiDescriptionExtensions
{
Expand Down
6 changes: 3 additions & 3 deletions WebApplication1/Areas/HelpPage/App_Start/HelpPageConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System.Web.Http.OData;
#endif

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// Use this class to customize the Help Page.
Expand All @@ -26,15 +26,15 @@ namespace WebApplication1.Areas.HelpPage
public static class HelpPageConfig
{
[SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters",
MessageId = "WebApplication1.Areas.HelpPage.TextSample.#ctor(System.String)",
MessageId = "ConcordyaWebApi.Areas.HelpPage.TextSample.#ctor(System.String)",
Justification = "End users may choose to merge this string with existing localized resources.")]
[SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly",
MessageId = "bsonspec",
Justification = "Part of a URI.")]
public static void Register(HttpConfiguration config)
{
//// Uncomment the following to use the documentation from XML documentation file.
//config.SetDocumentationProvider(new XmlDocumentationProvider(HttpContext.Current.Server.MapPath("~/App_Data/XmlDocument.xml")));
config.SetDocumentationProvider(new XmlDocumentationProvider(HttpContext.Current.Server.MapPath("~/App_Data/ConcordyaWebApi.XML")));

//// Uncomment the following to use "sample string" as the sample for all actions that have string as the body parameter or return type.
//// Also, the string arrays will be used for IEnumerable<string>. The sample objects will be serialized into different media type
Expand Down
6 changes: 3 additions & 3 deletions WebApplication1/Areas/HelpPage/Controllers/HelpController.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System;
using System.Web.Http;
using System.Web.Mvc;
using WebApplication1.Areas.HelpPage.ModelDescriptions;
using WebApplication1.Areas.HelpPage.Models;
using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions;
using ConcordyaWebApi.Areas.HelpPage.Models;

namespace WebApplication1.Areas.HelpPage.Controllers
namespace ConcordyaWebApi.Areas.HelpPage.Controllers
{
/// <summary>
/// The controller that will handle requests for the help page.
Expand Down
2 changes: 1 addition & 1 deletion WebApplication1/Areas/HelpPage/HelpPageAreaRegistration.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Web.Http;
using System.Web.Mvc;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
public class HelpPageAreaRegistration : AreaRegistration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using WebApplication1.Areas.HelpPage.ModelDescriptions;
using WebApplication1.Areas.HelpPage.Models;
using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions;
using ConcordyaWebApi.Areas.HelpPage.Models;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
public static class HelpPageConfigurationExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class CollectionModelDescription : ModelDescription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.ObjectModel;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class ComplexTypeModelDescription : ModelDescription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class DictionaryModelDescription : KeyValuePairModelDescription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class EnumTypeModelDescription : ModelDescription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Reflection;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public interface IModelDocumentationProvider
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class KeyValuePairModelDescription : ModelDescription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Describes a type model.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using System.Xml.Serialization;
using Newtonsoft.Json;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Generates model descriptions for given types.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Linq;
using System.Reflection;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
internal static class ModelNameHelper
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class ParameterDescription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebApplication1.Areas.HelpPage.ModelDescriptions
namespace ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
{
public class SimpleTypeModelDescription : ModelDescription
{
Expand Down
4 changes: 2 additions & 2 deletions WebApplication1/Areas/HelpPage/Models/HelpPageApiModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
using System.Collections.ObjectModel;
using System.Net.Http.Headers;
using System.Web.Http.Description;
using WebApplication1.Areas.HelpPage.ModelDescriptions;
using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions;

namespace WebApplication1.Areas.HelpPage.Models
namespace ConcordyaWebApi.Areas.HelpPage.Models
{
/// <summary>
/// The model that represents an API displayed on the help page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using System.Xml.Linq;
using Newtonsoft.Json;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// This class will generate the samples for the help page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.ComponentModel;
using System.Net.Http.Headers;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// This represents an image sample on the help page. There's a display template named ImageSample associated with this class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Linq;
using System.Reflection;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// This class will create an object of a given type and populate it with sample data.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// Indicates whether the sample is used for request or response
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace WebApplication1.Areas.HelpPage
namespace ConcordyaWebApi.Areas.HelpPage
{
/// <summary>
/// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
Expand Down
2 changes: 1 addition & 1 deletion WebApplication1/Areas/HelpPage/Views/Help/Api.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@using System.Web.Http
@using WebApplication1.Areas.HelpPage.Models
@using ConcordyaWebApi.Areas.HelpPage.Models
@model HelpPageApiModel

@{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@using System.Web.Http
@using System.Web.Http.Controllers
@using System.Web.Http.Description
@using WebApplication1.Areas.HelpPage
@using WebApplication1.Areas.HelpPage.Models
@using ConcordyaWebApi.Areas.HelpPage
@using ConcordyaWebApi.Areas.HelpPage.Models
@model IGrouping<HttpControllerDescriptor, ApiDescription>

@{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using WebApplication1.Areas.HelpPage.ModelDescriptions
@using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
@model CollectionModelDescription
@if (Model.ElementDescription is ComplexTypeModelDescription)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@using WebApplication1.Areas.HelpPage.ModelDescriptions
@using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
@model ComplexTypeModelDescription
@Html.DisplayFor(m => m.Properties, "Parameters")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using WebApplication1.Areas.HelpPage.ModelDescriptions
@using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
@model DictionaryModelDescription
Dictionary of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using WebApplication1.Areas.HelpPage.ModelDescriptions
@using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
@model EnumTypeModelDescription

<p>Possible enumeration values:</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@using System.Web.Http
@using System.Web.Http.Description
@using WebApplication1.Areas.HelpPage.Models
@using WebApplication1.Areas.HelpPage.ModelDescriptions
@using ConcordyaWebApi.Areas.HelpPage.Models
@using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
@model HelpPageApiModel

@{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using WebApplication1.Areas.HelpPage
@using ConcordyaWebApi.Areas.HelpPage
@model ImageSample

<img src="@Model.Src" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using WebApplication1.Areas.HelpPage
@using ConcordyaWebApi.Areas.HelpPage
@model InvalidSample

@if (HttpContext.Current.IsDebuggingEnabled)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using WebApplication1.Areas.HelpPage.ModelDescriptions
@using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
@model KeyValuePairModelDescription
Pair of @Html.DisplayFor(m => Model.KeyModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.KeyModelDescription }) [key]
and @Html.DisplayFor(m => Model.ValueModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ValueModelDescription }) [value]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using WebApplication1.Areas.HelpPage.ModelDescriptions
@using ConcordyaWebApi.Areas.HelpPage.ModelDescriptions
@model Type
@{
ModelDescription modelDescription = ViewBag.modelDescription;
Expand Down
Loading

0 comments on commit 77ed78d

Please sign in to comment.