473,383 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Wouldn't it be nice?

If all WebForms controls were prefixed 'web' and all WinForms controls were
prefixed ''win' (and were otherwise named the same?)

guy
Nov 7 '07 #1
4 1308
jim

"guy" <gu*@discussions.microsoft.comwrote in message
news:11**********************************@microsof t.com...
If all WebForms controls were prefixed 'web' and all WinForms controls
were
prefixed ''win' (and were otherwise named the same?)
Sure, it'd be nice. But it would also be nice if Microsoft listened to
everyday developers when designing this crap.

We can dream, can't we?

jim
Nov 7 '07 #2
The Microsoft naming conventions are carefully considered by an experienced
team of designers and architects. They follow their naming conventions
strictly, giving a uniform naming style to all classes in the .Net
Framework. This means that, once you are familiar with the naming
conventions, it should be trivial to understand what the name of any given
class indicates about that class, and this includes the NameSpace in which
it resides. ASP.Net UI controls are all in the System.Web.UI NameSpace, and
specifically under 2 NameSpaces under that, System.Web.UI.WebControl, and
System.Web.UI.HtmlControl, which defines the basic characteristics shared by
all of them. Similarly, Windows Forms Controls all fall under the
System.Windows.Forms NameSpace.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"guy" <gu*@discussions.microsoft.comwrote in message
news:11**********************************@microsof t.com...
If all WebForms controls were prefixed 'web' and all WinForms controls
were
prefixed ''win' (and were otherwise named the same?)

guy

Nov 7 '07 #3
Yes Kevin, I know where they live etc, I have been using .NET from beta 1

however I would much rather have controls called winGridv1, WinGridv2,
WebGridv2 etc. rather than all these DataGrid, DataGridView and such like

Guy

"Kevin Spencer" wrote:
The Microsoft naming conventions are carefully considered by an experienced
team of designers and architects. They follow their naming conventions
strictly, giving a uniform naming style to all classes in the .Net
Framework. This means that, once you are familiar with the naming
conventions, it should be trivial to understand what the name of any given
class indicates about that class, and this includes the NameSpace in which
it resides. ASP.Net UI controls are all in the System.Web.UI NameSpace, and
specifically under 2 NameSpaces under that, System.Web.UI.WebControl, and
System.Web.UI.HtmlControl, which defines the basic characteristics shared by
all of them. Similarly, Windows Forms Controls all fall under the
System.Windows.Forms NameSpace.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"guy" <gu*@discussions.microsoft.comwrote in message
news:11**********************************@microsof t.com...
If all WebForms controls were prefixed 'web' and all WinForms controls
were
prefixed ''win' (and were otherwise named the same?)

guy


Nov 7 '07 #4
Unfortunately, Microsoft doesn't design the .Net platform for your pleasure
alone. You have my sympathies.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"guy" <gu*@discussions.microsoft.comwrote in message
news:05**********************************@microsof t.com...
Yes Kevin, I know where they live etc, I have been using .NET from beta 1

however I would much rather have controls called winGridv1, WinGridv2,
WebGridv2 etc. rather than all these DataGrid, DataGridView and such like

Guy

"Kevin Spencer" wrote:
>The Microsoft naming conventions are carefully considered by an
experienced
team of designers and architects. They follow their naming conventions
strictly, giving a uniform naming style to all classes in the .Net
Framework. This means that, once you are familiar with the naming
conventions, it should be trivial to understand what the name of any
given
class indicates about that class, and this includes the NameSpace in
which
it resides. ASP.Net UI controls are all in the System.Web.UI NameSpace,
and
specifically under 2 NameSpaces under that, System.Web.UI.WebControl, and
System.Web.UI.HtmlControl, which defines the basic characteristics shared
by
all of them. Similarly, Windows Forms Controls all fall under the
System.Windows.Forms NameSpace.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP

"guy" <gu*@discussions.microsoft.comwrote in message
news:11**********************************@microso ft.com...
If all WebForms controls were prefixed 'web' and all WinForms controls
were
prefixed ''win' (and were otherwise named the same?)

guy



Nov 8 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Otto Haldi | last post by:
Hello to all I'm using PHP since a few week. I like to know how php programmers are making so nice border to displaying MySQL table? I like to make a border with rounded corner. Could...
4
by: Dominik | last post by:
I'm looking for some nice-looking DHTML select boxes (combo boxes). Someone knows where can I find it?
4
by: Reiter Peter | last post by:
hi can someone tell me, how i can create a really nice looking app? with nice effects do i need for this MDX (managed directx), or is it also possible with gdi+? for instance, windows media...
10
by: Justin Dutoit | last post by:
Hey. I'm still not experienced at error handling, and I need to know if Try.. Catch blocks are meant to be used to handle errors in your own app, ie bugs. Or, are they only for external things like...
8
by: Spleenwort | last post by:
With regard to XML comments in c#. I think that #regions should be self-documenting relative to XML comments or that a <region> tag should be defined and auto-inserted when you type #region...
7
by: shapper | last post by:
Hello, Does anyone knows where can I find some nice styled CSS tables? Thanks, Miguel
0
by: Pretty nice site, wants to see much more on it!,Pr | last post by:
Pretty nice site, wants to see much more on it!,Pretty nice site, wants to see much more on it!,Pretty nice site, wants to see much more on it!
3
by: WebCM | last post by:
How to apply nice URL-s into CMS? 1. Should we use nice urls for every page? 2. Do we need to put a FULL path into <a href="">? 3. What is faster and better? a) 10 rules in .htaccess...
3
by: sheldonlg | last post by:
I think this capability is lacking in php. Suppose there is a group of checkboxes all named "procedure". Doing a $_POST returns all the ones that are checked and not the ones that are not...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.