It's time again to open up your developer's toolbox and make room for the new must-have tool, virtual machines. As a software consultant, I find myself traveling from customer to customer and constantly working in new development environments. As interesting as that is, a new environment means installing and configuring new tools. Inevitably, a tool install or uninstall fails, I remove a piece of software that I end up needing again later, different versions of tools conflict, or I just plain screw things up. Since my development laptop is my only laptop, wiping out and reinstalling the drive is not a fun task.

Enter virtual machines. Virtualization technology has come a long way in the past few years, and hardware is now fast enough to make a virtual machine feasible for interactive development. Virtualization software, such as Microsoft Virtual PC or VMWare Workstation, allows you to run another complete operating system—a virtual machine (VM)—in your current operating system. Although virtual machines have been gaining popularity on the server side recently, their growth on the client side has been limited—especially in a development environment.


[More]


 
Categories: Web Development

April 27, 2005
@ 07:34 PM

Checkout Bill's Keynote from WinHec.  In his keynote presentation, Microsoft Chairman and Chief Software Architect Bill Gates reflects upon the hardware industry over the last 20 years and how the introduction of 64-bit and multicore computing will create a wave of industry innovation. Gates also provides a view into the foundation being laid for the release of Microsoft Windows "Longhorn."


[See Video]


 
Categories: Asp.Net/Web Services

Microsoft finally told Web developers what they've wanted to hear for years, promising support for graphics and style sheet standards.

In a blog entry posted Friday, a member of Microsoft's Internet Explorer development team said the company plans to support key elements of World Wide Web Consortium (W3C) recommendations Portable Network Graphics (PNG), an image format, and Cascading Style Sheet (CSS), a Web page styling standard.

"We have certainly heard the clear feedback from the Web design community," Chris Wilson, lead program manager for the Web platform in IE, said in reference to support for the PNG standard. "Our first and most important goal with our Cascading Style Sheet support is to remove the major inconsistencies so that Web developers have a consistent set of functionality on which they can rely."

Glitches in IE's standards support mean that developers have to code separately for IE and for browsers that hew more closely to the standards. IE enjoys about 90 percent browser market share despite losing some points to the Mozilla Foundation's open-source Firefox browser.

Other improvements said to be on tap for IE 7, currently code-named Rincon, include tabbed browsing and support for IDN (Internationalized Domain Names).


[Via C|Net]


 
Categories: Web Development

Refactor! for Visual Basic 2005 Beta 2 is a free plug-in from Developer Express Inc., in partnership with Microsoft, that enables Visual Basic developers to simplify and re-structure source code inside of Visual Studio 2005, making it easier to read and less costly to maintain. Refactor! supports more than 15 individual refactoring features, including operations like Reorder Parameters, Extract Method, Encapsulate Field and Create Overload.


Simplify Your Visual Basic Code


More and more developers are recognizing that simple, easy-to-read code is the key to application flexibility and easy maintenance. Managers are realizing that easy maintenance means low cost maintenance. If you know in your heart that parts of your code base could be better, but uncertainty about maintenance cost or concerns over breaking code have kept you from cleaning up your house, then Refactor! is for you. Refactor vaporizes barriers to code simplification, dramatically reducing the cost traditionally associated with improving, simplifying, and refactoring existing code.


Download Now


Additional Resources:


http://shrinkster.com/4v9


Demo Videos:


http://msdn.microsoft.com/VBasic/Downloads/2005/Tools/Refactor/30SecDemo.Aspx


http://msdn.microsoft.com/VBasic/Downloads/2005/Tools/Refactor/3MinDemo.Aspx


[More]


 
Categories: Web Development

Declarative programming by way of custom controls has always been a part of Windows (WinForms) development. But it wasn't until the release of ASP.NET that developers got a chance to apply these principles and techniques to Web development.

OK, time to pick a fight. What is declarative programming? Well, as I stated above, I've seen many definitions of that term lately; but most of them pretty much break down into similar descriptions. It is a style of programming whereas at one level you define, in detail, how a variety of things are done, and from another level you instruct as to what needs to be done. Let me explain with a couple of examples in the context of languages I'm sure you already know.


[More]


 
Categories: Web Development

Microsoft is offering a free copy of Windows XP Professional x64 Edition via the Technology Advancement Program.  This is designed to assist customers who have acquired a new x64 Computer with the intention of replacing a previously licensed 32-bit version of Microsoft® Windows XP Professional for the new version of Windows XP Professional x64 Edition.


[Via Microsoft]




 
Categories: Web Development

Ajax is a combination of several technologies that promises to make browser based applications more interactive. But will it be enough to counter the claim that Windows based Smart Clients provide the best possible interface and user experience in an Internet world? We want to know what you think?

Ajax is the combination of several technologies including


  • standards-based presentation using XHTML and Cascading Style Sheets (CSS)
  • dynamic display and interaction using the Document Object Model
  • data interchange and manipulation using XML and XSLT
  • asynchronous data retrieval using XMLHttpRequest
  • and JavaScript binding everything together

