Install .Net windows services without using installutil.exe

Posted by Chris Straw on November 2, 2013 in c#, vb.net, Windows Service |

Tweet When writing a windows service using c# (or vb.net), you can install the service locally using installutil.exe.  You can simply just install the service by using a few lines of c# code within your program’s startup.  By doing this, you will not be able to use Client Profile of the framework. By changing the Program.cs (main […]

Tags: , , ,


DateTime Format Strings in c#

Posted by Chris Straw on October 3, 2011 in c#, vb.net |

Tweet Following examples demonstrate how are the format specifiers rewritten to the output. Following examples show usage of standard format specifiers in String.Format method and the resulting output.

Tags: ,


Generate c# or vb.net class from XML file

Posted by Chris Straw on June 20, 2011 in c#, vb.net, XML/XSD |

Tweet XSD is a tool that can be used to generate a C# class from a given XML document. This class can then be used to deserialize and process the XML within your code. For my example, I’m using the GetBusinessCardCall from the Shoeboxed.com API.  I am currently writing a c# interface to read the data from Shoeboxed. […]

Tags: , , , , ,

Copyright © 2011-2020 Chris Straw All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.