Hock Blogs .NET

Bloggin' about everything .NET related!

XmlTextWriter.WriteStartElement for RootElement and overriding namespace

clock December 29, 2009 21:22 by author Robbert
Hi there, I'm having some problems with the XMLTextWriter. On MSDN it says: Namespace Declaration Overriding with the XmlTextWriter The following code example shows how to manually override the namespace associated with a given prefix. Notice that the order value overrides the orig... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


Interfacing with a SSL Webservice

clock September 28, 2009 22:25 by author Robbert
Hi there, One important aspect of interfacing with a SSL webservice is to set the ServerCertificateValidationCallback. The project i'm currently involved in requires interfacing with the Tripolis Dialogue interface. Tripolis Dialogue is ‘Software as a Service’ for both marketer... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


StringDictionary class adds the key as lower-cased

clock May 25, 2009 22:35 by author Robbert
Hi there, In a project I'm currently developing, we used the StringDictionary (In the System.Collections.Specialized namespace) class frequently for stored key value pairs. I noticed that all my keys were lower-cased. So when checking out the Add method with Reflector, I found out t... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


Handy web.config snippet for sending email in a development environment

clock April 26, 2009 21:31 by author Robbert
Hi there, A really handy thing I can use in my web.config while developing is something a collegue of mine pointed me to, and was already mentionded here by Donn Felker: Sending Email in a Development Environment without an SMTP Server <system.net>     &n... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


Another set of 4 great Resharper tips for use with StyleCop!

clock November 10, 2008 19:52 by author Robbert
Hi there, Recently I've blogged about a set of 4 great Resharper tips for use with Stylecop. Here's another great set of 4 Resharper tips for use with Stylecop! Tip 1: SA1507: The code must not contain multiple blank lines in a row. By setting the 'Keep max blank lines... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


Stylecop rule SA1623 and read-only properties that cannot be exposed by XML Web Services

clock November 2, 2008 13:32 by author Robbert
Hi there, I'm currently refactoring some code (see my previous post). But during the refactoring something weird/funny/not logical happened which should have been implemented better, at least that's what I think! According to the following documentation rule: SA1623: Vali... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


4 great Resharper tips for use with StyleCop!

clock October 30, 2008 21:39 by author Robbert
Hi there, Currently I'm in between releases and I got the advice from a colleague of mine to do some refactoring (using Resharper) and see if my source code is valid enough by analyzing it through Microsoft Source Analysis, als knows as StyleCop, previously known as FxCop. StyleCop analy... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


70-551 is the wrong upgrade path because it is hard!

clock September 6, 2008 12:05 by author Robbert
Hi there, I've planned my 70-551-UPGRADE: MCAD Skills to MCPD Web Developer by Using the Microsoft .NET Framework for next friday, but today I've found something that got me al little bit worried and confused . Gerry O'Brien writes the following: Initially, we had a path from ... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


SqlParameter initalization problem

clock September 4, 2008 20:15 by author Robbert
Hi there, I'm currently rewriting some database logic. On the project I use a SQL Server 2005 database and make use of Enterpise Library 3.1. Look at the following code: public void InsertItem(Item item) {     try     {       &n... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


Cleaning up deprecated class System.Xml.Xsl.XslTransform

clock August 30, 2008 21:37 by author Robbert
Hi there, I'm currently in between two releases and I decided that is was time for some good-old-clean-up-of-the-code. I've recently looked at the warnings that Visual Studio 2005 generates. And I've found out that I got the following warning: 'System.Xml.Xsl.XslTransform&... [More]
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

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


RSS Atom

Search

Tags

Archive

Categories


        

    Currently reading

    Calendar

    <<  March 2010  >>
    SuMoTuWeThFrSa
    28123456
    78910111213
    14151617181920
    21222324252627
    28293031123
    45678910

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2010

    Sign in