xoops token auto change Fri. Nov. 28th, 2008 3:12 AM

December 1, 2008 – 6:00 pm

xoops token auto change
Fri. Nov. 28th, 2008 3:12 AM 1 RB PHP | xoops 0 comments 0 auto create and check token with different xoops versio
Lenny Grover

Fedora 10 is a 10
Fedora releases usually generate more yawns than a Ben Affleck movie for me but this time, they’ve gone the extra mile. I placed Fedora at number 7 in my 10 Best Linux Distributions post but now that I’ve seen Fedora 10, I may have to reorder the list and place Fedora at number 5 or 6. Is this release really that good? Yes, it is. With an improved boot process, much needed printing enhancements, and built-in virtualization; Fedora 10 is worth a serious look. Its full list of new and improved features are: 1) Faster Boot Process 2) New Artwork and Themes 3) Faster and Better Printing

An Easier Way to Deploy Ubuntu, CentOS
Ubuntu and CentOS are now in the rPath. The company yesterday began shipping a version of its rBuilder build and release management system for Linux that adds those distros; the tool previously worked only with Novell SUSE Linux Enterprise and its own rPath Linux. rBuilder packages a Linux application with essential parts of its underlying operating system into a single, virtualized image. That image can then be delivered via network, disc or other means, or installed on dedicated hardware and deployed as a stand-alone appliance. According to the company, this approach provides IT…

Things I Learned at QCon Floyd Marinescu asked me to

December 1, 2008 – 10:00 am

Things I Learned at QCon
Floyd Marinescu asked me to organize an open-spaces session at the QCon Conference in San Francisco. I learned interesting things at both open spaces and regular sessions.

Serializing Objects to Isolated Storage in Silverlight 2
[Cross posted from: SilverlightForBusiness.net ] Silverlight 2 does not have a BinaryFormatter like the full framework does so you have to take a different approach to serializing data to Isolated Storage. However there is a simple solution by using the DataContractSerializer. You will need to add
Ian Blackburn

From All of Me, To All Of You
Its December and in the spirit of Christmas I thought I’d share something with you lot. I’m not an all out programming geek, I’m also a professional DJ. Or at least I used to be. These days I only do one gig a month, so I guess its fair to call it a hobby. For the last few years I’ve put together
Anders Nor s

Hello, F#!

hellofs 

This is a quick post to break my writers block.

download

Dynamically Adding User Controls at Runtime Im trying to dynamically

December 1, 2008 – 5:00 am

Dynamically Adding User Controls at Runtime
Im trying to dynamically add controls such as text boxes, radio buttons, check boxes, etc to a user control(ascx page). Im basically trying to build a very simple faceted search. Here is the scenario the user defines a string that specifies what is to appear on the page, some thing like…

TestDriven.Net 2.10: ‘Go To Reflector’ now supports generics

Over the past year the ‘Go To Reflector’ command has become a first class citizen inside TestDriven.Net. You will find the ‘Go To Reflector’ button on many different context menus inside Visual Studio. The ones I use most often during development are the ‘Code Context’ and ‘Project Reference’ menus. When I’m debugging I tend to use the ‘Call Stack’ and ‘Modules’ context menus.

For a long time I’ve put off attempting to add support for generics to the ‘Go To Reflector’ command. The Visual Studio CodeModel and StackFrames APIs don’t really support generics, so I wasn’t even sure if this would be possible. This was becoming a problem with more and more code being written that uses generics. I decided it was time to bite the bullet and see what could be done.

I’m happy to say that TestDriven.Net 2.10 now has pretty decent support for generics.

source

You can ‘Go To Reflector’ from your generic class definitions. Generic methods, classes, fields, properties and nested classes are all supported.

reflector

You can round trip and ‘Go To Source Code’ from inside Reflector. I often find using Reflector is the fastest way to navigate my own code.

callstack 

When you’re debugging you can ‘Go To Reflector’ from any stack frame in the ‘Call Stack’ window. This is particularly useful when the debugging option ‘Just My Code’ is turned off. When an exception is thrown you can quickly see what caused it by selecting the top of the call stack.

Note: For updated ‘Go To Reflector’ on ‘Call Stack’ support you will need to be using TestDriven.NET 2.10.2173 or later (I released this a few days after the original 2.10 build). You can read the release notes and download the latest version from here.

TestDriven.Net 2.10: Smart Build

There are a number of new features in TestDriven.Net 2.10 that I want to highlight (apart from the VS 2008 crash workaround). The one I’m going to focus on here is subtle, but significant I believe - especially for people working with large solutions.

Smart build is a new optimization that allows you to skip the build step before test execution when there are no source code changes. Anyone working on a solution with a large number of projects will know how time consuming the build can be before any tests can be executed. Somewhat surprisingly this remains true even when no actual source code edits have been made and nothing needs to be compiled. I’ve had reports of the build check taking as long as 45 seconds before any tests could be executed! (Thanks to Brian Genisio in particular for bringing this to my attention)

The new smart build feature overcomes this particular problem by monitoring your solution for source code edits and automatically skipping the build step if there is nothing new to compile. This can significantly improve performance when running multiple tests in the same solution. For example there is now no penalty for choosing to execute all tests in a fixture after an individual test starts to pass: a common usage pattern.

I will elaborate further on other new features in future posts. In the meantime you can read the latest release notes and download TestDriven.Net 2.10 from here. If you find any issues, please don’t hesitate to contact me.

Some Cool PowerShell Scripts For Free
One of the more interesting PowerShell books currently in print is Lee Holmes?s most excellent book, PowerShell Cookbook. This book contains loads of samples and examples of how to use PowerShell. Although the first chapter of the book contains some introductory PowerShell background, this is very m
Thomas Lee

Hello, F#!

hellofs 

This is a quick post to break my writers block.

download

The Morning Brew #233 Finally caught up with my reading

November 30, 2008 – 9:00 pm

The Morning Brew #233
Finally caught up with my reading thanks to a quiet day of posts due to Thanksgiving. Software xUnit.net 1.1 Released - Brad Wilson announces the release of xUnit 1.1. This updated release contains breaking changes, so be sure to read the blog posts about the release before upgrading. Are You Fuss
Chris Alcock

Configuring SharePoint Forms Authentication using SQL Server In this article,

November 30, 2008 – 4:00 pm

Configuring SharePoint Forms Authentication using SQL Server
In this article, Steven demonstrates the steps required to configure forms authentication in SharePoint using SQL Server as a database engine. He begins explaining the idea behind the article and then examines the configuration of SQL Server including the creation of the database, establishment of the connection, adding users, and the configuration of the new database with users. Towards the end of the article he provides the procedure to be followed to create a site using SharePoint in a step-by-step manner. Steven illustrates the concepts covered in this article with the help of relevant screen shots for better understanding.
Steven Barden

Come party with us - Manchester - 3rd December (Free beer and food!)
Guys, Come and party with us on the 3rd December at the Circle Club in Manchester 18:00 onwards. http://sessions.screenedit.com/ We?ve even got a few design specialists who?ll be talking briefly! Please re-blog this where relevant. Cheers, Phil.
Phil Winstanley

Website Problems
Apologies if you’ve been trying to download files or access demos hosted on my website on the mikeo.co.uk domain. My hoster sent me an email @9.15pm the day before I set off (very early) for my Caribbean holiday: “As part of a continuing effort to provide the highest quality service for our va
Mike Ormond

Finding PowerShell Links ? using Technorati As a PowerShell addict,

November 30, 2008 – 10:00 am

Finding PowerShell Links ? using Technorati
As a PowerShell addict, I?m constantly in search of more information about PowerShell. Like most such addicts, I look at the PowerShell team blog, the various community sites, etc all on a daily basis. Another useful site is blogging site Technorati. See the search page at: http://technorati.com/sea
Thomas Lee

Building Web Sites with ASP.NET - Part 2
In this second part of the series, Brian demonstrates how to add AJAX features for an application that already has been built using the server-based approach of posting back and processing data on the server. This article shifts the application to doing more work on the client. After providing a detailed overview of the topic, he examines the steps required to implement AJAX features with the help of a sample application which renders news content using the ListView control with the help of relevant source code.
Brian Mains

