# Newbie: .Net =\> Ruby Questions

**URL:** <https://www.ruby-forum.com/t/newbie-net-ruby-questions/55563>\
**Category:** Ruby\
**Created:** [March 22, 2006, 3:46am UTC](https://www.ruby-forum.com/t/newbie-net-ruby-questions/55563 "2006-03-22T03:46:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dru](https://www.ruby-forum.com/u/dru)\
**Post date:** [March 22, 2006, 3:46am UTC](https://www.ruby-forum.com/t/newbie-net-ruby-questions/55563/1 "2006-03-22T03:46:22Z")

</div>

If I am a .Net developer and I want to build a windows GUI I use  
System.Windows.Forms . What do I use in ruby?

In .Net there are namespaces. What is the equivilent in Ruby?

What is out there to support Web Services for ruby?

Thanks,

Dru

---

<div class="post-metadata">

**Author:** ![dru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dru](https://www.ruby-forum.com/u/dru)\
**Post date:** [March 22, 2006, 5:08am UTC](https://www.ruby-forum.com/t/newbie-net-ruby-questions/55563/2 "2006-03-22T05:08:56Z")

</div>

You can use CLR bridge. Just do a search in the archives…

---

<div class="post-metadata">

**Author:** ![dru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dru](https://www.ruby-forum.com/u/dru)\
**Post date:** [March 22, 2006, 5:30am UTC](https://www.ruby-forum.com/t/newbie-net-ruby-questions/55563/3 "2006-03-22T05:30:26Z")

</div>

Dru wrote:

> If I am a .Net developer and I want to build a windows GUI I use  
> System.Windows.Forms . What do I use in ruby?
> 
> In .Net there are namespaces. What is the equivilent in Ruby?
> 
> What is out there to support Web Services for ruby?
> 
> Thanks,
> 
> Dru

Hi Dru,

Welcome to the Ruby world! There aren’t too many easy choices yet for  
doing Ruby on Windows, but you might want to check out John L.'s  
project for letting you program against .NET assemblies from within Ruby  
code ([www.iunknown.com](http://www.iunknown.com)). It’s still under development.

Otherwise, people seem to be using other cross-platform GUI libraries  
like Tk and Gtk; and I haven’t tried it but you can check out  
VisualURuby which claims to be an easier GUI library specialize for Ruby  
on Windows ([http://ruby.codezoo.com/pub/component/5196?category=366](http://ruby.codezoo.com/pub/component/5196?category=366)).

If you find something that works for you (or not), I’d like to hear  
about it.

Jeff

> **[Hey Daddio!](http://www.softiesonrails.com)**
>
> Home of Hey Daddio Software

---

<div class="post-metadata">

**Author:** ![dru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dru](https://www.ruby-forum.com/u/dru)\
**Post date:** [March 22, 2006, 12:53pm UTC](https://www.ruby-forum.com/t/newbie-net-ruby-questions/55563/4 "2006-03-22T12:53:56Z")

</div>

Dru wrote:

> If I am a .Net developer and I want to build a windows GUI I use  
> System.Windows.Forms . What do I use in ruby?

Perhaps GTK is one of the best choices for Windows Ruby GUI.  
For Windows u can use Glade/Gtk for Windows to design your interface,  
then use the XML files produced by glade in ruby for showing and  
manipulate the widgets and connecting to ruby code for events.  
If u prefer to start without Glade, u can code Gtk directly in your  
ruby programs.

Resources:

[http://gladewin32.sourceforge.net/](http://gladewin32.sourceforge.net/)

> **[The source of https://ruby-gnome.github.io/](https://ruby-gnome.github.io/)**
>
> The source of https://ruby-gnome.github.io/

Guillermo Gómez S.  
Rubyando desde Venezuela

---

<div class="post-metadata">

**Author:** ![dru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a9adbd/32.png) [@dru](https://www.ruby-forum.com/u/dru)\
**Post date:** [March 22, 2006, 5:33am UTC](https://www.ruby-forum.com/t/newbie-net-ruby-questions/55563/5 "2006-03-22T05:33:20Z")

</div>

Dru wrote:

> In .Net there are namespaces. What is the equivilent in Ruby?

Sorry, forgot the answer the 2nd part of your question… Modules are  
the equivalent of namespaces. They also serve a 2nd purpose - to  
provide mix-in ability - but that’s a different story altogether.

[Programming Ruby: The Pragmatic Programmer's Guide](http://www.ruby-doc.org/docs/ProgrammingRuby/) has a good section on  
Modules.

Jeff

> **[Hey Daddio!](http://www.softiesonrails.com)**
>
> Home of Hey Daddio Software
