Wednesday, August 04, 2004

The 2nd .NET User Group Meeting in Colombo

The 2nd .NET User Group Meeting is scheduled for today (Wednesday, 4th August)
at the Gateway Auditorium in Colombo.

After the successful 1st meeting, where about 50 attended, we hope there will be more enthusiasts joining at todays meeting.

Wela and Buddhike, will be presenting talks on:

"Visual Studio" and "Passing Data between layers"

Including Web Services as a DLL in your project

Its always not required to register (web reference) your Web Service in the consuming project.
You can create a DLL (proxy class) out of the Web Service you have written and simply add it as a reference (component) to your project.
You can easily do it in the command prompt itself, as follows:

1. Create the Web Service in Visual Studio
and browse it to test the webservice..
path eg:-

2. Generate a Proxy for the Web Service (Output = C#/CS)

wsdl /l:CS /protocol:SOAP

then it will write the wsinfo.cs file in the same path.

3. Compile the Proxy as a DLL library

csc /t:library /r:System.Web.Services.dll /r:System.Xml.dll

3. Include it in the project that calls the webservice (as a DLL reference)
Copy the DLL into the folder and then include it in the project that calls the webservice
(as a DLL reference)

More info available at:

Tuesday, August 03, 2004

Why not me?

Alas I decided to Blog. And I feel so great to be into this.

Thanks for all the bloggers who lead me in.
(Merill/Meeya/Jinath/Buddhike whos blogs made me also take up one)

So keep a close eye on my Blog!

Cheers for Long Journey!