The Emergence of Choice in the .NET Ecosystem

Post on 23-Jun-2015

2.585 views 0 download

Tags:

description

The slides for a talk I delivered at the Triangle area .NET group about the emergency of choice in .NET and highlighting 10 specific open source tools.

Transcript of The Emergence of Choice in the .NET Ecosystem

10 Open Source Tools You Should Use

James AveryInfozerk Inc.

James AveryInfozerk Inc.

10 Open Source Tools I Love

James AveryInfozerk Inc.

9 Open Source Tools I Love and 1 I kind of hate

James AveryInfozerk Inc.

The Emergence of Choice in the .NET Ecosystem

James AveryInfozerk Inc.

Disclaimer:I like pragmatic simplicity

ASP.NET MVC

Wait… did you say ASP.NET MVC?

“Additional Use Rights” means a license to use the software, whether unchanged or (for the portions of the software that we supply in source code form) as modified by you, (a) within your company for the purposes of designing, developing and testing your products for use with the software, and (b) in a live operating environment to allow your customers to use, via a web interface, your products that need the software to run. “Additional Use Rights” specifically excludes the right to distribute the software outside of your company and, because the software is a pre-release version, also excludes the right to disclose the results of any benchmark tests of the software to any third party without Licensor’s prior written approval.

- http://www.codeplex.com/aspnet/license

But that isn’t an OSI approved license.

ASP.NET MVC IS IMPORTANT!

ASP.NET MVC Demo

ASP.NET MVC Resources

• Scott Guthrie’s Blog – http://weblogs.asp.net/scottgu

• Phil Haacked’s Blog – http://www.haacked.com

• Rob Conery MVC Storefront – http://blog.wekeroad.com/mvc-storefront/

ASP.NET MVC Alternatives

• MonoRail - http://www.castleproject.org/monorail/

• Classic ASP.NET + URLRewriting.NET + MVP Pattern - http://msdn.microsoft.com/en-us/magazine/cc188690.aspx

NHAML

Haml is a refreshing take that is meant to free us from the shitty templating

languages we have gotten used to.- http://haml.hamptoncatlin.com/

..and the rest of ASP.NET MVCContrib

NHAML Demo

Nhaml Resources

• Andrew Peter’s Blog (creator of Nhaml) - http://andrewpeters.net/

• MVCContrib Codeplex - http://www.codeplex.com/MVCContrib

• MVCContrib Google Group - http://groups.google.com/group/mvccontrib-discuss

Nhaml Alternatives

• Nvelocity - http://www.castleproject.org/others/nvelocity/index.html

JQUERY

jQuery makes JavaScript fun

jQuery Demo

jQuery Resources

• jQuery.com• Learning Jquery -

http://www.learningjquery.com/• FlyDom Plugin -

http://plugins.jquery.com/project/FlyDOM

jQuery Alternatives

• Prototype - http://www.prototypejs.org/• Scriptaculous - http://script.aculo.us/• Mootools - http://mootools.net/• ExtJS - http://extjs.com/

Castle ActiveRecord

NHibernate

Active Record Demo

ActiveRecord Resources

• ActiveRecord - http://www.castleproject.org/activerecord/index.html

• Nhibernate - http://www.hibernate.org/343.html

• Nhusers Google Group - http://groups.google.com/group/nhusers

Active Record Alternatives

• SubSonic - http://subsonicproject.com/• Entity Framework -

http://msdn.microsoft.com/en-us/library/aa697427(VS.80).aspx

SQLite

SQLite Kicks Ass

• < 250k, ADO.NET Provider + SQLite < 600k• Full ACID Transaction Support• Zero configuration• 2TB database size limit• Single file• Faster than the competition

SQLite Demo

SQLite Resources

• ADO.NET Provider - http://sourceforge.net/projects/sqlite-dotnet2

• SQLite Administrator - http://sqliteadmin.orbmu2k.de/

SQLite Alternatives

• SQL Server Compact Edition - http://www.microsoft.com/sql/editions/compact/default.mspx

• NOT SQL Server Express

MbUnit

Unit Testing for People Who Love Unit Testing

MbUnit Demo

mbUnit Alternatives

• nUnit - http://www.nunit.org• xUnit.NET - http://www.codeplex.com/xunit• NOT MSTEST!

Moq

Simple Mocking w/ Lambdas!

Moq Demo

Moq Alternatives

• Rhino.Mocks - http://www.ayende.com/projects/rhino-mocks.aspx

• Typemock (commercial) - http://www.typemock.com/

Ninject

Dependency Injection / IOC

Ninject Demo

Ninject Alternatives

• Castle Windsor - http://www.castleproject.org/container/index.html

• StructureMap - http://structuremap.sourceforge.net/Default.htm

Watin

When you can’t use ASP.NET MVC

Watin Test Recorder

Watin Demo

Watin Resources

• Watin Test Recorder - http://watintestrecord.sourceforge.net/

Watin Alternatives

• WatiR - http://wtr.rubyforge.org/

Cruise Control.NET

It can be a pain, but it’s worth it

CruiseControl.NET Alternatives

• TeamCity (semi-commerical)