|
 |
 Thursday, November 25, 2004
Consuming Webservices over HTTPS (SSL)
Today, I tried to implement SSL-based transport security for the webservices calls between our smart client running on NT4 and the server. Additionally, the client was supposed to include a user certificate in each call.
For the server configuration, IIS help provided a pretty good step-by-step tutorial which made it really easy.
The client certificate can be included with the following code (from MSDN):
// Load the client certificate from a file. X509Certificate x509 = X509Certificate.CreateFromCertFile(@"c:\user.cer"); // Add the client certificate to the ClientCertificates property of the proxy class. bank.ClientCertificates.Add(x509);
A blog post by Jan Tielens described the steps necessary to change the client code so that it accepts the servers SSL certificate.
Finally, I wanted to take the client certificate from Windows Certificate store instead of the file system and noticed that currently (.NET FX 1.1) there is no managed implementation for this scenario. A webpage by Michael Gallant explained two possibilities for that: one using the unmanaged CAPICOM dll and the second by P/Invoking the CryptoAPI. I decided for the second due to lower deployment hassle and it worked without problems.
To enumerate all certificates in the stores you can use the function CertEnumCertificatesInStore. .NET Framework
11/25/2004 8:54:33 PM (W. Europe Standard Time, UTC+01:00)
|
|
Back from Vacation
I am back from a wonderful trip to Australia and already heads down in a new project with the main focus on smart client, webservices, WSE 2.0 etc.
First thing I noticed when I got back was that I couldn't dial in to Microsoft Corpnet with my laptop. The hotline told me that my computer account was deleted after such a long inactivity. Seems to be really bizar for an American company that an employee is away for 5 weeks without having left the company or being on sabbatical. :) General
11/25/2004 7:40:18 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Monday, October 18, 2004
Vacation
I am out on vacation for nice 5 weeks to Australia :)
So no HierarGrid and ASP.NET support for the next month. I am sure the geeks on www.asp.net/forums will jump in... General
10/18/2004 4:42:57 AM (W. Europe Standard Time, UTC+01:00)
|
|
 Friday, October 15, 2004
Edit&Continue in C#
Soma announces:
"One of the top feedback requests from our customers is support for Edit & Continue (E&C) in C# in Visual Studio 2005. I am excited to announce that the C# team took your feedback to heart and has added support for E&C in Visual Studio 2005."
.NET Framework
10/15/2004 6:30:29 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Monday, October 11, 2004
 Wednesday, October 06, 2004
 Friday, August 20, 2004
 Tuesday, August 17, 2004
 Wednesday, August 11, 2004
MSN Web Messenger Beta
In case you haven't seen it yourself there is now a web version of MSN Messenger on http://webmessenger.msn.com/.
This is excellent news for people like me who are often behind firewalls at customer sites and cannot connect directly to the Messenger service. Software
8/11/2004 2:26:43 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Tuesday, August 10, 2004
 Monday, August 09, 2004
New HierarGrid version 1.7
The new release 1.7 of the HierarGrid contains the following changes:
- Feature: TemplateDataMode.RunTime makes it possible to choose between SingleRow and Table for each relation at runtime (thanks to Tom Schmidt)
- Feature: child templates are displayed for rows in selected state (thanks to Patrick Martin)
- Bugfix: state of Checkboxes in child templates is now correctly preserved (thanks to Paolo Falabella)
- Bugfix: corrected Mozilla DHTML incompatibilities (thanks to David Tétreault)
Download here. HierarGrid
8/9/2004 12:45:40 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Monday, July 26, 2004
SQL Server 2005 (Yukon) Beta 2 released
Today SQL Server 2005 has been released to the MSDN subscriber downloads. If you try to install it on a machine that has Whidbey Beta 1 already installed you'll get a asking you to deinstall the .NET Framework. This is because Yukon ships with a slightly newer Framework build (40607.42) than the original Beta 1 of Whidbey (40607.16).
Just go to Add/Remove Programs and deinstall the .NET Framework - no need to deinstall Visual Studio 2005 itself. After that, you should be able to install Yukon which copies the newer version of the Framework to the disk.
Ready is your side-by-side install of Whidbey Beta1 and Yukon Beta2! .NET Framework
7/26/2004 6:47:46 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Friday, July 09, 2004
Feedback and question mails vs. SPAM
If you send me an email and wonder why I never get back to you, maybe it has been stuck in my SPAM filter. My mail software blocks and sends me a list of all potential SPAM and virus mails and I just skim the subjects. So please make sure you DON'T use a trivial subject like "question" or "hi" and rather include "HierarGrid", "ASP.NET" or whatever might catch my attention. DynamicCtrlPlh | HierarGrid | Version Switcher
7/9/2004 3:58:30 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Wednesday, July 07, 2004
 Monday, July 05, 2004
 Tuesday, June 29, 2004
