Visual Source Safe 8.0 any better?

Unfortunately it is not. The UI is better - but that is just the new resource files used with cooler icons (compared to the previous version), but VSS itself is as limiting a product as it has been till now. I remember asking one of the product managers of VSTS on VSS when I was in Redmond, and they had said that it will be a completely revamped product - something which Microsoft internally will (or can - I forget now) use in the product development teams and should be able to compete with ClearCase, CVS, etc. But I guess, Beta1 ships with the same old useless source control. ...

July 21, 2004 · Amit Bahree

What is SecureString?

Since a String class, is immutable and when it is not needed, it cannot be programmatically scheduled for GC or in other words, it is not possible to predict when it will be deleted from the memory that can be a security risk especially if the string contains sensitive information such has credit card numbers, passwords, etc. This is where a new class in .NET 2.0 which ships with Visual Studio 2005 called SecureString comes in. It represents text that should be kept confidential and is encrypted for privacy when being used, and deleted from computer memory when no longer needed. ...

July 21, 2004 · Amit Bahree

What are Distributed System Designers?

Distributed System Designers (DSD’s) are an integrated set of graphical designers which are part of the new Visual Studio 2005. With these designers which you can use to visualise and define applications, compose systems, design classes, model logical representations of datacenters, and bind systems to logical servers in the logical layout of the target datacenter. Their high-level goals are: Support designing and implementing applications Composing applications into deployable systems Modelling logical representations of the target datacenter Defining and validating deployments of the systems you compose against the logical datacenter models. The designers help software architects and designers, developers, and operations analysts resolve the following high-level goals: ...

July 15, 2004 · Amit Bahree

Data Access overview (with Screenshots) in ASP.NET 2.0 using Visual Studio 2005

I wanted to walk you through a quick demo on some of the enhancements for data access in Visual Studio 2005. Please note that though I have a bunch of screen shots, the application here is pretty simple. My goal is not to show you the power of the new stuff that makes the developer more productive and a lot of it is the small stuff - which all adds up to a fair amount of FTE’s. So, lets start. ...

July 12, 2004 · Amit Bahree

SQL Server Express Guide

I got a bit of time this weekend to play with SQL Server Express (SQE) and here are some more details on it. I installed this part of Whidbey 2005. By default the setup installs this under the SQLEXPRESS instance name, so to connect to it you would use something like “machinename\SQLEXPRESS”. The API set for SQL Server Express is the same as SQL Server so upgrading from one to the other would not be a problem. A new GUI tool called SQL Server Express Manager (XM) will be freely available as a separate Web download. XM will allow easy database management and query analysis capabilities, will have a small download size, and will be freely redistributable. XM is a lightweight tool built on top of the latest version of the .NET Framework and the new SQL Server System Management Objects API. ...

July 12, 2004 · Amit Bahree

Visual Studio 2005 Beta 1 (code named Whidbey) Screenshots

Last night I got some time to start playing with the Beta 1 of Visual Studio 2005 which was code named Whidbey. I got some requests for screen shots and I have uploaded a few. To me these are of not too much value because I have shots of the installation process itself and some initial screen shots of VS.NET 2005 but I don’t cover the real improvements - trust me the “meat” of it will follow soon. The main purpose I am uploaded these here are because a lot of you do get excited seeing this. Let me know if you want to see something specific and keep a lookout here for my take on all the new stuff. ...

July 7, 2004 · Amit Bahree

Overview of MSBuild

Microsoft has a three series article showing the details of MSBuild. It is a recommended read if you care on what the new build system would be. What is MSBuild you ask? MSBuild is a long overdue IMHO technology installed with the CLR in Visual Studio 2005 and “Longhorn”. Its goal is to replace makefiles by project files written in XML that let you build large-scale systems. In a project file, targets are used to organise and define high-level construction sets with explicit dependencies. Within a target, tasks are executed to modify inputs and generate outputs that can be passed to the next task or target in a loosely coupled way. ...

July 6, 2004 · Amit Bahree

