Archive

Archive for the ‘Web / Internets’ Category

Google releases Chrome 1.0

December 12th, 2008

Epic news, Google has released a 1.0 release of Chrome.

We have removed the beta label as our goals for stability and performance have been met but our work is far from done. We are working to add some common browser features such as form autofill and RSS support in the near future. We are also developing an extensions platform along with support for Mac and Linux. If you are already using Google Chrome, the update system ensures that you get the latest bug fixes and security patches, so you will get the newest version automatically in the next few days.

You can download a windows version today, the Linux & Mac OS builds are still in development.

Cool Tools, Developer, Operating Systems, Web / Internets, Windows, software , , , , , , , , , , , , ,

Microsoft releases Silverlight 2, and OpenOffice 3.0 goes out the door!

October 14th, 2008

A few days ago OpenOffice 3.0 got released after 3 long years of development. You should download a copy and give it ago. To be perfectly honest, because of my MSDN suby’s I never really needed OpenOffice nor did I particularly like v2.x, but v3.0 is a breath of fresh minty air with a ray of bright Sun light beaming down from the heavens. The only times I’ve ever tried was under Linux, and even then I’ve often gone for Abiword instead to avoid the bloat.

It feels far more responsive than the 2.x versions I’ve tried, heck it even loads a helluva lot faster too and doesnt seem to chew up the resources 2.x did.

The Office Word compatibility has improved greatly. Learn more about OpenOffice 3.0 on the Linux Format article.

Then if that wasnt enough, Microsoft today launched Silverlight 2, which finally heads out of beta. Havent had a great deal of time to play with Silverlight but from the demos it looks kick-ass.

.NET / CLR / C#, Developer, Linux/Unix, Operating Systems, Tools / Products, Web / Internets, Windows, software , , , , , , , ,

Mono 2.0 Released today!

October 6th, 2008

Mono has made it to version 2.0 today and brings so much goodness to the table. Some very cool new features and functionality to Mono and promises of speed improvements - which I dont doubt having tried a few things.

From the release notes:

Microsoft Compatible APIs

  • ADO.NET 2.0 API for accessing databases.
  • ASP.NET 2.0 API for developing Web-based applications.
  • Windows.Forms 2.0 API to create desktop applications.
  • System.XML 2.0: An API to manipulate XML documents.
  • System.Core: Provides support for the Language Integrated Query (LINQ).
  • System.Xml.Linq: Provides a LINQ provider for XML.
  • System.Drawing 2.0 API: A portable graphics rendering API.

Mono APIs

  • Gtk# 2.12: A binding to the Gtk+ 2.12 and GNOME libraries for creating desktop applications on Linux, Windows and MacOS X.
  • Mono.Cecil: A library to manipulate ECMA CLI files (the native format used for executables and libraries).
  • Mono.Cairo: A binding to the Cairo Graphics library to produce 2D graphics and render them into a variety of forms (images, windows, postscript and PDF).
  • Mono’s SQLite support: a library to create and consume databases created with SQLite.
  • Mono.Posix: a library to access Linux and Unix specific functionality from your managed application. With both a low-level interface as well as higher level interfaces.

Third Party APIs bundled with Mono

  • Extensive support for databases: PostgresSQL, DB2, Oracle, Sybase, SQL server, SQLite and Firebird.
  • C5 Generics Library: we are bundling the C5 generics collection class library as part of Mono.

Compilers

These compilers are part of the Mono 2.0 release:

  • C# 3.0 compiler implementation, with full support for LINQ.
  • Visual Basic 8 compiler.
  • IL assembler and disassembler and the development toolchain required to create libraries and applications.

Tools

Mono includes profiling tools, the standard development kit tools that are part of the .NET framework

  • Debugger: this is the first release when we support a debugger for managed code.
  • Gendarme: is an extensible rule-based tool to find problems in .NET applications and libraries. Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .NET) and looks for common problems with the code, problems that compiler do not typically check or have not historically checked.
  • Mono Linker: a linker that allows developers to reduce the size of their executables and libraries by removing features from libraries using an XML definition of the desired public API.
  • Mono Tuner: a tool to apply arbitrary user-defined transformations to assemblies. Mono uses this library to produce the Silverlight core libraries from the main system libraries.
  • Mono Documentation Tools: the Mono Documentation framework has been upgraded to support documenting generics and extension methods. The tools can be used to produce online and offline documentation for any any APIs, and are used by the project to document our own APIs.