Google is championing Ajax with its implementation of Google Maps as well as Google Suggest. But Microsoft is pushing .NET powered Smart Clients as the best interface for Internet deployed applications.

More at:
http://www.theserverside.net/news/thread.tss?thread_id=32688


 
Categories: Web Development

Michael Schwarz, a .NET developer in Germany has released the latest version of his Ajax .NET Wrapper. This class library simplifies the use of XMLHttp by providing .NET objects that generate the necessary Javascript code.

Documentation is scarce, but he does have examples in both C# and VB.NET showing how to use the classes to make server requests that return data in the form of primitive types, Datasets, and even .NET objects.




More at:
http://weblogs.asp.net/mschwarz/archive/2005/04/07/397504.aspx


 
Categories: Web Development

New possibilities both for developers and end users! Latest version of .NET CF (.NET Compact Framework - especially designed for mobile devices) was 1.1 and here we are getting major upgrade that brings a lot of improvements on many levels. .NET CF roughly corresponds to wireless Java but offers much more libraries, faster software development and now also better access to features of the underlying mobile operating system (which is either Windows Mobile based on Windows CE or Windows CE alone).


Some highlights about .NET CF:



  • later on .NET CF 2.0 will be embedded in ROM of Windows Mobile devices but for now it is available as separate download (only for Pocket PC, not for MS Smartphone)
  • The Microsoft .NET Compact Framework 2.0 Beta 2 Redistributable includes everything you need to run .NET Compact Framework applications, including the Common Language Runtime and the .NET Compact Framework class library.
  • Important: This package uses ActiveSync to update the device. Make sure to dock your device before running NETCFSetupv2.msi. You can run the ActiveSync setup later by going to your install folder and running NETCFSetupv2.msi once the device is docked. Those not using ActiveSync can run the CAB files which match the device found in the install folder directly on the device.
  • If you want to install Visual Studio 2005 Beta2 after running NETCFSetupv2.exe, remove .NET Compact Framework 2.0 Beta2 first. Start at Control Panel, then select Remove Program and select Microsoft .NET Compact Framework 2.0 Beta 2 to remove it. Leaving NETCFSetupv2.exe installed on your PC will break Visual Studio 2005 Beta2 device projects.
  • System Requirements

    Supported Operating Systems: Windows 2000, Windows 98, Windows 98 Second Edition, Windows ME, Windows Server 2003, Windows XP

    Windows Mobile Software for Pocket PC 2003 Pocket PC, Microsoft Windows Mobile version 5.0 for Pocket PC and Smartphone, and Windows CE .NET 5.0.

To download .NET CF 2.0 for your Pocket PC (approximately 5 MB of free space needed) click here.

Please note: Microsoft mentions "Microsoft Windows Mobile version 5.0 for Pocket PC and Smartphone" what means that this could be the official name for the upcoming Windows Mobile code name "Magneto" and not "Windows Mobile 2005" as some people were predicting.


 
Categories: Web Development

Microsoft has released a new eLearning site with free online training courses for developers. The first course offered is "Taking Advantage of 64-Bit Computing". They are also running a sweepstakes for people who take part in the training with prizes ranging from a 50" Plasma TV to noise canceling headphones.

eLearning is an effective and efficient system of self-paced personal training, available over the Internet. Microsoft has made courses available in eLearning form to cover several of the important new technologies in Visual Studio 2005, including Connected Systems and Smart Clients, plus Windows Server 2003. More courses are planned for the near future.
To learn more or to take the first course, visit Developer eLearning.
 
Categories: Web Development

Microsoft Windows SharePoint Services Service Pack 2 is included in Microsoft Windows°Server™°2003 operating system, Code Name "R2," Beta 2. This updated version of Windows SharePoint Services includes the following feature enhancements:


 


Support for IP-bound virtual servers


Support for advanced extranet configurations


Kerberos enabled by default


Windows SharePoint Services running on ASP.NET 2.0 (Whidbey)


Windows SharePoint Services support for Windows x64 editions


 


Support for IP-bound virtual servers


Previous releases of Windows SharePoint Services did not support assigning a static IP address to an IIS virtual server extended with Windows SharePoint Services. Instead, it was required that you used host headers and configured all virtual servers with an IP address setting of All Unassigned. This limitation, as described in KB article Q830342, prevented being able to host multiple SSL-enabled virtual servers on one Web server. In Service Pack 2, this limitation has been removed, and Windows SharePoint Services now supports assigning a static IP address to a virtual server extended with Windows SharePoint Services. Windows SharePoint Services Service Pack 2 will not support IP-bound virtual servers if it was deployed in scalable hosting mode, as described in the Server Farm with Multiple Hostnames Deployment topic of the Windows SharePoint Services Administrator’s Guide.  IP-bound virtual server support is only available when Windows SharePoint Services Service Pack 2 is deployed in non-scalable hosting mode.


 