OneNote (next version) ready to ship

Though this is technically called, OneNote 2003 SP1, why I don’t know. It really is a whole new product with even more features - many excellent features which further improved this amazing product. If you are in a lot of meetings and need to track different things for different clients (which sometimes I have to at the same time), this is an invaluable product to use and worth every penny (IMHO). Chris Pratley, Program Manager for OneNote has more details in this post . ...

July 5, 2004 · Amit Bahree

SQL Server Express

SQL Server 2005 Express Edition is a lightweight, redistributable version of SQL Server 2005 that is optimized to provide a data store for small-scale data-driven applications. Per Microsoft, “It is designed for building simple, dynamic applications. SQL Server Express helps developers build robust and reliable applications by providing a powerful database that is also free and easy to use. Too often database systems are overly complex for building simple applications. SQL Server Express and the other Express products reduce this complexity by providing a simple but powerful development environment for building data-driven applications. You can design schemas, add data, and query local databases, all inside the Visual Studio 2005 environment. If you need more advanced database features, then SQL Server Express can be seamlessly upgraded to more sophisticated versions of SQL Server.“ ...

July 5, 2004 · Amit Bahree

Microsoft and Opensource

Interesting discussion going on MS and Opensource. Is it MS bashing? Is it more “meaningful”. Check it out and state your own opinion.

June 25, 2004 · Amit Bahree

VS 2005 C# IDE Enhancements Walk through

If you want to understand the new stuff in the next release of Visual Studio.NET Joe has an article detailing demos that you can plan with. This is a good starting point and covers a lot of areas like: Understanding Code (MDLView) - The first demo is all about how you get up to speed on an existing code base. To emphasise the problem I renamed nearly all the files so they were numbers which brings home the point about not understanding what the code is actually doing. Debugging Code (DebugDemo) - This demo really requires some setup by showing and talking to how information was shown in VS 2003. The main issues with the current display are one, too much information (VS 2003 simply dumps the members of a type in alphabetical order) and two not enough context (e.g. in VS 2003 looking at the list you can’t tell what something is e.g. is it a property, is it public etc?) Writing Code - Writing code has historically been a strong point for Visual Studio and in VS 2005 there are a number of features that make this experience even better. You can also directly download the powerpoint presentation from the for the TechEd session and the demos themselves. ...

June 9, 2004 · Amit Bahree

Longhorn Build 4074 - First Impressions

I finally found the time to install and play a little with the new build of Longhorn. It is not too different above the covers than the previous build (PDC Bits), though it *seems* to be a little more stable. One of the first things I found was that SimpleText did not exist anymore - there is another post covering that bit. ...

June 8, 2004 · Amit Bahree

What happened to SimpleText?