There are so many goodies in this release if C# 3.0 with LINQ loving doesnt entice you already and the fact that Mono now provides a complete WinForms 2.0 implementation for OS X & Linux.

Whats cooler is the WebBrowser control powered by Gecko that ships with Mono, this would be an ideal drop in replacement for the MSHTML control.

Implementations of Table Layout and Flow Layout Panels and Big Arrays.

Go ahead and download a copy and give it a whirl. My how Mono has come over the years.

.NET / CLR / C#, Developer, Linux/Unix, Operating Systems, Tools / Products, Web / Internets, Windows, software , , , , , ,

HOWTO: Running ASP.NET 2.0 Ajax Toolkit 1.0.x in .NET 3.5 / SP1 IIS

October 1st, 2008

We had a bit of a dilema at work today, we just sent a version of a web application we’ve been working on for the past few months to staging (testing) to our client. Our client mentioned a move to .NET 3.5 is pending on the boxes there and that they need to ensure the products we ship are compatible. Should be right?

We use the Microsoft Ajax Toolkit throughout the product in question, which is totally rad! The last version thats for .NET 2.0 is 20229 released in late February 2008, however with .NET 3.5 SP1 System.Web.Extensions and System.Web.Extensions.Design are already included which elivates the need to _install_ the AjaxControlToolkit.msi on the server itself. The only thing is that we need to redirect all binding references to the newer 3.5 code by using <assemblyBinding> (within <runtime>) in the Web.Config also known as Assembly Binding Redirection.

Our web-server setup:

Product Setup:

  • ASP.NET 2.0 (3.5 still uses the .NET 2.0 ASP.NET engine)
  • AjaxControlToolkit - v1.0.20229.20821

Compiled with Visual Studio 2005 SP1.

Within the <configuration> elements in the Web.Config file, add the following:


<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31BF3856AD364E35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

NOTE:
If your developer machines do not have .NET 3.5 SP1 installed then the above lines will need to be commented out as the CLR will fail to attempt to load newer versions.

Thats it! You dont need to update any assemblies or any other Web.Config settings.

.NET / CLR / C#, Developer, Web / Internets , , , ,

The Slick New DeveloperFusion.com is ’soft-launched’

September 29th, 2008

DeveloperFusion.com

DeveloperFusion has just soft-launched its slick new look and feel, go take a looksy and drool. From the humble beginnings, to the golden years and the times of change we have finally come to the slick new Web 2.0 era - maybe a tad late but damn it was worth the wait!

James is now full time at DF working away at making DF the greatest community driven site around.

.NET / CLR / C#, Design Patterns, Developer, Java, Tools / Products, Web / Internets, software , , , , ,

Microsoft will support JQuery in the future!!!

September 29th, 2008

Mondays are always a drag, the weekends over, you have a full 5 days to get through before the next weekend - a steep contrast to my uni days, when all hope was pinned on waiting for the end of semester.

Yesterday Scott Guthrie posted some very exciting news about Microsoft supporting the JQuery project in the future.

I’m excited today to announce that Microsoft will be shipping jQuery with Visual Studio going forward.  We will distribute the jQuery JavaScript library as-is, and will not be forking or changing the source from the main jQuery branch.  The files will continue to use and ship under the existing jQuery MIT license.

We will also distribute intellisense-annotated versions that provide great Visual Studio intellisense and help-integration at design-time.

This is huge news and a very welcome suprise - especially for a Monday.

But wait, theres more:

Going forward we’ll use jQuery as one of the libraries used to implement higher-level controls in the ASP.NET AJAX Control Toolkit, as well as to implement new Ajax server-side helper methods for ASP.NET MVC.  New features we add to ASP.NET AJAX (like the new client template support) will be designed to integrate nicely with jQuery as well.

Can things get any better?

We also plan to contribute tests, bug fixes, and patches back to the jQuery open source project.  These will all go through the standard jQuery patch review process.

Turns out to be a not so bad Monday after all, now if we could just work on the traffic around Melbourne.

.NET / CLR / C#, Developer, Web / Internets , , , , ,

New Microsoft Advertisment: Bill Gates feat Jerry Seinfeld - New Family

September 12th, 2008

The next addition to in the series for Microsoft staring Bill Gates & Jerry Seinfeld trying to look normal.

A shorter version is also available with part 1 and part 2 in WMV format. Compared to the first release which took the two gentlement to Shoe-Circus I think this new (longer) version is far better.

“I Love a condiment with Booze in it.” - Jerry

