I have uploaded SmartCodeGenerator 2.7.0 today. This release ships with scg_console.exe which integrates NAnt and Cassini with SmartCodeGenerator development cycle. I have also uploaded a new article at CodeProject demonstrating "How to use SCG along with NAnt and Cassini." Smart Code Generator: Code Generation experience with ASP.NET, NAnt and CassiniThis article describes how NAnt and Cassini can be integrated with the Smart Code Generator development cycle. This article can also used as a reference ......
I came across WebMethods where parameter is passed as ref. But is this a good practice? //Option1 with ref[WebMethod]public void Transaction2(ref Test test ){}As opposed to writing//Option2[WebMethod]... Test Transaction1(Test test ){}But we should be aware that when we do like this in WebMethod it does not work the same as normal programming concept where a ref points to the same storage location of the calling variable.If we look carefully in the Proxy that .Net Generates we will find the followings://Option1 ......
With Cassini SCG Projects can be distributed very easily. Cassini is a mini web server written with 100% managed code C#, moreover Cassini is free. Cassini requires as an operating system either Windows 2000 or Windows XP; furthermore, the .NET Framework must also be installed. I am not going into further details of Cassini here, for more information please visit the Cassini Forum. All we need to know is Cassini is an independent web server and has the capability of running Asp.Net application locally; ......
In Scenario1 I blogged how to get Certificate using the X509Store Class. Where I used something like this.X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); But after spending a bit of time with the X509Store I realized it has limitations. The StoreLoacation enum has only 2 options: CurrentUser: The X.509 certificate store used by the current user. LocalMachine: The X.509 certificate store assigned to the local machine. But I wanted to Load Certificate from a Remote LDAP Server... ......