Welcome to Atalasoft Community
Sign in
|
Join
|
Help
Dan Barvitsky
This Blog
Syndication
RSS 2.0
Atom 1.0
Search
Go
Tags
.NET
Best practices
Deployment
Development
ECM
Exceptions
Formats
ILMerge
NAnt
NUnit
OpenOffice
Parallelism
Patterns
Random
SharePoint
System internals
TDD
Toolbox
Unit testing
Unit tests
Whining
Navigation
Home
Blogs
Forums
Photos
Downloads
My Reader
Archives
September 2009 (2)
August 2009 (2)
July 2009 (2)
June 2009 (4)
February 2009 (2)
January 2009 (2)
Browse by Tags
All Tags
»
.NET
(RSS)
Best practices
Deployment
Development
ECM
Exceptions
Formats
ILMerge
NAnt
NUnit
OpenOffice
Parallelism
Patterns
SharePoint
System internals
TDD
Toolbox
Unit testing
Unit tests
Whining
Monday, September 21, 2009 11:40 AM
Detecting SearchServer (and other services) in SharePoint farm
Jake and I just got into an interesting problem while working on search functions for VizitSP . My code was using types from Microsoft.Office.Server.Search, which is not available if SearchServer is not installed, so trying to access search functions
Posted by
dbarvitsky
|
0 Comments
Filed under:
SharePoint
,
.NET
,
Best practices
,
Development
Saturday, August 29, 2009 3:24 PM
A word of praise for relevant error messages
What do you think about the following code: byte [] privateParams, publicParams; using (var rsa = new System.Security.Cryptography.RSACryptoServiceProvider()) { privateParams = rsa.ExportCspBlob( true ); publicParams = rsa.ExportCspBlob( false ); } using
Posted by
dbarvitsky
|
0 Comments
Filed under:
Toolbox
,
.NET
,
System internals
,
Best practices
,
Development
,
Patterns
,
Exceptions
Tuesday, August 25, 2009 5:25 PM
ILMerge and ConfigurationSection
Note to self: dearest Dan! If you happen to use ILMerge with an exe file, please make sure you check the app.config file. Why? Well, suppose you have a custom settings section in your app.config, just like this: < configSections > < sectionGroup
Posted by
dbarvitsky
|
0 Comments
Filed under:
Toolbox
,
Deployment
,
.NET
,
Whining
,
ILMerge
Thursday, July 09, 2009 1:10 PM
Which formats does OpenOffice support?
What can you extract from the following dialogue between P rospect and E mployee? P: Which formats does <application name> support? E: Which one are you interested in? P: Err… Give me all you have! E: We support many formats, including… which one
Posted by
dbarvitsky
|
0 Comments
Filed under:
.NET
,
ECM
,
Formats
,
OpenOffice
Monday, June 15, 2009 1:45 PM
My solution for unit testing concurrent code in NUnit
I blogged recently about testing parallel code in NUnit. I think I settled with requirements: I want to use threads; I want to use assertions in threads; I want to control how threads step on each other; Too bad that solutions I tested did not fit 100%.
Posted by
dbarvitsky
|
0 Comments
Filed under:
.NET
,
Unit testing
,
TDD
,
Parallelism
Friday, June 12, 2009 11:33 AM
Techniques for testing concurrent code in NUnit
Last time I blogged about a way to make concurrent unit tests deterministic. This time I’d like to focus on the technical aspects, namely NUnit . Let us start with the following test: [Test] public void TestThread() { int n = 0; var thread1 = new Thread(()
Posted by
dbarvitsky
|
0 Comments
Filed under:
.NET
,
Unit testing
,
TDD
,
NUnit
,
Parallelism
Thursday, June 11, 2009 4:42 PM
Thinking aloud: concurrent Unit tests
While working on conversion service for VizitSP , I run once again into unit testing the concurrent code. The problem is not new, yet I did not see 100% solution yet. The difficulty is coming from the fact that unit tests are deterministic to the bone
Posted by
dbarvitsky
|
0 Comments
Filed under:
Deployment
,
.NET
,
Unit tests
Sunday, February 08, 2009 11:31 AM
Deploying debug assemblies in the GAC
Don’t ask me why, but at some point I ended up with the necessity of having debug assemblies in the GAC. OK, if you still ask, it is about SharePoint remote debugging. After dragging-and-dropping PDBs and DLLs for 651th time I almost started feeling an
Posted by
dbarvitsky
|
0 Comments
Filed under:
NAnt
,
Toolbox
,
SharePoint
,
Deployment
,
.NET