# Friday, December 18, 2009

Scott Guthrie blogged that the launch date for Visual Studio and the .NET Framework will be delayed. They are delaying the release to fix some performance problems. Also according to the blog there will be a release candidate in February with

a broad “go live” license that supports production deployment

I think this is a win-win-win situation for most developers. Let me explain.

The first win is that we get a much better product. Most developers I know want to work with the latest and greatest tools. They are willing to suffer through poor performance or some bugs to be on the bleeding edge. With the extra time we won’t have to curse our tools under our breath waiting for service pack 1.

The second win is that we can actually put code into production faster. Since the RC will have a “go live” license I can deploy my applications sometime in February with the RC rather than waiting for the launch in March.

The third win that I see is that we get more say into shaping the future of the tool that most of us live in each day. Now don’t get me wrong, I don’t think that Microsoft will be slipping in new features but we have the ability to comment for a longer period and possibly influence what will go into the version of Visual Studio after this. Scott Guthrie has graciously posted his e-mail address for feedback and there is the connect site as well. I am sure that Microsoft tries to listen to feedback all of the time but human nature being what it is and scheduling and all I am sure they are more focused on gathering and prioritizing feedback during the beta cycle.

The people who stand to loose the most from this announcement are those who either by choice or company policy are not allowed to use beta software in production. Since Scott’s post states the launch will be moved back a few weeks I don’t think it will be that much longer to wait.

It is also nice to see Microsoft reacting to our feedback and changing something as public as the launch date to make sure that the product is stable and usable. I can think back not too many years when the reaction might have been very different and they would have just moved up the date for the first service pack.

Friday, December 18, 2009 4:50:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [1]  | 
# Tuesday, December 15, 2009

Yesterday and today I have been following a story that a contractor for Microsoft China ripped off a lot of code from another microblogging service. ZDNet has a short synopsis of the issue. This got me thinking about the problems of intellectual property.

For years the idea of “copy and paste” reuse of JavaScript has been the fodder of programmer jokes. I am not a lawyer and I an not sure what the relevant laws are but I have mixed feelings on this issue. Like a lot of other people I like to view source in my browser occasionally to see how something has been done. I have never copied another style sheet but that is more a function of my lack of use of CSS than any strong feeling about not looking at style sheets.

I believe that wholesale copying of a sites style sheets and JavaScript goes way beyond the realm of “fair use” or learning and into plagiarism. If the code is open source and the intent is clearly to allow someone to reuse it then there is no question about the ethics. When you are looking at someone’s “proprietary closed source” code (even though it is visible) you run the risk of running afoul of the law. When I first read the story I thought about how I would feel if I had spent a lot of hours tweaking a look and feel and tuning JavaScript just to see it ripped off. I definitely believe that programmers should be paid for their efforts and I see this as becoming a bigger issue in the future as laws start to catch up to what is common practice now.

Tuesday, December 15, 2009 4:55:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, December 02, 2009

On the Windows IT Pro web site they are running a “faceoff” between Hypervisors (VMWare and Microsoft Hyper-V) to discuss some of the pros and cons of virtualization and each product. It also looks like Novell is posting information as well.

The format is that of a blog on a topic with experts telling about each product’s strengths. I like the format of being able to see what the strengths of each tool is and how that tool can be used to complete your IT environment. The side by side format lets me compare the ideas and points without having to jump back and forth between different browser windows.

I have to say that given my limited experience with VMWare and Hyper-V I haven’t experienced any of the issues with SLAs (all personal or test machines), licensing (paid for by the companies I was consulting for), or management (someone else’s responsibility) but they have given me some ideas for what to look out for and why I might want to choose one product or the other.

So check out the faceoff and join the discussion at http://windowsitpro.com/faceoff/

Wednesday, December 02, 2009 10:48:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, November 23, 2009

I just checked and I have been blogging now for 5 years. Hopefully you have been enjoying the posts and the information that I have written about. I know that I have. I am looking forward to the next few years as there is a lot of exciting technology coming out. That means a lot of learning for me but I enjoy that. I have been thinking lately about my original vision for grokdev.com where I would create sample applications and write up how I did them. While I am still busy I am thinking about trying to carve out a few hours each week to do something like that.

Thank you so much for reading my blog. Even though I post for me I can see that there is a regular following and I appreciate that I need to keep it interesting for you.

Monday, November 23, 2009 4:51:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, November 20, 2009

The PDC is over and I am home. I am taking a few minutes to be a little reflective and put down some thoughts.

1. The Acer PC was great. I heard people complaining about it not having more software (Visual Studio 2010 being the most common) or RAM but I have to say I was looking for a second machine for demos and this is better than what I was looking for. It makes up for no breakfast or attendee party. Of course now Microsoft has set an expectation and it will be interesting to see if they give out other goodies like a mobile phone at MIX (hint, hint…).

2. The roadmaps were shorter. In previous PDCs the roadmap slides seemed to go out to 3 or 5 years. Almost all of the roadmaps this year only went out 18 months. This felt more like a TechEd with the shorter timelines. Of course with how little in the 5 year time frame actually got delivered it is possible that Microsoft just realized that the information wasn’t as useful as they would hope.

