The title says it all. This has, obviously, been somewhat of a quiet week for me on the blog. Work has been pretty quiet as well. We have a major milestone due, but my part the last few days has been limited so I've been focusing on learning ASP.Net and C# (more on that next year). I hope everyone has a wonderful Christmas. I can tell already the best part will be when my kids start going crazy around sundown tonight.
(This post is more than 2 years old.)
Merry Christmas
Support this Content!
If you like this content, please consider supporting me. You can become a Patron, visit my Amazon wishlist, or buy me a coffee! Any support helps!
Want to get a copy of every new post? Use the form below to sign up for my newsletter.
Archived Comments
Hi Ray,
Being the ColdFusion Jedi Master, can you provide any hints as why? I have been doing the same thing lately. I am learning C# because I have a Flash Remoting project that requires it. Secondly, I am comparing Java to C#.
Regards,
Mike
www
I just like C#, at least what I see so far. I don't know if it is better than Java, but I'm feeling a better "groove" with it if that makes sense.
Hi Ray,
Sure, that makes sense. What have you discovered about using C# using ColdFusion? How can interact the best? Web Services is certainly on the list. Can you write CFX tags with C#?
I haven't even gotten close to the point where I can write a WS in C#. As for CFX tags, I believe Montarra Software (spelling may be off) sells something called BlackKnight which lets you use C# CFX tags in CF. (Please note I'm only unsure of the spelling, product name, I KNOW they did release such a product.)
FWIW, writing a webservice in C# is relatively simple if you know how to write a class:
<code>
<%@ WebService Language="C#" class="TestService" %>
using System;
using System.Web;
using System.Web.Services;
[WebService(Namespace="urn:myserver/soap:MyService")]
public class TestService : WebService{
[WebMethod]
public string HelloWorld(string yourName) {
return "Hello " + yourName + "!";
}
}
Also note that you could conceivably write a C# class and use it just like you would a COM object, although I haven't tried it.
hth,
AJ