Support for advanced extranet configurations


Windows SharePoint Services generates some hyperlinks in its Web pages and e-mail messages using absolute URLs. Earlier releases of Windows SharePoint Services generated those absolute URLs using the protocol scheme, host, and port of the Web request that SharePoint received or the URL used to originally create the site. This prevented Windows SharePoint Services from supporting certain advanced extranet configurations where a reverse proxy server is deployed in front of the SharePoint server. 


 


Kerberos enabled by default


Kerberos authentication is now enabled by default when you install Windows SharePoint Services, Service Pack 2, by using the Typical Installation option. The Typical Installation option installs Windows SharePoint Services with Microsoft SQL Server 2000 Desktop Engine (Windows) (WMSDE) on one computer.


 


In addition, when you install Windows SharePoint Services new options let you choose either NTLM authentication or Kerberos authentication when you create the SharePoint Central Administration virtual server and extend content virtual servers. Earlier releases of Windows SharePoint Services defaulted to NTLM authentication for all installation options, which caused problems if there were other applications on the virtual server that required Kerberos authentication or if you were deploying Web Parts that needed to access resources that were not on the server computer. This limitation, as described in KB article Q832769, required manual steps to enable Kerberos. (When reading Q832769, keep in mind that it describes enabling Kerberos authentication for existing deployments of Windows SharePoint Services RTM and for Windows SharePoint Services SP1.)


 


The ability to choose either Kerberos authentication or NTLM authentication is available in both the SharePoint Central Administration and the stsadm.exe command-line utility when you create the SharePoint Central Administration virtual server, extend a virtual server, or extend a virtual server and map it to an existing virtual server. For the stsadm.exe command line, there is a new optional parameter: exclusivelyusentlm. If this parameter is not specified, then the virtual server is not modified and retains its original authentication configuration which by default is Kerberos-enabled.


 


Although Kerberos authentication is now offered in the Windows SharePoint Services interface, you should consider carefully whether or not to use Kerberos authentication. If you are setting up a typical installation with WMSDE, Kerberos authentication is enabled by default and no other configuration is required because Windows SharePoint Services is running under the context of Network Service, which is already configured correctly for Kerberos authentication. However, if you are installing by using the Server Farm option, with Windows SharePoint Services running as a domain account and using a remote server running SQL Server, you must configure the domain account as a Service Principal Name (SPN) if you want to use Kerberos.


 


Windows SharePoint Services running ASP.NET 2.0 (Whidbey)


Starting with Service Pack 2, you can now run Windows SharePoint Services with ASP.NET 2.0 (code named Whidbey). Additionally, you can run ASP.NET 1.0 and ASP.NET 2.0 at the same time and on different virtual servers running Windows SharePoint Services. Windows SharePoint Services provides the same feature functionality when running on ASP.NET 2.0 as it does when running on ASP.NET 1.0. Windows SharePoint Services’ support for ASP.NET 2.0 does not include integration with the new ASP.NET 2.0 Web part framework. This means that if you deploy a Web part built in ASP.NET 2.0 to Windows SharePoint Server, this Web part will function as a Web form control. Before deploying on ASP.NET 2.0 review the additional information below about configuring Windows SharePoint Services to run on ASP.NET 2.0


 


Windows SharePoint Services support for Windows 64 bit editions


To run Windows SharePoint Services for Windows 64 bit editions, Microsoft Internet Information Services (IIS) must be configured to run in 32-bit emulation mode.


 


 
Categories: Web Development

Microsoft has released estimates for all editions of Visual Studio 2005 including retail pricing and MSDN subscription pricing. The new pricing structure aligns with the product editions with matching MSDN subscriptions.

The estimates for the Visual Studio 2005 editions are:


  • Visual Studio 2005 Team Suite, Retail: $10,939/year, Renewal: $4,598/hr
  • Visual Studio 2005 Team Edition for Software Architects, Retail: $5,469/year, Renewal: $2,299/yr
  • Visual Studio 2005 Team Edition for Software Developers, Retail: $5,469/year, Renewal: $2,299/hr
  • Visual Studio 2005 Team Edition for Testers, Retail: $5,469/year, Renewal: $2,299/hr
  • Visual Studio 2005 Professional with MSDN Premium Subscription, Retail: $2,499/year, Renewal: $1,999/hr
  • Visual Studio 2005 Professional with MSDN Professional Subscription, Retail: $1,199/year, Renewal: $799/hr

Microsoft is also offering an Operating System only MSDN subscription for $699/year with $499/year renewal fee.

More...


 
Categories: Web Development

The designers of Subversion have created an open-source version control tool that fixes the flaws and addresses shortcomings in the popular Concurrent Versions System (CVS) version control system. The following are the most significant and visible CVS flaws that Subversion rectifies:

  • CVS lacks directory versioning. It keeps track of only files, not directories.
  • CVS has weak support for the copy, rename, and delete operations on files, a result of the lack of directory versioning.
  • CVS lacks atomic commits.

