Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update MovieRest to latest best practices

  • Loading branch information...
commit 7a37726bf09a5d588e1c30b5556faf270fcc4b46 1 parent a306d3a
Demis Bellot mythz authored
Showing with 13,514 additions and 434 deletions.
  1. +11 −13 src/ServiceStack.MovieRest/Global.asax.cs
  2. +169 −187 src/ServiceStack.MovieRest/MovieService.cs
  3. +44 −70 src/ServiceStack.MovieRest/ResetMovies.cs
  4. +152 −152 src/ServiceStack.MovieRest/ServiceStack.MovieRest.csproj
  5. +5 −5 src/ServiceStack.MovieRest/default.htm
  6. +5 −7 src/ServiceStack.MovieRest/packages.config
  7. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/ServiceStack.3.9.32.nupkg
  8. +27 −0 src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/ServiceStack.3.9.32.nuspec
  9. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/lib/net35/ServiceStack.ServiceInterface.dll
  10. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/lib/net35/ServiceStack.dll
  11. +3,483 −0 src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/lib/net35/ServiceStack.xml
  12. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/ServiceStack.Common.3.9.32.nupkg
  13. +28 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/ServiceStack.Common.3.9.32.nuspec
  14. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Common.dll
  15. +927 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Common.xml
  16. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Interfaces.dll
  17. +1,698 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Interfaces.xml
  18. +3 −0  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl4/README.txt
  19. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl4/ServiceStack.Common.dll
  20. +475 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl4/ServiceStack.Common.xml
  21. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl4/ServiceStack.Interfaces.dll
  22. +1,343 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl4/ServiceStack.Interfaces.xml
  23. +3 −0  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl5/README.txt
  24. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl5/ServiceStack.Common.dll
  25. +475 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl5/ServiceStack.Common.xml
  26. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl5/ServiceStack.Interfaces.dll
  27. +1,343 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/sl5/ServiceStack.Interfaces.xml
  28. BIN  ...eStack.MovieRest/packages/ServiceStack.OrmLite.SqlServer.3.9.32/ServiceStack.OrmLite.SqlServer.3.9.32.nupkg
  29. +22 −0 ...Stack.MovieRest/packages/ServiceStack.OrmLite.SqlServer.3.9.32/ServiceStack.OrmLite.SqlServer.3.9.32.nuspec
  30. BIN  ...erviceStack.MovieRest/packages/ServiceStack.OrmLite.SqlServer.3.9.32/lib/ServiceStack.OrmLite.SqlServer.dll
  31. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.OrmLite.SqlServer.3.9.32/lib/ServiceStack.OrmLite.dll
  32. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Redis.3.9.32/ServiceStack.Redis.3.9.32.nupkg
  33. +22 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Redis.3.9.32/ServiceStack.Redis.3.9.32.nuspec
  34. +1,478 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Redis.3.9.32/lib/net35/ServiceStack.Redis.XML
  35. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Redis.3.9.32/lib/net35/ServiceStack.Redis.dll
  36. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/ServiceStack.Text.3.9.32.nupkg
  37. +23 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/ServiceStack.Text.3.9.32.nuspec
  38. +595 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/net35/ServiceStack.Text.XML
  39. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/net35/ServiceStack.Text.dll
  40. +409 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/sl4-windowsphone71/ServiceStack.Text.WP.XML
  41. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/sl4-windowsphone71/ServiceStack.Text.WP.dll
  42. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/sl4/ServiceStack.Text.dll
  43. +385 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/sl4/ServiceStack.Text.xml
  44. BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/sl5/ServiceStack.Text.dll
  45. +385 −0 src/ServiceStack.MovieRest/packages/ServiceStack.Text.3.9.32/lib/sl5/ServiceStack.Text.xml
  46. +4 −0 src/ServiceStack.MovieRest/packages/repositories.config
