Re: [OT] .NET Rant

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: C# Learner (csharp_at_learner.here)
Date: 02/11/04


Date: Wed, 11 Feb 2004 21:28:09 +0000

gabriel <no@no--spam.com> wrote:

>C# Learner wrote:
>
>> sometimes it's no longer the beast it first appeared. It then shows
>> itself to be irrationally impotent in certain aspects.
>
>That's fine, but I don't think .NET was built to address what you are
>doing optimally.
>
>First of all, after doing many web apps, I have never needed to use the
>"raw" stuff you are trying to do.
>
>Second of all, you are breaking the abstraction layer by doing what you
>are trying to do.
>
>If you want to bypass the abstraction layer, you are better off playing
>with sockets, rather than HTTP objects.

The thing is, HttpWebRequest and HttpWebResponse would be *ideal* for
what I want to do. Since they don't have this fundamental
functionality, I'm going to have to reinvent the wheel.

I will now have to go and make two classes, called HttpRequest and
HttpResponse, which act exactly like the above two, except that they
allow "raw" packet access. In this case, .NET is nowhere near ideal
for the lazy programmer, as has been claimed many a time.

>Anyway, to me .NET does what I need, when I have an app with different
>requirements, I use a more appropriate language and platform.
>
>If you are complaining that .NET is not the best for every possible task,
>you are right, it is not. That's when you should go off and use the
>right tool for the task.

Why do MS tout it as the be-all and end-all then? I see now that this
is *false* advertising.



Relevant Pages

  • Re: c# beginner
    ... HttpWebRequest httpRequest; ... HttpWebRequest httpRequest = ... between casting and converting. ... The difference between casting and converting is a bit murky. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to get image from Webbrowser page
    ... Tanks Paul S ... System.Net.HttpWebRequest httpRequest = ... System.Drawing.Image imageIn = ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: c# beginner
    ... switching to c# from vb.net and had quick syntax question... ... Dim httpRequest as HttpWebRequest ...
    (microsoft.public.dotnet.languages.csharp)
  • c# beginner
    ... switching to c# from vb.net and had quick syntax question... ... Dim httpRequest as HttpWebRequest ...
    (microsoft.public.dotnet.languages.csharp)