Frederick Chapleau weBlog on IT.
<< back to
Home
<< back to
Chapleau.info
Browse by Tags
All Tags
»
Programming
(
RSS
)
Architecturing
Security
Thinking
Underscore prefix with C#, is it a best practice?
01 March 10 01:52 PM
|
Frederick.Chapleau
| with
no comments
I used this since the beginning, thinking that this was a best practice, but without searching a lot. I found this article containing a brief history on this practice... I’ll let you decide if it’s a best practice to you. http://blogs.msdn.com/sourceanalysis...
Get the Unread count of the Inbox of Exchange 2010/2007, using web services
02 February 10 09:28 AM
|
Frederick.Chapleau
| with
no comments
I searched a lot and, based on an article from SANDEEP APARAJIT , I was able to query for unread email from my Exchange mailbox inbox, in about 15 min. Thanks! ServicePointManager.ServerCertificateValidationCallback = delegate(Object obj, X509Certificate...
Using WCF Webservices in .NET 2.0
14 September 09 01:00 PM
|
Frederick.Chapleau
| with
no comments
The default behavior of WCF Webservice is the new wsHttpBinding. This is not compatible with .NET 2.0, so to use it you must change the behavior with the basicHttpBinding. The basic one is not secured, so if it’s a critical piece, you must use it with...
This collection already contains an address with scheme http.
12 September 09 12:02 PM
|
Frederick.Chapleau
| with
no comments
When deploying a WCF service, this problem can occur This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item This is caused by having multiple binding on...
404 Error when deploying a .net 3.0+ SVC File
12 September 09 11:49 AM
|
Frederick.Chapleau
| with
no comments
When deploying a .NET WCF Service on IIS 7, on might have a 404 error. This is because the ScriptsMaps are not registered, issuing the following command register them, to that they can be used. c:\Windows\Microsoft.Net\Framework\v3.0\Windows Communication...
The log cannot be rebuilt when the primary file is read-only.
08 July 09 06:27 PM
|
Frederick.Chapleau
|
1 comment(s)
When mounting a SQL Server Express Database, the SQL Server Express engine is trying to rebuild the log files, using the same permissions as the AppPool that is configured for the website. So this account should have access to the underneath file system...
JSON Extension Methods
30 May 09 10:55 PM
|
Frederick.Chapleau
|
1 comment(s)
Just a little sample, modified from the ScottGu… public static class JSONHelper { public static string ToJSON(this object obj) { JavaScriptSerializer serializer = new JavaScriptSerializer...
Running Python 3 extensions on IIS 6
28 May 09 12:19 AM
|
Frederick.Chapleau
| with
no comments
Python files can be run, without using Iron Python on IIS. The first step is to install... Python 3. After that you must enable the extension by going to Web Service Extensions and Allowing “All unknown CGI Extensions” Third and last step, is a modified...
"Object of type 'System.EventHandler' cannot be converted to type 'System.EventHandler`1"
11 May 09 02:32 PM
|
Frederick.Chapleau
| with
no comments
Ok, that really, really a big issue in the .NET Framework. You cannot use a generic event handler, with a name ending by “changing”, when it is used as a data binding object on a form. Really disappointing that those guy rely on event names. No Comments...
Did you know F# ?
30 April 09 08:47 AM
|
Frederick.Chapleau
| with
no comments
I found a great article comparing C# and F#… thanks to Brian McNamara. -f.
Implementing an Extension to Sort ControlCollection in .NET 3.5
24 April 09 11:50 AM
|
Frederick.Chapleau
|
1 comment(s)
public static class SortingExtension { public static void Sort<T>(this System.Windows.Forms.Control.ControlCollection c) where T : class { for(int i=1; i<c.Count;...
The Web 3.0 is coming
26 February 09 09:27 AM
|
Frederick.Chapleau
|
1 comment(s)
As stated in a previous post, the web 1.0 was the first plain version, the second the more dynamic one, with social networks and the famous buzzword "AJAX", and the version 3.0 buzzword is... (drum roll)... Cloud Computing. The concept is simple...
When unit tests are not recognized
07 February 09 04:51 PM
|
Frederick.Chapleau
| with
no comments
Yes, you can create unit tests inside a project, without creating another project. But there is a tweak, when VS 2008 create the Unit Test Project, the resulting project have two Project Types that are included in standard project. If you don't modify...
Dundas Chart included in .NET 3.5
09 December 08 01:10 PM
|
Frederick.Chapleau
| with
no comments
There was a great new on ScottGu' Blog, that was stating that a new, and free Charting component, based on the Dundas Charting Component, which was bought by Microsoft a few month ago. This is a really great suite of charting component, that is already...
Moving the Viewstate or a SEO technique
09 December 08 12:06 PM
|
Frederick.Chapleau
| with
no comments
Viewstate is a core concept of ASP.Net, but it can be a waste of bytes, when we know that some search engines are only indexing the top of the pages. This can be done easily, and Scott Hanselman did a really good test on how to do that better. http:/...
More Posts
Next page »
Search
Go
This Blog
Home
Contact
Tags
Architecturing
DBA
Graphics
Integrating
Linux
Networking
On Intelligence: The future of AI
OSX
Packaging
Programming
Reviewing
Security
Singularity
Thinking
Navigation
Home
Blogs
Photos
Downloads
Archives
March 2010 (1)
February 2010 (2)
January 2010 (3)
November 2009 (1)
October 2009 (1)
September 2009 (3)
July 2009 (4)
June 2009 (2)
May 2009 (4)
April 2009 (2)
March 2009 (1)
February 2009 (2)
December 2008 (3)
November 2008 (5)
October 2008 (5)
September 2008 (3)
August 2008 (3)
July 2008 (6)
June 2008 (3)
May 2008 (1)
April 2008 (5)
March 2008 (10)
February 2008 (11)
January 2008 (2)
December 2007 (3)
November 2007 (4)
October 2007 (4)
September 2007 (3)
August 2007 (4)
July 2007 (3)
June 2007 (8)
May 2007 (3)
April 2007 (10)
March 2007 (13)
February 2007 (3)
January 2007 (1)
December 2006 (4)
October 2006 (1)
September 2006 (3)
August 2006 (6)
June 2006 (1)
May 2006 (1)
April 2006 (2)
February 2006 (1)
January 2006 (6)
December 2005 (3)
November 2005 (3)
October 2005 (4)
September 2005 (5)
August 2005 (2)
July 2005 (4)
June 2005 (4)
May 2005 (4)
April 2005 (11)
Personal Info
Personal Website
Syndication
RSS
Atom
Comments RSS