In addition to these highly visible shortcomings, CVS also has the following less obvious shortcomings:


  • CVS lacks versioned metadata. It can remember file permissions, but that is about it.
  • CVS is hard to extend. There is no API that makes extension an easy process.

Subversion provides the following features that either fix the CVS flaws or improve upon existing CVS features:


  • Subversion tracks both files and directories. So when you delete directories, they stay deleted in checkouts—no more specifying the "-dP" option to prune empty directories.
  • Subversion handles the copy, rename, and delete operations on files well.
  • Subversion performs its commit operations in an atomic fashion. So you will never have an inconsistent code tree as a result of the version control tool. Subversion ensures that either the entire commit or none of it happens. You will never get the situation in which the commit breaks in the middle, leaving some files checked in and others not. Subversion rolls back the whole commit operation, similar to how a relational database operates.
  • Subversion provides a well-documented API that allows other applications to embed or extend it.
  • Subversion has a uniform method of dealing with all files, both binary and text. It has a binary differencing algorithm that works on text files. You no longer need to tag files as binary or text.
  • Subversion has more ways of accessing the repository. While CVS has direct filesystem, pserver, and ssh/rsh remote access, Subversion has direct filesystem, svnserve (analogous to pserver), ssh, and WebDAV. The Subversion API is extensible and makes it easy to add more types of access (for instance, integration with your favorite IDE).
  • The powerful API means that Subversion can be extended in ways that CVS cannot (for instance, with new access methods or with new storage backends).

This article first describes how easy it is to start with Subversion by creating a new repository. CVS users should find it especially easy. Next, it shows how to connect to a Subversion repository and how to operate on the newly created repository with commands to modify its contents (operating on files and directories within the repository). It then describes how you will typically use Subversion commands in day-to-day development, showing some of the frequently used commands. Finally, it addresses two advanced Subversion topics: wedging, an infrequent and harmless problem, and branching/tagging, ways of organizing versions of file sets.

CVS to Subversion: An Easy Switch
In order to make the tool easy to use, the Subversion designers adopted many of CVS's commands and usage patterns. This means that not only do you get to use the same commands, but you also use them in the same way for the most part. Switching to Subversion from CVS is therefore very easy. It is also easy to pick up Subversion from scratch.

To demonstrate how Subversion works, the following instructions show you how to start using it on a sample project. You need to have Subversion already installed on your computer. (To download Subversion, go to subversion.tigris.org and find the latest version.)

The first thing you must do is set up a repository. The repository, a simple directory with some subdirectories and files, holds all of the files pertaining to your project. You can have multiple repositories on a single machine or filesystem, and you can store the repository anywhere on your filesystem (although it should be a local filesystem, not an NFS or otherwise remote filesystem—an upcoming section discusses how to set up a repository on local filesystems or other machines).

For the most part, you will deal with two commands when using Subversion: svnadmin and svn. You will use the svn command almost all of the time. The commands check out, commit, update, difference, and other operations are all present in the svn main command. You will use svnadmin to create and maintain your repositories.

To create the repository on your local filesystem, issue the following command (do not actually issue this command right now):


svnadmin create /path/to/repository

You do not have to be root to create a repository. However, if you want other people to be able to check out items and/or commit items to your repository, they must have permission to do so. The best way to do this on a Unix system is to put the users in a group and then make the directories and files in the repository readable by that group. You should make the directories and files in the repository writable by the group if you also want to allow group members to commit to your repository.

To create the repository, first make sure that you have a directory called "/srv/svn". If you do not have this directory on your filesystem, create it. Make sure it is writable by the user who will be creating the Subversion repository. If you do not have root access, you can use another directory, but make sure to substitute that directory whenever the instructions specify /srv/svn. Issue the following command:


svnadmin create /srv/svn/first-project-repository

If you view the contents of the /srv/svn directory, you will see a first-project-repository subdirectory. If you look inside the first-project-repository directory, you will see a directory listing like the following:


drwxrwxr-x 2 wchao wchao 4096 Dec 27 15:25 conf
drwxrwxr-x 2 wchao wchao 4096 Dec 27 15:25 dav
drwxrwxr-x 2 wchao wchao 4096 Dec 27 15:25 db
-r—r—r— 1 wchao wchao 2 Dec 27 15:25 format
drwxrwxr-x 2 wchao wchao 4096 Dec 27 15:25 hooks
drwxrwxr-x 2 wchao wchao 4096 Dec 27 15:25 locks
-rw-rw-r— 1 wchao wchao 376 Dec 27 15:25 README.txt

The contents of the first-project-repository, as you can see, are just regular files and directories. You should not, however, touch these files. The svn command operates on the files in the repository, so you should not need to touch them directly unless the repository gets wedged (more on that in the "Wedging, Branching, and Tagging" section at the end).


 