displaying search results in grid
Hi, i want to create a search result page in which i want to display results in grid, grid must contain text box to take user input . In grid results must come from the database. and grid must also contain the link button. Please Help me out Thanks in advance.

Make calendar control popup when textbox gets focus
Hi, i’m new to ASP.NET, been using PHP for a while but now getting into ASP.NET/C# and was wondering how i would go about accomplishing the task in the title. I’m still an ASP noob right now so any suggestions/help is welcome. To do something like this normally I would set onfocus on the textbox…

Silverlight NUnit ProjectsI’ve been doing some experiments to find out

November 30, 2008 – 3:00 am

Silverlight NUnit Projects

I’ve been doing some experiments to find out if it’s possible to execute NUnit on a Silverlight project. I knew that Visual Studio 2008 and Expression Blend both host Silverlight for use in the designer window. It turns out that rather than host a separate instance of the CoreCLR, the designer simply loads the Silverlight assemblies into the host runtime. This simplifies the business of creating a compatible unit testing framework considerably!

With a little bit twiddling, I’ve managed to tweak the ‘nunit.framework’ assembly so that it’s compatible with Silverlight projects. In order for your tests to execute successfully, you also need to ensure that all Silverlight assemblies (except ‘mscorlib’) are set to ‘Copy Local: True’. After this is done you can run, debug and even do code coverage on your Silverlight unit tests!

Because creating one of these projects is a fiddle to set up, I’ve created Silverlight NUnit Project template that does the work for you. To install the template simply open the ‘SilverlightNUnitProject.vsi’ file and ignore the unsigned content warning. Once installed, you will find it under the ‘Visual C# / Silverlight’ section of the ‘New Project’ dialog. You can download the template from here.

SilverlightNUnitProject 

To execute one or more unit tests you should use ‘Run Test(s)’ rather than ‘Test With > Silverlight’.

RunTests

In summary you now have 3 options when testing Silverlight projects.

  1. For unit testing you can create a Silverlight NUnit Project and use the usual TestDriven.Net commands.
  2. For integration testing (within the context of a browser) you can use the Silverlight Testing Framework.
  3. For spelunking individual methods inside the CoreCLR you can use ‘Test With > Silverlight‘.

I’d be interested to hear how you get on.

PowerShell Bloggers via Yahoo Pipes
Jakul has created a Yahoo Pipes mashup, PowerShell Bloggers, that keeps up with (at present) 42 separate PowerShell (or PowerShell related) web logs. This includes my own Scripts blog! This is both a useful end product to help folks keep up with other community generated content, but Pipes is also a
Thomas Lee

Can Windows 7 Save Microsoft From Itself?
I think we can safely say that Windows Vista was a flop. The only one that doesn’t seem to know it is Microsoft. Or does it? This week at WinHEC, the company introduced a series of capabilities in Windows 7 that it says will “make it easier for hardware partners to create new experiences for Windows PC customers.” The move is intended to “rally hardware engineers to begin development and testing” for its nascent operating system. According to a recent report on downloadsquad.com, Windows 7 could be available as soon as soon as the middle of next year, but Microsoft’s original promise in 2007…

ANN: Smart Device Framework 2.3
Today, we released Smart Device Framework 2.3. This is the long awaited release of the Smart Device Framework for Visual Studio 2008. It’s been a painful path to get to this point, what with contending with frustrating bugs in Visual Studio 2008 forms designer and all, but we finally got the
Neil Cowburn

CodeSnip: How to Add an Interval to a Time Stamp

November 29, 2008 – 9:00 pm

CodeSnip: How to Add an Interval to a Time Stamp Field Being Selected Through a Local Variable
The Teradata syntax does not allow any time interval (i.e. Hr/Min/Sec) to be selected through a local variable to be added to a Timestamp value. It only permits the exact interval literal being put through a pair of quotation marks. This creates some serious limitations where the interval to be added is used through a local variable for manipulation. The aim of this Code Snippet is to provide a workaround for the use of local variables. Deepankar provides a short description of the problem followed by the suggested solution with the help of the source code. He also provides a snapshot of the final output with relevant analysis.
Deepankar Sarangi