24 src/ServiceStack.MovieRest/Global.asax.cs
View
@@ -3,6 +3,7 @@
using ServiceStack.Common.Utils;
using ServiceStack.OrmLite;
using ServiceStack.OrmLite.Sqlite;
+using ServiceStack.ServiceInterface.Cors;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints;
@@ -24,15 +25,18 @@ public class MovieAppHost : AppHostBase
/// <param name="container">The built-in IoC used with ServiceStack.</param>
public override void Configure(Container container)
{
- JsConfig.DateHandler = JsonDateHandler.ISO8601;
+ //JsConfig.DateHandler = JsonDateHandler.ISO8601;
container.Register<IDbConnectionFactory>(c =>
new OrmLiteConnectionFactory(
"~/App_Data/db.sqlite".MapHostAbsolutePath(),
SqliteOrmLiteDialectProvider.Instance));
- var resetMovies = container.Resolve<ResetMoviesService>();
- resetMovies.Post(null);
+ //Call existing service
+ using (var resetMovies = container.Resolve<ResetMoviesService>())
+ {
+ resetMovies.Any(null);
+ }
Routes
.Add<Movie>("/movies")
@@ -40,17 +44,11 @@ public override void Configure(Container container)
.Add<Movies>("/movies")
.Add<Movies>("/movies/genres/{Genre}");
- SetConfig(new EndpointHostConfig
- {
- GlobalResponseHeaders = {
- { "Access-Control-Allow-Origin", "*" },
- { "Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS" },
- { "Access-Control-Allow-Headers", "Content-Type, X-Requested-With" },
- },
- //EnableFeatures = onlyEnableFeatures,
- //DebugMode = true, //Show StackTraces for easier debugging
- });
+ Plugins.Add(new CorsFeature()); //Enable CORS
+ SetConfig(new EndpointHostConfig {
+ //DebugMode = true, //Show StackTraces for easier debugging (default auto inferred by Debug/Release builds)
+ });
}
}
356 src/ServiceStack.MovieRest/MovieService.cs
View
@@ -1,188 +1,170 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Net;
-using ServiceStack.Common.Extensions;
-using ServiceStack.Common.Web;
-using ServiceStack.DataAnnotations;
-using ServiceStack.OrmLite;
-using ServiceStack.ServiceHost;
-using ServiceStack.ServiceInterface;
-using ServiceStack.Text;
-
-namespace ServiceStack.MovieRest
-{
- /// <summary>
- /// Define your ServiceStack web service request (i.e. Request DTO).
- /// </summary>
- /// <remarks>The route is defined here rather than in the AppHost.</remarks>
- [Description("GET or DELETE a single movie by Id. Use POST to create a new Movie and PUT to update it")]
- [Route("/movies", "POST,PUT,PATCH,DELETE")]
- [Route("/movies/{Id}")]
- public class Movie
- {
- /// <summary>
- /// Initializes a new instance of the movie.
- /// </summary>
- public Movie()
- {
- this.Genres = new List<string>();
- }
-
- /// <summary>
- /// Gets or sets the id of the movie. The id will be automatically incremented when added.
- /// </summary>
- [AutoIncrement]
- public int Id { get; set; }
- public string ImdbId { get; set; }
- public string Title { get; set; }
- public decimal Rating { get; set; }
- public string Director { get; set; }
- public DateTime ReleaseDate { get; set; }
- public string TagLine { get; set; }
- public List<string> Genres { get; set; }
- }
-
- /// <summary>
- /// Define your ServiceStack web service response (i.e. Response DTO).
- /// </summary>
- public class MovieResponse
- {
- /// <summary>
- /// Gets or sets the movie.
- /// </summary>
- public Movie Movie { get; set; }
- }
-
- /// <summary>
- /// Create your ServiceStack restful web service implementation.
- /// </summary>
- public class MovieService : RestServiceBase<Movie>
- {
- /// <summary>
- /// Gets or sets the database factory. The built-in IoC used with ServiceStack auto wires this property.
- /// </summary>
- public IDbConnectionFactory DbFactory { get; set; }
-
- /// <summary>
- /// GET /movies/{Id}
- /// </summary>
- public override object OnGet(Movie movie)
- {
- return new MovieResponse {
- Movie = DbFactory.Run(dbCmd => dbCmd.GetById<Movie>(movie.Id))
- };
- }
-
- /// <summary>
- /// POST /movies
- ///
- /// returns HTTP Response =>
- /// 201 Created
- /// Location: http://localhost/ServiceStack.MovieRest/movies/{newMovieId}
- ///
- /// {newMovie DTO in [xml|json|jsv|etc]}
- ///
- /// </summary>
- public override object OnPost(Movie movie)
- {
- var newMovieId = DbFactory.Run(dbCmd => {
- dbCmd.Insert(movie);
- return dbCmd.GetLastInsertId();
- });
-
- var newMovie = new MovieResponse {
- Movie = DbFactory.Run(dbCmd => dbCmd.GetById<Movie>(newMovieId))
- };
-
- return new HttpResult(newMovie) {
- StatusCode = HttpStatusCode.Created,
- Headers = {
- { HttpHeaders.Location, this.RequestContext.AbsoluteUri.WithTrailingSlash() + newMovieId }
- }
- };
- }
-
- /// <summary>
- /// PUT /movies/{id}
- /// </summary>
- public override object OnPut(Movie movie)
- {
- DbFactory.Run(dbCmd => dbCmd.Update(movie));
-
- return new HttpResult()
- {
- StatusCode = HttpStatusCode.NoContent,
- Headers = {
- { HttpHeaders.Location, this.RequestContext.AbsoluteUri.WithTrailingSlash() + movie.Id }
- }
- };
- }
-
- /// <summary>
- /// DELETE /movies/{Id}
- /// </summary>
- public override object OnDelete(Movie request)
- {
- DbFactory.Run(dbCmd => dbCmd.DeleteById<Movie>(request.Id));
-
- return new HttpResult()
- {
- StatusCode = HttpStatusCode.NoContent,
- Headers = {
- { HttpHeaders.Location, this.RequestContext.AbsoluteUri.WithTrailingSlash() + request.Id }
- }
- };
- }
- }
-
- /// <summary>
- /// Define your ServiceStack web service request (i.e. Request DTO).
- /// </summary>
- /// <remarks>The route is defined here rather than in the AppHost.</remarks>
- [Description("Find movies by genre, or all movies if no genre is provided")]
- [Route("/movies", "GET, OPTIONS")]
- [Route("/movies/genres/{Genre}")]
- public class Movies
- {
- public string Genre { get; set; }
- }
-
- /// <summary>
- /// Define your ServiceStack web service response (i.e. Response DTO).
- /// </summary>
-
- public class MoviesResponse
- {
- /// <summary>
- /// Gets or sets the list of movies.
- /// </summary>
-
- public List<Movie> Movies { get; set; }
- }
-
- /// <summary>
- /// Create your ServiceStack RESTful web service implementation.
- /// </summary>
- public class MoviesService : RestServiceBase<Movies>
- {
- /// <summary>
- /// Gets or sets the database factory. The built-in IoC used with ServiceStack auto wires this property.
- /// </summary>
- public IDbConnectionFactory DbFactory { get; set; }
-
- /// <summary>
- /// GET /movies
- /// GET /movies/genres/{Genre}
- /// </summary>
- public override object OnGet(Movies request)
- {
- return DbFactory.Run(dbCmd =>
- new MoviesResponse {
- Movies = request.Genre.IsNullOrEmpty()
- ? dbCmd.Select<Movie>()
- : dbCmd.Select<Movie>("Genres LIKE {0}", "%" + request.Genre + "%")
- });
- }
- }
+using System;
+using System.Collections.Generic;
+using System.Net;
+using ServiceStack.Common;
+using ServiceStack.Common.Web;
+using ServiceStack.DataAnnotations;
+using ServiceStack.OrmLite;
+using ServiceStack.ServiceHost;
+using ServiceStack.Text;
+
+namespace ServiceStack.MovieRest
+{
+ /// <summary>
+ /// Define your ServiceStack web service request (i.e. Request DTO).
+ /// </summary>
+ /// <remarks>The route is defined here rather than in the AppHost.</remarks>
+ [Api("GET or DELETE a single movie by Id. Use POST to create a new Movie and PUT to update it")]
+ [Route("/movies", "POST,PUT,PATCH,DELETE")]
+ [Route("/movies/{Id}")]
+ public class Movie
+ {
+ /// <summary>
+ /// Initializes a new instance of the movie.
+ /// </summary>
+ public Movie()
+ {
+ this.Genres = new List<string>();
+ }
+
+ /// <summary>
+ /// Gets or sets the id of the movie. The id will be automatically incremented when added.
+ /// </summary>
+ [AutoIncrement]
+ public int Id { get; set; }
+ public string ImdbId { get; set; }
+ public string Title { get; set; }
+ public decimal Rating { get; set; }
+ public string Director { get; set; }
+ public DateTime ReleaseDate { get; set; }
+ public string TagLine { get; set; }
+ public List<string> Genres { get; set; }
+ }
+
+ /// <summary>
+ /// Define your ServiceStack web service response (i.e. Response DTO).
+ /// </summary>
+ public class MovieResponse
+ {
+ /// <summary>
+ /// Gets or sets the movie.
+ /// </summary>
+ public Movie Movie { get; set; }
+ }
+
+ /// <summary>
+ /// Create your ServiceStack restful web service implementation.
+ /// </summary>
+ public class MovieService : ServiceInterface.Service
+ {
+ /// <summary>
+ /// GET /movies/{Id}
+ /// </summary>
+ public MovieResponse Get(Movie movie)
+ {
+ return new MovieResponse {
+ Movie = Db.Id<Movie>(movie.Id),
+ };
+ }
+
+ /// <summary>
+ /// POST /movies
+ ///
+ /// returns HTTP Response =>
+ /// 201 Created
+ /// Location: http://localhost/ServiceStack.MovieRest/movies/{newMovieId}
+ ///
+ /// {newMovie DTO in [xml|json|jsv|etc]}
+ ///
+ /// </summary>
+ public object Post(Movie movie)
+ {
+ Db.Insert(movie);
+ var newMovieId = Db.GetLastInsertId();
+
+ var newMovie = new MovieResponse {
+ Movie = Db.Id<Movie>(newMovieId),
+ };
+
+ return new HttpResult(newMovie) {
+ StatusCode = HttpStatusCode.Created,
+ Headers = {
+ { HttpHeaders.Location, base.Request.AbsoluteUri.CombineWith(newMovieId.ToString()) }
+ }
+ };
+ }
+
+ /// <summary>
+ /// PUT /movies/{id}
+ /// </summary>
+ public object Put(Movie movie)
+ {
+ Db.Update(movie);
+
+ return new HttpResult {
+ StatusCode = HttpStatusCode.NoContent,
+ Headers = {
+ { HttpHeaders.Location, this.RequestContext.AbsoluteUri.CombineWith(movie.Id.ToString()) }
+ }
+ };
+ }
+
+ /// <summary>
+ /// DELETE /movies/{Id}
+ /// </summary>
+ public object Delete(Movie request)
+ {
+ Db.DeleteById<Movie>(request.Id);
+
+ return new HttpResult {
+ StatusCode = HttpStatusCode.NoContent,
+ Headers = {
+ { HttpHeaders.Location, this.RequestContext.AbsoluteUri.CombineWith(request.Id.ToString()) }
+ }
+ };
+ }
+ }
+
+ /// <summary>
+ /// Define your ServiceStack web service request (i.e. Request DTO).
+ /// </summary>
+ /// <remarks>The route is defined here rather than in the AppHost.</remarks>
+ [Api("Find movies by genre, or all movies if no genre is provided")]
+ [Route("/movies", "GET, OPTIONS")]
+ [Route("/movies/genres/{Genre}")]
+ public class Movies
+ {
+ public string Genre { get; set; }
+ }
+
+ /// <summary>
+ /// Define your ServiceStack web service response (i.e. Response DTO).
+ /// </summary>
+ public class MoviesResponse
+ {
+ /// <summary>
+ /// Gets or sets the list of movies.
+ /// </summary>
+
+ public List<Movie> Movies { get; set; }
+ }
+
+ /// <summary>
+ /// Create your ServiceStack RESTful web service implementation.
+ /// </summary>
+ public class MoviesService : ServiceInterface.Service
+ {
+ /// <summary>
+ /// GET /movies
+ /// GET /movies/genres/{Genre}
+ /// </summary>
+ public object Get(Movies request)
+ {
+ return new MoviesResponse {
+ Movies = request.Genre.IsNullOrEmpty()
+ ? Db.Select<Movie>()
+ : Db.Select<Movie>("Genres LIKE {0}", "%{0}%".Fmt(request.Genre))
+ };
+ }
+ }
}
114 src/ServiceStack.MovieRest/ResetMovies.cs
View
@@ -1,71 +1,45 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using ServiceStack.OrmLite;
-using ServiceStack.ServiceHost;
-using ServiceStack.ServiceInterface;
-
-namespace ServiceStack.MovieRest
-{
- /// <summary>
- /// Define your ServiceStack web service request (i.e. Request DTO).
- /// </summary>
- /// <remarks>The route is defined here rather than in the AppHost.</remarks>
- [Route("/reset-movies", "GET,POST")]
- [Description("Resets the database back to the original Top 5 movies.")]
- public class ResetMovies { }
-
- /// <summary>
- /// Define your ServiceStack web service response (i.e. Response DTO).
- /// </summary>
- public class ResetMoviesResponse { }
-
- /// <summary>
- /// Create your ServiceStack rest-ful web service implementation.
- /// </summary>
- public class ResetMoviesService : RestServiceBase<ResetMovies>
- {
- public static List<Movie> Top5Movies = new List<Movie>
- {
- new Movie { ImdbId = "tt1375666", Title = "Inception", Rating = 9.2m, Director = "Christopher Nolan", ReleaseDate = new DateTime(2010,7,16), TagLine = "Your mind is the scene of the crime", Genres = new List<string>{"Action", "Thriller", "Sci-Fi"}, },
- new Movie { ImdbId = "tt0111161", Title = "The Shawshank Redemption", Rating = 9.2m, Director = "Frank Darabont", ReleaseDate = new DateTime(1995,2,17), TagLine = "Fear can hold you prisoner. Hope can set you free.", Genres = new List<string>{"Crime", "Drama"}, },
- new Movie { ImdbId = "tt0071562", Title = "The Godfather: Part II", Rating = 9.0m, Director = "Francis Ford Coppola", ReleaseDate = new DateTime(1974,12,20), Genres = new List<string> {"Crime","Drama", "Thriller"}, },
- new Movie { ImdbId = "tt0068646", Title = "The Godfather", Rating = 9.2m, Director = "Francis Ford Coppola", ReleaseDate = new DateTime(1972,3,24), TagLine = "An offer you can't refuse.", Genres = new List<string> {"Crime", "Drama", "Thriller"}, },
- new Movie { ImdbId = "tt0060196", Title = "The Good, the Bad and the Ugly", Rating = 9.0m, Director = "Sergio Leone", ReleaseDate = new DateTime(1967,12,29), TagLine = "They formed an alliance of hate to steal a fortune in dead man's gold", Genres = new List<string>{"Adventure","Western"}, },
- };
-
- /// <summary>
- /// Gets or sets the database factory. The built-in IoC used with ServiceStack autowires this property.
- /// </summary>
- public IDbConnectionFactory DbFactory { get; set; }
-
- /// <summary>
- /// Overrides the OnGet request.
- /// </summary>
- /// <param name="request">The request.</param>
- /// <returns></returns>
- public override object OnGet(ResetMovies request)
- {
- return OnPost(request);
- }
-
- /// <summary>
- /// Overrides the OnPost request.
- /// </summary>
- /// <param name="request">The request.</param>
- /// <returns></returns>
- public override object OnPost(ResetMovies request)
- {
- //Executes the specified delegate against the configured database.
- DbFactory.Run(dbCmd =>
- {
- const bool overwriteTable = true;
- dbCmd.CreateTable<Movie>(overwriteTable);
- dbCmd.SaveAll(Top5Movies);
- });
-
- return new ResetMoviesResponse();
- }
- }
-
+using System;
+using System.Collections.Generic;
+using ServiceStack.OrmLite;
+using ServiceStack.ServiceHost;
+
+namespace ServiceStack.MovieRest
+{
+ /// <summary>
+ /// Define your ServiceStack web service request (i.e. Request DTO).
+ /// </summary>
+ /// <remarks>The route is defined here rather than in the AppHost.</remarks>
+ [Route("/reset-movies", "GET,POST")]
+ [Api("Resets the database back to the original Top 5 movies.")]
+ public class ResetMovies { }
+
+ /// <summary>
+ /// Define your ServiceStack web service response (i.e. Response DTO).
+ /// </summary>
+ public class ResetMoviesResponse { }
+
+ /// <summary>
+ /// Create your ServiceStack rest-ful web service implementation.
+ /// </summary>
+ public class ResetMoviesService : ServiceInterface.Service
+ {
+ public static List<Movie> Top5Movies = new List<Movie>
+ {
+ new Movie { ImdbId = "tt1375666", Title = "Inception", Rating = 9.2m, Director = "Christopher Nolan", ReleaseDate = new DateTime(2010,7,16), TagLine = "Your mind is the scene of the crime", Genres = new List<string>{"Action", "Thriller", "Sci-Fi"}, },
+ new Movie { ImdbId = "tt0111161", Title = "The Shawshank Redemption", Rating = 9.2m, Director = "Frank Darabont", ReleaseDate = new DateTime(1995,2,17), TagLine = "Fear can hold you prisoner. Hope can set you free.", Genres = new List<string>{"Crime", "Drama"}, },
+ new Movie { ImdbId = "tt0071562", Title = "The Godfather: Part II", Rating = 9.0m, Director = "Francis Ford Coppola", ReleaseDate = new DateTime(1974,12,20), Genres = new List<string> {"Crime","Drama", "Thriller"}, },
+ new Movie { ImdbId = "tt0068646", Title = "The Godfather", Rating = 9.2m, Director = "Francis Ford Coppola", ReleaseDate = new DateTime(1972,3,24), TagLine = "An offer you can't refuse.", Genres = new List<string> {"Crime", "Drama", "Thriller"}, },
+ new Movie { ImdbId = "tt0060196", Title = "The Good, the Bad and the Ugly", Rating = 9.0m, Director = "Sergio Leone", ReleaseDate = new DateTime(1967,12,29), TagLine = "They formed an alliance of hate to steal a fortune in dead man's gold", Genres = new List<string>{"Adventure","Western"}, },
+ };
+
+ public object Any(ResetMovies request)
+ {
+ //Executes the specified delegate against the configured database.
+ Db.DropAndCreateTable<Movie>();
+ Db.SaveAll(Top5Movies);
+
+ return new ResetMoviesResponse();
+ }
+ }
+
}
304 src/ServiceStack.MovieRest/ServiceStack.MovieRest.csproj
View
@@ -1,153 +1,153 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}</ProjectGuid>
- <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>ServiceStack.MovieRest</RootNamespace>
- <AssemblyName>ServiceStack.MovieRest</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <OldToolsVersion>3.5</OldToolsVersion>
- <UpgradeBackupLocation />
- <UseIISExpress>false</UseIISExpress>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- <PlatformTarget>x86</PlatformTarget>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- <PlatformTarget>x86</PlatformTarget>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="ServiceStack">
- <HintPath>..\packages\ServiceStack.3.9.11\lib\net35\ServiceStack.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.Common">
- <HintPath>..\packages\ServiceStack.Common.3.9.11\lib\net35\ServiceStack.Common.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.Interfaces">
- <HintPath>..\packages\ServiceStack.Common.3.9.11\lib\net35\ServiceStack.Interfaces.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.OrmLite">
- <HintPath>..\packages\ServiceStack.OrmLite.Sqlite32.3.9.9\lib\net35\ServiceStack.OrmLite.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.OrmLite.SqliteNET">
- <HintPath>..\packages\ServiceStack.OrmLite.Sqlite32.3.9.9\lib\net35\ServiceStack.OrmLite.SqliteNET.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.OrmLite.SqlServer">
- <HintPath>..\packages\ServiceStack.OrmLite.SqlServer.3.9.9\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.Redis">
- <HintPath>..\packages\ServiceStack.Redis.3.9.11\lib\net35\ServiceStack.Redis.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.ServiceInterface">
- <HintPath>..\packages\ServiceStack.3.9.11\lib\net35\ServiceStack.ServiceInterface.dll</HintPath>
- </Reference>
- <Reference Include="ServiceStack.Text">
- <HintPath>..\packages\ServiceStack.Text.3.9.11\lib\net35\ServiceStack.Text.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.SQLite">
- <HintPath>..\packages\ServiceStack.OrmLite.Sqlite32.3.9.9\lib\net35\System.Data.SQLite.dll</HintPath>
- </Reference>
- <Reference Include="System.Runtime.Serialization">
- <RequiredTargetFramework>3.0</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Web.Extensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Drawing" />
- <Reference Include="System.Web" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Configuration" />
- <Reference Include="System.Web.Services" />
- <Reference Include="System.EnterpriseServices" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="..\..\lib\sqlite3.dll">
- <Link>sqlite3.dll</Link>
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="Content\Css\default.css" />
- <Content Include="default.htm" />
- <Content Include="Global.asax" />
- <Content Include="Content\Images\bg-body-1024.png" />
- <Content Include="Content\Images\btn-github.png" />
- <Content Include="Scripts\jquery-1.8.1.min.js" />
- <Content Include="Web.config">
- <SubType>Designer</SubType>
- </Content>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="ResetMovies.cs" />
- <Compile Include="MovieService.cs" />
- <Compile Include="Global.asax.cs">
- <DependentUpon>Global.asax</DependentUpon>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="App_Data\" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="packages.config" />
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
- <WebProjectProperties>
- <UseIIS>False</UseIIS>
- <AutoAssignPort>True</AutoAssignPort>
- <DevelopmentServerPort>55867</DevelopmentServerPort>
- <DevelopmentServerVPath>/</DevelopmentServerVPath>
- <IISUrl>http://localhost/ServiceStack.MovieRest</IISUrl>
- <NTLMAuthentication>False</NTLMAuthentication>
- <UseCustomServer>False</UseCustomServer>
- <CustomServerUrl>
- </CustomServerUrl>
- <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
- </WebProjectProperties>
- </FlavorProperties>
- </VisualStudio>
- </ProjectExtensions>
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{EE3EB8BB-A24E-4F71-8277-1C6DAE652E2C}</ProjectGuid>
+ <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>ServiceStack.MovieRest</RootNamespace>
+ <AssemblyName>ServiceStack.MovieRest</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>3.5</OldToolsVersion>
+ <UpgradeBackupLocation />
+ <UseIISExpress>false</UseIISExpress>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="ServiceStack">
+ <HintPath>packages\ServiceStack.3.9.32\lib\net35\ServiceStack.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.Common">
+ <HintPath>packages\ServiceStack.Common.3.9.32\lib\net35\ServiceStack.Common.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.Interfaces">
+ <HintPath>packages\ServiceStack.Common.3.9.32\lib\net35\ServiceStack.Interfaces.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.OrmLite">
+ <HintPath>packages\ServiceStack.OrmLite.SqlServer.3.9.32\lib\ServiceStack.OrmLite.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.OrmLite.SqliteNET">
+ <HintPath>..\packages\ServiceStack.OrmLite.Sqlite32.3.9.9\lib\net35\ServiceStack.OrmLite.SqliteNET.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.OrmLite.SqlServer">
+ <HintPath>packages\ServiceStack.OrmLite.SqlServer.3.9.32\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.Redis">
+ <HintPath>packages\ServiceStack.Redis.3.9.32\lib\net35\ServiceStack.Redis.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.ServiceInterface">
+ <HintPath>packages\ServiceStack.3.9.32\lib\net35\ServiceStack.ServiceInterface.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.Text">
+ <HintPath>packages\ServiceStack.Text.3.9.32\lib\net35\ServiceStack.Text.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.SQLite">
+ <HintPath>..\packages\ServiceStack.OrmLite.Sqlite32.3.9.9\lib\net35\System.Data.SQLite.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Runtime.Serialization">
+ <RequiredTargetFramework>3.0</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Web.Extensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Configuration" />
+ <Reference Include="System.Web.Services" />
+ <Reference Include="System.EnterpriseServices" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="..\..\lib\sqlite3.dll">
+ <Link>sqlite3.dll</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
+ <Content Include="Content\Css\default.css" />
+ <Content Include="default.htm" />
+ <Content Include="Global.asax" />
+ <Content Include="Content\Images\bg-body-1024.png" />
+ <Content Include="Content\Images\btn-github.png" />
+ <Content Include="Scripts\jquery-1.8.1.min.js" />
+ <Content Include="Web.config">
+ <SubType>Designer</SubType>
+ </Content>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="ResetMovies.cs" />
+ <Compile Include="MovieService.cs" />
+ <Compile Include="Global.asax.cs">
+ <DependentUpon>Global.asax</DependentUpon>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="App_Data\" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <UseIIS>False</UseIIS>
+ <AutoAssignPort>True</AutoAssignPort>
+ <DevelopmentServerPort>55867</DevelopmentServerPort>
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
+ <IISUrl>http://localhost/ServiceStack.MovieRest</IISUrl>
+ <NTLMAuthentication>False</NTLMAuthentication>
+ <UseCustomServer>False</UseCustomServer>
+ <CustomServerUrl>
+ </CustomServerUrl>
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
</Project>
10 src/ServiceStack.MovieRest/default.htm
View
@@ -118,19 +118,19 @@
$("FORM").submit(function (e) {
e.preventDefault();
- var data = {};
+ var data = {}, form = $(this);
$("FORM INPUT[type=text]").each(function () {
data[this.name] = this.value;
});
$.ajax({
- url: $("FORM").attr("action"),
- type: "POST",
+ url: form.attr("action"),
+ type: form.attr('method'),
data: data,
dataType: "json",
success: function () {
- restLog($('FORM').attr('method'), $('FORM').attr('action'));
- $("FORM").hide();
+ restLog(form.attr('method'), form.attr('action'));
+ form.hide();
refreshExistingMovies();
}
});
12 src/ServiceStack.MovieRest/packages.config
View
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="ServiceStack" version="3.9.11" targetFramework="net35" />
- <package id="ServiceStack.Common" version="3.9.11" targetFramework="net35" />
- <package id="ServiceStack.OrmLite.Sqlite32" version="3.9.11" targetFramework="net35" />
- <package id="ServiceStack.OrmLite.Sqlite32" version="3.9.9" targetFramework="net35" />
- <package id="ServiceStack.OrmLite.SqlServer" version="3.9.11" targetFramework="net35" />
- <package id="ServiceStack.Redis" version="3.9.11" targetFramework="net35" />
- <package id="ServiceStack.Text" version="3.9.11" targetFramework="net35" />
+ <package id="ServiceStack" version="3.9.32" targetFramework="net35" />
+ <package id="ServiceStack.Common" version="3.9.32" targetFramework="net35" />
+ <package id="ServiceStack.OrmLite.SqlServer" version="3.9.32" targetFramework="net35" />
+ <package id="ServiceStack.Redis" version="3.9.32" targetFramework="net35" />
+ <package id="ServiceStack.Text" version="3.9.32" targetFramework="net35" />
</packages>
BIN  src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/ServiceStack.3.9.32.nupkg
View
Binary file not shown
27 src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/ServiceStack.3.9.32.nuspec
View
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+ <metadata>
+ <id>ServiceStack</id>
+ <version>3.9.32</version>
+ <title>ServiceStack webservice framework: Faster, Cleaner, Modern WCF alternative</title>
+ <authors>Demis Bellot</authors>
+ <owners>Demis Bellot</owners>
+ <licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
+ <projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
+ <iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>Binaries for the ServiceStack web framework.
+ Visit http://www.servicestack.net/ServiceStack.Hello/
+ and https://github.com/ServiceStack/ServiceStack/wiki/Create-your-first-webservice
+ for walk throughs and docs on creating your first web service.</description>
+ <summary>Opensource .NET and Mono REST Web Services framework</summary>
+ <copyright>servicestack.net 2012 and contributors</copyright>
+ <language>en-US</language>
+ <tags>Fast JSON XML CSV HTML SOAP JSV REST Web Service Framework MONO</tags>
+ <dependencies>
+ <dependency id="ServiceStack.Common" />
+ <dependency id="ServiceStack.Redis" />
+ <dependency id="ServiceStack.OrmLite.SqlServer" />
+ </dependencies>
+ </metadata>
+</package>
BIN  src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/lib/net35/ServiceStack.ServiceInterface.dll
View
Binary file not shown
BIN  src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/lib/net35/ServiceStack.dll
View
Binary file not shown
3,483 src/ServiceStack.MovieRest/packages/ServiceStack.3.9.32/lib/net35/ServiceStack.xml
View
3,483 additions, 0 deletions not shown
BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/ServiceStack.Common.3.9.32.nupkg
View
Binary file not shown
28 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/ServiceStack.Common.3.9.32.nuspec
View
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+ <metadata>
+ <id>ServiceStack.Common</id>
+ <version>3.9.32</version>
+ <title>Service Clients and Common libs for ServiceStack projects</title>
+ <authors>Demis Bellot</authors>
+ <owners>Demis Bellot</owners>
+ <licenseUrl>https://github.com/ServiceStack/ServiceStack/blob/master/LICENSE</licenseUrl>
+ <projectUrl>https://github.com/ServiceStack/ServiceStack</projectUrl>
+ <iconUrl>http://www.servicestack.net/logo-100x100.png</iconUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>Common library dependency for other ServiceStack projects.
+ Includes JSON, XML, JSV and SOAP Generic Service Clients.
+ Contains:
+ - ServiceStack.Interfaces
+ - ServiceStack.Common
+ Dependenies:
+ - ServiceStack.Text</description>
+ <summary>Opensource .NET and Mono REST Web Services framework</summary>
+ <copyright>servicestack.net 2012 and contributors</copyright>
+ <language>en-US</language>
+ <tags>ServiceStack Common Framework</tags>
+ <dependencies>
+ <dependency id="ServiceStack.Text" />
+ </dependencies>
+ </metadata>
+</package>
BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Common.dll
View
Binary file not shown
927 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Common.xml
View
@@ -0,0 +1,927 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>ServiceStack.Common</name>
+ </assembly>
+ <members>
+ <member name="M:ServiceStack.Common.StreamExtensions.Compress(System.String,System.String)">
+ <summary>
+ Compresses the specified text using the default compression method: Deflate
+ </summary>
+ <param name="text">The text.</param>
+ <param name="compressionType">Type of the compression.</param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.StreamExtensions.Decompress(System.Byte[],System.String)">
+ <summary>
+ Decompresses the specified gz buffer using the default compression method: Inflate
+ </summary>
+ <param name="gzBuffer">The gz buffer.</param>
+ <param name="compressionType">Type of the compression.</param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.Validation.ValidationErrorResult">
+ <summary>
+ Encapsulates a validation result.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Validation.ValidationErrorResult.#ctor">
+ <summary>
+ Constructs a new ValidationResult
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Validation.ValidationErrorResult.#ctor(System.Collections.Generic.IList{ServiceStack.Validation.ValidationErrorField})">
+ <summary>
+ Constructs a new ValidationResult
+ </summary>
+ <param name="errors">A list of validation results</param>
+ </member>
+ <member name="M:ServiceStack.Validation.ValidationErrorResult.#ctor(System.Collections.Generic.IList{ServiceStack.Validation.ValidationErrorField},System.String,System.String)">
+ <summary>
+ Initializes a new instance of the <see cref="T:ServiceStack.Validation.ValidationErrorResult"/> class.
+ </summary>
+ <param name="errors">The errors.</param>
+ <param name="successCode">The success code.</param>
+ <param name="errorCode">The error code.</param>
+ </member>
+ <member name="P:ServiceStack.Validation.ValidationErrorResult.SuccessCode">
+ <summary>
+ Gets or sets the success code.
+ </summary>
+ <value>The success code.</value>
+ </member>
+ <member name="P:ServiceStack.Validation.ValidationErrorResult.ErrorCode">
+ <summary>
+ Gets or sets the error code.
+ </summary>
+ <value>The error code.</value>
+ </member>
+ <member name="P:ServiceStack.Validation.ValidationErrorResult.SuccessMessage">
+ <summary>
+ Gets or sets the success message.
+ </summary>
+ <value>The success message.</value>
+ </member>
+ <member name="P:ServiceStack.Validation.ValidationErrorResult.ErrorMessage">
+ <summary>
+ Gets or sets the error message.
+ </summary>
+ <value>The error message.</value>
+ </member>
+ <member name="P:ServiceStack.Validation.ValidationErrorResult.Errors">
+ <summary>
+ The errors generated by the validation.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Validation.ValidationErrorResult.IsValid">
+ <summary>
+ Returns True if the validation was successful (errors list is empty).
+ </summary>
+ </member>
+ <member name="F:ServiceStack.ServiceModel.Serialization.DataContractDeserializer.quotas">
+ <summary>
+ Default MaxStringContentLength is 8k, and throws an exception when reached
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.CommandsUtils.ExecuteAsyncCommandExec(System.Collections.Generic.IEnumerable{ServiceStack.DesignPatterns.Command.ICommandExec})">
+ <summary>
+ Provide the an option for the callee to block until all commands are executed
+ </summary>
+ <param name="commands"></param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.Messaging.IMessageHandlerFactory">
+ <summary>
+ Encapsulates creating a new message handler
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Common.Extensions.EnumerableExtensions">
+ <summary>
+ These extensions have a potential to conflict with the LINQ extensions methods so
+ leaving the implmentation in the 'Extensions' sub-namespace to force explicit opt-in
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.ResponseStatusUtils.CreateResponseStatus(System.String,System.String,System.Collections.Generic.IEnumerable{ServiceStack.Validation.ValidationErrorField})">
+ <summary>
+ Creates the error response from the values provided.
+
+ If the errorCode is empty it will use the first validation error code,
+ if there is none it will throw an error.
+ </summary>
+ <param name="errorCode">The error code.</param>
+ <param name="errorMessage">The error message.</param>
+ <param name="validationErrors">The validation errors.</param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.ServiceClient.Web.ServiceClientBase">
+ Need to provide async request options
+ http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx
+ </member>
+ <member name="F:ServiceStack.ServiceClient.Web.ServiceClientBase.httpWebRequestFilter">
+ <summary>
+ The request filter is called before any request.
+ This request filter is executed globally.
+ </summary>
+ </member>
+ <member name="F:ServiceStack.ServiceClient.Web.ServiceClientBase.httpWebResponseFilter">
+ <summary>
+ The response action is called once the server response is available.
+ It will allow you to access raw response information.
+ This response action is executed globally.
+ Note that you should NOT consume the response stream as this is handled by ServiceStack
+ </summary>
+ </member>
+ <member name="M:ServiceStack.ServiceClient.Web.ServiceClientBase.SetBaseUri(System.String)">
+ <summary>
+ Sets all baseUri properties, using the Format property for the SyncReplyBaseUri and AsyncOneWayBaseUri
+ </summary>
+ <param name="baseUri">Base URI of the service</param>
+ </member>
+ <member name="M:ServiceStack.ServiceClient.Web.ServiceClientBase.SetBaseUri(System.String,System.String)">
+ <summary>
+ Sets all baseUri properties allowing for a temporary override of the Format property
+ </summary>
+ <param name="baseUri">Base URI of the service</param>
+ <param name="format">Override of the Format property for the service</param>
+ </member>
+ <member name="F:ServiceStack.ServiceClient.Web.ServiceClientBase.disableAutoCompression">
+ <summary>
+ Whether to Accept Gzip,Deflate Content-Encoding and to auto decompress responses
+ </summary>
+ </member>
+ <member name="F:ServiceStack.ServiceClient.Web.ServiceClientBase.username">
+ <summary>
+ The user name for basic authentication
+ </summary>
+ </member>
+ <member name="F:ServiceStack.ServiceClient.Web.ServiceClientBase.password">
+ <summary>
+ The password for basic authentication
+ </summary>
+ </member>
+ <member name="M:ServiceStack.ServiceClient.Web.ServiceClientBase.SetCredentials(System.String,System.String)">
+ <summary>
+ Sets the username and the password for basic authentication.
+ </summary>
+ </member>
+ <member name="F:ServiceStack.ServiceClient.Web.ServiceClientBase.storeCookies">
+ <summary>
+ Specifies if cookies should be stored
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.ServiceClientBase.Credentials">
+ <summary>
+ Gets or sets authentication information for the request.
+ Warning: It's recommened to use <see cref="P:ServiceStack.ServiceClient.Web.ServiceClientBase.UserName"/> and <see cref="P:ServiceStack.ServiceClient.Web.ServiceClientBase.Password"/> for basic auth.
+ This property is only used for IIS level authentication.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.ServiceClientBase.AlwaysSendBasicAuthHeader">
+ <summary>
+ Determines if the basic auth header should be sent with every request.
+ By default, the basic auth header is only sent when "401 Unauthorized" is returned.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.ServiceClientBase.onAuthenticationRequired">
+ <summary>
+ Called before request resend, when the initial request required authentication
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.ServiceClientBase.localHttpWebRequestFilter">
+ <summary>
+ The request filter is called before any request.
+ This request filter only works with the instance where it was set (not global).
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.ServiceClientBase.localHttpWebResponseFilter">
+ <summary>
+ The response action is called once the server response is available.
+ It will allow you to access raw response information.
+ Note that you should NOT consume the response stream as this is handled by ServiceStack
+ </summary>
+ </member>
+ <member name="T:ServiceStack.ServiceClient.Web.GenericProxy`1">
+ <summary>
+ Generic Proxy for service calls.
+ </summary>
+ <typeparam name="T">The service Contract</typeparam>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.GenericProxy`1.Proxy">
+ <summary>
+ Returns the transparent proxy for the service call
+ </summary>
+ </member>
+ <!-- Badly formed XML comment ignored for member "M:ServiceStack.Common.Utils.AssertUtils.AreNotNull(System.Collections.Generic.IDictionary{System.String,System.Object})" -->
+ <member name="T:ServiceStack.Messaging.MessageHandler`1">
+ <summary>
+ Processes all messages in a Normal and Priority Queue.
+ Expects to be called in 1 thread. i.e. Non Thread-Safe.
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="T:ServiceStack.Messaging.IMessageHandler">
+ <summary>
+ Single threaded message handler that can process all messages
+ of a particular message type.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageHandler.Process(ServiceStack.Messaging.IMessageQueueClient)">
+ <summary>
+ Process all messages pending
+ </summary>
+ <param name="mqClient"></param>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageHandler.ProcessQueue(ServiceStack.Messaging.IMessageQueueClient,System.String,System.Func{System.Boolean})">
+ <summary>
+ Process messages from a single queue.
+ </summary>
+ <param name="mqClient"></param>
+ <param name="queueName">The queue to process</param>
+ <param name="doNext">A predicate on whether to continue processing the next message if any</param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageHandler.GetStats">
+ <summary>
+ Get Current Stats for this Message Handler
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:ServiceStack.Messaging.IMessageHandler.MessageType">
+ <summary>
+ The type of the message this handler processes
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Common.Extensions.IPAddressExtensions">
+ <summary>
+ Useful IPAddressExtensions from:
+ http://blogs.msdn.com/knom/archive/2008/12/31/ip-address-calculations-with-c-subnetmasks-networks.aspx
+
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Extensions.IPAddressExtensions.GetAllNetworkInterfaceIpv4Addresses">
+ <summary>
+ Gets the ipv4 addresses from all Network Interfaces that have Subnet masks.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.Extensions.IPAddressExtensions.GetAllNetworkInterfaceIpv6Addresses">
+ <summary>
+ Gets the ipv6 addresses from all Network Interfaces.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.Support.LogicFacadeBase.Execute``1(ServiceStack.DesignPatterns.Command.ICommand{``0})">
+ <summary>
+ Executes the specified action.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="action">The action.</param>
+ <returns></returns>
+ </member>
+ <member name="P:ServiceStack.Common.Support.LogicFacadeBase.CurrentContext">
+ <summary>
+ Gets the current context (or null if none).
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Common.Support.LogicFacadeBase.IsCurrentlyInitializeOnly">
+ <summary>
+ Checks if the current context is set to "initialize only".
+ </summary>
+ </member>
+ <member name="F:ServiceStack.Common.Support.LogicFacadeBase.InitialisationContext.initOptions">
+ <summary>
+ Determines whether this context is initialise only or not
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Support.LogicFacadeBase.InitialisationContext.#ctor(ServiceStack.Common.Support.LogicFacadeBase,ServiceStack.LogicFacade.InitOptions)">
+ <summary>
+ Constructs a new InitialiseOnlyContext
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Support.LogicFacadeBase.InitialisationContext.Dispose">
+ <summary>
+ Call to remove this current context and reveal the previous context (if any).
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Common.Support.LogicFacadeBase.InitialisationContext.InitialisedObject">
+ <summary>
+ Gets or sets the object that has been initialized only.
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Validation.ValidationError">
+ <summary>
+ The exception which is thrown when a validation error occurred.
+ This validation is serialized in a extra clean and human-readable way by ServiceStack.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Validation.ValidationError.ToXml">
+ <summary>
+ Used if we need to serialize this exception to XML
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:ServiceStack.Validation.ValidationError.ErrorCode">
+ <summary>
+ Returns the first error code
+ </summary>
+ <value>The error code.</value>
+ </member>
+ <member name="F:ServiceStack.ServiceClient.Web.WebRequestUtils.ResponseDtoSuffix">
+ <summary>
+ Naming convention for the request's Response DTO
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.WcfServiceClient.StoreCookies">
+ <summary>
+ Specifies if cookies should be stored
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Messaging.Rcon.ProcessingClient">
+ <summary>
+ Processing client used to interface with ServiceStack and allow a message to be processed.
+ Not an actual client.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.ProcessingClient.Publish(System.String,System.Byte[])">
+ <summary>
+ Publish the specified message into the durable queue @queueName
+ </summary>
+ <param name="queueName"></param>
+ <param name="messageBytes"></param>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.ProcessingClient.Notify(System.String,System.Byte[])">
+ <summary>
+ Publish the specified message into the transient queue @queueName
+ </summary>
+ <param name="queueName"></param>
+ <param name="messageBytes"></param>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.ProcessingClient.Get(System.String,System.Nullable{System.TimeSpan})">
+ <summary>
+ Synchronous blocking get.
+ </summary>
+ <param name="queueName"></param>
+ <param name="timeOut"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.ProcessingClient.GetAsync(System.String)">
+ <summary>
+ Non blocking get message
+ </summary>
+ <param name="queueName"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.ProcessingClient.WaitForNotifyOnAny(System.String[])">
+ <summary>
+ Blocking wait for notifications on any of the supplied channels
+ </summary>
+ <param name="channelNames"></param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.Messaging.Rcon.Client">
+ <summary>
+ Base rcon class.
+ </summary>
+ </member>
+ <member name="F:ServiceStack.Messaging.Rcon.Client._sock">
+ <summary>
+ Rcon connection socket. Always set to null when not connected.
+ </summary>
+ </member>
+ <member name="F:ServiceStack.Messaging.Rcon.Client._sequenceID">
+ <summary>
+ Unique ID for each message.
+ </summary>
+ </member>
+ <member name="F:ServiceStack.Messaging.Rcon.Client._registeredCallbacks">
+ <summary>
+ Registered callbacks.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Client.#ctor(System.Net.IPEndPoint)">
+ <summary>
+ Create a new instance of rcon.
+ </summary>
+ <param name="rconEndpoint">Endpoint to connect to, usually the game server with query port.</param>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Client.Connect">
+ <summary>
+ Attempts to connect to the game server for rcon operations.
+ </summary>
+ <returns>True if connection established, false otherwise.</returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Client.ProcessPacket(System.Byte[],ServiceStack.Messaging.Rcon.ClientSocketState)">
+ <summary>
+ Processes a received packet.
+ </summary>
+ <param name="packet">The packet.</param>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Client.Disconnect">
+ <summary>
+ Disconnects from rcon.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Client.InternalSend(System.Byte[][])">
+ <summary>
+ Sends message to the server.
+ </summary>
+ <param name="words">Words to send.</param>
+ </member>
+ <member name="E:ServiceStack.Messaging.Rcon.Client.OnDisconnected">
+ <summary>
+ Disconnected event.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Client.Endpoint">
+ <summary>
+ Game server endpoint.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Client.LastException">
+ <summary>
+ Last exception that occured during operation.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Client.Connected">
+ <summary>
+ Connected?
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Client.SequenceID">
+ <summary>
+ Gets the next unique ID to be used for transmisson. Read this before sending to pair responses to sent messages.
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Messaging.Rcon.Client.OnDisconnectedHandler">
+ <summary>
+ Event delegate when disconnected from the server.
+ </summary>
+ <param name="rcon"></param>
+ </member>
+ <member name="T:ServiceStack.Messaging.Rcon.Client.AsyncCallback">
+ <summary>
+ Delegate for async callbacks.
+ </summary>
+ <param name="rcon"></param>
+ <param name="packet"></param>
+ </member>
+ <member name="T:ServiceStack.Messaging.Rcon.NotConnectedException">
+ <summary>
+ Exception thrown when attempting to send on a non-connected service client.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.EnumExtensions.ToDescription(System.Enum)">
+ <summary>
+ Gets the textual description of the enum if it has one. e.g.
+
+ <code>
+ enum UserColors
+ {
+ [Description("Bright Red")]
+ BrightRed
+ }
+ UserColors.BrightRed.ToDescription();
+ </code>
+ </summary>
+ <param name="enum"></param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.Common.Support.InMemoryLogFactory">
+ <summary>
+ Note: InMemoryLog keeps all logs in memory, so don't use it long running exceptions
+
+ Returns a thread-safe InMemoryLog which you can use while *TESTING*
+ to provide a detailed analysis of your logs.
+ </summary>
+ </member>
+ <member name="T:ServiceStack.ServiceClient.Web.UrlExtensions">
+ <summary>
+ Donated by Ivan Korneliuk from his post:
+ http://korneliuk.blogspot.com/2012/08/servicestack-reusing-dtos.html
+
+ Modified to only allow using routes matching the supplied HTTP Verb
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.StaticAccessors`1.TypedGetPropertyFn``1(System.Reflection.PropertyInfo)">
+ <summary>
+ Func to get the Strongly-typed field
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.StaticAccessors`1.ValueUnTypedGetPropertyFn``1(System.Reflection.PropertyInfo)">
+ <summary>
+ Required to cast the return ValueType to an object for caching
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.StaticAccessors`1.TypedSetPropertyFn``1(System.Reflection.PropertyInfo)">
+ <summary>
+ Func to set the Strongly-typed field
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.StaticAccessors`1.ValueUnTypedSetPropertyFn``1(System.Reflection.PropertyInfo)">
+ <summary>
+ Required to cast the ValueType to an object for caching
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.StaticAccessors`1.UnTypedSetPropertyFn``1(System.Reflection.PropertyInfo)">
+ <summary>
+ Required to cast the ValueType to an object for caching
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.ReflectionUtils.PopulateObject(System.Object)">
+ <summary>
+ Populate an object with Example data.
+ </summary>
+ <param name="obj"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.ReflectionUtils.PopulateObjectInternal(System.Object,System.Collections.Generic.Dictionary{System.Type,System.Int32})">
+ <summary>
+ Populates the object with example data.
+ </summary>
+ <param name="obj"></param>
+ <param name="recursionInfo">Tracks how deeply nested we are</param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.Net30.ExtendTuple">
+ <summary>
+ Helper extensions for tuples
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.FuncUtils.TryExec(System.Action)">
+ <summary>
+ Invokes the action provided and returns true if no excpetion was thrown.
+ Otherwise logs the exception and returns false if an exception was thrown.
+ </summary>
+ <param name="action">The action.</param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.ServiceClient.Web.CookieManagerEndpointBehavior">
+ <summary>
+ Adds the singleton instance of <see cref="T:ServiceStack.ServiceClient.Web.CookieManagerMessageInspector"/> to an endpoint on the client.
+ </summary>
+ <remarks>
+ Based on http://megakemp.wordpress.com/2009/02/06/managing-shared-cookies-in-wcf/
+ </remarks>
+ </member>
+ <member name="M:ServiceStack.ServiceClient.Web.CookieManagerEndpointBehavior.ApplyClientBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.ClientRuntime)">
+ <summary>
+ Adds the singleton of the <see cref="!:ClientIdentityMessageInspector"/> class to the client endpoint's message inspectors.
+ </summary>
+ <param name="endpoint">The endpoint that is to be customized.</param>
+ <param name="clientRuntime">The client runtime to be customized.</param>
+ </member>
+ <member name="T:ServiceStack.ServiceClient.Web.CookieManagerMessageInspector">
+ <summary>
+ Maintains a copy of the cookies contained in the incoming HTTP response received from any service
+ and appends it to all outgoing HTTP requests.
+ </summary>
+ <remarks>
+ This class effectively allows to send any received HTTP cookies to different services,
+ reproducing the same functionality available in ASMX Web Services proxies with the <see cref="T:System.Net.CookieContainer"/> class.
+ Based on http://megakemp.wordpress.com/2009/02/06/managing-shared-cookies-in-wcf/
+ </remarks>
+ </member>
+ <member name="M:ServiceStack.ServiceClient.Web.CookieManagerMessageInspector.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="!:ClientIdentityMessageInspector"/> class.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.ServiceClient.Web.CookieManagerMessageInspector.AfterReceiveReply(System.ServiceModel.Channels.Message@,System.Object)">
+ <summary>
+ Inspects a message after a reply message is received but prior to passing it back to the client application.
+ </summary>
+ <param name="reply">The message to be transformed into types and handed back to the client application.</param>
+ <param name="correlationState">Correlation state data.</param>
+ </member>
+ <member name="M:ServiceStack.ServiceClient.Web.CookieManagerMessageInspector.BeforeSendRequest(System.ServiceModel.Channels.Message@,System.ServiceModel.IClientChannel)">
+ <summary>
+ Inspects a message before a request message is sent to a service.
+ </summary>
+ <param name="request">The message to be sent to the service.</param>
+ <param name="channel">The client object channel.</param>
+ <returns>
+ <strong>Null</strong> since no message correlation is used.
+ </returns>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.CookieManagerMessageInspector.Instance">
+ <summary>
+ Gets the singleton <see cref="!:ClientIdentityMessageInspector"/> instance.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Common.HostContext.Items">
+ <summary>
+ Gets a list of items for this request.
+ </summary>
+ <remarks>This list will be cleared on every request and is specific to the original thread that is handling the request.
+ If a handler uses additional threads, this data will not be available on those threads.
+ </remarks>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.PathUtils.MapProjectPath(System.String)">
+ <summary>
+ Maps the path of a file in the context of a VS project
+ </summary>
+ <param name="relativePath">the relative path</param>
+ <returns>the absolute path</returns>
+ <remarks>Assumes static content is two directories above the /bin/ directory,
+ eg. in a unit test scenario the assembly would be in /bin/Debug/.</remarks>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.PathUtils.MapAbsolutePath(System.String)">
+ <summary>
+ Maps the path of a file in a self-hosted scenario
+ </summary>
+ <param name="relativePath">the relative path</param>
+ <returns>the absolute path</returns>
+ <remarks>Assumes static content is copied to /bin/ folder with the assemblies</remarks>
+ </member>
+ <member name="M:ServiceStack.Common.Utils.PathUtils.MapHostAbsolutePath(System.String)">
+ <summary>
+ Maps the path of a file in an Asp.Net hosted scenario
+ </summary>
+ <param name="relativePath">the relative path</param>
+ <returns>the absolute path</returns>
+ <remarks>Assumes static content is in the parent folder of the /bin/ directory</remarks>
+ </member>
+ <member name="M:ServiceStack.ServiceModel.Support.XmlSerializerWrapper.GetNamespace(System.Type)">
+ <summary>
+ Gets the namespace from an attribute marked on the type's definition
+ </summary>
+ <param name="type"></param>
+ <returns>Namespace of type</returns>
+ </member>
+ <member name="T:ServiceStack.Messaging.Rcon.Server">
+ <summary>
+ Hosting services via a binary-safe TCP-based protocol.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Server.RegisterHandler``1(System.Func{ServiceStack.Messaging.IMessage{``0},System.Object})">
+ <summary>
+ Register DTOs and hanlders the MQ Host will process
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="processMessageFn"></param>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Server.GetStatus">
+ <summary>
+ Get Total Current Stats for all Message Handlers
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Server.GetStatsDescription">
+ <summary>
+ Get a Stats dump
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Server.Start">
+ <summary>
+ Start the MQ Host. Stops the server and restarts if already started.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Server.Stop">
+ <summary>
+ Stop the MQ Host if not already stopped.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.Server.ProcessPacket(System.Byte[],System.Net.Sockets.Socket,ServiceStack.Messaging.Rcon.ClientSocketState)">
+ <summary>
+ Processes a received packet.
+ </summary>
+ <param name="packet">The packet.</param>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Server.MessageFactory">
+ <summary>
+ Factory to create consumers and producers that work with this service
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Web.HttpResultExtensions.ToDto(System.Object)">
+ <summary>
+ Shortcut to get the ResponseDTO whether it's bare or inside a IHttpResult
+ </summary>
+ <param name="response"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.Web.HttpResultExtensions.ToResponseDto(System.Object)">
+ <summary>
+ Alias of ToDto
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Web.HttpResultExtensions.ToDto``1(System.Object)">
+ <summary>
+ Shortcut to get the ResponseDTO whether it's bare or inside a IHttpResult
+ </summary>
+ <param name="response"></param>
+ <returns>TResponse if found; otherwise null</returns>
+ </member>
+ <member name="M:ServiceStack.Common.Web.HttpResultExtensions.ToResponseDto``1(System.Object)">
+ <summary>
+ Alias of ToDto
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Web.HttpResultExtensions.ToResponseStatus(System.Object)">
+ <summary>
+ Shortcut to get the ResponseStatus whether it's bare or inside a IHttpResult
+ </summary>
+ <param name="response"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.Web.HttpResultExtensions.IsErrorResponse(System.Object)">
+ <summary>
+ Whether the response is an IHttpError or Exception
+ </summary>
+ <param name="response"></param>
+ <returns></returns>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Packet.FromServer">
+ <summary>
+ True if the packet originated on the server.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Packet.IsResponse">
+ <summary>
+ True if the packet is a response from a sent packet.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Packet.Sequence">
+ <summary>
+ Sequence identifier. Unique to the connection.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Messaging.Rcon.Packet.Words">
+ <summary>
+ Words.
+ </summary>
+ </member>
+ <member name="T:ServiceStack.ServiceModel.Serialization.StringMapTypeDeserializer">
+ <summary>
+ Serializer cache of delegates required to create a type from a string map (e.g. for REST urls)
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Common.CryptUtils">
+ <summary>
+ Useful .NET Encryption Utils from:
+ http://andrewlocatelliwoodcock.com/2011/08/01/implementing-rsa-asymmetric-public-private-key-encryption-in-c-encrypting-under-the-public-key/
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.CryptUtils.Encrypt(System.String,System.String,ServiceStack.Common.RsaKeyLengths)">
+ <summary>
+ Encrypt an arbitrary string of data under the supplied public key
+ </summary>
+ <param name="publicKey">The public key to encrypt under</param>
+ <param name="data">The data to encrypt</param>
+ <param name="length">The bit length or strength of the public key: 1024, 2048 or 4096 bits. This must match the
+ value actually used to create the publicKey</param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.Messaging.Rcon.PacketCodec">
+ <summary>
+ Contains methods required for encoding and decoding rcon packets.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.PacketCodec.DecodePacket(System.Byte[])">
+ <summary>
+ Decodes a packet.
+ </summary>
+ <param name="packet">The packet.</param>
+ <returns>A packet object.</returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.PacketCodec.DecodeHeader(System.Byte[])">
+ <summary>
+ Decodes the packet header.
+ </summary>
+ <param name="packet"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.PacketCodec.DecodeWords(System.Byte[])">
+ <summary>
+ Decodes words in a packet.
+ </summary>
+ <param name="packet"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.PacketCodec.EncodePacket(System.Boolean,System.Boolean,System.UInt32,System.Byte[][])">
+ <summary>
+ Encodes a packet for transmission to the server.
+ </summary>
+ <param name="fromServer"></param>
+ <param name="isResponse"></param>
+ <param name="id"></param>
+ <param name="words"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.PacketCodec.EncodeHeader(System.Boolean,System.Boolean,System.UInt32)">
+ <summary>
+ Encodes a packet header.
+ </summary>
+ <param name="fromServer"></param>
+ <param name="isResponse"></param>
+ <param name="id"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.Rcon.PacketCodec.EncodeWords(System.Byte[][])">
+ <summary>
+ Encodes words.
+ </summary>
+ <param name="words"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.PropertyAccessor`1.TypedGetPropertyFn``1">
+ <summary>
+ Func to get the Strongly-typed field
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.PropertyAccessor`1.ValueTypedGetPropertyFn``1">
+ <summary>
+ Required to cast the return ValueType to an object for caching
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.PropertyAccessor`1.TypedSetPropertyFn``1">
+ <summary>
+ Func to set the Strongly-typed field
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.PropertyAccessor`1.ValueTypesSetPropertyFn``1">
+ <summary>
+ Required to cast the ValueType to an object for caching
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Reflection.PropertyAccessor`1.UnTypedSetPropertyFn``1">
+ <summary>
+ Required to cast the ValueType to an object for caching
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.RequestContextExtensions.SetItem(ServiceStack.ServiceHost.IRequestContext,System.String,System.Object)">
+ <summary>
+ Store an entry in the IHttpRequest.Items Dictionary
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.RequestContextExtensions.GetItem(ServiceStack.ServiceHost.IRequestContext,System.String)">
+ <summary>
+ Get an entry from the IHttpRequest.Items Dictionary
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Common.UrnId">
+ <summary>
+ Creates a Unified Resource Name (URN) with the following formats:
+
+ - urn:{TypeName}:{IdFieldValue} e.g. urn:UserSession:1
+ - urn:{TypeName}:{IdFieldName}:{IdFieldValue} e.g. urn:UserSession:UserId:1
+
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Common.Support.AdapterBase">
+ <summary>
+ Common functionality when creating adapters
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Common.Support.AdapterBase.Execute``1(System.Func{``0})">
+ <summary>
+ Executes the specified expression.
+ </summary>
+ <typeparam name="T"></typeparam>
+ <param name="action">The action.</param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Common.Support.AdapterBase.Execute(System.Action)">
+ <summary>
+ Executes the specified action (for void methods).
+ </summary>
+ <param name="action">The action.</param>
+ </member>
+ <member name="T:ServiceStack.ServiceClient.Web.AsyncServiceClient">
+ Need to provide async request options
+ http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.AsyncServiceClient.HttpWebRequestFilter">
+ <summary>
+ The request filter is called before any request.
+ This request filter is executed globally.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.AsyncServiceClient.HttpWebResponseFilter">
+ <summary>
+ The response action is called once the server response is available.
+ It will allow you to access raw response information.
+ This response action is executed globally.
+ Note that you should NOT consume the response stream as this is handled by ServiceStack
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.AsyncServiceClient.OnAuthenticationRequired">
+ <summary>
+ Called before request resend, when the initial request required authentication
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.AsyncServiceClient.LocalHttpWebRequestFilter">
+ <summary>
+ The request filter is called before any request.
+ This request filter only works with the instance where it was set (not global).
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceClient.Web.AsyncServiceClient.LocalHttpWebResponseFilter">
+ <summary>
+ The response action is called once the server response is available.
+ It will allow you to access raw response information.
+ Note that you should NOT consume the response stream as this is handled by ServiceStack
+ </summary>
+ </member>
+ </members>
+</doc>
BIN  src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Interfaces.dll
View
Binary file not shown
1,698 src/ServiceStack.MovieRest/packages/ServiceStack.Common.3.9.32/lib/net35/ServiceStack.Interfaces.xml
View
@@ -0,0 +1,1698 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>ServiceStack.Interfaces</name>
+ </assembly>
+ <members>
+ <member name="T:ServiceStack.ServiceHost.RestServiceAttribute">
+ <summary>
+ Used to decorate Request DTO's to associate a RESTful request
+ path mapping with a service. Multiple attributes can be applied to
+ each request DTO, to map multiple paths to the service.
+ </summary>
+ </member>
+ <member name="T:ServiceStack.ServiceHost.RouteAttribute">
+ <summary>
+ Used to decorate Request DTO's to associate a RESTful request
+ path mapping with a service. Multiple attributes can be applied to
+ each request DTO, to map multiple paths to the service.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.RouteAttribute.#ctor(System.String)">
+ <summary>
+ <para>Initializes an instance of the <see cref="T:ServiceStack.ServiceHost.RouteAttribute"/> class.</para>
+ </summary>
+ <param name="path">
+ <para>The path template to map to the request. See
+ <see cref="P:ServiceStack.ServiceHost.RouteAttribute.Path">RouteAttribute.Path</see>
+ for details on the correct format.</para>
+ </param>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.RouteAttribute.#ctor(System.String,System.String)">
+ <summary>
+ <para>Initializes an instance of the <see cref="T:ServiceStack.ServiceHost.RouteAttribute"/> class.</para>
+ </summary>
+ <param name="path">
+ <para>The path template to map to the request. See
+ <see cref="P:ServiceStack.ServiceHost.RouteAttribute.Path">RouteAttribute.Path</see>
+ for details on the correct format.</para>
+ </param>
+ <param name="verbs">A comma-delimited list of HTTP verbs supported by the
+ service. If unspecified, all verbs are assumed to be supported.</param>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.RouteAttribute.Path">
+ <summary>
+ Gets or sets the path template to be mapped to the request.
+ </summary>
+ <value>
+ A <see cref="T:System.String"/> value providing the path mapped to
+ the request. Never <see langword="null"/>.
+ </value>
+ <remarks>
+ <para>Some examples of valid paths are:</para>
+
+ <list>
+ <item>"/Inventory"</item>
+ <item>"/Inventory/{Category}/{ItemId}"</item>
+ <item>"/Inventory/{ItemPath*}"</item>
+ </list>
+
+ <para>Variables are specified within "{}"
+ brackets. Each variable in the path is mapped to the same-named property
+ on the request DTO. At runtime, ServiceStack will parse the
+ request URL, extract the variable values, instantiate the request DTO,
+ and assign the variable values into the corresponding request properties,
+ prior to passing the request DTO to the service object for processing.</para>
+
+ <para>It is not necessary to specify all request properties as
+ variables in the path. For unspecified properties, callers may provide
+ values in the query string. For example: the URL
+ "http://services/Inventory?Category=Books&amp;ItemId=12345" causes the same
+ request DTO to be processed as "http://services/Inventory/Books/12345",
+ provided that the paths "/Inventory" (which supports the first URL) and
+ "/Inventory/{Category}/{ItemId}" (which supports the second URL)
+ are both mapped to the request DTO.</para>
+
+ <para>Please note that while it is possible to specify property values
+ in the query string, it is generally considered to be less RESTful and
+ less desirable than to specify them as variables in the path. Using the
+ query string to specify property values may also interfere with HTTP
+ caching.</para>
+
+ <para>The final variable in the path may contain a "*" suffix
+ to grab all remaining segments in the path portion of the request URL and assign
+ them to a single property on the request DTO.
+ For example, if the path "/Inventory/{ItemPath*}" is mapped to the request DTO,
+ then the request URL "http://services/Inventory/Books/12345" will result
+ in a request DTO whose ItemPath property contains "Books/12345".
+ You may only specify one such variable in the path, and it must be positioned at
+ the end of the path.</para>
+ </remarks>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.RouteAttribute.Summary">
+ <summary>
+ Gets or sets short summary of what the route does.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.RouteAttribute.Notes">
+ <summary>
+ Gets or sets longer text to explain the behaviour of the route.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.RouteAttribute.Verbs">
+ <summary>
+ Gets or sets a comma-delimited list of HTTP verbs supported by the service, such as
+ "GET,PUT,POST,DELETE".
+ </summary>
+ <value>
+ A <see cref="T:System.String"/> providing a comma-delimited list of HTTP verbs supported
+ by the service, <see langword="null"/> or empty if all verbs are supported.
+ </value>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.RestServiceAttribute.#ctor(System.String)">
+ <summary>
+ <para>Initializes an instance of the <see cref="T:ServiceStack.ServiceHost.RestServiceAttribute"/> class.</para>
+ </summary>
+ <param name="path">
+ <para>The path template to map to the request. See
+ <see cref="!:Path">RestServiceAttribute.Path</see>
+ for details on the correct format.</para>
+ </param>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.RestServiceAttribute.#ctor(System.String,System.String)">
+ <summary>
+ <para>Initializes an instance of the <see cref="T:ServiceStack.ServiceHost.RestServiceAttribute"/> class.</para>
+ </summary>
+ <param name="path">
+ <para>The path template to map to the request. See
+ <see cref="!:Path">RestServiceAttribute.Path</see>
+ for details on the correct format.</para>
+ </param>
+ <param name="verbs">A comma-delimited list of HTTP verbs supported by the
+ service. If unspecified, all verbs are assumed to be supported.</param>
+ </member>
+ <member name="T:ServiceStack.ServiceHost.IService`1">
+ <summary>
+ Base interface all webservices need to implement.
+ For simplicity this is the only interface you need to implement
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="T:ServiceStack.Redis.Generic.IRedisTypedQueueableOperation`1">
+ <summary>
+ interface to queueable operation using typed redis client
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="T:ServiceStack.DataAccess.IBasicPersistenceProvider`1">
+ <summary>
+ For providers that want a cleaner API with a little more perf
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="T:ServiceStack.ServiceInterface.ServiceModel.ErrorResponse">
+ <summary>
+ Generic ResponseStatus for when Response Type can't be inferred.
+ In schemaless formats like JSON, JSV it has the same shape as a typed Response DTO
+ </summary>
+ </member>
+ <member name="T:ServiceStack.ServiceInterface.ServiceModel.IHasResponseStatus">
+ <summary>
+ Contract indication that the Response DTO has a ResponseStatus
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageQueueClient.Publish(System.String,System.Byte[])">
+ <summary>
+ Publish the specified message into the durable queue @queueName
+ </summary>
+ <param name="queueName"></param>
+ <param name="messageBytes"></param>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageQueueClient.Notify(System.String,System.Byte[])">
+ <summary>
+ Publish the specified message into the transient queue @queueName
+ </summary>
+ <param name="queueName"></param>
+ <param name="messageBytes"></param>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageQueueClient.Get(System.String,System.Nullable{System.TimeSpan})">
+ <summary>
+ Synchronous blocking get.
+ </summary>
+ <param name="queueName"></param>
+ <param name="timeOut"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageQueueClient.GetAsync(System.String)">
+ <summary>
+ Non blocking get message
+ </summary>
+ <param name="queueName"></param>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.Messaging.IMessageQueueClient.WaitForNotifyOnAny(System.String[])">
+ <summary>
+ Blocking wait for notifications on any of the supplied channels
+ </summary>
+ <param name="channelNames"></param>
+ <returns></returns>
+ </member>
+ <member name="T:ServiceStack.ServiceHost.IRestPutService`1">
+ <summary>
+ If the Service also implements this interface,
+ IRestPutService.Put() will be used instead of IService.Execute() for
+ EndpointAttributes.HttpPut requests
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="T:ServiceStack.ServiceHost.IHttpRequest">
+ <summary>
+ A thin wrapper around ASP.NET or HttpListener's HttpRequest
+ </summary>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.IResolver.TryResolve``1">
+ <summary>
+ Resolve a dependency from the AppHost's IOC
+ </summary>
+ <typeparam name="T"></typeparam>
+ <returns></returns>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.IHttpRequest.GetRawBody">
+ <summary>
+ The entire string contents of Request.InputStream
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.OriginalRequest">
+ <summary>
+ The underlying ASP.NET or HttpListener HttpRequest
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.OperationName">
+ <summary>
+ The name of the service being called (e.g. Request DTO Name)
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.ContentType">
+ <summary>
+ The request ContentType
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.ResponseContentType">
+ <summary>
+ The expected Response ContentType for this request
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.Items">
+ <summary>
+ Attach any data to this request that all filters and services can access.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.UserHostAddress">
+ <summary>
+ The Remote Ip as reported by Request.UserHostAddress
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.RemoteIp">
+ <summary>
+ The Remote Ip as reported by X-Forwarded-For, X-Real-IP or Request.UserHostAddress
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.IsSecureConnection">
+ <summary>
+ e.g. is https or not
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHttpRequest.Files">
+ <summary>
+ Access to the multi-part/formdata files posted on this request
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Redis.IRedisSubscription.SubscribeToChannels(System.String[])">
+ <summary>
+ Subscribe to channels by name
+ </summary>
+ <param name="channels"></param>
+ </member>
+ <member name="M:ServiceStack.Redis.IRedisSubscription.SubscribeToChannelsMatching(System.String[])">
+ <summary>
+ Subscribe to channels matching the supplied patterns
+ </summary>
+ <param name="patterns"></param>
+ </member>
+ <member name="P:ServiceStack.Redis.IRedisSubscription.SubscriptionCount">
+ <summary>
+ The number of active subscriptions this client has
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Redis.IRedisSubscription.OnSubscribe">
+ <summary>
+ Registered handler called after client *Subscribes* to each new channel
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Redis.IRedisSubscription.OnMessage">
+ <summary>
+ Registered handler called when each message is received
+ </summary>
+ </member>
+ <member name="P:ServiceStack.Redis.IRedisSubscription.OnUnSubscribe">
+ <summary>
+ Registered handler called when each channel is unsubscribed
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Redis.Generic.IRedisTypedTransaction`1">
+ <summary>
+ Redis transaction for typed client
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="T:ServiceStack.ServiceHost.IRestPatchService`1">
+ <summary>
+ If the Service also implements this interface,
+ IRestPutService.Patch() will be used instead of IService.Execute() for
+ EndpointAttributes.HttpPatch requests
+ </summary>
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="T:ServiceStack.ServiceHost.IRequestLogger">
+ <summary>
+ Log every service request
+ </summary>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.IRequestLogger.Log(ServiceStack.ServiceHost.IRequestContext,System.Object,System.Object,System.TimeSpan)">
+ <summary>
+ Log a request
+ </summary>
+ <param name="requestContext">The RequestContext</param>
+ <param name="requestDto">Request DTO</param>
+ <param name="response">Response DTO or Exception</param>
+ <param name="elapsed">How long did the Request take</param>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.IRequestLogger.GetLatestLogs(System.Nullable{System.Int32})">
+ <summary>
+ View the most recent logs
+ </summary>
+ <param name="take"></param>
+ <returns></returns>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IRequestLogger.EnableSessionTracking">
+ <summary>
+ Turn On/Off Session Tracking
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IRequestLogger.EnableResponseTracking">
+ <summary>
+ Turn On/Off Tracking of Responses
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IRequestLogger.EnableErrorTracking">
+ <summary>
+ Turn On/Off Tracking of Exceptions
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IRequestLogger.RequiredRoles">
+ <summary>
+ Limit access to /requestlogs service to role
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IRequestLogger.ExcludeRequestDtoTypes">
+ <summary>
+ Don't log requests of these types.
+ </summary>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IRequestLogger.HideRequestBodyForRequestDtoTypes">
+ <summary>
+ Don't log request bodys for services with sensitive information.
+ By default Auth and Registration requests are hidden.
+ </summary>
+ </member>
+ <member name="T:ServiceStack.ServiceHost.IHasRequestFilter">
+ <summary>
+ This interface can be implemented by an attribute
+ which adds an request filter for the specific request DTO the attribute marked.
+ </summary>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.IHasRequestFilter.RequestFilter(ServiceStack.ServiceHost.IHttpRequest,ServiceStack.ServiceHost.IHttpResponse,System.Object)">
+ <summary>
+ The request filter is executed before the service.
+ </summary>
+ <param name="req">The http request wrapper</param>
+ <param name="res">The http response wrapper</param>
+ <param name="requestDto">The request DTO</param>
+ </member>
+ <member name="M:ServiceStack.ServiceHost.IHasRequestFilter.Copy">
+ <summary>
+ A new shallow copy of this filter is used on every request.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="P:ServiceStack.ServiceHost.IHasRequestFilter.Priority">
+ <summary>
+ Order in which Request Filters are executed.
+ &lt;0 Executed before global request filters
+ &gt;0 Executed after global request filters
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Logging.Support.Logging.TestLogger">
+ <summary>
+ Tests logger which stores all log messages in a member list which can be examined later
+
+ Made public so its testable
+ </summary>
+ </member>
+ <member name="T:ServiceStack.Logging.ILog">
+ <summary>
+ Logs a message in a running application
+ </summary>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Debug(System.Object)">
+ <summary>
+ Logs a Debug message.
+ </summary>
+ <param name="message">The message.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Debug(System.Object,System.Exception)">
+ <summary>
+ Logs a Debug message and exception.
+ </summary>
+ <param name="message">The message.</param>
+ <param name="exception">The exception.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.DebugFormat(System.String,System.Object[])">
+ <summary>
+ Logs a Debug format message.
+ </summary>
+ <param name="format">The format.</param>
+ <param name="args">The args.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Error(System.Object)">
+ <summary>
+ Logs a Error message.
+ </summary>
+ <param name="message">The message.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Error(System.Object,System.Exception)">
+ <summary>
+ Logs a Error message and exception.
+ </summary>
+ <param name="message">The message.</param>
+ <param name="exception">The exception.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.ErrorFormat(System.String,System.Object[])">
+ <summary>
+ Logs a Error format message.
+ </summary>
+ <param name="format">The format.</param>
+ <param name="args">The args.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Fatal(System.Object)">
+ <summary>
+ Logs a Fatal message.
+ </summary>
+ <param name="message">The message.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Fatal(System.Object,System.Exception)">
+ <summary>
+ Logs a Fatal message and exception.
+ </summary>
+ <param name="message">The message.</param>
+ <param name="exception">The exception.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.FatalFormat(System.String,System.Object[])">
+ <summary>
+ Logs a Error format message.
+ </summary>
+ <param name="format">The format.</param>
+ <param name="args">The args.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Info(System.Object)">
+ <summary>
+ Logs an Info message and exception.
+ </summary>
+ <param name="message">The message.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.Info(System.Object,System.Exception)">
+ <summary>
+ Logs an Info message and exception.
+ </summary>
+ <param name="message">The message.</param>
+ <param name="exception">The exception.</param>
+ </member>
+ <member name="M:ServiceStack.Logging.ILog.InfoFormat(System.String,System.Object[])">
+ <summary>
+ Logs an Info format message.
+ </summary>
+ <param name="format">The format.</param>
+ <param name="args">The args.</param>
+ </member>