File tree Expand file tree Collapse file tree 30 files changed +358
-355
lines changed
src/ServiceStack.Northwind
ServiceStack.Northwind.ServiceInterface
ServiceStack.Northwind.ServiceModel Expand file tree Collapse file tree 30 files changed +358
-355
lines changed Original file line number Diff line number Diff line change 1
1
using ServiceStack . Common ;
2
- using ServiceStack . Northwind . ServiceModel . Operations ;
2
+ using Northwind . ServiceModel . Operations ;
3
3
using ServiceStack . ServiceHost ;
4
+ using ServiceStack . ServiceInterface ;
4
5
5
- namespace ServiceStack . Northwind . ServiceInterface
6
+ namespace Northwind . ServiceInterface
6
7
{
7
8
/// <summary>
8
9
/// Create your ServiceStack RESTful web service implementation.
9
10
/// </summary>
10
- public class CachedCustomersService : ServiceStack . ServiceInterface . Service
11
+ public class CachedCustomersService : Service
11
12
{
12
13
public object Get ( CachedCustomers request )
13
14
{
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Net ;
3
3
using ServiceStack . Common . Web ;
4
- using ServiceStack . Northwind . ServiceModel . Operations ;
5
- using ServiceStack . Northwind . ServiceModel . Types ;
4
+ using Northwind . ServiceModel . Operations ;
5
+ using Northwind . ServiceModel . Types ;
6
6
using ServiceStack . OrmLite ;
7
+ using ServiceStack . ServiceInterface ;
7
8
8
- namespace ServiceStack . Northwind . ServiceInterface
9
+ namespace Northwind . ServiceInterface
9
10
{
10
11
/// <summary>
11
12
/// Create your ServiceStack RESTful web service implementation.
12
13
/// </summary>
13
- public class CustomerDetailsService : ServiceStack . ServiceInterface . Service
14
+ public class CustomerDetailsService : Service
14
15
{
15
16
public CustomerDetailsResponse Get ( CustomerDetails request )
16
17
{
Original file line number Diff line number Diff line change 1
- using ServiceStack . Northwind . ServiceModel . Operations ;
2
- using ServiceStack . Northwind . ServiceModel . Types ;
1
+ using Northwind . ServiceModel . Operations ;
2
+ using Northwind . ServiceModel . Types ;
3
3
using ServiceStack . OrmLite ;
4
4
5
- namespace ServiceStack . Northwind . ServiceInterface
5
+ namespace Northwind . ServiceInterface
6
6
{
7
7
/// <summary>
8
8
/// Create your ServiceStack RESTful web service implementation.
Original file line number Diff line number Diff line change 1
1
using System . Linq ;
2
2
using ServiceStack . Common . Extensions ;
3
- using ServiceStack . Northwind . ServiceModel . Operations ;
4
- using ServiceStack . Northwind . ServiceModel . Types ;
3
+ using Northwind . ServiceModel . Operations ;
4
+ using Northwind . ServiceModel . Types ;
5
5
using ServiceStack . OrmLite ;
6
+ using ServiceStack . ServiceInterface ;
6
7
7
- namespace ServiceStack . Northwind . ServiceInterface
8
+ namespace Northwind . ServiceInterface
8
9
{
9
10
/// <summary>
10
11
/// Create your ServiceStack RESTful web service implementation.
11
12
/// </summary>
12
- public class OrdersService : ServiceStack . ServiceInterface . Service
13
+ public class OrdersService : Service
13
14
{
14
15
private const int PageCount = 20 ;
15
16
Original file line number Diff line number Diff line change 5
5
// General Information about an assembly is controlled through the following
6
6
// set of attributes. Change these attribute values to modify the information
7
7
// associated with an assembly.
8
- [ assembly: AssemblyTitle ( "ServiceStack. Northwind.ServiceInterface" ) ]
8
+ [ assembly: AssemblyTitle ( "Northwind.ServiceInterface" ) ]
9
9
[ assembly: AssemblyDescription ( "" ) ]
10
10
[ assembly: AssemblyConfiguration ( "" ) ]
11
11
[ assembly: AssemblyCompany ( "" ) ]
12
- [ assembly: AssemblyProduct ( "ServiceStack. Northwind.ServiceInterface" ) ]
12
+ [ assembly: AssemblyProduct ( "Northwind.ServiceInterface" ) ]
13
13
[ assembly: AssemblyCopyright ( "Copyright © 2011" ) ]
14
14
[ assembly: AssemblyTrademark ( "" ) ]
15
15
[ assembly: AssemblyCulture ( "" ) ]
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . IO ;
3
3
using ServiceStack . Common . Web ;
4
- using ServiceStack . Northwind . ServiceModel . Operations ;
5
- using ServiceStack . Northwind . ServiceModel . Types ;
4
+ using Northwind . ServiceModel . Operations ;
5
+ using Northwind . ServiceModel . Types ;
6
6
using ServiceStack . ServiceHost ;
7
7
using ServiceStack . Text ;
8
8
using ServiceStack . WebHost . Endpoints ;
9
9
10
- namespace ServiceStack . Northwind . ServiceInterface
10
+ namespace Northwind . ServiceInterface
11
11
{
12
12
public class VCardFormat
13
13
{
Original file line number Diff line number Diff line change 1
1
using ServiceStack . ServiceHost ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Operations
3
+ namespace Northwind . ServiceModel . Operations
4
4
{
5
5
[ Route ( "/cached/customers" ) ]
6
6
public class CachedCustomers { }
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
- using ServiceStack . Northwind . ServiceModel . Types ;
2
+ using Northwind . ServiceModel . Types ;
3
3
using ServiceStack . ServiceHost ;
4
4
using ServiceStack . ServiceInterface . ServiceModel ;
5
5
6
- namespace ServiceStack . Northwind . ServiceModel . Operations
6
+ namespace Northwind . ServiceModel . Operations
7
7
{
8
8
[ Route ( "/customers/{Id}" ) ]
9
9
public class CustomerDetails
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
- using ServiceStack . Northwind . ServiceModel . Types ;
2
+ using Northwind . ServiceModel . Types ;
3
3
using ServiceStack . ServiceHost ;
4
4
using ServiceStack . ServiceInterface . ServiceModel ;
5
5
6
- namespace ServiceStack . Northwind . ServiceModel . Operations
6
+ namespace Northwind . ServiceModel . Operations
7
7
{
8
8
[ Route ( "/customers" ) ]
9
9
public class Customers { }
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
- using ServiceStack . Northwind . ServiceModel . Types ;
2
+ using Northwind . ServiceModel . Types ;
3
3
using ServiceStack . ServiceHost ;
4
4
using ServiceStack . ServiceInterface . ServiceModel ;
5
5
6
- namespace ServiceStack . Northwind . ServiceModel . Operations
6
+ namespace Northwind . ServiceModel . Operations
7
7
{
8
8
[ Route ( "/orders" ) ]
9
9
[ Route ( "/orders/page/{Page}" ) ]
Original file line number Diff line number Diff line change 6
6
// General Information about an assembly is controlled through the following
7
7
// set of attributes. Change these attribute values to modify the information
8
8
// associated with an assembly.
9
- [ assembly: AssemblyTitle ( "ServiceStack. Northwind.ServiceModel" ) ]
9
+ [ assembly: AssemblyTitle ( "Northwind.ServiceModel" ) ]
10
10
[ assembly: AssemblyDescription ( "" ) ]
11
11
[ assembly: AssemblyConfiguration ( "" ) ]
12
12
[ assembly: AssemblyCompany ( "" ) ]
13
- [ assembly: AssemblyProduct ( "ServiceStack. Northwind.ServiceModel" ) ]
13
+ [ assembly: AssemblyProduct ( "Northwind.ServiceModel" ) ]
14
14
[ assembly: AssemblyCopyright ( "Copyright © 2011" ) ]
15
15
[ assembly: AssemblyTrademark ( "" ) ]
16
16
[ assembly: AssemblyCulture ( "" ) ]
36
36
[ assembly: AssemblyVersion ( "1.0.0.0" ) ]
37
37
[ assembly: AssemblyFileVersion ( "1.0.0.0" ) ]
38
38
39
- [ assembly: ContractNamespace ( "http://schemas.servicestack.net/types" , ClrNamespace = "ServiceStack. Northwind.ServiceModel" ) ]
40
- [ assembly: ContractNamespace ( "http://schemas.servicestack.net/types" , ClrNamespace = "ServiceStack. Northwind.ServiceModel.Operations" ) ]
39
+ [ assembly: ContractNamespace ( "http://schemas.servicestack.net/types" , ClrNamespace = "Northwind.ServiceModel" ) ]
40
+ [ assembly: ContractNamespace ( "http://schemas.servicestack.net/types" , ClrNamespace = "Northwind.ServiceModel.Operations" ) ]
41
41
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class Category
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class Customer
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class CustomerCustomerDemo
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class CustomerDemographic
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
2
using System . Runtime . Serialization ;
3
3
4
- namespace ServiceStack . Northwind . ServiceModel . Types
4
+ namespace Northwind . ServiceModel . Types
5
5
{
6
6
public class CustomerOrder
7
7
{
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Runtime . Serialization ;
3
3
4
- namespace ServiceStack . Northwind . ServiceModel . Types
4
+ namespace Northwind . ServiceModel . Types
5
5
{
6
6
public class Employee
7
7
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class EmployeeTerritory
6
6
{
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Runtime . Serialization ;
3
3
4
- namespace ServiceStack . Northwind . ServiceModel . Types
4
+ namespace Northwind . ServiceModel . Types
5
5
{
6
6
public class Order
7
7
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class OrderDetail
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class Product
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class Region
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class Shipper
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class Supplier
6
6
{
Original file line number Diff line number Diff line change 1
1
using System . Runtime . Serialization ;
2
2
3
- namespace ServiceStack . Northwind . ServiceModel . Types
3
+ namespace Northwind . ServiceModel . Types
4
4
{
5
5
public class Territory
6
6
{
Original file line number Diff line number Diff line change 1
- <% @ Application Codebehind= " Global.asax.cs" Inherits= " ServiceStack. Northwind.Global" Language= " C#" %>
1
+ <% @ Application Codebehind= " Global.asax.cs" Inherits= " Northwind.Global" Language= " C#" %>
Original file line number Diff line number Diff line change 3
3
using ServiceStack . CacheAccess ;
4
4
using ServiceStack . CacheAccess . Providers ;
5
5
using ServiceStack . Common . Utils ;
6
- using ServiceStack . Northwind . ServiceInterface ;
6
+ using Northwind . ServiceInterface ;
7
7
using ServiceStack . OrmLite ;
8
8
using ServiceStack . WebHost . Endpoints ;
9
9
10
- namespace ServiceStack . Northwind
10
+ namespace Northwind
11
11
{
12
12
/// <summary>
13
13
/// Create your ServiceStack web service application with a singleton AppHost.
Original file line number Diff line number Diff line change 5
5
// General Information about an assembly is controlled through the following
6
6
// set of attributes. Change these attribute values to modify the information
7
7
// associated with an assembly.
8
- [ assembly: AssemblyTitle ( "ServiceStack. Northwind" ) ]
8
+ [ assembly: AssemblyTitle ( "Northwind" ) ]
9
9
[ assembly: AssemblyDescription ( "" ) ]
10
10
[ assembly: AssemblyConfiguration ( "" ) ]
11
11
[ assembly: AssemblyCompany ( "" ) ]
12
- [ assembly: AssemblyProduct ( "ServiceStack. Northwind" ) ]
12
+ [ assembly: AssemblyProduct ( "Northwind" ) ]
13
13
[ assembly: AssemblyCopyright ( "Copyright © 2011" ) ]
14
14
[ assembly: AssemblyTrademark ( "" ) ]
15
15
[ assembly: AssemblyCulture ( "" ) ]
You can’t perform that action at this time.
0 commit comments