July 25, 2005
@ 02:17 PM

By naming the next version of Windows "Vista," Microsoft may have stepped on the toes of another software company just down the road in Redmond.


That would be Vista, a business software and services company founded in 1999 by John Wall. He was not amused when Microsoft announced its choice yesterday, setting the stage for a massive rollout when its flagship operating system goes on sale in fall 2006.


Wall, a well-known technology executive in the area who earlier founded Wall Data, is examining whether the name violates the trademark his company has held for six years. He plans to raise the issue with Microsoft, a company notoriously protective of its own trademarks, and may take the issue to court.


"We're going to consider our options and talk to them," he said tersely.


But some naming experts applauded Microsoft's decision. They said it was wise to move away from odd letter combinations such as "XP" to an understandable word with positive connotations. Yet the name may matter less than Microsoft's clout.


"If they called it Windows Garbage, would people still buy it? Yeah, they'd buy it," said David Burd, owner of The Naming Co. in East Stroudsburg, Pa. "They've got something like 90 percent penetration in the world of operating systems."


 


Read More | Seattle Times


 
Categories: Other

Description:
SPI Labs has reported a vulnerability in ASP.NET, which can be exploited by malicious people to cause a DoS (Denial of Service).

The vulnerability is caused due to an input validation error in the "System.Xml.Serialization.Xml.XmlSerializationReader.ReadReferencedElements()" function. This can be exploited to cause an infinite loop and consume a large amount of CPU resources on a vulnerable system by sending a specially crafted SOAP message to a RCP/encoded web method, which takes an array as input.

Solution:
Use the document/literal mode for web services handling input from untrusted sources.

The vulnerability will reportedly be fixed in an upcoming release.

Provided and/or discovered by:
Bryan Sullivan and Sacha Faust, SPI Labs.

Original Advisory:
SPI Labs:
http://www.spidynamics.com/spilabs/advisories/aspRCP.html

Via Secunia.Com


 
Categories: Security

So there’s been some buzz on this and now it’s looking confirmed by a few insider sources — the official name for the new Microsoft Longhorn operating system is going to be Windows Vista. As in “a view into the distance” which surely refers to the prolonged development timeline of the OS (ouch, we had to.). Look for the official announcement tomorrow morning.

Via Engadget


 
Categories: Other

July 18, 2005
@ 02:55 PM

Microsoft's Anders Hejlsberg, father of the C# programming language, addresses a number of programming issues in an interview at Microsoft Watch. He discusses such issues as the implications of the increasingly tight integration of tools and languages, and "the big impedance mismatch... between programming languages... and the database world."

Anders Hejlsberg is one of Microsoft's handful of distinguished engineers. He is known for having developed the Borland Turbo Pascal compiler and for having been chief architect of Borland's Delphi technology. Hejlsberg left Borland, where he last served as chief engineer, to join Microsoft in 1996. Since joining Microsoft, Hejlsberg's greatest claim to fame has been fathering the C# programming language. Originally code-named "Cool," C# was designed to be Microsoft's Java killer.

Hejlsberg chatted in June with Microsoft Watch editor Mary Jo Foley and eWEEK.com senior editor Darryl K. Taft at the recent Microsoft Tech Ed conference in Orlando about the past, present and future of the C# programming language -- among other programming-language-related topics.

Read More | Microsoft-Watch.Com


 
Categories: Asp.Net/Web Services

As Microsoft inches closer to the first beta release of Internet Explorer 7, the company's development advisors have been advising Web site developers and managers to run certain tests now to prevent problems when the beta version does appear.

Although Microsoft Corp. is not releasing a specific date for the beta version, the company has stated that the browser will appear this summer, and that developers should be getting ready.


At this point, Microsoft has given limited information on what will be included in the initial beta test, beyond stating that it will include features such as tabs and "developer platform advancements."

Developers can expect that much more information will be forthcoming shortly on the company's technical resource site, however, said Gary Schare, director of Microsoft's Internet Platforms and Security Product Management.

"Follow the IE Blog to gain general technical insights about IE 7 directly from the development team," Schare added. "Stay tuned in the coming months as we announce more details."

One area that Microsoft has clearly articulated as being one in which developers can start work now to prepare for IE 7 involves the UA (user agent) string.

First discussed in the company's Weblog in April, the code change prompted a reminder on Wednesday to developers, telling them that Microsoft continues to run across Web sites that are not expecting Version 7 of the browser, and urging them to test their UA strings.


"Developers should ensure that their sites are ready for the IE 7 user agent string and treat IE 7 just like they would IE 6," Schare said. He did not comment on what would happen if changes were not made, but said it is likely that testing issues will be discussed again on the development blog.


Despite Microsoft's reminders, some developers have chosen to simply wait until the beta version arrives to do testing and make changes.

