Подпишись на наш Twitter

Быть в курсе появления новых статей!

.NET

  1. StringBuilderPlus Improves Upon StringBuilder — The above image shows that to concatenate about 40,000 strings in C# takes about 3 seconds. With the StringBuilderPlus, you can concatenate those same strings about a hundred times faster (or, 1/30th of a second). The experienced developer will note that StringBuilder can do this too, but there are a few weaknesses in StringBuilder that many people don't know about (skip to the "Problem" section to read more about that). StringBuilderPlus remedies those, as explained below, in the "Solution" section of the article...
  2. TestDriven.Net 2.23 Beta – Faster! — It turns out that the JIT compiler for x64 is considerably slower than for x86 (and uses more memory). You can easily improve the startup time for your EXE projects by changing them to compile for x86. In fact this is what Microsoft is doing in Visual Studio 2010 (the default for EXEs will be x86). It’s only worth compiling EXEs for AnyCPU if your application might use a lot of memory. See Rick Byers’ post on the subject: AnyCPU Exes are usually more trouble than they're worth...
  3. TestDriven.Net 2.23 Beta – Cleaner Stack Traces — You have probably noticed with previous versions of TestDriven.Net, stack traces could turn into an unruly mess of file path information...
  4. LINQ Tip of the week: LINQ and Anonymous types — Consider the case where we want to obtain a subset of data instead of an entire persistent instance. For example, if we want to obtain the contact details of all Customers based in London we would use the following query...
  5. Simplifying enumeration of Office object model collections with Linq and Extension methods — I found an interesting post on Deborah's Developer MindScape (via Greg’s blog )and wanted to share a modification of the technique that can simplify the use of Office object models in C# and VB. I use this heavily in my VisioAutomation library...

Web

  1. XML Serialization: Using XML files to persist data — Something that’s pretty common is to load and export data from applications to settings or data files. I’m going to be concentrating on the scenario in which you have some sort of data structure that you want to save or load the whole contents of the structure to an XML file...

Development/Miscellaneous

  1. How To Install Windows 7 From a bootable USB Drive



Дата публикации: 16.08.2009 21:39

Ярлыки: .NET, Development, Visual Studio, Web