“Because as we discussed, you and I are a little out of it… you’re living in some kind of moon house hovering over seatle like the mothership… I got so many cars I get stuck in my own traffic.” - Jerry

“The fact that a design uses inheritance and polymorphisim doesnt make it a good design.” - Bill
“…Are there any monsters in the story?” - Little kid in bed
“Yes! but its ok, theres a firewall.” - Bill

“Power off… ok, power on.” - Jerry whilst Bill doing the Robot

Personally I quite like this one, and the fact that Mr Gates does the robot - I mean come on….

.NET / CLR / C#, Developer, General, Its My Life, Operating Systems, Tools / Products, Web / Internets, Windows, humour , , , , , , ,

TIP: Quick tip on how to Debug ASP.NET Web Application Deployed in IIS

September 8th, 2008

Heres a real quick tip (+ info) on how to debug a ASP.NET Web Application/Site when running inside IIS itself. After the launch of Whidbey (Visual Studio 2005) we didn’t really need to have Internet Information Services (IIS) installed thanks partly to the bundled hosting engine (based on Cassini). But sometimes - just sometimes  :roll: - when you deploy your ASP.NET web apps to IIS you’ll find things break - like we just experienced - unlike running via the internal web-server.

To debug an already running IIS process - with the project loaded.

  1. Debug > Attach to Process
  2. Select either aspnet_wp.exe or w3wp.exe. (see note below)
  3. Enter a break-point somewhere in your code
  4. Visit the page/refresh.

Sometimes you may need to untick “Enable Just My Code (Managed Only)” in the Options > Debugging list.

Why the aspnet_wp.exe and w3wp.exe difference?

If the IIS server is running under IIS 5.0 Isolation Mode, then you need to attach to the ASP.NET Worker Process (aspnet_wp.exe) where as if your running under the Worker Process Isolation Mode (which is the default in IIS 6.0) you will need to attach to the w3wp.exe process.

From the TechNet Documentation:

Worker process isolation mode delivers all the benefits of IIS 6.0 new architecture: robust application pooling; automated restarts, scalability, debugging; and finely-tuned performance tuning. Web applications run with the Network Service identity, which provides a security advantage: the Network Service account has lower access privileges than LocalSystem.

In version 5.x of IIS the ASP.NET ISAPI Filter (aspnet_isapi) which is an unmanaged piece of code that runs within the inetinfo.exe process that offloads the work to the ASP.NET Worker Process (aspnet_wp) that trickles the workload down the rabbit hole.

However in IIS 6.x the process is a little different, specifically we have a kernel mode HTTP driver (http.sys) which ships apart of the Windows Networking subsystem. This acts as the gateway for the incoming requests for the web-server. It first parses the request and dispatches it to the IIS 6.0 Worker Process (w3wp.exe) which then loads the ASP.NET ISAPI (aspnet_isapi) and follows on down the rabbit hole.

Read the TechNet articles on more information about the HTTP Protocol Stack in IIS 6.0.

Just how far down does the rabbit hole go?

If your interested in learning more about the internals of the ASP.NET Worker Process and inparticular how ASP.NET works ‘under the hood’ you’re best to look at Rick Strahl’s *excellent* article - A Low-Level look at teh ASP.NET Architecture which just got updated late last month (24th)!

.NET / CLR / C#, Developer, Operating Systems, Web / Internets, Windows , , , , , , , , ,

Uninstalling Google Chrome

September 4th, 2008

So I’ve been high on Chrome the last day or so, but alas I had to uninstalled it.

Uninstalling Google Chrome

Nicely done Google.

Developer, Its My Life, Operating Systems, Tools / Products, Web / Internets, Windows , , , ,

Google Chrome Released!

September 3rd, 2008

As posted and you would have no doubt have heard, Google has entered the bra-ow-sar wars with their own take on how the web should be with Google Chrome. They just released the first beta for Windows XP / Vista today so go on and download a copy.

First impressions : WOW! Its ridiculously fast - taking Digg and PageFlakes as a benchmark - and the memory footprint is quite a lot better (23Mb) than the Firefox (68Mb - Safemode), Opera (41Mb) and Internet Explorer (52Mb) counterparts. As expected, each tab is a new child process to the main Chrome process, so closing a tab instantly releases the resources held by the child process.

Instructions on grabbing the sources - sucking it down the tubes as I write - is available on the Chromium website.

UPDATE: The Register has a humourous look at the Google Comic, good for a lunch-break read.

Developer, Tools / Products, Web / Internets , , , , , ,