More...


 
Categories: Web Development

Last Chance to Register – Be sure to attend MEDC 2005, the premier opportunity to share and learn more about the latest Windows Embedded and Windows Mobile platforms.






Right-click here to download pictures. To help protect your privacy, Outlook prevented automatic download of this picture from the Internet.
Click here to Register Now
Registration ends May 5, 2005, at 11:59pm (PST)


Just Announced! Attend These Breakout Sessions:

MEDC 2005 offers several new sessions this year on developing for Windows Mobile and Windows Embedded, including:


Developing High Performance Applications with the .NET Compact Framework
Want to learn how to write high performance .NET Compact Framework applications? Hear from the experts on how to design and build your .NET Compact Framework applications for maximum performance and efficiency. Build performance into your applications right from the start.


Increasing Developer Productivity with Platform Builder 5.0
Learn how to leverage Platform Builder 5.0's new Unified Build architecture to increase time to market. Learn how to build targeted areas quickly, perform mixed mode builds (retail and debug), clone OS code, and rebuild/debug modules without rebuilding images or re-flashing devices.


Exploring the Dirty Details of Building a Database Driven Application using Visual Basic® .NET and SQL Server™ 2005 Mobile Edition
In this session we'll demonstrate how to use features of Visual Studio® 2005 to build a DVD catalog application using SQL Server™ 2005 Mobile Edition. We'll also dig into the source code and discuss accessing data, passing information between forms, and building UI that meets Windows Mobile design guidelines.


Plus: Hear from Microsoft Chairman and Chief Software Architect Bill Gates.

Visit www.medc2005.com for complete session and conference information.


Join us at MEDC 2005. Register Now.


 
Categories: Asp.Net/Web Services

Adaptive Object Modeling is a relatively new concept in object oriented design that has found some roots in advanced development processes. It allows that applications are in continual flux (or their requirements are) from adjustments to business rules, environments and user requirements. It's precepts are that using metadata for business objects, rules and process flows, instead of hard coded, static method code, makes the application more flexible to user/client needs. The AOM design model also requires that certain domain 'facts' are maintained, i.e. that there are controlled interpretations of the effects of the 'immediate' changes from user-generated metadata.

To better understand and practice the techniques of AOM design, I am writing this and several other articles that explain the usage and conversion (or refactoring effort) from a static code model to AOM design.

This article will deal with how to make useful in actual projects the AOM pattern methodology. I skipped ahead a bit to write this article (relationship and interpreter articles will come later) because I saw a real lack of understanding revolving around real world applications and usage of this model. This article will deal with application, implementation and conversion techniques for current application code to the AOM Model. Don't get confused. This will not be a regurgitation of the current writings on the methodology, but (I hope) a different approach to describing the methodology intended to help build competencies in the pattern. When I am done you may think this is not AOM at all, but what I am trying to get across is some relevant ideas that the model suggests. I will pick apart different pieces of the overall model in this article, so I can better illustrate the different ways you might use the disparate pieces in projects.







More...


 
Categories: Web Development

April 19, 2005
@ 10:48 PM
by Bill Lodin

The past seems to be popular these days. From VH1's nostalgia-laced "I Love the 70's, 80's, and 90's" shows to the popularity of "classic" musical artists (U2, Bruce Springsteen and the Rolling Stones coming soon to a city near you), retro is in. They're feeling a wave of nostalgia up at Microsoft too. But in Redmond, this wave marks the return of the rich client.


No, not the rich client you're familiar with—rich clients now have gotten "smart." How? In part, by the lessons learned in thin-client development. Over the past 10 years, Web application development has become the de facto standard for most programmers. "Thin was in," and we developers responded by dutifully learning our ASPs, J2EEs and PHPs.


So What's Wrong with Thin Clients?
In a traditional thin-client application, users navigate through a series of Web pages to perform tasks, and these tasks are realized primarily through server-side business logic.


What's wrong with this picture? Well, two things, really. First of all, despite the amazing things that we've been able to accomplish inside the browser, we still have to operate inside the browser. This creates some fundamental limitations to creating a rich user interface.


Secondly, the fact that our business logic exists on the server means that connectivity is essential. Lose the connection and the application is unavailable -- and work doesn't get done. Sure, we can focus our attention on improving server uptime, but typically some parts of the connectivity story are beyond our control (ever have your ISP decide to perform maintenance on your connection right before a deadline?) Besides, what about predictable situations in which connectivity is not present, as when a user wants to continue working while on a plane or at a remote job site?


More...


 
Categories: Asp.Net/Web Services

The recommended way to create cross-language Web sites is to localize using .NET's support for culture codes. Here are some examples of culture codes:



  • en-US: "en" represents the English language. "en-US" provides a specific culture, that is, the culture representing English used in the US
  • en-GB: This culture code represents the English language used in Great Britain.
  • fr-CA: This culture code represents the French language in Canada.
  • zh-CN: This culture represents the Chinese language used in the People's Republic of China.
