[
Advertise | Submit Code | About us | Contact us | Link us
]
Go!
Membership Services
Login
Register

Home
C# General

General

C# Language

Design & Architecture

Algorithms

Database

Security

Active Directory

COM Interop

Remoting
C# Windows Forms

General

Combo and List boxes

Miscellaneous Controls

Button Controls

Edit Controls
Cutting Edge

ASP.NET 2.0

Visual Studio 2005

Windows Longhorn

SQL Server 2005
C# Multimedia and GDI+

General

DirectX

GDI+

Audio
Internet & Web

General

Images and multimedia

Database

Utilities

Security

ASP.NET Controls

Design and Architecture

Webservices
.NET

General

Design & Architecture

Algorithms

Database

Security

Active Directory

COM Interop

Remoting

ADO.NET

XML.NET

Tools

Enterprise

IDE
Visual Basic .NET

VB.NET General

VB.NET Controls
General Reading

.NET Books Review

Product Showcase

Book Chapters

Business Design & Strategy
Community

Discuss

Job Board

Discussion

CodeXchange
DeveloperLand

Advertise

Submit Code

About us

Contact us

Link us
Miscellaneous

Favorite Links

Downloads

Programming Sites

Top Stories
Regular Expressions

E-Mail

Date/Time
Home > Cutting Edge > SQL Server 2005
Yukon, Our New Possibility
Posted by on Sunday, September 19, 2004 (EST)

A brief look at SQL Sever 2005 (Yukon) from a developer's perspective.

This article has been viewed: 3,001 times
Technology: SQL Server 2005.

Contents

Introduction

I consider Yukon to be a new way of supporting Microsoft.NET. In fact, when I heard about Yukon I began to ask myself many questions like "How will Yukon support .NET?", "What will make me go for Yukon?" , "What are Yukon's features?", after some researches on my own I found the answers and I'd like to share them with you.

"Yukon will change the world of database development" Professor Prakhar Deva told me that before the release of .NET or even Yukon Beta1, Now I believe him.

Yukon give the developers the power of integrating the .NET Framework into SQL Server and I think it needs some explanation. Imagine that you can use your favorite .NET language (like VB.NET or C#) to write database objects (triggers, stored procedures, functions and more) without using T-SQL statements. It was over dreamed a few years ago but I think that Microsoft wanted to surprise us many times (.NET then Yukon, who knows what next).

Top Go to Table of Contents

Benefits

Now you can use your .NET Class Library (more than 5500 classes) to write your Yukon's objects, it's great that the Common Language Runtime has been integrated in Yukon. The .NET integration with Yukon provide the developers with many benefits which decrease the time of development and the final results will be better than ever.

First of these benefits is more powerful programming model which means that using .NET languages to write your SQL Server objects is more powerful than with the traditional T-SQL statements, although that T-SQL is the primary and will still the primary language of SQL Server. More saver and robust environment for databases has been considered in Yukon, now that your SQL objects will run in the CLR environment that means it will be more secure than the traditional stored procedure that runs on the server. Also Microsoft has added 2 more objects in Yukon; User defined types and aggregates, which give the developers more querying capabilities.

The really good thing that makes our team (and actually all the developers around the world) happy is that Microsoft will integrate database development tools into the Visual Studio.NET's future versions. So you will use only one Visual Studio to develop and debug your database objects, scripts and also writing your client-side code or middle tier. that is, you will use Visual Studio.NET to develop the entire application. Microsoft will release that version of Visual Studio.NET code-named "Wedbey" with these capabilities.

Stability was one of the most important issue that Microsoft wanted to optimize in Yukon and actually the folks in Microsoft did a great job. As you might know that Managed Code uses Code Access Security (CAS) to prevent assemblies from performing certain operations ,and because Yukon integration with the CLR, now Yukon uses CAS which optimize the performance of Microsoft SQL Server and the Running Operating System in the same time. Also the performance optimization come from the fact that CLR provide many services and functions (like memory management, strong data-types, advanced handling mechanism through Try-Catch blocks and Threading) which improve the performance and stability of the server.

Now you have the ability to write complex database coding with .NET languages like C# and that's because of the CLR integration with Yukon. Don't forget that you can use the Object Oriented Programming model in your databases now, because .NET languages provide you with this model. For example, you can use assemblies and namespaces to organize your database code which will help you a lot with the large-complex databases. Remember, that your .NET code is more powerful than T-SQL multiple times, you can use threading, text manipulation capabilities, type safety, thousands of ready to use classes easily accessed from any stored procedure, trigger or user defined function that provide you with almost all you need to deliver the best applications ever.

Choosing between .NET languages or T-SQL when writing your SQL Server objects is a question that you will ask yourself each time you develop Yukon databases and I can tell you that you will know the answer with the experience but let me tell you a little about this choosing issue.

I think that T-SQL is very appropriate when you want a code that will perform only data access, like using INSERT statement to insert some records in a database. You will need to use .NET Languages when you want the code to manipulate complex business logic that needs the power of the .NET Framework Class Library.

An important question that you may ask "Now Yukon can understand .NET code and T-SQL. Where to put the data and where to put the functionality?". In fact, it's up-to-you and up-to-the business logic too. However, you if put the data and the functionality on the server you will decrease the server performance if the functionality takes a lot processor time but you can solve this my placing the data on the server and the functionality on the client.

Top Go to Table of Contents

New Administration features

Microsoft has done a good job improving the database engine, XML and ADO.NET Support and Database Administrator tools.

For Database Administrators Microsoft has folks worked hard to improve the whole administration process. Most of the administration tasks now can be done without taking Yukon offline. Now recovery more faster than SQL Server 2000 and not that only but they did a good job improving server security, availability and reliability. Besides adding new functionalities to the server like dedicated administrator connection. I can't tell you how many features Microsoft added to Yukon for Administrators. For Example, now the Administrator can depend on Yukon's self-tuning capability without worrying about all the details.

Replication, SQL Profiler also has been improved with Yukon but the most important feature that I can talk about in it's the replacement of the Server-Side Enterprise Manager tool with the new Client-Side management console (code-named SQL Workbench). SQL Server Administrators will has a great control on the Client-Side with this new tool. Yukon's Workbench is an integrated environment which will help Administrators and developers do many things, Microsoft integrated the Workbench with Analysis Services, Reporting Services and you will use it to develop XML and T-SQL code. Workbench will be integrated with Visual Studio.NET 'Wedbey' so it will have many features like IntelliSense. Also SQL Server Administrators and Developers will find great toolset for almost everything related to databases from designing database to debugging and deployment.

Top Go to Table of Contents

Server Managment Objects

Using .NET you will be able to program Yukon's the new management language which called Server Management Objects (SMO) which is a replacement of SQL DMO. SMO is very easy to use and don't forget that you can use .NET to program in SMO.

As you know that Indexing was one area where Administrators need more power over it and now in Yukon you can create and maintain index online without taking the server offline and this will be using the T-SQL index option create index with online . Dropping and Altering indexes will be online too.

Yukon includes a native XML data-types for improving the management, storage and retrieval of XML data because Yukon supports XQuery for retrieving XML data and XML Schema Definition (XSD). Web Services have been improved and how you can create it in the database tier making SQL Server HTTP Listener. This will you us a new way of accessing the data. In Yukon you can use HTTP to access SQL Server directly without the need for a middle-tier listener such as Microsoft Internet Information Services (IIS) Server. SQL Server exposes a Web service interface to allow execution of SQL statements and invocation of functions and procedures. Query results are returned in XML format and can leverage the Web services infrastructure of Visual Studio.

Top Go to Table of Contents

Conclusions

Using SQL Server code-named "Yukon" and Microsoft Visual Studio.NET code-named "Wedbey" Microsoft takes us many steps forward in the way of Global Digital Systems with .NET GDS.NET

Top Go to Table of Contents

About michael labib

Click here if you want to know more about .

Other articles that may interest you

  • Write a Word Add-In – Part 0
  • Write a Word Add-In – Part I
  • Lengthy Operations on Single Thread in .NET Application
  • Learning Draughts
  • Exceptions and Performance
  • Average Rating :

    Discussion Forums
    Got a programming related question? Hopefully someone has the answer... Want to help out other developers? Visit our discussion forums.

    Sponsored by:

    New Articles

  • Exceptions and Performance
    Almost every time exceptions are mentioned in mailing lists and newsgroups, people say they're really expensive.Let's examine that claim, shall we?

  • Creating multilingual websites - Part 1
    Extend the existing globalization capabilities of .NET to create flexible and powerful multilingual web sites. First, create a custom ResourceManager, and then create custom localized-capable server controls to easily deploy multilingual functionality.

  • Parameter passing in C#
    Many people have become fairly confused about how parameters are passed in C#, particularly with regard to reference types. This page should help to clear up some of that confusion

  • Most Popular Articles

  • LDAP, IIS and WinNT Directory Services
    This article explains how to use .NET Directory Services to retrieve and search directory objects, create new directory objects and edit or delete existing directory objects. Describes Active Directory Application Mode (ADAM) and how to use the IIS, WinNT and LDAP directory (ADSI) provider.

  • An in-depth look at WMI and instrumentation, Part II
    WMI stands for Windows Management Instrumentation and, as the name indicates, is about managing your IT infrastructure this article is the second part of a two-part series.

  • An in-depth look at WMI and instrumentation, Part I
    WMI stands for Windows Management Instrumentation and, as the name indicates, is about managing your IT infrastructure this article provides an in-depth look at WMI and MOM 2005

  • New Books

  • Murach's ASP.NET 2.0 Upgrader's Guide: VB Edition
    What’s new and how to use it! That’s what this book delivers if you’re a VB developer who’s interested in upgrading from ASP.NET 1.x to ASP.NET 2.0.

  • C# in easy steps
    Learn to program with Microsoft’s premier programming language. No previous programming knowledge is assumed. With numerous easy-to-follow examples, this title explains the essentials of object-oriented programming with C#.

  • Murach's ASP.NET web programming with VB.NET
    Murach's ASP.NET web programming with VB.NET by Doug Lowe and Anne Prince is a in depth training and reference book for ASP.NET programming using VB.NET. The book builds upon Murach's previous books and covers more advanced concepts for programming ASP.NET pages.

  • Got Code?

    if you have any article , source code , or anything else you'd like to share with this community that you think others might find useful, please submit it here and we will gladly make it available on this site. submit@developerland.com.
    Partners

    All articles are copyrighted by their individual authors unless otherwise specified , everything else Copyright ©2004-2006 DeveloperLand