Visual Studio 2005 Beta 1 has shipped
Today at Teched Europe 2004, Visual Studio 2005 Beta 1 (formerly code-named Whidbey) is announced. On the new Developer Center site you can download two sets of products:
- The full Visual Studio 2005 Beta, available to MSDN Subscribers initially; and by order for non-subscribers for a small fee in the near future.
- The Visual Studio 2005 Express Beta Products, available for free public download. "The Express products are lightweight, easy to use, easy to learn tools for hobbyists, enthusiasts, and students who want to build dynamic Windows applications and Web sites."
The other interesting site when developing with Whidbey is the MSDN Product Feedback Center, where you can submit Feature Requests and Bugs directly to the product teams, get notified of fixes, rate on the importance etc.
The MSDN documentation is available here. .NET Framework
6/29/2004 11:16:01 AM (W. Europe Standard Time, UTC+01:00)
|
|
FileDisassembler versioning and Reflector 4.0.9.0
The new reflector build 4.0.9.0 is available vie Help|Check for updates.
As I am receiving many emails asking "Where is FileDisassembler for Reflector version X.X.X.X?" I wanted to point out, that not for each new Reflector build there needs to be a new FileDisassembler build.
Lutz changes the assembly version number only when breaking changes affect add-in writers. Therefore, a FileDisassembler build should work with a couple of different Reflector builds. Whenever he includes breaking changes, I am notified before and try to get a new version of FileDisassembler out simultaneously.
So please ask me only for new version, if you get the error message: "The following add-in(s) failed to load. Please check if you have the correct version installed." FileDisassembler
6/29/2004 10:27:21 AM (W. Europe Standard Time, UTC+01:00)
|
|
 Thursday, June 24, 2004
 Sunday, June 20, 2004
 Thursday, June 17, 2004
 Tuesday, June 01, 2004
 Sunday, May 30, 2004
New HierarGrid version 1.6
The new minor release 1.6 of the HierarGrid contains the following changes:
- Bugfix: corrected problem with non-unique IDs that were generated for "ChildTemplate" panel in a DataMode=Table HierarGrid
- Bugfix: child templates were inserted into first column when PagerStyle was set to "Top"
- Bugfix: resetting the DataItem after inserting the child templates for further custom processing
- Bugfix: copying selected state for <select> tags
Download here.
With the first bugfix, the FindControl call to access a child template changes to Control c=HierarGrid1.Items[i].Cells[1].FindControl("DCP").FindControl("Panel").FindControl("Panel_[PanelId]").FindControl("ChildTemplate_[PanelId]").FindControl("[InnerControlId]"); HierarGrid
5/30/2004 9:00:33 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Wednesday, May 26, 2004
 Saturday, May 22, 2004
 Wednesday, May 05, 2004
 Tuesday, May 04, 2004
 Monday, May 03, 2004