The localization process involves tasks such as:



  • Date formatting. People in the United States represent dates in a different format from someone in, say, the United Kingdom. Does "2/7/2004" represent the 2nd of July, 2004, or does it represent February 7th, 2004? The answer depends on where you are located.
  • Changing displayed text from one language to another. For example, the text in your application must change to Chinese if you are targeting the Chinese market.
  • Text direction. Does text read from left to right or from right to left?
As a developer, you need to be concerned with the following:



  • Globalization. When designing your application, you plan for all the necessary resources needed to enable your application to be modified with ease to suit different cultures.
  • Localization. You perform the actual transformation to ensure that the user sees the application using the culture he/she has selected.

In this article, I will discuss the localization feature in ASP.NET 2.0 (based on Beta 1) and how it simplifies the task you need to perform to create international applications.

Localization Basics
Before we see how ASP.NET 2.0 makes localization easy, let's understand some basics in localization. A culture is a way to identify a particular setting pertinent to a location or country. You use a culture code to represent a culture.

A neutral culture represents a culture that is associated with a language but is not specific to a particular location. For example, "en" is a neutral culture, because it represents the English language but does not provide a specific instance of where it is used.

A specific culture is a culture that is specific to a region or country. For example, en-GB is a specific culture.

Finally, the invariant culture is neither a neutral nor specific culture. It is English, but is not associated with any location. The invariant culture is used to represent data that is not shown to the user. For example, you use the invariant culture to persist date information to a file. This ensures that the date information would not be misrepresented if is it going to be interpreted in another specific culture.


More...


 
Categories: Asp.Net/Web Services

Microsoft has publicly announced the availability of Visual Studio 2005 Beta 2. This version of the beta includes the high-end versions — Team System — as well as the Express and Professional Editions.


If you are an MSDN subscriber, you can go here to log in and download beta 2 immediately. If you are not an MSDN subscriber, you can go here to order a copy that will be mailed. Although I'm an MSDN subscriber, I went ahead and ordered the CD/DVD. There was no charge when I ordered.

Also released in a second beta are the Express Edition versions of Visual Studio 2005. You can download the express editions from here. The Express betas require that you register them within 30 days; however, this doesn't cost. The five development Express editions have all been released:



  • Visual Web Developer 2005 Express Edition
  • Visual Basic 2005 Express Edition
  • Visual C# 2005 Express Edition
  • Visual C++ 2005 Express Edition
  • Visual J# 2005 Express Edition

Equally important to the release of the betas is the release of the Go Live licensing. Beta software licensing generally prohibits applications created with the software from being deployed into a live environment. The Go Live licensing is an addendum to the standard EULA that provides a means for applications using the following to be launched:



  • Visual Studio 2005 Beta 2 family of products (except Visual Studio 2005 Team Foundation Server)
  • .NET Framework 2.0 Beta 2
  • .NET Compact Framework Beta 2
  • SQL Server 2005 Express Edition April CTP

For more on Go Live go here.


 
Categories: Web Development

This article describes a simple, free, easy to install Search page written in C#. The goal is to build a simple search tool that can be installed simply by placing three files on a website, and that could be easily extended to add all the features you might need for a local-site search engine.


There are two main parts to a Search engine:



  • the build process, which processes files, indexing their contents and creating the 'catalog'.
  • the search process, which uses the 'catalog' to find the search term and the names of the files it appears in.

This code 'builds' the catalog by traversing the file-system from a starting directory, it does not request web pages via HTTP or parse the pages for internal links. That means, it's only suitable for static websites.


More...


 
Categories: Web Development

April 14, 2005
@ 08:26 PM

Already registered for Microsoft Tech·Ed 2005? Tune in to this series of webcasts to prepare for Tech·Ed 2005 and get the most out of your time while you are there. Haven't yet decided whether you will be attending Tech·Ed 2005? This webcast series will give you a preview of what you can learn June 5-10, 2005, in Orlando, Florida.


In conjunction with Tech·Ed 2005, these webcasts enable IT professionals and developers to explore current and soon-to-be-released Microsoft technologies and evaluate a wide range of products and solutions for today's IT environment. Get up to speed on SQL Server 2005, Visual Studio 2005, management and operations, security, server infrastructure, and more. Then join us after this year's event as we present the "best of" Tech·Ed 2005 sessions. These "best of" webcasts will provide you with a strong review of what you learned or what sessions you missed. We are adding webcasts to the schedule regularly, so check back soon.


More...


 
Categories: Web Development

April 14, 2005
@ 01:16 PM

Check out this implementation of AJAX aka xmlhttp requests that combines Google's mapping service and Craig's Lists real estate ads to provide an interactive map of properties for rent  and/or sale.


http://www.housingmaps.com/


 
Categories: Web Development

Like many organizations, much of the collaborative work we perform at Crowe Chizek is done using electronic documents. In years past, we stored many of the documents we utilized in file shares, which had a number of limitations for collaboration. Our biggest challenge was organizing the file shares in an intuitive fashion.


Our company wanted to build a workflow process around the task of approving new clients. A workflow is a series of tasks performed to complete a particular goal. We perform financial services, so client approval is important for risk assessment and regulatory compliance. We began turning to online collaboration tools to organize our processes. Often, online collaboration is performed as a part of a workflow process.


Requirements for our client approval process essentially amounted to review and approval by various individuals within our organization. The approval routing was dynamic and based on the group making the client approval request. We decided to use SharePoint, the Microsoft standard for online collaboration, for the document receptacle, but we realized we needed to augment it in some way to incorporate workflow in the process. We wanted to utilize the power of our InfoPath 2003 installation to quickly design forms. InfoPath stores its data as XML documents.


More....


 
Categories: Sharepoint

The link below provides a listing of all the security fixes that were rolled into service pack 1 for Windows Server 2003.


http://www.microsoft.com/technet/security/prodtech/windowsserver2003/sp1.mspx


Below are the non-security related fixes.


http://support.microsoft.com/kb/824721


 


 
Categories: Security

Security is a major concern for both application architects and developers. Applications that store sensitive information need to be protected from malicious attacks and from competitors attempting to steal information or intellectual property. When designing a security model for your application, you need to be aware of security requirements from a business perspective and the implications that a chosen security model can have on performance, scalability, and deployment.


Security Considerations


If you are designing a server application, your design specification should contain a section that addresses security issues. You should consider and possibly address the following items in the application's functional specification:


  • Security goals. Understand what you are securing and make sure that you can describe it.
  • Security risks. Understand your application's vulnerabilities. You must also understand the significance of potential threats as they relate to your business.
  • Authentication. This is the process of accepting credentials from a user and validating those credentials against a designated authority. The user's (or potentially an application's or computer's) identity is referred to as a security principal. The client must provide credentials to allow the server to verify the identity of the principal. After the identity is known, the application can authorize the principal to access resources on the system. Various criteria, which help you choose the appropriate authentication mechanism, are presented in the next section of this document.
  • Authorization. This is the process of determining whether the proven identity is allowed to access a specific resource.
  • Securing data transmission. By encrypting your data as it crosses the network, you can ensure that it cannot be viewed or tampered with while in transit. You must consider the degree to which your data needs to be secured while in transit.
  • Impersonation. This mechanism allows a server process to run using the security credentials of the client. When the server is impersonating the client, any operations performed by the server are performed using the client's credentials. Impersonation does not allow the server to access remote resources on behalf of the client. This requires delegation.
  • Delegation. Like impersonation, delegation allows a server process to run using the security credentials of the client. However, delegation is more powerful and allows the server process to make calls to other computers while acting as the client.
  • Operating system security. This refers to the establishment of appropriate Access Control Lists (ACLs), and network security to prevent intruders from accessing secured resources. You must set the appropriate ACLs on the appropriate resources to allow access by only the relevant principals.
  • Securing physical access. This refers to locating your server computer in a secure room. You should not overlook this fundamental issue.
  • Code access security. This allows code to be trusted to varying degrees depending upon where it has come from and from other aspects of the code's identity. You should be aware of how to create your own access permissions.

Relationship Between IIS and ASP.NET


You should understand the relationship between Internet Information Services (IIS) authentication and the Microsoft® ASP.NET security architecture when designing your application. This will allow you to authenticate your users appropriately and obtain the correct security context within your application. You should note that ASP.NET application security configuration and IIS security configuration are completely independent and can be used independently or in conjunction with each other.


IIS maintains security related configuration settings in the IIS metabase. However, ASP.NET maintains security (and other) configuration settings in XML configuration files. While this generally simplifies the deployment of your application from a security standpoint, the security model adopted by your application will necessitate the correct configuration of both the IIS metabase and your ASP.NET application via its configuration file (Web.config).


More...


 
Categories: Security

ASP.NET is a server-based platform, which means the code you write executes on the web server instead of in the client's browser. This approach ensures that your code is kept secure from prying eyes, and it sidesteps most browser-compatibility issues. However, it also introduces some unavoidable limitations.


For example, the ASP.NET web page model doesn't provide any way to react to events, such as a user's mouse movements. In this case, the overhead of sending the page back to the server after every mouse movement would make the web page unworkably slow. Similarly, because your code can't interact directly with the browser, it can't display pop-up windows or manage multiple frames in a frameset in the same way a snippet of client-side JavaScript could.


