blog.easyciel.net author="Patrick Rabian" about="c#, sharepoint, biztalk, team system resources" more="news, samples, tips for .NET world's developers !"

A light SMTP server with free version

Saturday, 25 February 2006 18:19 by prabian

As I needed a simple SMTP local server for my laptop, I found this one : Post Cast Server !

It exists in a free version which is complete and seems to be a serious product with a lot of settings.

So…let’s screenshot

>

Download Post Cast Server Free Edition

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   News
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

ASP.NET 2.0 QFE 4014 / KB913393

Friday, 17 February 2006 12:26 by prabian

ASP.NET 2.0 QFE 4014 is a prerequisite for the Visual Studio 2005 Team Foundation Installation. It is included on the Team Foundation Server installation media. So, look at the : en_VS2005_TFS_RC.iso of february 2006.

It is supposed fixing the following issues :

  • Ability to Transmit files for fileSize > 2GB
  • Fix the memory allocation issue related to HttpResponse.Flush()

but it didn’t find any support about the KB913393.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   .NET Projects
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Documentation with VS 2005

Friday, 17 February 2006 10:01 by prabian

To help producing comment in source, use GhostDoc : http://www.roland-weigelt.de/ghostdoc/ .
GhostDoc description from Ghostdoc : GhostDoc is a free add-in for Visual Studio that automatically generates XML documentation comments. Either by using existing documentation inherited from base classes or implemented interfaces, or by deducing comments from name and type of e.g. methods, properties or parameters.

Next, you must produce documentation files…you can use NDoc for Visual Studio 2005 : http://jonas.lagerblad.com/blog/?p=4

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

ASPNET_MERGE.EXE error with WebDeployment VS 2005 add-in

Thursday, 16 February 2006 10:57 by prabian

If you meet such an error :

C:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0\Microsoft.WebDeployment.targets(474,9): error MSB6006: “aspnet_merge.exe” exited with code 1.

Go to VS 2005 > Tools> Options> Projects and solutions > Buid and run

and set dropdownlist value named : MSBuild project build output verbosity

In my case, I corrected my errors : problem with 2 differents aspx files named “default.aspx” and created by VS with “partial” attribute. This is a real problem because VS always use this syntax (partial class _Default) whereas the context (folder) are different and no namespace blocks are automatically generated.

