find a location for property in a new city

Thursday, 23 December 2010

3 things that changed ASP.NET development in 2010

As 2010 draws to a close I thought about how I was writing code last year. I realised how much development has changed in just one year. I want to look at how my work has evolved during 2010.

Entity Framework 4

I really like using Entity Framework. I wasn't quite sure about it in its first version, however, since the release of Entity Framework 4 in April I fully adopted it. It solves so many problems that I feel exist in modern web development.

I like stored procedures, I know a lot about using and optimising them but there is something seriously wrong with their concept - you have business logic in your database! When you think open mindedly about what a logical architecture should be you realise just how ridiculous that is. Entity Framework takes the last remaining strand of business logic back to the web developer.

Aside from the improvement in architecture, the other benefits I love about it is that speed you can develop with, deferred querying that improves reuse of queries, strong typing of Linq to Entities, Intellisense when writing queries, no more mapping, no more writing tedious POCOs, lack of tedious code in general.

Its hard to believe only a year ago I was writing stored procedures.


Again, I had a look into this when it was in its first version but was carried by the hype around v2. I fully adopted the use of MVC in April too and what a joy it has been to use.
A lot has changed over the last 10 years of web development such as increasing expectations of performance and web standards, popularity of unit tests and agile development, ubiquity of AJAX.

Now, I wouldn't go so far as to say there is anything wrong with ASP.NET Webforms I just feel that ASP.NET MVC has been a superb reaction to these changing trends in what web developers want to produce.

Whilst all of the above concerns can be answered by Webforms, like turning off view state to remove bloat, moving logic out of code behind to unit test, improved web standards in ASP.NET 4 etc you still feel as though you are swimming up stream some what.

I much prefer to get down and dirty with ASP.NET MVC. It's refreshing to get involved in HTML and HTTP again in a way that was abstracted out of your hands with web forms. It makes you feel like a real developer again, omnipotent! Of course the framework and templates do a lot of the tedious work for you but let's keep that quiet ay... Omnipotent! Remember that, yeah.

It's hard to think only a year ago I was using web forms.


This has obviously been around for some time but I think only during 2010 has Microsoft's commitment to open source and code contribution has really shone through. It had been displayed, proven and truly adopted by the community. Look at how much there is to gain from MVC contrib.

I would like to think this is why frameworks such as Entity Framework and ASP.NET MVC are evolving so quickly and more importantly in the right direction. Microsoft is really listening to the community now. Forums and polls about what you would like to see in the next version of Entity Framework for example.

It is not just direct listening either, I'd be extremely surprised if Microsoft weren't reading blogs, browsing stackoverflow and stalking twitter to gain insight into what the community love and what they are crying out for.

It's hard to think last year I didn't have a blog or a twitter account or contribute on stackoverflow or publish any code.

