Can anyone tell me the best library in C# for memcache and also a little help required.
Thanks
Solution I have a Open source C# caching providers for a number of clients including Memcached at:
http://code.google.com/p/servicestack/wiki/Caching
The memcached client which we've been using in production for over a year uses enyim's memcached clie
it1352
3
2019-05-08
I downloaded the ServiceStack BSD version 3.9.71 from Nuget
using the commmands
Install-Package ServiceStack -Version 3.9.71
and Install-Package ServiceStack.Plugins.ProtoBuf -Version 3.9.71
I installed also the protobuf-net
Install-Package protobuf-net
but I have problem because the ServiceStack 3.9.71 try to find the protobuf-net ve
it1352
1
2020-07-25
I have had the following warning show up in visual studio when compiling a project using ServiceStack 3.9.71.0 (seems to affect most recent releases too). Not sure why it hasn't shown up before but it has started showing up after I created a test lib which references my main project and both have references to the same service stack DLLs:
Warn
it1352
1
2020-07-25
I'm creating a SPA using ServiceStack and AngularJs. When a user logs in I set some variables in the OnAuthenticated method:
public override void OnAuthenticated(IServiceBase authService, IAuthSession session, IOAuthTokens tokens, Dictionary<string, string> authInfo)
{
var sessionUser = session.TranslateTo<AppUserSession&g
it1352
1
2020-07-25
I have a self-hosted application which has an index.html file at its root. When I run the application and go to localhost:8090 (app is hosted on this port) the URL looks like: http://localhost:8090/index.html. Is there anyway I can make the URL to just be: http://localhost:8090 when on the index.html page?
Note
I'm using V3 of ServiceStack
Solut
it1352
2
2020-07-25
I'm using ServiceStack (version 3.9.44.0) as a Windows Service (so I'm not using IIS) and I use both its abilities both as an API and for serving web pages.
However, I haven't been able to find how exactly I should enable compression when the client supports it.
I imagined that ServiceStack would transparently compress data if the client's reques
it1352
1
2020-07-25
Currently when using OrmLite library from ServiceStack if I want single entity selected I do:
AppUser user = db.First<AppUser>(q => q.Id == id);
However since Single is more precise (obviously I want exception thrown if somehow multiple users with same id ended up in database) I was wondering if there is overload that I can use. Current
it1352
1
2020-07-25
My ServiceStack web service works fine in IIS Express (VS 2012) and when deployed to Windows Azure, but it does not work under IIS 8 on Window 8.
I am getting 404 Not Found Error. My web.config has both sections defined for IIS Express and the web server.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
it1352
1
2020-07-25
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
it1352
1
2019-05-08
Should I expect Request Filter Validation (e.g. FluentValidation) to be triggered when instantiating a reference service via AppHostBase.ResolveService<>?
Thus far, I've only successfully received proper error responses to my C# application when using the typed clients (JsonServiceClient in this case specifically).
Solution You are right. I
it1352
1
2019-05-06