help.net


Musing on .Net

News

Windows Phone Apps

FotoBank


FotoIreland

Windows 8 Apps




hit counters






Open source CMS


My blog

Irish blogs

Locations of visitors to this page Get Chitika eMiniMalls

.Net useful

Blogs I read

PocketPC

SQL

Usability

July 2004 - Posts

Asp.Net HTML Templates

Found this template solution on Joel.Net. Interesting.

Overview

I searched long and hard all over the net for an HTML templating engine with little luck. Most of the HTML templating engines I found required too much coding, limited the functionality of ASP.NET by requiring you set properties to update the template (ie: header = "this is my header"), or required you stuff code into your Page_Load event. I wanted something anyone could implement and understand. So I gave up searching and decided to create my own.

I have a lot more confidence in this build.  I have been using the ASP.NET HTML Templating Engine on Joel.Net for some time now. The current version is 1.1.0. There are still some features I'd like to include before I wish to release the source code.

This control will work in both VB.NET and C# environments.

Download binary project (1.1.0)

 

Posted: Jul 27 2004, 07:02 PM by help.net | with no comments
Filed under:
And the culprit is ...

I was so happy yesterday to found a solution to the General Network Error.

However this morning, I still received few of them, so I decided to find the culprit.

And I got it, it's the Data Application Block I use in many cases. It's a great stuff to have an SQL helper, but it seems for me it's a bit buggy.

After replacing my code with a classic datareader, everything is ok now. Maybe the helper is too chatty :-)

Now I have reduced by half the number of 'random' errors. It seems that if I force a dispose method after closing the connections, I have a better result.

Unfortunately for some unknown reason, I can't use a dispose in the method I use to generate an image from a database. If I do, I have no images at all. I can close the connection, but nothing more.

I know it's not perfect, if the error happens, a broken link appears for an image, but at least the page content is shown, and that matters.

 

Posted: Jul 23 2004, 03:35 PM by help.net | with 8 comment(s)
Filed under:
A good switch to help a developer being happy

Wahoo, I just finished to install my four brand new switches to replace the good but basic 3Com hubs.

Why I am so happy ? I finally get rid of the infamous 'General Network Error' is the pooling was set to true. For people who don't know this has haunted my life for the past year !

Now it's really fast and I don't have anymore this stupid and clueless error. I will be more happy tomorrow if I don't see in my mail box hundreds of General Network Error.

So the morale of the story is to get the good hardware when you want to be serious about hosting.

Next step will be in few months the gigabit network but this is another story :-)

 

Posted: Jul 22 2004, 09:26 PM by help.net | with 1 comment(s)
Filed under:
MSDN August content

Cool, surely the best MSDN package of the year (until SQL 2005 Beta)

MSDN Operating Systems, Professional, Enterprise, and Universal

English

0 MSDN® Subscription Index - August 2004 (English)

2726 Microsoft Speech Application SDK 1.0

MSDN Professional

English

2706 Visual Studio® 2005 Beta, Disc 1 (English)

2707 Visual Studio® 2005 Beta, Disc 2 (English)

2708 MSDN® Library for Visual Studio® 2005 Beta, Disc 1 (English)

2709 MSDN® Library for Visual Studio® 2005 Beta, Disc 2 (English)

2710 MSDN® Library for Visual Studio® 2005 Beta, Disc 3 (English)

2711 Visio® Tools for Visual Studio® 2005 Beta (English)

2712 Visual Studio® 2005 Remote Debugger Setup, Beta

2713 Microsoft .NET Framework 2.0 SDK Beta - 64-bit

2722 Visual FoxPro® 9.0 Beta (English)

 

Posted: Jul 22 2004, 04:45 PM by help.net | with no comments
Filed under:
When too much security kill security

This story just happens to me. I host one project with a UK company (UK hosting).

Reliable, nothing to complain about until last week. For some unknown reasons, I couldn't have access to the database using Enterprise Manager.

After a series of emails (for god sake hosting companies should have a better support !), I just received an amazing answer from them.

"
Due to security reasons we will need to allow the IP address you are
connecting from, throuh our firewall to access using Enterprise Manager.
Please let us know what your IP is.

"

I think this is a first for me. Guys I don't know for you, but I develop from different machines and in different places.

How I am supposed to have a fix IP address ? :-))

 

Posted: Jul 21 2004, 11:55 AM by help.net | with 4 comment(s)
Filed under:
dScribe 1.42

I am pleased to announce a new dScribe release. The main changes concern the Sections Editing.

After some usability testing, the way it was done until now was not working well.
So if you use dScribe, I hope this new feature will help.

When you edit a section now, select first a version (or create a new one) ,


If you click on the Edit Elements (the yellow button) you will see now a datagrid with the elements and a dropdown list associated with each of them.


The list contains the most recent approved content for this section (default mode). No autopostback here, only client side dropdown, so no server overload !

The only postback happens if you choose in the list 'Other..'. This choice open below the panel Content, where you can select any content you want, by date too.

And finally after clicking the Preview this is what you have:



Check here for the latest build.

Note: Thanks to Matt for his help. Be sure It will be useful to build my setup package :-)

Microsoft Research tour in Channel 9

Great visit of the MS lab. Glad to meet Lili Cheng, who show some incredible stuff happening there.

Lili if you want my resume let me know :-))

 

Posted: Jul 19 2004, 09:04 PM by help.net | with no comments
Filed under:
New Ipod :-)

It's official now ! New Ipod has been launched by Apple.

iPod 40G

Prices are goofd news too. $399 for a 40Gb :-)

 

Posted: Jul 19 2004, 01:46 PM by help.net | with no comments
Filed under: ,
Visual Studio 2005 family: the differences

This table on MSDN show the differences between the different members of the VS 2005 family.

Few things I noticed:

1 - Visual Express don't have a full support for add-ins. If it's true it a big miss, regarding the fact that Microsoft want to target a bigger developer base.

2 - XML support only for Visual Studio Express, and no support for XSLT in this version. Again if it's confirmed this is really a shame. For me the two should be present in every versions.

3 - Probably a misspelling (Well I hope so) but no deployment support for Visual Studio Express ?!? This should be included in all versions. If not, I don't get it. How you supposed to deploy easily ?

The refactoring limitations in VS Express shouldn't be a problem, but it could be interesting to know which ones have been removed.

The Visual Studio Team System (as expected) will be the most advanced version, with Project Management, code profiling and unit testing.

 

Posted: Jul 18 2004, 02:07 PM by help.net | with 2 comment(s)
Filed under:
MyIE2 is now Maxthon

I missed this news recently but my favourite browser change its name to Maxthon.

Not sure I like this new name, but it's still the best IE compatible browser.

 

Posted: Jul 15 2004, 04:36 PM by help.net | with 1 comment(s)
Filed under:
More Posts « Previous page - Next page »