Permalink
Browse files

Updated to shorten namespaces

  • Loading branch information...
1 parent 5c2dc43 commit c9138c9d78df9c40a0d5275764d737b880c9af9a @mythz mythz committed Dec 12, 2012
Showing with 358 additions and 355 deletions.
  1. +4 −3 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CachedServices.cs
  2. +5 −4 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomerDetailsService.cs
  3. +3 −3 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs
  4. +5 −4 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/OrdersService.cs
  5. +2 −2 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/Properties/AssemblyInfo.cs
  6. +3 −3 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/VCardFormat.cs
  7. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/CachedOperations.cs
  8. +2 −2 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/CustomerDetails.cs
  9. +2 −2 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/Customers.cs
  10. +2 −2 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Operations/Orders.cs
  11. +4 −4 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Properties/AssemblyInfo.cs
  12. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Category.cs
  13. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Customer.cs
  14. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/CustomerCustomerDemo.cs
  15. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/CustomerDemographic.cs
  16. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/CustomerOrders.cs
  17. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Employee.cs
  18. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/EmployeeTerritory.cs
  19. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Order.cs
  20. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/OrderDetail.cs
  21. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Product.cs
  22. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Region.cs
  23. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Shipper.cs
  24. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Supplier.cs
  25. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceModel/Types/Territory.cs
  26. +1 −1 src/ServiceStack.Northwind/ServiceStack.Northwind/Global.asax
  27. +2 −2 src/ServiceStack.Northwind/ServiceStack.Northwind/Global.asax.cs
  28. +2 −2 src/ServiceStack.Northwind/ServiceStack.Northwind/Properties/AssemblyInfo.cs
  29. +159 −159 src/ServiceStack.Northwind/ServiceStack.Northwind/default.htm
  30. +147 −147 src/ServiceStack.Northwind/ServiceStack.Northwind/vcard-format.htm
@@ -1,13 +1,14 @@
using ServiceStack.Common;
-using ServiceStack.Northwind.ServiceModel.Operations;
+using Northwind.ServiceModel.Operations;
using ServiceStack.ServiceHost;
+using ServiceStack.ServiceInterface;
-namespace ServiceStack.Northwind.ServiceInterface
+namespace Northwind.ServiceInterface
{
/// <summary>
/// Create your ServiceStack RESTful web service implementation.
/// </summary>
- public class CachedCustomersService : ServiceStack.ServiceInterface.Service
+ public class CachedCustomersService : Service
{
public object Get(CachedCustomers request)
{
@@ -1,16 +1,17 @@
using System;
using System.Net;
using ServiceStack.Common.Web;
-using ServiceStack.Northwind.ServiceModel.Operations;
-using ServiceStack.Northwind.ServiceModel.Types;
+using Northwind.ServiceModel.Operations;
+using Northwind.ServiceModel.Types;
using ServiceStack.OrmLite;
+using ServiceStack.ServiceInterface;
-namespace ServiceStack.Northwind.ServiceInterface
+namespace Northwind.ServiceInterface
{
/// <summary>
/// Create your ServiceStack RESTful web service implementation.
/// </summary>
- public class CustomerDetailsService : ServiceStack.ServiceInterface.Service
+ public class CustomerDetailsService : Service
{
public CustomerDetailsResponse Get(CustomerDetails request)
{
@@ -1,8 +1,8 @@
-using ServiceStack.Northwind.ServiceModel.Operations;
-using ServiceStack.Northwind.ServiceModel.Types;
+using Northwind.ServiceModel.Operations;
+using Northwind.ServiceModel.Types;
using ServiceStack.OrmLite;
-namespace ServiceStack.Northwind.ServiceInterface
+namespace Northwind.ServiceInterface
{
/// <summary>
/// Create your ServiceStack RESTful web service implementation.
@@ -1,15 +1,16 @@
using System.Linq;
using ServiceStack.Common.Extensions;
-using ServiceStack.Northwind.ServiceModel.Operations;
-using ServiceStack.Northwind.ServiceModel.Types;
+using Northwind.ServiceModel.Operations;
+using Northwind.ServiceModel.Types;
using ServiceStack.OrmLite;
+using ServiceStack.ServiceInterface;
-namespace ServiceStack.Northwind.ServiceInterface
+namespace Northwind.ServiceInterface
{
/// <summary>
/// Create your ServiceStack RESTful web service implementation.
/// </summary>
- public class OrdersService : ServiceStack.ServiceInterface.Service
+ public class OrdersService : Service
{
private const int PageCount = 20;
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("ServiceStack.Northwind.ServiceInterface")]
+[assembly: AssemblyTitle("Northwind.ServiceInterface")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("ServiceStack.Northwind.ServiceInterface")]
+[assembly: AssemblyProduct("Northwind.ServiceInterface")]
[assembly: AssemblyCopyright("Copyright © 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -1,13 +1,13 @@
using System;
using System.IO;
using ServiceStack.Common.Web;
-using ServiceStack.Northwind.ServiceModel.Operations;
-using ServiceStack.Northwind.ServiceModel.Types;
+using Northwind.ServiceModel.Operations;
+using Northwind.ServiceModel.Types;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints;
-namespace ServiceStack.Northwind.ServiceInterface
+namespace Northwind.ServiceInterface
{
public class VCardFormat
{
@@ -1,6 +1,6 @@
using ServiceStack.ServiceHost;
-namespace ServiceStack.Northwind.ServiceModel.Operations
+namespace Northwind.ServiceModel.Operations
{
[Route("/cached/customers")]
public class CachedCustomers {}
@@ -1,9 +1,9 @@
using System.Collections.Generic;
-using ServiceStack.Northwind.ServiceModel.Types;
+using Northwind.ServiceModel.Types;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.ServiceModel;
-namespace ServiceStack.Northwind.ServiceModel.Operations
+namespace Northwind.ServiceModel.Operations
{
[Route("/customers/{Id}")]
public class CustomerDetails
@@ -1,9 +1,9 @@
using System.Collections.Generic;
-using ServiceStack.Northwind.ServiceModel.Types;
+using Northwind.ServiceModel.Types;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.ServiceModel;
-namespace ServiceStack.Northwind.ServiceModel.Operations
+namespace Northwind.ServiceModel.Operations
{
[Route("/customers")]
public class Customers { }
@@ -1,9 +1,9 @@
using System.Collections.Generic;
-using ServiceStack.Northwind.ServiceModel.Types;
+using Northwind.ServiceModel.Types;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.ServiceModel;
-namespace ServiceStack.Northwind.ServiceModel.Operations
+namespace Northwind.ServiceModel.Operations
{
[Route("/orders")]
[Route("/orders/page/{Page}")]
@@ -6,11 +6,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("ServiceStack.Northwind.ServiceModel")]
+[assembly: AssemblyTitle("Northwind.ServiceModel")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("ServiceStack.Northwind.ServiceModel")]
+[assembly: AssemblyProduct("Northwind.ServiceModel")]
[assembly: AssemblyCopyright("Copyright © 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -36,6 +36,6 @@
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "ServiceStack.Northwind.ServiceModel")]
-[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "ServiceStack.Northwind.ServiceModel.Operations")]
+[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "Northwind.ServiceModel")]
+[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "Northwind.ServiceModel.Operations")]
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Category
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Customer
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class CustomerCustomerDemo
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class CustomerDemographic
{
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class CustomerOrder
{
@@ -1,7 +1,7 @@
using System;
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Employee
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class EmployeeTerritory
{
@@ -1,7 +1,7 @@
using System;
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Order
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class OrderDetail
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Product
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Region
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Shipper
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Supplier
{
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;
-namespace ServiceStack.Northwind.ServiceModel.Types
+namespace Northwind.ServiceModel.Types
{
public class Territory
{
@@ -1 +1 @@
-<%@ Application Codebehind="Global.asax.cs" Inherits="ServiceStack.Northwind.Global" Language="C#" %>
+<%@ Application Codebehind="Global.asax.cs" Inherits="Northwind.Global" Language="C#" %>
@@ -3,11 +3,11 @@
using ServiceStack.CacheAccess;
using ServiceStack.CacheAccess.Providers;
using ServiceStack.Common.Utils;
-using ServiceStack.Northwind.ServiceInterface;
+using Northwind.ServiceInterface;
using ServiceStack.OrmLite;
using ServiceStack.WebHost.Endpoints;
-namespace ServiceStack.Northwind
+namespace Northwind
{
/// <summary>
/// Create your ServiceStack web service application with a singleton AppHost.
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("ServiceStack.Northwind")]
+[assembly: AssemblyTitle("Northwind")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("ServiceStack.Northwind")]
+[assembly: AssemblyProduct("Northwind")]
[assembly: AssemblyCopyright("Copyright © 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
Oops, something went wrong.

0 comments on commit c9138c9

Please sign in to comment.