Advanced HierarGrid demo application
Nigel Parham was kind enough to create and let me publish a simplified version of his business application that uses the HierarGrid. Included in the app are samples for:
- sorting, filtering - paging with variable page size and customized style - row highlighting - export to Excel - keyboard support
Please note that due to simplifying the original application, data access code was moved into the code-behind files thus resulting in methods that exceed a screen page. Of course, that should not be considered a best practice :) Furthermore, as any code on my site it is provided as-is with no warranties, and confers no rights - please consider this as a quick tutorial or proof-of-concept.
The sample app can be downloaded here ("How to get started") and there is also a separate word document that describes installing it. Thanks Nigel!
HierarGrid
5/3/2004 3:44:26 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Thursday, April 29, 2004
Interesting Forbes article about the commercialization of linux
This article talks about the trend of linux distributors to commercialize the OS and cites Rick Carey, a former proponent of OSS who was Chief Technology Architect at Merril Lynch and now Bank One: "The companies that are trying to treat Linux like it's regular software and have a business model based on per-CPU or per-desktop licensing worry the heck out of me. For us, that makes Linux prohibitively expensive. And it makes a stronger case for us to go Windows". Technology
4/29/2004 1:38:33 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Tuesday, March 30, 2004
Article on ASPAlliance about LoadControl vs LoadTemplate
While developing the HierarGrid I noticed that there are some subtle differences between loading UserControls with Page.LoadControl and Page.LoadTemplate. Without digging deeper into that I decided to add a property “TemplateControlMode” to the HierarGrid so that the developer can choose which way to load the template.
After some users asked what the "right" setting for the property is or reported exceptions that were related to choosing the "wrong" setting, I decided to take a look at the two implementations to find the differences. My new article on ASPAlliance explains what I've found. ASP.NET | HierarGrid
3/30/2004 2:55:27 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Friday, February 20, 2004
News about the HierarGrid
I've found an interesting page on CodeProject that references the HierarGrid: Tony Truong wrote an article about the ExDataGrid, which has the ability to expand and contract datagrid columns rather than datagrid rows as the HierarGrid does. Unfortunately, he decided not to build his own custom control instead of extending the HierarGrid to support both requirements. But it looks like he did a good job anyway.
Furthermore, I got an email from Ariel Dolan who pointed me to his homepage which integrates the HierarGrid with filtering, sorting and paging. Enter "555" into the textbox and hit search. Then click on the "Filter Sort/Hit table" and see the hierarchical grid in action.
Didier Depretz sent me a snapshot of his application which also shows the possibilites of the HierarGrid. HierarGrid
2/20/2004 6:22:48 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Monday, February 02, 2004
"Behind the scenes of ASPX files"
A nice article called Behind the scenes of ASPX files by Natty Gur describes how dynamic compilation in ASP.NET works and extends the last paragraph of Dino's article The ASP.NET HTTP Runtime I wrote about a couple of months ago.
Still, I am missing an article that explains how dynamic code generation in ASP.NET works from an ASPX page with a couple of markup tags through the PageParser into a .cs file that is then compiled into a .NET assembly. ASP.NET
2/2/2004 12:42:20 AM (W. Europe Standard Time, UTC+01:00)
|
|
 Tuesday, January 06, 2004
 Saturday, January 03, 2004
Using the Hauppauge remote control with MCE
Another MCE related post:
On a thread on TheGreenButton.com I found a nice enhancement to the Irremote.ini file that makes the Hauppauge remote control work with MCE. I do have some problems with the shortcuts that include special keys like Ctrl, Alt etc. (I have to press several times until it recognizes it) but it works.
Link is here and search for "IR.exe". One additional comment: delete the remarks like "; Up arrow" from Kenzos listing.
Update: updated the link MCE
1/3/2004 12:11:26 AM (W. Europe Standard Time, UTC+01:00)
|
|
 Wednesday, December 31, 2003
IT-Outsourcing on Red Herring
Interesting take on IT outsourcing in Red Herring. Bottom line: "How much does outsourcing really save companies? According to a November 2003 report by People 3, only 21.1 percent of companies surveyed reported a cost savings of greater than 20 percent due to IT outsourcing, while 18.4 percent did not achieve any cost reductions, and 9.2 percent actually had an increase in costs from outsourcing contracts."
“Many companies often neglect to factor in all costs associated with managing outsourcing engagements, which average 4.5 percent of the total contract value and can be as high as 15 percent,...”
Technology
12/31/2003 11:12:40 AM (W. Europe Standard Time, UTC+01:00)
|
|
 Tuesday, December 30, 2003
