By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,200 Members | 1,761 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,200 IT Pros & Developers. It's quick & easy.

using System.Runtime.Remoting.Channels.Http

P: n/a
Hi,

I have c# express beta
I try to write the following using clause:

System.Runtime.Remoting.Channels.Http;

because I want to create a http channel.

HttpChannel aJobChannel = new HttpChannel(4000);

But the compiler doesn't want it...

The type or namespace name 'Http' does not exist in the namespace
'System.Runtime.Remoting.Channels' (are you missing an assembly reference?)

what I am doing wrong?
thanks!
Nov 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
marcelino,

You should use this at the top of your file instead:

using System.Runtime.Remoting.Channels.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"marcelino" <ma*******@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
Hi,

I have c# express beta
I try to write the following using clause:

System.Runtime.Remoting.Channels.Http;

because I want to create a http channel.

HttpChannel aJobChannel = new HttpChannel(4000);

But the compiler doesn't want it...

The type or namespace name 'Http' does not exist in the namespace
'System.Runtime.Remoting.Channels' (are you missing an assembly
reference?)

what I am doing wrong?
thanks!

Nov 17 '05 #2

P: n/a
Sorry, I don't understand you...

Here is my programm:

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Remoting.Channels.Http; <-- error here

namespace JobServer
{
class JobServer
{
static void Main(string[] args)
{
// registering a listening channel
HttpChannel aJobChannel = new HttpChannel(4000);
ChannelServices.RegisterChannel(aJobChannel);
}
.....
.....

Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
marcelino,

You should use this at the top of your file instead:

using System.Runtime.Remoting.Channels.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"marcelino" <ma*******@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
Hi,

I have c# express beta
I try to write the following using clause:

System.Runtime.Remoting.Channels.Http;

because I want to create a http channel.

HttpChannel aJobChannel = new HttpChannel(4000);

But the compiler doesn't want it...

The type or namespace name 'Http' does not exist in the namespace
'System.Runtime.Remoting.Channels' (are you missing an assembly
reference?)

what I am doing wrong?
thanks!


Nov 17 '05 #3

P: n/a
Did you add a reference to System.Runtime.Remoting.dll? This should
solve your problem.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"marcelino" <ma*******@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Sorry, I don't understand you...

Here is my programm:

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Remoting.Channels.Http; <-- error here

namespace JobServer
{
class JobServer
{
static void Main(string[] args)
{
// registering a listening channel
HttpChannel aJobChannel = new HttpChannel(4000);
ChannelServices.RegisterChannel(aJobChannel);
}
....
....

Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
marcelino,

You should use this at the top of your file instead:

using System.Runtime.Remoting.Channels.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"marcelino" <ma*******@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
> Hi,
>
> I have c# express beta
> I try to write the following using clause:
>
> System.Runtime.Remoting.Channels.Http;
>
> because I want to create a http channel.
>
> HttpChannel aJobChannel = new HttpChannel(4000);
>
> But the compiler doesn't want it...
>
> The type or namespace name 'Http' does not exist in the namespace
> 'System.Runtime.Remoting.Channels' (are you missing an assembly
> reference?)
>
> what I am doing wrong?
> thanks!
>
>


Nov 17 '05 #4

P: n/a
oh..oh... :-/

now works...
Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
Did you add a reference to System.Runtime.Remoting.dll? This should
solve your problem.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"marcelino" <ma*******@discussions.microsoft.com> wrote in message
news:6E**********************************@microsof t.com...
Sorry, I don't understand you...

Here is my programm:

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Remoting.Channels.Http; <-- error here

namespace JobServer
{
class JobServer
{
static void Main(string[] args)
{
// registering a listening channel
HttpChannel aJobChannel = new HttpChannel(4000);
ChannelServices.RegisterChannel(aJobChannel);
}
....
....

Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
marcelino,

You should use this at the top of your file instead:

using System.Runtime.Remoting.Channels.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"marcelino" <ma*******@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
> Hi,
>
> I have c# express beta
> I try to write the following using clause:
>
> System.Runtime.Remoting.Channels.Http;
>
> because I want to create a http channel.
>
> HttpChannel aJobChannel = new HttpChannel(4000);
>
> But the compiler doesn't want it...
>
> The type or namespace name 'Http' does not exist in the namespace
> 'System.Runtime.Remoting.Channels' (are you missing an assembly
> reference?)
>
> what I am doing wrong?
> thanks!
>
>


Nov 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.