Probem With Cross-Domain Silverlight Calls I’ve just been trying to

November 29, 2008 – 3:00 pm

Probem With Cross-Domain Silverlight Calls
I’ve just been trying to get a Silverlight control to make a cross-domain HTTP POST call using an experimental Silverlight build of XML-RPC.NET. I placed a client access policy file on the root of the server but I was still getting a System.Security.SecurityException when I tried to make the call. I
Charles Cook

Button instance
Is it possible to drag an instanc of a button to the stage and in the over state have text unique only to that instance. I’m not sure how to do this. I would like to have one symbol and several button instances that have unique text in the over state. Or, do I have to make new symbols for each…

Product Review: WHMCS
Anand has been constantly searching for products to get reviewed and he found a popular web based billing and support solution. He immediately put it to test and records his observations with the help of relevant screen shots. He also provides a few suggestions for improving the quality of the product.
Anand Narayanaswamy

Early Christmas from Iron Languages and DLR Tomorrow may be

November 29, 2008 – 7:00 am

Early Christmas from Iron Languages and DLR
Tomorrow may be Thanksgiving, but the Microsoft DevDiv dynamic language teams are trying to make it feel like Christmas with three separate pre-holiday releases. IronPython 2.0 RC2 We were really hoping to only have one release candidate, but we ended up with a couple of signific
Harry Pierson

Paypal Development - Recurring Payment (need advice/help)
Hi all, I am currently developing a recurring payment gateway for a website using Website Payment Pro using ASP.NET ~ VB. i was thinking if im on the right track because this is my first time to do this PayPal integration. :S Please can anyone give me some advice where to start or what to do…

TestDriven.Net 2.11: Parameterized NUnit Tests

TestDriven.Net has always supported parameterized test methods when used with the MbUnit testing framework. When using MbUnit, it is common for a single test method to execute multiple tests with different parameter inputs. The most famous of these test types is the MbUnit RowTest.

Until now there has been little reason to add support for executing parameterized tests using NUnit (historically NUnit has only supported parameterless test methods). However Andreas Schlapsi has recently written an implementation of MbUnit’s RowTest using NUnit 2.4’s Addin extensibility mechanism.

I’ve updated TestDriven.Net 2.11 to better support NUnit add-ins and enable the targeting of RowTests and other parameterized test types. This version also includes a workaround for a log4net related issue that was causing a noticeable delay when launching the NUnit 2.4 GUI. You can find the release notes for TestDriven.Net 2.11 here.

To install the RowTest Extension for NUnit you will need to do the following:

  1. Download and install TestDriven.Net 2.11.
  2. Download the RowTest Extension for NUnit 2.4.5 (Binary).
  3. Create a directory called ‘addins’ in ‘%ProgramFiles%\TestDriven.NET 2.0\NUnit\2.4′.
  4. Copy the ‘NUnitExtension.RowTest.AddIn.dll’ file into the ‘addins’ directory (don’t put any non-assembly files there).
  5. Add a reference to ‘NUnitExtension.RowTest.dll’ from your NUnit test project.

 RunRowTest

You can then start writing and executing MbUnit style RowTests inside your NUnit projects! You can find Peli’s original RowTest example here.

TestWithNUnit24

To view your RowTests inside the NUnit GUI you will need to use ‘Test With > NUnit 2.4′. You will find this option on the ‘Solution Explorer’ project context menu.

NUnitGui

Thanks to Wayne Brantley for letting me know about the RowTest Extension for NUnit.

IronPython and Linq to XML Part 3: Consuming Atom Feeds
Now that I have my list of Rock Band songs, I need to generate a Zune playlist. I wrote that Zune just uses the WMP playlist format, but that?s not completely true. Media elements in a Zune playlist have several attributes that appear unique to Zune. Because of Zune Pass, Zune supports the
Harry Pierson

Support me and the air ambulance
I’m just back from a short 5 mile run this evening as my preparations for the Norwich Half Marathon draw towards a close. I’m really looking forward to the event (not for the pain, wind or rain) but hopefully for a sense of achievement in getting around (I hope) and also, importantly in raising mone
John Puddifoot