02.18.04
The
Trouble with Checked Exceptions
Anders Hejlsberg, a distinguished engineer at Microsoft, led the team
that designed the C# (pronounced C Sharp) programming language. Hejlsberg
first vaulted onto the software world stage in the early eighties
by creating a Pascal compiler for MS-DOS and CP/M. A very young company
called Borland soon hired Hejlsberg and bought his compiler, which
was thereafter marketed as Turbo Pascal. At Borland, Hejlsberg continued
to develop Turbo Pascal and eventually led the team that designed
Turbo Pascal's replacement: Delphi. In 1996, after 13 years with Borland,
Hejlsberg joined Microsoft, where he initially worked as an architect
of Visual J++ and the Windows Foundation Classes (WFC). Subsequently,
Hejlsberg was chief designer of C# and a key participant in the creation
of the .NET framework. Currently, Anders Hejlsberg leads the continued
development of the C# programming language.
On July 30, 2003, Bruce Eckel, author of Thinking in C++ and Thinking
in Java, and Bill Venners, editor-in-chief of Artima.com, met with
Anders Hejlsberg in his office at Microsoft in Redmond, Washington.
In this interview, which will be published in multiple installments
on Artima.com and on an audio CD-ROM to be released this fall by Bruce
Eckel, Anders Hejlsberg discusses many design choices of the C# language
and the .NET framework.
Read
The Whole Article
C#Builder
vs. VS .NET: Choose Wisely
In case you haven't heard, C#Builder is a new Integrated Development
Environment that lets you build .NET applications in C#. This new
product debuted just a few months after Microsoft released Visual
Studio .NET 2003. Although both products target the same audience
- the C# developer - and have many of the same capabilities, each
certainly is unique. Now that you've got a choice, you're bound to
wonder: What does C#Builder offer? How does C#Builder compare to VS
.NET? And of course, why would you choose one over the other? Well,
let's see what we can do about answering these questions. (For a quick
side-by-side comparison, see the sidebar, "Making the Grade.")
Out of the box, C#Builder and VS .NET look similar. They sport a single
document interface for code editing and visual design surfaces, property
editors, tool palette, project managers, and docking/sliding windows.
The first impression many developers get is that C#Builder looks just
like VS .NET (see Figure 1). Then again, first impressions often are
misleading. In fact, C#Builder innovates in pleasingly surprising
ways that are definitely worth a second look.
Read
The Whole Article |
Localization
of Windows Forms in C# with VS.NET
Creating applications that are ready for the international market
has become a key tenant in any application today. The need is to
create applications that can cater to various different countries,
cultures as well as reduce the cost of developing and debugging
separate applications for each country. Creating applications that
are ready to cater to different countries of the world is called
as Internationalization.
Internationalization has two separate issues, which are often very
confusing for developers to understand. These issues are Globalization
and Localization.
In layman’s terms :
Globalization refers to creating applications where the currency
format, date format, numerical system might differ. For example,
the currency symbol for USA Dollar is $ while the currency symbol
for UK Pound is £, hence your application supporting globalization
should be able to automatically pickup the correct format from the
users operating system and use it.
Read The Whole Article
Password Hashing in C#
ASP.NET provides a very convenient way to create a hashed string
from a user inputted value. A common issue with storing passwords
in flat file or even the database, is that unwanted eyes can potential
see your users passwords and hack into your web application. In
order to hide users passwords in the database, you can create a
hashed value of the password and store it in the database. The benefit
of storing a hashed value for your passwords is that other people
will never know the actual password. The drawback of this approach
is of course if you forget the password, its very hard to recover.
Read The Whole Article
Secure Cooking with C and C++
Problem
You have data coming into your application, and you would like to
filter or reject data that might be malicious.
Solution
Perform data validation at all levels whenever possible. At the very
least, make sure data is filtered on input.
Match constructs that are known to be valid and harmless. Reject anything
else.
In addition, be sure to be skeptical about any data coming from a
potentially insecure channel. In a client-server architecture, for
example, even if you wrote the client, the server should never assume
it is talking to a trusted client.
Read The Whole Article
How to POP3 in C#
This is the second in a series of articles on Internet programming
with Microsoft's new C# programming language. In the first article,
I wrote a simple SMTP class. In this article, I'm going to write a
simple POP3 class. The SMTP class that I wrote was not very useful,
except maybe as an exercise, as there already exists a similar SMTP
class in the Web.Mail namespace of the .NET framework called SmtpMail.
Our POP3 class in this article will be a little more useful as it
doesn't already exist in the .NET framework. I have encountered many
POP3 C# classes in my searches of the Internet and most were sufficient
to begin programming email clients.
Read The Whole Article
Read this Newsletter at: http://www.cprogrammingtrends.com/2004/0218.html |
|
| From the Forum: |
| New to datebases |
hey guys i just got a job for this company http://signdesigns.com
they are a located near my college and i will be going there
between classes to help them out with their web site
as you can see right now its in need of help BIG TIME! ... i
was wondering if i were to add a database that would have info
about all the customers and it would have info on how far they
are into the job stuff like that ... |
|
|