Problem : Behold the code: using (var client = new WebClient()) { using (var stream = client.OpenWrite(“http://localhost/”, “POST”)) { stream.Write(post, […]
Author: Steve
The || (or) Operator in Linq with C#
Problem : I’m using linq to filter a selection of MessageItems. The method I’ve written accepts a bunch of parameters […]
Graph rendering using 3D acceleration
Problem : We generate graphs for huge datasets. We are talking 4096 samples per second, and 10 minutes per graph. […]
how can I convert IQueryable to string?
Problem : I do a sql query which returns a string – service name. this is the query: IQueryable<string> query […]
Does a SharePoint EventReceiver have to be installed in the GAC, and if so do all dependent assemblies have to as well?
Problem : My company ships a product that among other things registers SharePoint EventReceiver on SPLists, monitoring for changes. I’ve […]
IIS Application pool PID
Problem : is anyone familiar with a way to get the Application pool that is associated with a process ID […]
How to enable SSL for SmtpClient in Web.config
Problem : Is there a way to set the EnableSSL from the web.config? I could set this property in code, […]
.NET String Split()
Problem : It seems that the PowerShell -split operator and .NET Split() method act completely different. .NET treats separator strings […]
How to Write a Screen Recorder in .NET?
Problem : Is there a way to make a screen recorder in C#? If so, does anybody know of any […]
Cannot connect to Azure ServiceBus with Microsoft.Azure.ServiceBus
Problem : I have created a very simple console application that connects to Azure ServiceBus and sends one message. I […]