The best of open source and .NET development

TechRepublic
Imagine the power of running code created by Microsoft development tools on a Linux machine or including an open source component in a proprietary product. In an interview, author Brian Nantz explains how to do it.

As they gain experience, application developers often establish a preferred procedure, or a standard modus operandi that carries them through the unpredictable project cycle. This familiar IDE coupled with pet methods make up the security blanket responsible for producing whatever modicum of comfort a developer feels during the inevitable coding crunch. However, that familiarity can also lead to stagnation and stubbornness when new, and potentially better, ways to produce software become available.

One innovation in application development that programmers should not ignore involves the melding of open source development tools with the Microsoft .NET development environment. While on the surface the combination seems to defy common sense, when scrutinised from the cold hard perspective of "what works best," evidence shows that the mixing of seemingly incompatible development universes produces a fruitful relationship.

In his book, Open Source .NET Development, published by Addison-Wesley, author Brian Nantz explains how open source programming tools like nAnt, nUnit, and nDoc can be used to enhance development within the .NET Framework. The benefits of combining the best each has to offer should not be summarily dismissed by any serious developer. Perhaps it is time to get out of your rut and move beyond your current comfort zone with some different programming tools.

This book shows you the benefits of this approach with practical examples and in-depth examinations of open source .NET projects already in progress. TechRepublic has made Chapter 2, "Open Source and the .NET Platform" available for free download. This chapter will give you an overview of some of the potential benefits achievable when open source tools are combined with .NET application development.

In the following interview, TechRepublic asked author Brian Nantz for his opinions concerning application development using a combination of open source and .NET tools to form a better overall IDE.

Q: During the past six months, we have seen an increasing interest among TechRepublic and Builder members in open source applications. The gist of the member discussion seems to revolve around the coming together of two concepts: proprietary software is expensive, and open source is a viable alternative. Your book seems to combine this idea quite nicely. What are the overall benefits of open source development using Microsoft .NET?
A: I think the biggest advantage of open source is that the source is open. I know that sounds a little trite but it is true. A developer can learn so much from inspecting other people's code and there are so many code bases out there to learn from. Not only is proprietary software obviously more expensive, but many times companies are not very responsive to fixing bugs they consider to be minor but are wreaking havoc in your program. Then there is always the chance that the company can go out of business. These companies actually want you to pay, in many instances, a yearly fee for the right to their code if they go out of business!

The uniqueness of open source code written using .NET is that C# is an ISO standard (whereas other popular open source languages are not) and that it makes open source much more readily available to traditional Microsoft windows developers. These developers may not have even considered open source before.

Open source software developers often have an evangelistic perspective on software development. The zeal of this perspective often includes dismissing anything Microsoft. Yet your book clearly shows that many open source developers are using .NET to develop their software. Do you think the practicalities and benefits of open source .NET development will sway the more passionately anti-Microsoft developers in the near term or will it be a long term process?
In my experience, most of the anti-Microsoft crowd is opposed to Microsoft's business practices not necessarily their technologies or the people themselves. I don't think Microsoft and open source have a bitter hatred for each other. I have seen Microsoft employees using open source products like NUnit and Firefox, and I have also seen prominent open source proponents using OWA/Exchange to remotely check their corporate e-mails.

Because of the industry-wide interest in Web services and interoperability, I have seen Microsoft, IBM, and the Apache group very interested in working together and learning from each other.

Security is an all-consuming concern for organisations recently. Secure application development plays a major role in overall security and is a major component of any project. What security advantages are offered by the use of open source .NET development?
Security and open source is a huge topic. In my book I have a section on "Is Open Source more Secure," where I cite a couple of studies and give some insights from my experience. The conclusion is basically that this issue requires a lot of common sense.

Continued ...I think it is foolish to say [that] in all instances one side or the other is more secure. Take it on a product-by-product basis. Microsoft says that because the code is open that crackers can inspect it for potential attacks. But they neglect to point out that you as the user can do the same thing! You can evaluate the security and stability of the codeââ,¬"or hire someone specialising in security to do it for you. I don't think this is even possible in proprietary products.

You are blindly accepting that the code is secure when you really don't know if it is or not until it is too late. The rule of thumb is that if you don't know if you are being hacked or not, then for all practical purposes you are being hacked.

In your book, you mention .NET programming with nAnt, nUnit, nDoc, and many other tools, IDEs, and application interfaces. Have you come across any new programming tools that developers working in open source .NET should look into before tackling their next project? Which of the available tools do you personally find most useful?
.NET open source is always evolving at such a rapid pace! I have a blog and a wiki on my Web site where I try to keep up on useful things. A new project I am checking out now is Nini because I find .NET Configuration Classes a little lacking sometimes.