"I don't use IE at all, but I'll test on it because I have to," said Web designer Donna Donohue, owner of Norwich, Conn.-based development firm KidoImages. "We code to standards to be compliant with Firefox, and then hack for IE."


Web developer Steve Champeon admitted that waiting for beta testing is not always the best approach, but it is a common strategy nonetheless.

"There are undoubtedly many Web sites that are so poorly built or tested that IE7 will break them," he said, "So it's not entirely dumb to make a fuss about IE7's impending release."

However, Champeon added that he builds sites from the ground up to work in any Web browser, by following the set of principles known as "progressive enhancement." Because of this approach, he doesn't utilize UA string detection.

"We're not going to waste our time specifically addressing any one browser when we can address them all instead, using faster development techniques that don't favor one platform or browser over all the others," Champeon said.


Via eWeek


 
Categories: Web Development

An Oracle executive confirmed that the company has adjusted its per-CPU licensing to accommodate a new generation of multi-core chips.
As of July 8, each core of new multi-core AMD or Intel processors will be licensed as if it were 75 percent of a CPU. CRN broke the news of the change on Wednesday.

Oracle pricing and licensing guru Jacqueline Woods said the company had been working on tweaks for months to reflect the reality of new, more compute-intensive CPUs that basically pack multiple chip capabilities on a single processor.

Up until now, Redwood Shores, Calif.-based Oracle had counted each core as a separate CPU and charged accordingly. Thus a four-way dual-core server running Oracle 10g Enterprise Edition at $40,000 per CPU had been $320,000 and will now be $240,000.

Woods will host a teleconference on the changes on Friday morning.

Several Oracle partners said customers who bought Oracle wares in the most recent fourth fiscal quarter might not be too happy to learn about what amounts to a discount.

Woods discounted those claims. "We've been working with customers for several months. We were already considering this [move] and accounted for it in our discounts," said Woods, vice president of Oracle's global pricing and licensing strategy.

What most customers and partners had been saying is that a two-core CPU does not really double compute performance and they thus didn't want to pay double for it. Several partners predicted Oracle would do what it has done, count each core as a partial CPU. They also said that would not be enough.

Read More


 
Categories: Other

July 16, 2005
@ 09:42 PM

Indigo Beta 2 will support the use of HTTP operations such as POST, PUT, and DELETE for interacting with services. The use of HTTP operations instead of more formal XML based abstractions is a fundamental principle of REST (Representational State Transfer).

From Wikipedia:
While REST originally referred to a collection of architectural principles (described below), people now often use the term in a looser sense to describe any simple web-based interface that uses XML and HTTP without the extra abstractions of MEP-based approaches like the web services SOAP protocol. Strictly speaking, it is possible (though not common) to design web service systems in accordance with Fielding's REST architectual style, and it is possible to design simple XML+HTTP interfaces in accordance with the RPC style, so these two different uses of REST cause some confusion in technical discussions.
The support for REST also requires the ability to send and recieve XML that is not based on SOAP, which is a current default limitation in Indigo but can apparently be turned off.

Via The ServerSide.Net

 


 
Categories: Asp.Net/Web Services

July 13, 2005
@ 07:53 PM

Back in 1999, or possibly early 2000, I was told a rumor regarding the upcoming version of SQL Server. The rumor was that there was some experimenting going on at Microsoft, regarding the possibilities of using VBScript to write stored procedures in SQL Server. Supposedly there was a chance that this feature would be available in Shiloh (the codename for SQL Server 2000). A couple of months later the beta of SQL Server 2000 came, and then the final product, and as we all know there were no possibility to use VBScript to write stored procedures. Even though the person who told me this was definitely in a position to know about these things, I do not know exactly what truth there was to this rumor. And if it was correct I still have no idea how far this feature came.

Since then we have been waiting for a long time for a new version of SQL Server. And in November it will finally be available, the final version of SQL Server 2005 (also known as Yukon). The first official beta of Yukon was available two years ago, and since then there has been another beta and several Community Technical Preview (CTP) versions. For each version more and more people have previewed the product, and the hype and interest keeps on building. And in the middle of all this interest there is one feature --called CLR Integration or SQLCLR for short-- that is more discussed than any other. In SQL Server 2005 we will no longer be restricted to writing procedures in T-SQL; we can now use any .Net language to create database programmability objects! This is nothing short of a revolution in the SQL Server world, and many say that the complexity of this feature is the main reason why Yukon has taken so long to complete.

Heaven and hell
For an application developer who writes code using C# (or any other .Net language) this might sound like heaven. But for a DBA who have never even seen a C# program it is more likely to feel like hell. Does every SQL Server DBA need to take a crash course in C# now? Is T-SQL dead and buried with SQL Server 2005? Does my company need to buy Visual Studio licenses for all DBAs? These are common questions. Fortunately the answer to them is NO! T-SQL is not dead; it is more alive than ever with lots of new features being added to the language in SQL Server 2005. And every DBA will not need to learn C#, they will still be able to handle all their responsibilities in T-SQL and the new management tools included in SQL Server 2005. In fact, to use .Net code in SQL Server a sysadmin will first need to enable this server-wide feature. Many companies will not need to activate it at all; they can upgrade their databases to SQL Server 2005 and take advantage of all the other benefits it brings.

