sfeldman.NET

.NET, code, personal thoughts

Browse by Tags

All Tags » .NET (RSS)
ILMerge as NAnt Task
I needed to merge a few a few assemblies into one, and tried pretty much what the author of this blog did. I also wanted to be able to “hide” the namespaces merged into main assembly, so that in case there are 2 identical classes in final assembly, only...

Posted by Sean Feldman | with no comments

Filed under:

Working in Sandbox
As I have already mentioned, I am involved in a project that uses BizTalk 2009. With this beast, you have to develop on the machine that has BizTalk installed and configured. This is vey unfortunate, especially when so many things can go wrong. From my...

Posted by Sean Feldman | with no comments

Filed under: ,

LINQ to XML for Better Maintainability
Today I was trying to solve a simple technical problem. Given a specific XML, needed to clean it up by removing any elements of a particular type. < Attachment > < Name > file1.pdf </ Name > < Id > 1 </ Id > </ Attachment...

Posted by Sean Feldman | 4 comment(s)

Filed under:

Consuming ASMX Web Service With WCF
ASMX web services were a breakthrough when appeared on .NET platform. A lot of services were created to take advantage of web services technology. Now, that WCF is replacing legacy web services, we still have a lot of legacy web services running and being...

Posted by Sean Feldman | 1 comment(s)

Filed under:

Dynamic WCF Proxy
Our new system is entirely based of services (SOA solution). From the day one we had an issue with Visual Studio auto-magically generated proxies and management of those as system grew. Solution at that time was to create clients of the services dynamically...

Posted by Sean Feldman | 5 comment(s)

Filed under:

Wix Product Version with Build Script
Our projects are deployed with MSIs. Each MSI file is appended with the product version number (regular staff – major, minor, build number, revision number). While this is enough for deployment, in production, it is hard to determine what product version...

Posted by Sean Feldman | 4 comment(s)

Filed under:

MSMQ With Files Larger Than 10MB?
Update 2009-09-11 : I was playing with the sample provided in two comments, and has run into issue with chunking binding. See thread: http://code.msdn.microsoft.com/msmqpluswcf/Thread/View.aspx?ThreadId=2265 Has anyone dealt with this issue before? We...

Posted by Sean Feldman | 11 comment(s)

Filed under:

Moq – ToString() Method Pitfall
I was working on some code today, when run into a pitfall with Moq. This was probably my misreading of documentation. The component I was testing looked somewhat like the code below public class SomeOtherType { private readonly ISomeType someType; public...

Posted by Sean Feldman | 5 comment(s)

Filed under: , ,

Sending Emails with no SMTP
I ran into a problem once in a QA environment, and it was unpleasant to handle. Amr ElGarhy has showed a way “baked into” .NET how to overcome issues similar to the one I had – write emails straight into file system. Solutions is elegant and done through...

Posted by Sean Feldman | 1 comment(s)

Filed under:

Convention over Configuration
Convention over is defined in Wikipedia as follow: Convention over Configuration (aka Coding by convention) is a software design paradigm which seeks to decrease the number of decisions that developers need to make, gaining simplicity, but not necessarily...

Posted by Sean Feldman | 1 comment(s)

Filed under: , ,

More Posts Next page »