3. Sessions were generally good quality. I went to more sessions than I blogged and for the most part the speakers were good and interesting. In the past it seemed they just grabbed some random employee to get up there and talk but maybe they screened the speakers or gave them some training.

4. Networking was even better than the sessions. I think the real reason to go to any conference is the learning. Some occurs from the sessions but more occurs from the conversations at lunch or in the hall ways. I have come to appreciate the need for this more as I work from home and don’t often get a chance to discuss things with my peers as often as I would like.

5. Focus on some general themes. In the past PDC seemed to be about anything that any product group wanted to announce. I didn’t see the breadth of topics represented this time. I think that was a feature of the shorter timeframe but it was nice to have focus on themes like SharePoint, Azure, Windows, and Visual Studio. It meant there were a lot of relevant sessions. The down side was that there were many times when I wanted to see 2 or 3 sessions in a given time slot.

I am looking forward to the next PDC and to see how things like Azure, “Dallas”, and Silverlight 4 evolve.

PDC
Friday, November 20, 2009 8:32:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, November 18, 2009

Local access infeasible so you can’t get access to any of the event logs or other tracing that you would normally do on a single server

SDK supports distributed monitoring & data collection for cloud apps.
Support Standard Diagnostics APIs
Built on top of Windows Azure Storage
The same infrastructure is used by Microsoft for their monitoring so they know it scales.
Developers are in control of what gets collected and when to collect it.

MonAgentHost.exe is the diagnostic monitoring piece that is doing the monitoring and is started by the fabric UI on the developer fabric

Used Cloud Storage Studio from Cerebrata Software to show off storage information.

WADDirectoriesTable and WADLogsTable store log information. The data in the directories data is the standard IIS log files that are in put into development blob storage.

The diagnostic monitor is a separate process and can do things like crash dumps and Windows Data Sources like event logs. Data goes into the local storage directory and is then uploaded to Azure storage.

The oldest data will age out.

System.Diagnostics.Trace to write information out to the logs. Reference Microsoft.WindowsAzure.Diagnostics and import the namespace.

DiagnosticMonitorConfiguration lets you set up the configuration information. Everything is buffered locally by default and not uploaded to the storage. You have to provide the storage configuration when you call the Start() method.

TraceListener added iinto the web.config by Visual Studio to allow the monitor to listen to the events and store them.

Microsoft.WindowsAzure.Diagnostics.Manager namespace used to write an application that will let him do on-demand uploads of data to storage.

If you are trying to catch crash dumps in a web role ASP.NET will most likely capture the data so you won’t be able to examine the dump. If you fail in the startup or in a worker role you will be able to get the crash dump information.

Turning on IIS tracing incurs a performance overhead and can not be turned on or off dynamically so you will need to upgrade your application to change the setting.

There is no automatic deletion of logging data from the Azure storage. You need to clean it up so you don’t pay for log entries you don’t need.

Data partitioned by the high order bits of the tick count so you can query on just that partition.

WMI is not supported natively but your role can reference WMI and log the information into an “arbitrary log”.

The role runs in the “Performance Log Users Group”. Soon IIS logs will be generated in the role’s local data directory.

Azure | PDC
Wednesday, November 18, 2009 7:56:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
# Tuesday, November 17, 2009

Azure contains 5 main pieces:

1. Windows Azure Application Platform
2. SQL Azure
3. Windows Azure platform AppFabric
4. Azure “Dallas”
5. Pinpoint marketplace? (I came in late and only saw the screen for a second so I am guessing this was the 5th element)

Different roles on architecture slide:
Web Role
Dynamic Worker
Distributed Cache Worker
Partitioned Worker

Fundamentals:
Security
Performance and reliability
High availability
Scale out
Multi-tenancy

Service healing is available because the data is copied to multiple servers and if one goes down that can be detected, that instance shut down, a new instance spun up, and a message sent to the load balancer to start sending load to the new server.

New will be drives so you can map to Azure storage and use standard APIs to manage the data.

Coming soon:
1. Programming model – administrator privileges in the VM
2. Storage – user-selectable geo-locations for replicas
3. Service management – remote terminal server access to VMs

Note: These are my raw notes from some of the sessions I attend. Items in italics are my comments. Others are notes from the slides (or at least what I heard).

Azure | PDC
Tuesday, November 17, 2009 7:14:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, November 04, 2009

I have been working with a lot of really good people at Microsoft and we have come up with a poster that lists the important namespaces and classes in .NET Framework 4.

 

You can download the PDF version of the poster from http://download.microsoft.com/download/E/6/A/E6A8A715-7695-493C-8CFA-8E0C23A4BE1D/098-115952-NETFX4-Poster.pdf

If you have a plotter or a printer that can handle 24” x 36” paper you will have a good looking poster. If not you can print it and do the cut and tape the printed pages together. If you are attending PDC we are planning on having copies of the poster available there.

Wednesday, November 04, 2009 5:00:00 AM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |