Groups | Blog | Home
all groups > dotnet ado.net > october 2007 >

dotnet ado.net : someobject.GetType() - low case


Just D
10/10/2007 7:26:18 PM
Guys, am I getting crazy? The huge app working just perfectly with 1.1
stopped working with 2.0. When I started debugging I found that the method
GetType() returns the type in low case. For example I'm having the class
called "SomeClass". That's a codebehind and when I start the app and want to
get the type I'm getting this: ASP.someclass_aspx

Maybe somebody in M$ decided that it's pretty smart and funny to change the
API calls in the different versions, but I also remember that the same code
was returning me the URL with the leading '_' or without leading '_'working
on Windows XP and on Windows Advanced Server 2000.

I'm pretty tired to cover all M$ bugs with my own code. Is that we're paying
for?

Just D.

Cor Ligthert[MVP]
10/11/2007 12:00:00 AM
JustD,

This newsgroup is probably seldom read by Microsoft beside MSFT who are only
here to help with MSDN subscriber problems, therefore what is your goal with
this message.

If you have complaints, then my advice is to write them direct to Microsoft.

Cor
Kerry Moorman
10/11/2007 4:41:00 AM
Just D,

I suspect that a lot of people, like me for example, who could answer your
questions, will instead ignore you when you do childish nonsense like "M$".

Kerry Moorman


[quoted text, click to view]
Just D
10/11/2007 10:38:05 AM
As well as the price of working with Windows... Every new upgrade is
unpredictable and the new version of the same API will not necerrarily be
compatible. Geeee...

I'm sure the class name should be presented as it was created and called
without any stupid "improvements" made by some crazy contractor guys writing
the API implementation for different versions.

[quoted text, click to view]

Miha Markic
10/11/2007 2:35:10 PM
Hi,

Well, I guess this is the price of upgrading asp.net from 1.1 to 2.0 which
is quita a lot different.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

[quoted text, click to view]
Just D
10/11/2007 5:41:44 PM
Well,

Just imagine, you used to write your own name like Miha, you wrote a lot of
documents, articles, etc., then somebody wants to change it to mikha or miha
just because it's upgrade and the standard was changed. You will never
recognize your own name from that moment. Will you accept that? Listen, it's
not SQL where you can select is it a case sensitive or not, it's something
different, don't you think? And what could be the reasons leading the same
..NET 1.1 working on Windows Advanced Server 2000 and Windows XP Pro to the
different results WITH or WITHOUT leading underscore in the CurrentURL? I
had to fix this idiot's bug with my own code. And you could just imaging how
easy was to debug and find that on the production server. And not only that.
There are a lot of "improvements" like these above. And I actually didn't
ask your opinion that "somebody had a reason to do that". If the same API
call returns DIFFERENT results from version to version it's crap. We'll
never be able to write good programs using this kind of environment. That's
the reality. Btw, have you ever seen the complete list of "improvements"
done by M$. I doubt it's published in a full value.

Just D.

----- Original Message -----
From: "Miha Markic" <miha at rthand com>
Newsgroups: microsoft.public.dotnet.framework.adonet
Sent: Thursday, October 11, 2007 12:38
Subject: Re: someobject.GetType() - low case


[quoted text, click to view]

Just D
10/11/2007 5:43:18 PM
One more point. Almost all programming languages are case sensitive. If
you're a professional programmer you should know about that.

Miha Markic
10/11/2007 9:38:17 PM

[quoted text, click to view]

Look, where you are doing major upgrades you have breaking changes. Now, if
you don't read what those changes are before you are upgrading it is your
fault.
I am sure they have their reasons.
Furthermore, nobody is forcing you to upgrade if you don't want. If you feel
comfortable with 1.1. then stick with it - you can run .net versions side by
side.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
Cor Ligthert[MVP]
10/12/2007 12:00:00 AM
JustD,

I agree with you that you have a point, however put it at the right place.
Here all your effort will most probably be without any result.

For this is made microsoft connect.

http://connect.microsoft.com/

Cor
AddThis Social Bookmark Button