Follow britishdev on Twitter


  1. Any idea about ASP.NET MVC3 >

  2. Completely agree about ASP.NET MVC 2.

    Not so sure about your comments on stored procedures though. "Business logic in the database" is a bit of a misnomer; it's actually provided by the database management system (DBMS).

    This may seem like splitting hairs, but consider this: What is the purpose of any DBMS other than to ensure the integrity of data within the database?

    Now consider one of the ways SQL DBMSs do this: Referential integrity within tables. A customer has a one-to-many relationship to Orders. What is this if not business logic? Should one not create foreign key references between tables then? After all, that is business logic outside the data layer. By your argument, FK relationships are bad, mmmkay?

    Such an assertion almost invalidates the whole purpose of using a DBMS!

    Regards, Matt

    PS. Great blog!

  3. Thanks so much for your comment Matt. I see your argument that database architecture is of course aligned with business requirements.

    I was, however, thinking of a time I wrote a mortgage eligibility (and comparison) engine where a users' financial details are gathered and sent to a stored procedure that used a huge amount of logic to decide which of the mortgages, stored in the database, the user was eligible for.

    This was blatant business logic in the database. The only alternative was to return all mortgages and decide which they are eligible for using Linq-to-Objects (massive network transfer) or create a SQL command dynamically in code (messy).

    Cheers for you thoughts Matt. It's great to get such a well thought comments like yours and I'm glad you're enjoying the blog!

  4. I don't agree with superdev. Foreign key constraints define real-world relationships that are independent of the business. Regardless of whether you work for or HSBC, the relationship between customers and orders is one-to-many. But each business will have its own business rules which belong in a layer separate from the database. That's my two cents.

    Colin, what's your view on other ORM solutions? I'm a big user of NHibernate, have you considered using this?


  5. This blog is really great.This site is very helpful and informational : click here

  6. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.

  7. Hey, thanks for this great and awesome guide, its helpful for a newbie in Programming field, I am planning to convert my Wordpress site on ASP.NET the best dissertation writing company in UK.

  8. Hey, thanks for this great and awesome guide Here is my site

  9. Visit for more Nice blog. Found this while searching through

  10. Playing Android games on PC isn’t much of a fun, once you get used to playing it all on a Touch Screen,
    Smash Hit For PC

  11. Ordinarily when your PC is ensured by the avast, they may encounter a square of the program from Avast. It can either be a program or site or perhaps some equipment associated with your pc. As indicated by your Avast Antivirus, your connection is perilous and presents risk, while as per you it's simply the purpose of small misjudging. These are called bogus Positive outcomes. You can dispose of such issue basically by making an Avast exceptions whitelist

  12. The light works in a very decent manner. You should simply both you and the individual you need to keep in contact need to have these lights. In addition, you should set a one of a kind shading. So at whatever point the other individual contacts their light. You will find a good pace is her. Source - The Daily Buzz

  13. Hi people, Z3x Samsung tool pro is a brilliant contraption made and passed on by the Z3x gathering. This item will help you with opening codes on all the Samsung devices, and you can get it from the Z3x official site. Regardless, Not each individual needs to pay for it, that is the explanation we've made this page for you.

  14. Best Pizza Epping - Menu, Photos, Ratings and Reviews of Restaurants serving Best Pizza in Epping. Best Epping Pizza.

  15. Gonorrhoea Causes for the most part happen inside two to 14 days after introduction. Be that as it may, a few people contaminated with gonorrhea never create recognizable side effects.

  16. is a Website which give most recent employment warnings, result notices, concede card cautions, answer key alarms, and so forth.

    This excursion began on 15 Nov. 2019 and after that it never halted. Our group keep it's earnest attempts to make this occur and keep everybody refreshed pretty much all most recent activity warning as quickly as time permits.

  17. Best Pizza Epping - Menu, Photos, Ratings and Reviews of Restaurants serving Best Pizza in Epping. Best Epping Pizza.

  18. Most Indian cuisine is related by the similar usage of spices and the use of a greater variety of vegetables than many other cuisines. Religious and caste restrictions, weather, geography and the impact of foreigners have affected the eating habits of Indians.

    - Maharajaonline

  19. Buy Facebook Likes cheap with refund guarantee. Get Facebook photo likes. Buy real Facebook post likes. Buy Facebook Photo likes from India, UK, USA.


  20. الرائد افضل شركة عزل خزانات بالرياض شركة عزل خزانات بالرياض اتصل بنا الان

  21. The number 1 online football betting website UFABET is the most popular service in Thailand. Official, online sports betting and all types of casinos. The entrance to UFABET can be played through the website or on the mobile phone. Iphone (iPhone) or Android (Android), which has a safe and professional, reliable and With standards to support Online football betting Through the internet and online casinos that have a variety of games to choose from to play.

  22. Satta Matka is a number gamble, where you will choose your numbers right to earn better. Try to follow the 3 Golden Rules while playing Satta.

  23. Lee, zihinsel sorunlardan kurtulan bir hasta ve hatta kendine zarar veriyor. Bir sekreterin işini saygın bir avukata aldığında, profesyonel ilişkiyi, her ikisini de akıl sağlığı için asılı bırakan sadomazoşist bir ilişkiye Web siteleri dönüştürür.

  24. buy fake drivers license online
    So we offer our clients to use the Real documents if they want to use the document legally. If you need to buy fake drivers license online
    urgently we advise our clients to go with fake driving license online because we take less than a week for your fake driving license online.

    For more details you can visit our website: OR WhatsApp: +1(443) 351-8162 OR Email us at

  25. UFA007 is one of the best online Betting Casino which can help you earn money.
    You can gamble on your favourite sports such as Football, Baccarat, and more. You get all the categories games under the categories and entire platform is supervised by UFABET.
    Get your money in 24-hours with the 30 second automatic system. Meet the real players and win the game.