I opened the codeproject’s newsletter I am subscribed and picked a few articles. I picked those that were relevant to the things I am interested more, I have worked in the past or relate to an idea that I am working on it. At first I read this article about IDisposable because an article about IDisposable is always interesting. It presents the right way to use this interface or at least it attempts to.
Tuesday, 4 January 2011
Saturday, 25 December 2010
How to use CLR in the MSSQL server
To use the CLR in MSSQL Server you need to enable CLR Integration first. It can be enabled in the sql server surface area configuration.
Thursday, 20 May 2010
A T4 Generator Tool for VS Express
T4 stands for Text Templating Transformation Toolkit which is a transformation engine built into all VS studio editions. In a few words, you can write a text template file which consists of plain text and source code wrapped around the T4 language notation. The T4 notation is similar to the ASP.NET design page source code. You indicate directives by using <#@ tags, statements with <# tags, and expressions with <#= tags. Below is a simple T4 template.
<#@ template debug="true" language="C#v3.5"#> <#@ Import Namespace="System.Linq" #> <#@ Assembly Name="System.Core,Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" #> <#@ output extension=".cs" #> <# WriteLine(@"Hello World");#>
Sunday, 18 April 2010
Reverse Engineer a Web Service from the existing WSDL
Sometimes you need to create the web service methods and you only have the web service description file(wsdl) as a staring point. You can utilise the wsdl.exe tool to generate the web service's server stub methods. This file exists in Program Files\Microsoft SDKs\Windows\v6.0A\bin\ if you have the VS express edition installed or somewhere in the VS installation folders if you have other editions. Just by running :