By far the most useful tools are: NUnit, NAnt, CruiseControl.NET, Sharpdevelop, Reflector, and Log4Net. These are tools that I use every day.

I also find many of Microsoft's Application Blocks are useful and respect what work James Newkirk is doing there, but I am still hoping they will make those projects open source.

As .NET and the open source movement continue to evolve, what impact will that evolution have on application development? Do you eventually see a day when the line between open source and proprietary software is so blurred that it becomes for all intents and purposes meaningless?
In my opinion I don't think these two camps will ever reconcile their differences. Open source is the only software development "organisation" that can compete with Microsoft. Microsoft can't figure out a strategic business plan to compete with open source. With each competitive product analysis Microsoft does, they are only lending more credence to the open source community. I do think there will come a day when most users and developers (on both sides of the fence) will take the right tool for the job and not really be too concerned about its licensing.

Tools make the project
The concepts detailed in Open Source .NET Development are not abstract theory. They are practical, tested methods already being used successfully by numerous application developers. Like any other artistic endeavour, proper tools make the project. As an application developer, you should always be striving to acquire the tools that will make your coding more efficient and more effective. Download Chapter 2, "Open Source and the .NET Platform," to get an overview of the potential benefits you will receive from combining open source tools with the .NET development environment.

TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to firewalls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.

©2004 TechRepublic, Inc.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

Shadow Minister for Regional Communications Luke Hartsuyker has got it wrong. Regional consumers want improved mobile services AND the NB...

34 minutes ago by PaulPC on Regional review highlights NBN, mobile

Just remember that Google haven't broken any laws here, they're just doing what all their other multinational competitiors do; minimise t...

1 hour ago by Pachanga on Much ado about Google's tax

ルイヴィトン バッグ : http://www.lovebagjp.com/ Louis Vuitton bags, Louis Vuitton pretension nose about,Louis Vuitton daydre...

1 hour ago by bundLourb on Reservoir blogs: Fan fakes Tarantino diary

シャネル バッグ : http://www.bagssalejp.org/ Chanel trap,chanel shekels,gucci bags,direct purse,poor recent Louis Vuitton keep...

3 hours ago by bybrinkLync on Reservoir blogs: Fan fakes Tarantino diary

I guess but in both cases, dead body!

13 hours ago by Doubt on National Botnet Network coming: Earthwave

I think it's for the very reasons you mention in your first paragraph that there is no CBA. With the ideological differences and vested ...

13 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

Good points; but how do you establish consensus about the terms of reference of a cost-benefit analysis? What is to be included? How far ...

14 hours ago by Gwyntaglaw on NBN cost-benefit analyses are so 2011

I live in a small country town & have done since 2002. When I got to this town it had no mobile phone & no broadband. The only reason w...

14 hours ago by fibretech on Regional review highlights NBN, mobile

Hi there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I...

14 hours ago by Uttedsips on Fujitsu Stylistic ST5011

Like most things in life, the devil is in the details. If a cost benefit analysis included a societal element, I'm certain nobody on eit...

14 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

The coalition has done nothing else but keep changing their view over the last 2 years. -first it was "there is nothing wrong with the ...

15 hours ago by djz on NBN cost-benefit analyses are so 2011

Use the force Luke... FFS

15 hours ago by Beta on Regional review highlights NBN, mobile

michael kors outlet http://www.michael-kors-discount.com/#5923

15 hours ago by michael kors bag on Best iPhone travel apps

Hey butterflyeffecs and lex, Sorry you're not fans of this piece. But you're dead right in that it is the thoughts and experience of a se...

15 hours ago by LHopewell on Android fragmentation steers Vic Health

teen cams
http://www.aloe-vera.cz handjob

15 hours ago by MyncWenry on Fusion-io ioDrive (80GB)

We have fashional replica bags designer .Replica luxury bags sale here are perfect compromise of quality and price. The replica handbags ...

15 hours ago by Machelle on Telecom NZ CEO Paul Reynolds to leave

It's not a question of whether anyone at HSU would know how to do this, but whether they would have connections with people who could. T...

15 hours ago by meski on CT, phone clone

Fred, I can tell you what the difference between FTTN and FTTH is. FTTH means we will be developing technology and services that we sell ...

16 hours ago by andye on NBN FUD: will Abbott ever learn?

You are 100% right – Abbott is a paragon of tenacity. Now if he could only try that hard to get Malcolm Turnbull's phone number, we co...

16 hours ago by braue on NBN FUD: will Abbott ever learn?

Very interesting to hear Ben and thanks for providing some real-world examples. I suspect the NBN has actually improved things for a grea...

16 hours ago by braue on NBN FUD: will Abbott ever learn?

This story has been voted 12000 times in the last 24 hours!

19 hours ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar