Jan Schreuder on .Net

.Net code samples, experiences, observations

View my professional profile on LinkedIn

Recent Posts

Tags

News

  • Inappropriate comments will be deleted at my discretion.

    The information and code samples in this weblog is provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the merchantability and/or fitness for a particular purpose.

Community

Email Notifications

Tool suppliers

Tools

General

Microsoft

Favorite blogs

Archives

Browse by Tags

All Tags » C# (RSS)
CopySourceAsHTML 3.0 has been released
Everyone who pastes code into his or her blog has probably used it. If you haven't, then you have to check it out. It allows you to copy code into your blogpost almost instantly, and produces things like this: /// <summary> /// Gets or sets...
How to - Create a missing designer.cs file
I was running into this just now and found a quick way to solve it, so I just posted it for future reference. I have an ASP.Net web application project in .Net 2.0 which was migrated from .Net 1.1 some time ago. I noticed that a few aspx pages did not...
Syntax error? Really?!?!
In my current project, we have adopted Microsoft StyleCop as a tool to make sure everyone sticks to the same style of coding. One of the things we currently incorporate in our daily work is making sure our existing code conforms to the rules we agreed...
Thank you, Lutz Roeder
I just received an email from Lutz Roeder informing the users of Reflector that he decided to explore new opportunities. He has reached an agreement with RedGate software to continue work on Reflector. From his email: I have reached an agreement to have...
StyleCop - QuickStart tips
After using StyleCop for some weeks, there are some things I think that might be useful to others when they want to start using the tool. So here are some tips. Tip 1 - Also download the documentation The documentation for StyleCop is available as a separate...
Version 4.3 of Microsoft StyleCop available
A new version of StyleCop was made available only a few days ago, so I downloaded it and installed it. One thing I had to correct after installation was the Settings.SourceAnalysis file. Because of the name change to StyleCop, the extension of the settings...
Sandcastle now on CodePlex
The Sandcastle project, Microsoft's tools to generate documentation from your well-documented code, is now available on CodePlex. That was already the case, but until about 2 month's ago, that was without the source code. You can now download...
Need help with Crystal Reports? Look here!
Because I blog about Crystal Reports occasionally, and created a helper class to assist in integrating it into .Net applications, I get a lot of questions from people that have problems running their reports. Especially in production environments after...
Have your C# coding style analysed by Microsoft, part 2
Just as a small update on the use of StyleCop . I disagreed with some of the rules, like having to use spaces rather than tabs. It's not really an annoying rule, the only thing about it is that you have to agree on using spaces or tabs and then stick...
Coding standards, Coding rules, Coding guidelines, etc...
If there's one thing that developers usually just cannot (or will not) agree to, then it's Coding standards/rules/guidelines or whatever name you want to give it. I posted a short item about a new tool from Microsoft that checks if your code matches...
Have your C# coding style analysed by Microsoft!
Or to be more specific, by Microsoft StyleCop . Now this may not be new to you, and that's very likely since StyleCop was announced in May of this year, but it was new to me. The tool checks your code for coding style and more specific, the Microsoft...
Another solution to import text files (tab, csv, custom) - FileHelpers
Some of you brought another solution for importing text files to my attention. Thank you for that! For my current imports my previous solution works just fine. But if you are processing more complex files, then FileHelpers is an excellent library to use...
Posted: Tue, Jul 22 2008 11:20 AM by Jan Schreuder | with 2 comment(s)
Filed under: ,
How to: Use OleDb to import text files (tab, csv, custom)
This post explains a little about using OleDb Jet Engine for import of delimited files, such as comma (CSV) and tab delimited files. A demo application can be downloaded to show how it works....
Dynamic type support in C# aka Late Binding
VB6 and VB.Net developers know this feature: "Late Binding" and C# developers have often ridiculed that option. Buit it seems that the next version of Visual Studio will support a feature called "Dynamic type support". An article on...
Posted: Thu, Feb 21 2008 1:41 PM by Jan Schreuder | with no comments
Filed under: ,