- To speed up start-up times, put all your mappings into a single XML file. I would recommend keeping the files separate during development and having a step in your build process to concatenate them (http://ayende.com/Blog/archive/2007/10/26/Real-World-NHibernate-Reducing-startup-times-for-large-amount-of.aspx).
- Use NHibernate Proxy Generator to generate static proxies (http://code.google.com/p/nhibernateproxygenerator/).
Saturday, 7 March 2009
NHibernate performance improvements
Tuesday, 3 March 2009
March News
This month sees a bag full of Silverlight news. Silverlight is Microsoft’s technology for building cross platform “Rich Internet Applications” and is delivered via a small browser plug-in (similar to the way Adobe Flash works). It provides developers with an subset of the .NET Framework that will run in several different web browsers (Internet Explorer, Firefox, Safari) and several different platforms (Windows, Mac, Linux). Silverlight’s cross platform compatibility and ease of development using the familiar .NET platform makes it a compelling solution for delivering applications to both the enterprise and public internet. There are already some large scale, high profile, implementations. Silverlight powers Photosynth, which I talked about last month.
Microsoft News
· During a mid-quarter update to investors, Steve Ballmer announced that Office 14 (the next version of the flagship productivity suite) will not be available until next year. He also admitted that the open source “OpenOffice” product had forced Microsoft to lower its world-wide pricing for Office. The release of Office 14 will be accompanied by new versions of SharePoint and Exchange. Ballmer also talked about a low cost version of Windows Server, called “Windows Server Foundation Edition”, which is aimed at OEMs who make cheap hardware. This is most likely to help Microsoft penetrate the hosting and web server environments still dominated by Linux. More information on Windows Server Foundation Edition can be found here.
· Microsoft held an MSDN Developer Conference in San Francisco during the week beginning 23rd February. One major announcement was that Microsoft will provide full SQL Server capabilities to Azure though there is some confusion on exactly what this entails. Another thing that did come to light was that Surface, Microsoft’s interactive table top display technology also mentioned last month, will be available in Windows 7 in that Windows 7 will have multi-touch technology and the same APIs. Little fan-fare has been made about this news but it is significant – this will take Surface adoption to the mainstream.
· One new announcement is expected at the MIX09 event in Las Vegas (18-20th March) and that is details of Silverlight 3.0. We already know that Silverlight 3.0 will provide major media enhancements (including H.264 video support, 3D effects and hardware acceleration) in addition to richer data binding and more built-in controls.
· Tim Sneath (Director, Client Platform Evangelism) counters some PR regarding Adobe’s “Air” product (a direct competitor to Silverlight). A follow-up blog details some large and high profile Silverlight projects including the web client for AOL Mail which prove Silverlight’s suitability for the main stream.
· Continuing the Silverlight news, Moonlight (the open-source implementation of Silverlight) has had an official Version 1.0 release. Moonlight enables Silverlight on the Linux platform. In addition, Microsoft has provided the licensed media codecs for Silverlight compatible media as a free download for all Linux users. More information on Moonlight can be found in the official FAQ, the official press release and The Register’s take.
· Silverlight is also compatible with Google’s Chrome browser. Though unofficial at the moment, the smart money says Microsoft will support this eventually. This will give Silverlight compatibility to all browsers that have a notable market share.
· At the Mobile World Congress 2009 event in Barcelona, Microsoft officially announced Windows Mobile 6.5 and the My Phone and Market Place applications mentioned in last month’s news. My Phone provides a free on-line back-up service for Windows Mobile users. Market Place is a web site which ISV’s can use to sell their Windows Mobile applications, similar to Apple’s AppStore for the iPhone.
· Even though Windows Mobile 6.5 has only just been announced, news is starting to filter through about the next release, Windows Mobile 7. It is due next year and will see further convergence of technologies in the Windows and Windows Mobile platforms.
· Microsoft Office Labs takes a look at the future with a video montage of some prototypes floating around at Microsoft.
· Developers should look at the latest MSDN Flash for details of upcoming web casts, events and new downloads. You can subscribe to the MSDN Flash email.
Community News
· The ALT.NET community has announced a conference in the north of England.
· The CodeBetter website now hosts an instance of TeamCity to provide Continuous Integration for open source projects like NHibernate. Unfortunately I can’t find a “build output” location.
Articles & Blogs
· Scott Hanselman on Moonlight.
· A look at VS2010 with WPF front end.
· The ASP.NET MVC tutorials have been updated, this technology has reached Release Candidate.
· Microsoft have also documented the steps to build a sample ASP.NET MVC application.
· A complete overview of testing in Visual Studio 2008.
· Martin Fowler updates his “Technical Debt” article.
Downloads and Tools
· The Release Candidate for Service Pack 2 for Windows Vista has been released to TechNet and MSDN Subscribers. The final version will be available in Q3 2009.
· Silverlight 2 GDR1 - http://www.microsoft.com/silverlight/resources/install.aspx.
· Live Framework Jan CTP - http://neuronspark.com/code/live-framework-tools/.
· Azure Services Training Kit - February Update - http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78&displaylang=en.
· JQuery Version 1.3.2 has been released. You can use this for intelli-sense in Visual Studio. There are examples for using JQuery ASP.NET MVC.
· Rhino Mocks for Silverlight - http://ayende.com/Blog/archive/2009/02/04/rhino-mocks-3.5-ndash-silverlight.aspx.
· Windows Developer Power Tools - http://www.windevpowertools.com/default.aspx (a list of useful developer tools).
· Fiddler - http://www.fiddlertool.com/fiddler/ (allows you to inspect HTTP requests/responses on your local machine).
And finally...
· Google Latitude.
· At last, a .NET tool converted to Java (rather than JSomething becoming NSomething).
Monday, 23 February 2009
Kerberos, Delegation and SQL Reporting Services
- Domain Functional Level is "Windows 2003".
- SQL Reporting Services and SQL Server (the database engine) are installed to different machines.
- Your domain is "acme.com".
- The account running SQL Reporting Services is "acme\SQLReportingServices" (it does not matter which account SQL Server is running under).
- SQL Reporting Services should NOT be run under a system account ("Local System" or "Network Service").
- Your SQL Server machine name is "SQL01".
- Your SQL Reporting Services machine name is "RPTS01".
- The SQL Server instance holding the database is running on the default port (1433).
- setspn -a MSSQLSvc/SQL01:1433 acme\SqlReportingServices
- setspn -a MSSQLSvc/SQL01.acme.com:1433 acme\SqlReportingServices
- setspn -a http/RPTS01 acme\SqlReportingServices
- setspn -a http/RPTS01.acme.com acme\SqlReportingServices
Saturday, 21 February 2009
Clone Detective for Visual Studio
Monday, 16 February 2009
Microsoft's "My Phone" beta registration is open
Monday, 9 February 2009
Silverlight does not support delay-signing
Tuesday, 3 February 2009
Team Foundation Server - label deletion when deleting builds
Monday, 2 February 2009
Extending the evaluation period for Windows Server 2008
Sunday, 1 February 2009
February News
With the beta release of Windows Azure and Windows 7, the forthcoming release of Internet Explorer 8 and many new or updated developer tools, these are eventful times. Here’s a roll-up of what’s been happening.
Microsoft News
- Microsoft have released a Beta version of Windows 7 to the public which is getting very favourable reviews. This beta is regarded as feature complete and is relatively stable. Microsoft are not adding any major new features over Windows Vista aside from a completely new Task Bar interface to make Window management far easier. Improvements are focused on performance. This is for two reasons. Firstly, Vista was heavily criticised for being very sluggish and secondly, sales of Netbooks are growing and Microsoft will want their flagship operating system to run on them. Note that the general availability of the Windows 7 Beta will end on February 10th. The new features that have been added in this version of Windows are covered in some detail by Microsoft watcher, Neowin. It is understood there will be no second Beta release and the operating system will go straight to Release Candidate. This is a statement of confidence from Microsoft and a clear signal to partners that this edition of Windows is coming soon.
- Anyone who missed the news from the Professional Developers Conference last October should catch up on Windows Azure, Microsoft’s new services platform for The Cloud. My write-up can be found here.
- Microsoft have also announced the availability of Internet Explorer 8 Release Candidate 1 which is widely expected to be the last release before the final version. IE 8 has far better support for open internet standards such as those defined by the standards body, W3C. On paper this sounds brilliant, in practice it will risk breaking those millions of web sites explicitly designed to work for earlier versions of Internet Explorer. Historically, web sites have been designed to work on Internet Explorer at the cost of other browsers owing to its overwhelming market share. Microsoft have provided a “compatibility mode” in IE 8 so that it behaves the same as older versions of the browser.
- It was impossible to escape news that the United States of America has a new president. The inauguration was probably one of the most photographed events in history owing to the one million plus people who turned up to see it in person. Microsoft’s Photosynth technology has was used to provide a 3-D view of the event using photographs uploaded by the public. Photosynth is a project that came out of Microsoft Research and has been built with Silverlight, Microsoft’s platform for building cross platform Rich Internet Applications. Silverlight is compatible with Windows, Mac, Linux and works on Internet Explorer, Firefox and Safari web browsers making it a compelling platform. Take a look at some other “Photosynths”.
- Microsoft’s Surface technology is being used to co-ordinate security for the Super Bowl in Tampa, Florida on 1st February. Surface is an interactive table top display technology that has some interesting applications, it is built on the Windows Presentation Foundation (WPF) that was introduced with .NET Framework 3.0.
- Microsoft are rumoured to be launching brand new mobile services as competition to Apple’s MobileMe offering. Called “SkyBox”, it allows user to sync or share phone information such as contact and data and provides back-up and restore features. This is a further expansion to Microsoft’s Software + Services vision, of which Windows Azure, Windows Live and Office Live have already been launched.
- Developers should look at the latest MSDN Flash for details of upcoming web casts, events, new downloads and a look at Visual Studio 2010 and the .NET Framework 4.0. You can subscribe to the MSDN Flash email.
- Information on downloading and installing Windows 7 Beta.
- A lot of resources on Windows Azure are starting to come out, including a getting started guide, a breakdown of the different components that make up Azure and five hours worth of webcasts.
- A comprehensive look at what’s coming in Visual Studio 2010 and .NET Framework 4.0.
- A listing of Silverlight controls.
- Microsoft have pushed out a Release Candidate for the ASP.NET MVC Framework. Version 1.0 is likely to ship next month. The current beta release already has a go-live licence.
- There is a January release of the Windows Azure SDK CTP. This refresh provides better Visual Studio integration with the tooling.
- There is also a January release of the Oslo SDK CTP.
- For people who use ReSharper, version 4.5 has entered the Early Adopter Program (EAP) and you can use this without affecting your existing version 4.1 installation using the Visual Studio hive.
- Microsoft have released version 1.0 of the Web Platform Installer. This is a tool which installs free editions of Microsoft’s entire Web Platform stack including Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and the .NET Framework. This probably not a toolset you would typically use for enterprise level development but is a useful answer where licence costs are an issue or for very small scale projects.
- Microsoft have released the source code and unit tests for the managed Silverlight 2 controls. This is of great use if you wish to extend these controls or build new ones as it shows you the inner workings of Silverlight. This is similar to last year’s release of the source code for the .NET Framework Base Class Libraries.
- Microsoft have put a page onto MSDN that gives a comprehensive listing of all current supported Microsoft SDKs, this page will be updated.
- The open source JavaScript library, JQuery, that ships with now ships with Visual Studio and ASP.NET has seen a release of Version 1.3.1. A JQuery cheat sheet is also available.
- LINQPad is an excellent LINQ tool, it will even let you interactively query SQL databases.
- Download Internet Explorer 8 RC1 for Windows XP and for Windows Vista/Server 2008.
- Chirp is a beautiful Twitter client written in WPF.
And Finally...
- Gmail now supports working off-line.
- “Dogfooding” is the practice of using your own products. Whatever you might do, it is likely to pale when compared to the ultimate dogfooding story.
- A Tester’s view of Developers, which one are you?
- The IT industry is set to be revolutionised by a miraculous labour saving device.
Friday, 30 January 2009
Windows Server 2008 as a workstation (Part 4)
- Windows Server 2008 as a workstation
- Windows Server 2008 as a workstation (Part 2)
- Windows Server 2008 as a workstation (Part 3)
I found two more blogs that also provide some useful tips:
- http://www.win2008workstation.com/wordpress/
- http://www.pronetworks.org/forums/windows-server-2008-rtm-as-a-desktop-os-t101245.html