forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Metadata page
Arxisos edited this page Dec 30, 2011
·
16 revisions
ServiceStack will automatically generate a metadata page about the webservice. The metadata can be found under the URL /metadata:
The Metadata page contains:
- A list of all your webservices and the endpoints they are available on.
- A list of coding examples showing you how to call each endpoing a number of different ways.
- Links to all the XSD types used by your web services
- Links to the web services SOAP 1.1 / 1.2 WSDLs
So the main purpose for the metadata page is to provide a small documentation about your service, so other persons can use your service more easily.
There's also the possibility to create a customized description for a service. To do that, you have to mark your request DTO with the attribute System.ComponentModel.DescriptionAttribute, e. g:
[Description("A service which provides basic get and delete operations for users")]
public class User
{
public string Name { get; set; }
public string Company { get; set; }
public int Age { get; set; }
public int Count { get; set; }
}If now the detail page of the specific service is inspected, the description configured above will be displayed.
- Why ServiceStack?
- What is a message based web service?
- Advantages of message based web services
- Why remote services should use separate DTOs
- Getting Started
- Reference
- Clients
- Formats
- View Engines 4. Razor & Markdown Razor
- Hosts
- Security
- Advanced
- Configuration options
- Access HTTP specific features in services
- Logging
- Serialization/deserialization
- Request/response filters
- Filter attributes
- Concurrency Model
- Built-in caching options
- Built-in profiling
- Form Hijacking Prevention
- Auto-Mapping
- HTTP Utils
- Virtual File System
- Config API
- Physical Project Structure
- Modularizing Services
- MVC Integration
- Plugins 3. Request logger 4. Swagger API
- Tests
- Other Languages
- Use Cases
- Performance
- How To
- Future