If you have played with both the PDC and the WinHEC build of Longhorn (Build # 4074) and in your small applications if you had a class called SimpleText - that code would now give an exception in the new build with the error “Class not found”. So out of curiosity I asked on the newsgroups what was up with it and found out that Microsoft has consolidated their three classes to handle text to two - which help solve some of the confusion. Filipe Fortes who is the Avalon PM also discusses it in a blog here . ...

June 2, 2004 · Amit Bahree

What are Closures?

There has been a lot of talk recently hearting up the wires in cyberworld on Closures and c#. One of the question that some have asked is what the heck are closures? Well I don’t know what all the excitment is all about, but closures are nothing but what is also called the Anonymous Methods. There now that you know it, go do something productive! BTW, anonymous methods are cool and with the combination of iterators you can go pretty interesting things. Check out the latest msdn article for a quick read. ...

May 26, 2004 · Amit Bahree

Managed object lifetime - How a Garbage Collector Works

This is part 1 (if you will) of a couple of posts. I am surprised how very little most people know how the GC actually works. If you are reading this and are going to be interviewed by me, this is one of my favourite questions. *grin* This is based on an interesting post I found long ago I think on gotdotnet (sorry I forgot who the author was, I’ll try and google it and see if I can find the link to the original post). ...

May 25, 2004 · Amit Bahree

Installing Whidbey on Longhorn [Build 4074]

Miguel Jimenez has a post on how to install Whidbey on the new Longhorn bits. There are some comments on some problems. I myself have not tried this (yet), will be posting my first impressions on the new build and then try this after that - probably this weekend or early next week.

May 18, 2004 · Amit Bahree

Iterators in c#

I have been meaning to write something on what are iterators, well actually more on how they work and why is there so much “hype” around them, the only problem being the best excuse we all can fall back to - Time *grin*. After all Java already has them, so is that a big deal that .NET would (when Whidbey is released) have them. Anyways, the point being that Roshan has a decent post on that already - probably a much better job that I would do. ...

May 14, 2004 · Amit Bahree

ASP.NET Version Switcher

This utility that can be used to quickly switch the .NET Framework version that the aspx pages are compiled against.I am not sure why you would want to run both the versions of ASP.NET on the same box at the same time as 1.1 is backward compatible to 1.0, but I am sure there are many reasons which make total sense - I just cannot fanthom any at this time. Internally, it uses the command line tool called ASPNET_REGIIS that is included in the Microsoft.NET Framework. ...

May 10, 2004 · Amit Bahree

Forcing a debugger to launch

I never knew this but if you want to force a debugger to launch (especially useful when writing a Windows Service for example) you can use System.Diagnostics.Debugger.Launch(); Now I have not tried this myself (yet), but have others? If so, whats the feedback?

May 6, 2004 · Amit Bahree

Longhorn Released on MSDN!

Yipeee! I you are a MSDN Universal subscriber - you can download the version they handed out at WinHEC!

May 6, 2004 · Amit Bahree

Microsoft plans laptop tune-up with Longhorn

In Longhorn MS is looking to add some laptop-specific features designed to make portable machines easy to use as consumer devices such as portable DVD players. They are also looking to add a separate UI that could be “instantly booted up“ to play movies, music, etc. - hence getting you the the experience more comparable to using consumer electronics devices. For someone like me who is mostly on the road, this would be good, if I can cut down to one “device” (i.e. the laptop) along with the chargers, wires, etc that I carry - my shoulders would certainly thank me. ...

May 6, 2004 · Amit Bahree

Longhorn M7.2 Bits

Longhorn Milestone 7.2 (M7.2) bits were handed out at WinHEC. Per Chris sells , the MSDN subscribes should be seeing this soon. You can check out some of the reviews from the WinHEC participants here . I am now rubbing my hands gleefully and eager to get my hands on it - have to wait for it to show up on the subscriber download at MSDN - will need a new HDD then :). Lets see if my small demos for Tiles survives or not - the PDC build, I run out of memory and finally have to reboot. ...

May 5, 2004 · Amit Bahree

Living La Vida Longhorn

You probably already heard this, but Chris Sells has a new column on MSDN called Longhorn Foghorn , that describes each of the “ Pillars of Longhorn ” - this is something which IMHO developers would understand and appreicate. In the first article he explains the “Pillars” and then in the next two goes onto build Solitaire. You can download the sample and play with it too. ...

May 3, 2004 · Amit Bahree

Shadowfax

Shadowfax is an interesting set of “Reference Solution” that is being worked on by the PAG group at Microsoft. I think this would be a very important piece in the whole SOA (Service Oriented Architecture) space, with getting bits out the door in a quick and reusable fashion. Basically this is a similar implementation of Indigo in todays technologies (i.e. those that are currently shipping such as .NET). This “unifies” the four messaging options you have today: ...

May 3, 2004 · Amit Bahree

Longhorn Refresh

Microsoft is planning on releasing a Longhorn Refresh to geeks like me at WinHEC next month. I am looking forward to that as there are just too many leaks right now. On an average on a machine with a 1gb of mem, I have to reboot on an average every two hours otherwise the memory workingset get way to huge with all the disk thrashing!

April 29, 2004 · Amit Bahree