Media Center 2004 Community Sites
Now, that I've set up Windows XP Media Center Edition 2004 on my brand new Dell Dimension 8300 with ATI Radeon 9800XT and Hauppauge WinTV PVR350, I wanted to know how to burn the recorded dvr-ms files to a DVD so that my standard DVD player is capable of displaying them.
During my Google search I came across these three cool MCE community sites:
- TheGreenButton.com: informative forum, good FAQ and download section
- xpMCE:good forum and FAQ as well
- shspvr.com: which is mostly related to the Hauppauge WinTV card
The answer to my question is:
The dvr-ms format is a MPEG-2 stream extended by some metadata. For further reference see this MSDN article. Sonic MyDVD and Nero's newest version 6.3 are able to import these files and burn them onto DVD.
However, when I try to import a recorded TV show using either program, it suddenly locks up with a Watson screen. Anyone aware of what's wrong? MCE
12/30/2003 11:30:23 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Monday, December 29, 2003
 Monday, December 08, 2003
 Friday, December 05, 2003
 Sunday, November 23, 2003
 Wednesday, November 19, 2003
 Monday, November 17, 2003
Codenames, Technologies and Waves: Which technology ships when?
I've heard a couple of times that people - especially who have not been to the PDC - are a bit confused about all the new codenames and the technologies behind them. While it seems easy to google for more information about each it is also important to know which technology wave they belong to.
The first upcoming technology wave is made up of Yukon, the next version of SQL Server and Whidbey, the 2.0 version of the .NET Framework and Visual Studio (currently the version number is still 1.2 which is expected to be changed prior to the release). They are supposed to ship simultaneously in late 2004 (I think that's what I've heard at PDC - correct me if I'm wrong).
The second one is the "Longhorn wave", where Longhorn is the codename for the next version of the Windows operating system. The .NET FX is then included in the OS and the whole set of APIs is called WinFX. According to the Microsoft Developer Roadmap a new version of Visual Studio, code-named Orcas will be released at the same time (Currently, you can use the Whidbey version to develop Longhorn applications). A server version of Windows called "Longhorn Server" is expected to be shipped shortly after the client.
Yukon/Whidbey wave:
- ClickOnce (no-touch deployment)
- MSBuild (new build system)
- ObjectSpaces (O/R mapper)
- Whitehorse
- parts of System.Transactions (according to Don Box's session at the PDC)
Longhorn/WinFX/Orcas wave:
- Avalon (new graphic subsystem)
- WinFS (new storage system)
- Indigo (communication, good FAQ here, perhaps separately before Longhorn for WS2003 and WINXP)
- Monad (command shell)
- SuperFetch
- NGSCB
PDC 2003 | Software | .NET Framework | Longhorn | Windows
11/17/2003 5:04:34 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Wednesday, November 05, 2003
 Tuesday, November 04, 2003
Yet another real-life sample of the HierarGrid
Nigel Parham sent me a snapshot of his application that uses the HierarGrid to display nested tables. It looks like he also implemented editing, deleting, filtering, sorting and paging - really amazing!
Thanks Nigel for letting me publish this. HierarGrid
11/4/2003 3:03:45 PM (W. Europe Standard Time, UTC+01:00)
|
|
PDC bits supported by ASP.NET Version Switcher
I was asked if the ASP.NET Version Switcher works with the bits from the PDC (Whidbey Alpha and Longhorn).
Actually, I've tested it with
- IIS 5.0 (Win2k)
- IIS 5.1 (WinXP)
- IIS 6.0 (WS2003)
- IIS 7.0 (Longhorn)
and Framework 1.0, 1.1 and 1.2.30703.*. It should all work. If you notice any problems please let me know.
Download PDC | Version Switcher
11/4/2003 12:05:08 PM (W. Europe Standard Time, UTC+01:00)
|
|
 Monday, November 03, 2003
Content from the PDC
There are numerous sites with content of the PDC:
Videos:
Session Slides:
And of course:
PDC
11/3/2003 6:17:36 PM (W. Europe Standard Time, UTC+01:00)
|
|
|