So, after these correction, I obtain another error from aspnet_merge.exe : ” Index was outside the bounds of the array ” ????
…and no more information ! :(

I tried all “merge” options (by page, by folder,…) and I always obtained this error whereas the basic compilation and execution works well.

An idea ?

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Free screen capture and video capture software

Wednesday, 15 February 2006 09:48 by prabian

To produce screen and video captures, you can download freely one of this tools :

For generating JPG, BMP, GIF image files : ScreenHunter. Show me features
For generating AVI video files : AutoScreenRecorder. Show me features

Useless Xvid sample video (I did not configure the xvid codec correctly…so it’s a bad compression result = 3.6 Mo / 14 seconds :( …it is not for a web context)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   News
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Windows Sharepoint Services and PDF format : full text search and display icon

Monday, 13 February 2006 23:27 by prabian

To add full text search feature on PDF document, install the IFILTER from Adobe on the WSS server. You can download it from : Adobe Site

Next, you must do the following to display PDF icon : (use right-click and “save as” to download this icon!)

- Copy pdf16.gif to : C:\Program Files\Common files\Microsoft Shared\web server extensions\60\TEMPLATE\IMAGES (or C:\Program Files\Fichiers communs\Microsoft Shared\web server extensions\60\TEMPLATE\IMAGES for french WS2K3)

- Open the following file :
C:\Program Files\Common files\Microsoft Shared\web server extensions\60\TEMPLATE\XML\DOCICON.XML

And add : <Mapping Key=”pdf” Value=”pdf16.gif”/>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   SharePoint
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Site collection search for “Son of SmartPart”

Monday, 13 February 2006 23:15 by prabian

I built a cross site search user control for new Sharepoint Son of smartpart.
It was easy to develop a user control with Visual Studio 2005 and implement SonOfSmartPart.ICellProviderUserControl for the “search” webpart and SonOfSmartPart.ICellProviderUserControl for the “display results” webpart.

I also used Web Deployment Projects to produce a merged assembly with version and strong name.

- User control name : Site collection search
- Description : ASP.NET 2 user controls to search across a WSS site collection.
Works with 2 webparts : 1 to type search and 1 to display results. The 2 WP must be connected.
- Requirements : Framework .NET 2.0, Windows Sharepoint Services SP2 and Microsoft.Sharepoint.dll, SonOfSmartPart
- Compile it from : Visual Studio 2005 (maybe you could try with the express version)

You can download the complete SiteCollectionSearch_for_SonOfSmartPart.zip VS 2005 project.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   SharePoint
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Applying XSL transform on XML with javascript

Monday, 13 February 2006 09:55 by prabian

<script type=”text/javascript”>
var xml = new ActiveXObject(”Microsoft.XMLDOM”);
xml.async = false;
xml.load(”fileTotransform.xml”);
var xsl = new ActiveXObject(”Microsoft.XMLDOM”);
xsl.async = false;
xsl.load(”styleForTransforming.xsl”);
document.write(xml.transformNode(xsl));
</script>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   Javascript | css
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

[FR] Le livre indispensable pour dotnet 2 et c# 2 !

Sunday, 12 February 2006 18:30 by prabian

Courrez acheter ce superbe ouvrage : Pratique de .NET 2.0 et de C# 2.0 chez O’Reilly de Patrick Smacchia. Vous saurez tout sur la plateforme .NET 2 ! Complet et détaillé, …une référence.

Pour en savoir plus : consulter la fiche Amazon

En attendant, vous pouvez toujours consulter les articles disponibles sur le site de l’auteur : http://smacchia.chez-alice.fr/fr/Articles.html. J’ai également constaté que celui-ci publiait des articles sur www.codeproject.com.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   .NET Projects
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Relational database and objects : how to build a link ?

Sunday, 12 February 2006 00:43 by prabian

How can we easily persist objects entities ?  

Different solutions :

  • using object database instead of relational (example : free .NET object db db4o)
  • using code generation (see MetaData Mapping with code generation from Martin Fowler)
  • using O/R Mapping tools (see MetaData Mapping with reflection from Martin Fowler)

MetaData Mapping with code generation or with reflection (ORM) ? Let’s see the pros and cons : http://www.theserverside.net/news/thread.tss?thread_id=29071

>>> ABOUT O/R MAPPING

O/R mapping tools :
http://sharptoolbox.com/Category74089b0a-1105-4389-b1db-eedf27e20cfb.aspx

How to choose a O/R mapping tool ?
http://madgeek.com/articles/ormapping/fr/mapping.htm

>>> CODE GENERATION

MyGeneration (free) :
http://www.mygenerationsoftware.com

CodeSmith (from 99$) :
http://www.codesmithtools.com/

>>> AND…

Next approach : C-omega, the unified language between objects and SQL from Microsoft Research : http://research.microsoft.com/comega/

Currently, I use NHibernate and a NHibenate template of MyGeneration … the main advantage of NHibernate is the really simple business entity code used (no custom attributes, no inheritance,…just 2 specific properties). Unfortunately, I am actually disappointed by the performances on entity collections results. I hope a next version optimized for .NET 2.0 will soon arrived including generics, nullable types and reflection optimizations ! MyGeneration, the CS and XML code generator, is also simple and really efficient.

In a another way than O/R mapping, you can produce a part of a 5-layers architecture (data access, persistence, business logic, service, but not presentation !). So, I also tried NetTiers with CodeSmith, but I met 2 main problems : 
- some bugs on the NetTiers v0.9.2…like “missing files” in VS.NET 2005 project generated.
- the generated business classes are really complete (maybe too!) and implement a lot of interface…too much code, in my opinion !

Good luck.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   Persistence
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed