-
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 the name of the server. /// </summary> /// <value>...
-
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 have a designer.cs file. All controls on those pages...
-
Ever had the feeling during your presentation that, while you were switching from Powerpoint to Visual Studio to show your demo, there must be an easier way? Like really integrating your demo into your presentation? Well, now there is! Thanks to WPF and Beatriz Costa. For more info go to Beatriz's...
-
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 on. Today however, StyleCop refused to check a class...
-
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 Red Gate Software continue the development of ...
-
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 download. It explains why the rules are introduced...
-
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 file was also changed. But after that, I was...
-
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 Sandcastle including the source code from CodePlex...
-
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 they deploy the reports. Unfortunately, I'm...
-
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 to it. But still, I found out you can tune StyleCop...
-
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 the Microsoft guidelines and sure enough, I'm...
-
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 coding style. It was developed outside the VSTS...
-
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. (And very likely more flexible and robust then...
-
Introduction I have been browsing the web for a good and simple class to handle delimited file imports. My current assignment has an import option that needs to deal with that. However, the current implementation (using StreamReader) is not good enough. It doesn't handle all the exceptions you encounter...
-
So I am back into making .NET websites... and I love the web.sitemap feature of .NET 2.0+ However, I like my web folder structure to be semantic. This means that instead of clunky files with extensions, I like to have a directory for every portion of the site. Example: http://www.website.com/products...