October 29, 2005
@ 10:48 PM

All methods use a subset of elements from the same master set. In C# 2.0, the set of optional elements will grow. Historically—except in C++ inline methods—methods required a name, a return type, and a body. Optionally, methods could use an access modifier and a parameter list. In C# 2.0, the method name has been moved from the list of required items to the list of optional items.


C# 2.0 (and .NET in general) introduces the anonymous method. An anonymous method can be used anywhere a delegate is used and is defined inline, without a method name, with optional parameters and a method body.


To use anonymous methods, you need to know what a delegate is, so we'll review delegates briefly before getting into when to use anonymous methods and about anonymous method limitations.


Read More


 


 
October 29, 2005
@ 10:42 PM

Unifying environments is a greater challenge than unifying languages, yet Microsoft is making headway. Consider the three domains of systems, data, and business rules. Each is being brought into the .NET environment in a way that will enable powerful synergy.


Specialized programming languages and their supporting environments have always been tightly coupled: SQL and the database ; business rules and the rules engine. It's tempting to wish for an uberlanguage or one syntax to rule them all, but what really matters is a common environment. At its 2005 Professional Developers Conference, Microsoft showed that it's finally putting all of its eggs into the .NET  basket.

We create specialized languages for a very good reason: to map the domains in which they operate to the mental models of programmers working in those domains.


Because every real software system involves many such domains -- for example, system administration, data management, business logic -- developers have to wear different hats and speak different syntaxes. But there's a larger issue. Our specialized languages live in different environments that don't cooperate.


To solve this problem, we typically create "wormholes" to connect one language environment to another. Embedding SQL statements in other languages is the classic case, but there are many others. Perl scripts, for example, embed shell scripts, and vice versa.


And JavaScript code embeds XSLT transforms, which may in turn use extensions to reach out to the operating system. In all such cases, the embedded code is a proxy to another environment that offers something unavailable in the host environment. But it is also a second-class citizen in that host environment.


Unifying environments is a greater challenge than unifying languages, yet Microsoft is making headway. Consider the three domains mentioned above: systems, data, and business rules. Each is being brought into the .NET environment in a way that will enable powerful synergy.


In the realm of system administration, Monad is a new shell that passes objects, rather than ASCII text, through a pipeline. Two major new initiatives in the realms of data and business rules were announced at the PDC.


LINQ (language-integrated query), the brainchild of Turbo Pascal and C# inventor Anders Hejlsberg, aims to make data management a first-class citizen of the .NET environment. The Windows Workflow Foundation aims to do likewise for workflow, but that's a longer story.


What matters here isn't the ability to operate in these domains using the same programming language; it's not having to jump through wormholes. Using LINQ, for example, a program can query the operating system for the names of running processes and can then join those names to historical data fetched from a database.


A traditional program would get the process list via shell commands and parse the returned text. Monad, which receives self-describing objects from Windows system services, can work more intelligently than that, and LINQ ups the ante even more.


It receives the same set of objects from the OS and similar ones from the database. As it operates on the merged collection, it can natively blend SQL-like data management with other activities, including system administration and workflow.


LINQ is an extraordinary innovation that turns traditional query inside out. But the bigger story from PDC 2005 is that the .NET vision of unifying many balkanized disciplines within the Microsoft ecosystem is finally becoming a reality.


Via InfoWorld


 


 
Categories: SQL Server

Via TheServerSide.Net

Microsoft has released Visual Studio 2005 and SQL Server 2005 to manufacturing, which means that MSDN subscribers can download these releases from the MSDN Subscribcription section. This release covers all versions including Visual Studio Team System Tester, Developer, and Architect. Also included are new versions of Visio for Architects and Infopath VSTO Toolkit.

"This is by far the best Visual Studio and .NET Framework release that we have ever done. I am very proud to be a part of the team that did a phenomenal job of delivering this fantastic product. I also want to take this opportunity to thank the community and early adopter customers for their incredible help and invaluable contributions in helping us ship the right product." -- S. Somesegar's Blog

In addition to the long awaited developer tools and SQL Server Database, Microsoft has release two supporting products. Visio for Enterprise Architects has been updated to be able to engineer code for Visual Studio 2005. Infopath support has also been added to Visual Studio Tools for Office 2005.


Support for InfoPath means you can add business logic to your form using managed code instead of script. Managed code allows you to use the Microsoft .NET Framework common language runtime (CLR) to write code in Microsoft Visual C# or Microsoft Visual Basic, and to make calls into the .NET Framework class library for advanced tasks such as digital signature processing and encryption/decryption. Visual Studio integration includes F1 Help support, full-featured debugging, and Microsoft IntelliSense in the code editor. IntelliSense provides statement completion, members lists, and inline parameter information on the InfoPath object model.


 
October 17, 2005
@ 01:38 PM

Today Microsoft releases its second Community Technology Preview of Windows Vista to beta testers and subscribers to MSDN (Microsoft Developer Network) and TechNet. While testing the new build over the past few days, we've noted a number of incremental changes that have appeared since the September PDC (Professional Developers' Conference) CTP, as well as a few truly significant ones.


The new CTP release, known as build 5231, provides a first glimpse of Windows Media Player 11 and additions to the Windows Security Center, including hooks for an integrated anti-spyware tool. Improvements to the Vista shell are continuing, diagnostic capabilities are growing, and Internet Explorer 7 is shaping up. There are a few skeletal new applications that don't yet have much substantive functionality: a simple contact manager, a calendar applet, and a digital photo manager called Microsoft Digital Gallery. Microsoft also tells us that build 5231 implements a variety of capabilities at the API (application programming interface) level, meaning their benefit won't become apparent to most users until applications or the shell exploit those new capabilities.


Read More


 


 
Categories: Other

October 16, 2005
@ 05:41 PM

Ajax is an awesome technology that is driving a new generation of web apps, from maps.google.com to colr.org to backpackit.com. But Ajax is also a dangerous technology for web developers, its power introduces a huge amount of UI problems as well as server side state problems and server load problems.

Read More


 
Categories: Atlas/AJAX

A Microsoft patch meant to fix critical security flaws in Windows 2000, Windows XP and Windows Server 2003 is causing trouble for some users, the company said Friday.


The patch was released Tuesday to fix four Windows flaws, including one that experts predict will be exploited by a worm in the coming days. The flaw, tagged "critical" by Microsoft, lies in a Windows component for transaction processing called the Microsoft Distributed Transaction Coordinator, or MSDTC.


Installing the patch can cause serious problems, Microsoft said in an advisory posted to its Web site Friday. The patch could lock users out of their PC, prevent the Windows Firewall from starting, block certain applications from running or installing, and empty the network connections folder, among other things, the software maker said.

Read More


 
Categories: Security

The announcement of the Language Integrated Query (LINQ) features of C# 3.0 has caused both excitement and apprehension. While most think that query integration in the language is a good thing, the DLINQ extension appears in many ways to be just another object relational mapper. Is Microsoft changing the way data applications are developed or just reinventing the wheel?


Read full article at theserverside.net


 
Categories: .Net Framework

October 1, 2005
@ 10:11 AM
WSS SP2 is now available: MSFT WSS SP2 Aside from a hotfix rollup, the following features/capabilities that are provided by WSS SP2:




  • Reverse Proxy and Alternate URL support
  • IP Bound virtual servers
  • SQL Server 2005
  • ASP.NET 2.0

Some additional links:



Via Andrew Connell


 


 
Categories: Sharepoint