Software Developer Blog
It's the old blog on blogger platform. There are no updates here.
creating win service
C:\Documents and Settings\Administrator> sc create asperacentral binPath= "C:\Program Files\Aspera\Enterprise Server\bin\Debug\asperacentral.exe" DisplayName= "Aspera Central" start= auto
c# stop/terminate/taskkill windows service
in cmd
From the results of this query, jot down the PID.
sc queryex servicename
From the results of this query, jot down the PID.
taskkill /f /pid [PID]
cannot convert from 'System.Data.Objects.ObjectParameter' to 'System.Data.Entity.Core.Objects.ObjectParameter'
ENTITY
You can overcome this scenario by replacing:
using System.Data.Objects;
With:
using System.Data.Entity.Core.Objects;
Memcached c# simple example
github link
Install using nuget
PM> Install-Package EnyimMemcached
MemcachedClientConfiguration config = new MemcachedClientConfiguration();
IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse("10.10.4.98"), 11211);
config.Servers.Add(remoteEP);
config.Protocol = MemcachedProtocol.Text;
//using - not recommended here, check out documentation
using (var mc = new MemcachedClient(config))
{
//get
var zz = mc.Get("test_" + x);
//set
mc.Store(StoreMode.Set, "Test", "Hello World");
}
Beanstalk simple example c#
https://github.com/sdether/libBeanstalk.NET
download and compile
using Droog.Beanstalk.Client;
using (var client = new BeanstalkClient("10.10.4.99", 11300))
{
var put = client.PutString("foo");
var reserve = client.ReserveString();
client.Delete(reserve.JobId);
}
Basic OID's values
SN, OID.2.5.4.4
G, OID.2.5.4.42
CN, OID.2.5.4.3
O, OID.2.5.4.10
T, OID.2.5.4.12
S, OID.2.5.4.9
OU, OID.2.5.4.11
L, OID.2.5.4.7
Subscribe to:
Comments (Atom)