However, Microsoft did not add CLR Integration to SQL Server just because they had some extra time on their hands and thought it might be cool. The reality is that there are scenarios where a managed .Net procedure will perform better than one written in T-SQL. And it is definitely easier to write better code with a modern programming language such as C# than what we write with T-SQL (even though T-SQL is getting some nice new features in this area in SQL Server 2005). Many application developers who are also database developers will be interested in taking advantage of this. Visual Studio 2005 will have built-in integration with SQL Server 2005 for creating SQLCLR programmability objects. The developer can do all his work in his preferred development environment, so there is another reason for him to implement functionality with SQLCLR instead of T-SQL. But as you had probably guessed it is not as simple as just choosing between SQLCLR and T-SQL based on your preferences and skills. While I did say above that there are times when SQLCLR will perform better, there are definitely lots of scenarios where T-SQL is better. The integration of CLR brings nothing new to how data in a relational database is best managed. Declarative set-based DML always (or close to it) outperforms procedural processing here. One of the biggest concerns DBAs have regarding CLR Integration is that it will open up the doors to SQL Server for a hoard of programmers who know nothing about data management. I do not think that will happen though, why should everyone start programming database functionality just because they recognize the syntax better? But still, there is a quite possible risk that we will see a lot more procedural code, processing data row-by-row. We will also start seeing more or less exotic uses of SQL Server, such as procedures calling out to web services or working with the file system. The richness of the .Net Framework brings a lot of useful functionality, but it also means it will be much easier to do wrong --or at least questionable-- things in database code.

My personal opinion is that CLR Integration is an interesting new tool that can be helpful in some situations, but should definitely be used with care. I do not see it as the most important new feature in SQL Server 2005 (far from it), but it probably is the one that needs the most coverage to make sure that anyone who will be using it knows as much as possible about it. Developers will need to know what effects their .Net implementations will have in SQL Server, and DBAs will probably want to be able to review code that is being executed in their databases. This article is therefore the start of a series that I will publish on this matter. In the upcoming parts I will describe how CLR Integration works, what you can do with it (and of course how to do those things) and when you should or should not use it. To end this part, and start looking at CLR Integration, I will show an example of a useful user-defined scalar function implemented in C# and how to use it in SQL Server 2005.

Using CLR Integration to validate email addresses
One thing that many have asked for in SQL Server is the possibility to use regular expressions for validation purposes. Using a specially crafted regular expression it is possible to verify that a string is written according to some formatting rules that have been defined, for instance that an email address seems correct. Although SQL Server 2005 does not have this feature, the .Net Framework does. We can therefore implement a user-defined function in C# that takes a string and validates it against a regular expression. This is an example of a good use of the CLR Integration in SQL Server 2005. As most probably already know, implementing a function in C# does not mean that we write C# code inside a T-SQL DDL statement such as CREATE FUNCTION. Instead we need to create a .Net assembly containing a class with a method that will act as the user-defined function. We could do this using only a text editor such as Notepad, the C# compiler and T-SQL statements to define the function inside SQL Server. I will save that for a later article though. Here I will instead simply outline the steps necessary to build and deploy the function using Visual Studio 2005 and the integration with SQL Server.

First of all we need to make sure that CLR Integration is activated in SQL Server 2005. This can be done using sp_configure or we can use the new configuration tool called SQL Server Surface Area Configuration. Check that the feature called CLR Integration has a checkmark in 'Enable CLR Integration'.

Now, in Visual Studio 2005, create a new project. Choose the folder Visual C# Projects and the project type called SQL Server Project. Note that this project type is only available in Visual Studio 2005 Professional Edition and above. Name the project as you like, for instance StringHelper.

When the project is being created you will be asked for a database reference. Specify a SQL Server 2005 server and a database. This is the database where you want the functionality to be created.

Add a new item by right-clicking the project and selecting Add New Item, User-defined Function. Name the function RegExValidate.

Now there is a new file called RegExValidate.cs in the project. Edit it with the following code (just clear everything in it and copy-paste this code):

using System.Data.SqlTypes;
using System.Text.RegularExpressions;
using Microsoft.SqlServer.Server;

public partial class UserDefinedFunctions
{
[Microsoft.SqlServer.Server.SqlFunction]
public static SqlBoolean RegExValidate(
SqlString expressionToValidate, SqlString regularExpression)
{
Regex regex = new Regex(regularExpression.Value);

return regex.IsMatch(expressionToValidate.Value);
}
}