Monday, May 16, 2005

Top Ten New and Exciting Features in ASP.NET 2.0

ASP.NET 1.0 was a revolutionary advance in developing Web Applications. With its fully complied, highly extensible Server-Side control model, it was one of the best applications of Microsoft’s .NET runtime. It solved many of the issues plaguing ASP developers, and kept the development-centric philosophy that made ASP such a huge hit amongst the web-client community.

But problems remained with the ASP.NET 1.0 release, not an entirely unexpected situation given it was, after all, a 1.0 product. Developers found themselves writing a lot more code than they thought was good, and it was more difficult than it should have been to keep presentation and business logic well-partitioned and separate.

With ASP.NET 2.0, the ASP.NET team has continued to lead the way in making developer’s daily lives more enjoyable.

Read More.

Wednesday, May 11, 2005

Top 30 Features of SQL Server 2005

Discover how the next version of SQL Server 2005 will benefit you with the new and enhanced abilities and features described on this page.

Read More.    Yukon Homepage

Sunday, May 08, 2005

Difference Between the Internet and the World Wide Web

Many people use the terms Internet and World Wide Web (a.k.a. the Web) interchangeably, but in fact the two terms are not synonymous. The Internet and the Web are two separate but related things.
The Internet is a massive network of networks, a networking infrastructure. It connects millions of computers together globally, forming a network in which any computer can communicate with any other computer as long as they are both connected to the Internet. Information that travels over the Internet does so via a variety of languages known as protocols.

The World Wide Web, or simply Web, is a way of accessing information over the medium of the Internet. It is an information-sharing model that is built on top of the Internet. The Web uses the HTTP protocol, only one of the languages spoken over the Internet, to transmit data. Web services, which use HTTP to allow applications to communicate in order to exchange business logic, use the the Web to share information. The Web also utilizes browsers, such as Internet Explorer or Netscape, to access Web documents called Web pages that are linked to each other via hyperlinks. Web documents also contain graphics, sounds, text and video.

The Web is just one of the ways that information can be disseminated over the Internet. The Internet, not the Web, is also used for e-mail, which relies on SMTP, Usenet news groups, instant messaging and FTP. So the Web is just a portion of the Internet, albeit a large portion, but the two terms are not synonymous and should not be confused.

Saturday, May 07, 2005

What is the difference between http:// and http://www. ?

They are just different domain names. Many online site owners register both the domain names, for example http://cnn.com and http:// www.cnn.com. They point to the same site. However, there are also millions of sites where the non-www domain names are not registered.
If does not contain one of the dot-names such as ".com" or ".org", then the name is resolved within your LAN. So it is likely to point to a web site in the Intranet of your company.

Tuesday, April 19, 2005

Visual Web Developer Express Edition 2005

Microsoft is pleased to announce Visual Web Developer Express Edition 2005 Beta 1, a lightweight, easy to learn development tool focused exclusively on Web development. Inside you will find everything you need to begin building exciting, dynamic Web applications with ASP.NET 2.0.
Click here for more information and to get the Beta! ..

Thursday, March 10, 2005

10 ways to make your code more testable.

You know you have to write unit tests. You have the tools, and your team is committed to the idea. Somehow, though, despite your best intentions, the tests just never get written. Or you write them, but never run them. They always fail anyway. For one reason or another, your project is resisting the will of the unit test. Usually, this means that your code needs a good solid refactoring, to make it more accepting of the way of the test.

Facts discussed include.
Use Interfaces,Define a base test class,Make everything return a value,Separate data access from business logic,Make use of configuration,Make Your Classes Do Only One Thing...

Read More

Wednesday, March 09, 2005

New Security Exception Handling in Whidbey

Security exceptions are one of the harder exceptions to debug, primarily due to the lack of useful information. In Whidbey, the System.Security.SecurityException has been enhanced to include information that can be used to determine not only the cause of the failure but which method was being called, what zone the code was executing in, and specifically which assembly caused the failure.

Since most developers build and unit test their code in a fully trusted environment, many security errors go unnoticed until the code is deployed into a testing or production environment. This makes having accurate and complete security exception information very important and has been a major failing of the security exception handling in .NET versions 1.0 and 1.1. Whidbey will address this by adding the following information to the security exception type.

Action - the SecurityAction that failed the security check
Demanded - the permission, permission set, or permission sets that were demanded and triggered the exception
DenySetInstance - if a Deny stack frame caused the security exception to fail, then this property will contain that set, otherwise it will be null.
FailedAssemblyInfo - AssemblyName of the assembly that caused the security check to fail
FirstPermissionThatFailed - the first permission in failing PermissionSet (or PermissionSetCollection) that did not pass the security check
Method - the method that the failed assembly was in when it encountered the security check that triggered the exception. If a PermitOnly or Deny stack frame failed, this will contain the method that put the PermitOnly or Deny frame on the stack.
PermitOnlySetInstance - if the stack frame that caused that caused the security exception had a PermitOnly permission set, this property will contain it, otherwise it will be null
Url - URL of the assembly that failed the security check
Zone - Zone of the assembly that failed the security check.