To compensate for these limitations, ASP.NET developers often need to mix a little JavaScript code into their ASP.NET web pages. This is most commonly the case with custom controls. For example, many menu controls allow the user to browse through multiple menu levels without forcing the page to be posted back to the server every time a new level is shown. (You can find sample menu controls at Microsoft's community site.) Similar techniques are used to ensure that other controls remain rich and responsive, without requiring any work from the web server.


Read more here.


 
Categories: Web Development

April 9, 2005
@ 09:52 PM

RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS: the "recent changes" page of a wiki, a changelog of CVS checkins, even the revision history of a book. Once information about each item is in RSS format, an RSS-aware program can check the feed for changes and react to the changes in an appropriate way.


Read more here


 
Categories: Web Development

The SQL Server 2005 product family has now been announced, so with four editions available, what does this mean for SQL Server Integration Services? Starting from the bottom we have the free edition known as Express, and the entry level Workgroup edition, and neither include the full IS product. They have the Import/Export capabilities, but nothing more, so for simple loading and extraction of data this should suffice, but you will not be able to build packages.


Read more here


 
Categories: SQL Server

SharePoint Services' extensibility offerings begin with Web Parts, ASP.NET-based building blocks users can assemble at runtime into customized pages that meet their specialized needs.  In addition to this, each SharePoint site and its contents are accessible via managed code and Web services, delivering Web sites as programmable objects.


Find more information here....


 
Categories: Sharepoint

Detailed discussion about the design and deployment of the Microsoft IT hosted collaboration platform. The platform supports personal storage, team Web sites, group and division portals, and enterprise services. With server farms centralized in three regional data centers, Microsoft saves both hardware and support costs.


Download article here.


 
Categories: Web Development

A common task when dealing with user input or text files is searching through that input and replacing literals, special characters (such as carriage-return/line feed pairs in files), or patterns (such as phone numbers, contractions, and so forth). In fact, I recently finished working on a chatterbot (an artificial-intelligence application that verbally responds to voice or keyboard input) where this very task was needed in order to "smooth out" the user's input into something that the bot could more readily understand and respond to.


Read more here.


 
Categories: Web Development

An Open Source project has been started to build a rival to Microsoft's Upcoming Team System. Read more on Jason Bentley's Blog.  The system would combine existing open source projects such as nUnit and nAnt to to provide a competing product targeted to the small business community.
 
Categories: Web Development

There is a lot of talk on the Web on how to run applications on a Web farm. In a previous article we talked about how to write code so files can be replicated or copied to several servers in one process. Another option is to use the Distributed File System provided by Windows 2003 Server. DFS provides you with the ability to replicate content across the enterprise. It accounts for bandwidth restrictions for replication as well as localization of requests for your enterprise. This article takes a look at using DFS for storing the source for an ASP.Net application. By using DFS in this way you can configure a DFS share to store your application, thus providing redundancy and even mirroring across geographical locations in the enterprise.


Read full article here


 
Categories: Web Development

An example of using XMLHTTP to perform real time data validation, in this example for validating data entered into a user registration form. The example focusses on Microsoft and ASP.


You can read the full article here.


 
Categories: Web Development

Here's a good article on creating accessible(read ada compliant) content in Frontpage 2003.


http://www.webaim.org/techniques/frontpage/


 
Categories: Web Development

April 5, 2005
@ 07:52 PM

One of the age old problems in DTS is moving packages between your development, test and production environments. Typically a series of manual edits needs to be done to all the packages to make sure that all the connection objects are pointing to the correct physical servers. This is time consuming and gives rise to the possibility of human error, particularly if the solution incorporates many DTS packages. Many companies have provided their own custom solutions for managing this problem but these are still workarounds for a problem that is inherently DTS's.


See full article at http://www.sqlis.com/default.aspx?26


 
Categories: SQL Server

MS Mobiles is reporting an announcement by Motorola of the RAZR MPx4 smartphone.  Construction of Motorola RAZR MPx4 is based externally on a very succesful Motorola RAZR V3 phone and internally is an extension (with faster processor and more memory) of the Motorola MPx phone.
 
Categories: Other

An anonymous reader writes "It seems impatient TV viewers have discovered BitTorrent in Australia mainly because the networks there are so slow; programs are at times behind by up to 8 months! According to an independent study, it takes an average of four months to watch the latest episodes of top-rated shows like Lost and Desperate Housewives. There are now calls for TV networks to consider offering episodes for download at a small cost."


See complete article at slashdot


 
Categories: Security

Service pack 1 for Windows Server 2003 was released on Wednesday, March 30th.  In addition release candidate 1 of  Windows Server Update Services was also made available. Windows Update Services is Microsoft's attempt to merge the various update sites that separately managed updates for Windows, Office, and the variying server products.
 
Categories: SQL Server

Learn what it means to "brand" a SharePoint Portal Server site, and about the different types of branding you can apply to a portal site to reflect an organization's identity. Go on for a step-by-step example of branding in Branding a SharePoint Portal Server 2003 Site: Part 2, How to Apply Your Own Corporate Brand.


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/Office_SharePointApplyingCorporateBrand.asp


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_sp2003_ta/html/Office_SharePointHowToApplyBrand.asp


 
Categories: Sharepoint