Just out of curiosity I like to know the preferred ordering, based on technical level and new api of the examples.
For the most part, all the base infrastructure concerns all smell the same i.e. setup of the host ect.. but when it comes to the Service Models, Service Interface, and Endpoint setup, which are the most current and preferred?
how can i use asp.net membership in ServiceStack ? (ServiceStack.OrmLite , ServiceStack.Host.AspNet , etc )
Solution You can host ServiceStack on a custom path, i.e. at /api which lets you run ASP.NET web forms and ServiceStack side-by-side and then use the normal ASP.NET membership provider in ASP.NET.
You can then share UserSessions with Serv
What is the best way to inspect the Request Headers for a service endpoint?
ContactService : Service
Having read this https://github.com/ServiceStack/ServiceStack/wiki/Access-HTTP-specific-features-in-services I'm curious as to the preferred way to get to the Interface.
Solution Inside a ServiceStack Service you can access
I'm just getting started with ServiceStack and, as a test case, I am looking to rework an existing service which is built using standard ASP.Net handlers. I've managed to get it all working as I want it but have certain aspects which make use of the ASP.Net Session object.
I've tried adding IRequiresSessionState into the service interface:
When configuring ServiceStack, I have to specify a location (URL) at which my services will be available. E.g. when running side-by-side with WebApi:
<add path="*" type="ServiceStack..." verb="*"/>
Now all my ServiceSt
I'm creating an MVC website and also intend to create a web API for use both within the website and potentially by third parties.
From the MVC controllers I'll be calling into a service layer which will contain business logic, act on domain models, perform validation, make infrastructure external service calls etc. The service layer in turn will c
I want to write a new REST style API and have looked at ServiceStack and quite like it. However, I have seen that Microsoft has released the ASP.Net Web API project as part of the new MVC 4 beta. Has anyone looked at the new Web API project? Can you give any pros/cons of each system?
Solution They have very similar use-cases, as the lead maintaine
We have a requirement to upload images using ServiceStack APIs.
I am aware of two possible ways:
1) Use JSON object to upload file (Using BASE64 string).
2) Use "multipart/form-data"
Is there any other way of uploading files using ServiceStack? Which is better in terms of best practices?
Solution The best way to upload files in ServiceStack i
I implemented ServiceStack Hello World ,every thing is ok,except one important thing.
SOAP11 and SOAP12 and also WSDL not working.
when accessing url http://localhost:8082/SOAP11/ for SOAP11 or SOAP12 it says :
"Message":"The method or operation is not implemented.",
I using ServiceStack authentication with a custom session object. I've got everything set up with different authentication providers and everything is working fine.
Now a want to store some information in the session before the user is authenticated (Think shopping cart). But we loose that information when the user logs in later. Looking at the co