Tenzin kabsang

Tenzin kabsang


  • April 27, 2011

    Customizing DateTime view templates in MVC3 to display jQuery datepicker utility

    By default MVC generates a textbox for a model property with a datetime value.  But most of the time you would rather have it generate some sort of a datepicker utility instead, here I’ll modify my project to do exactly just that.  So here I have an Address class with two DateTime properties that I Continue reading

    Software development
    datepicker, mvc, templates
  • April 17, 2011

    Using Entity Framework code-first on pre-built database

    First of all I am a true believer in SQL scripts and stored procedures and have spent countless hours honing my skills in those areas.  However, every time I start to work on a project I have to put on my DBA hat and think in terms of database schemas, relationships and normalizations.  Then if Continue reading

    Software development
  • April 12, 2011

    Funny Video

    Lets ditch the keyboard – and program using the wheel Continue reading

    Software development
  • April 11, 2011

    SQL Server–Creating a new database from a .bak file

    Backing up a database and restoring a database from a backup copy is something we do on a regular basis without much attention.  However, today I was trying to create a new database from the one that I already had for testing purposes.  So I backed-up the original database lets call it ‘xyz.mdf’, created a Continue reading

    Software development
  • April 10, 2011

    Converting tinyint to regular good’ol int.

    So today I was working on a project and came across the issue of extracting a tinyint value from the database using ADO.NET.  I also had to ensure that the returned value wasn’t NULL or else the conversion would throw a System.InvalidCastException simply because it can’t cast NULL to an int.  So the two things Continue reading

    Software development
  • April 10, 2011

    Why jQuery from CDN is preffered?

    These days if your website doesn’t contain jQuery then people might start disliking you for no reason. You better believe it and get on board, yes jQuery is the next big thing and it has been for quite a while, I might add. So, if you’re wondering how can I get started, then you should Continue reading

    Software development
«Previous Page

About Me

An ordinary programmer!

  • LinkedIn
  • GitHub

Recent Posts

  • Understanding PeriodicTimer in .NET: The Modern Way to Schedule Background Work
  • Kafka Consumer Swap: How to Migrate Without Missing a Beat
  • ASP.NET Core HybridCache library
  • Understanding Soft Delete Strategies in Application Design
  • JavaScript testing with Mocha, Chai and Grunt

Recent Posts

  • Understanding PeriodicTimer in .NET: The Modern Way to Schedule Background Work
  • Kafka Consumer Swap: How to Migrate Without Missing a Beat
  • ASP.NET Core HybridCache library

Follow Me

Tumblr

WordPress

Instagram

Newsletter

Blog at WordPress.com.

 

Loading Comments...
 

    • Subscribe Subscribed
      • Tenzin kabsang
      • Already have a WordPress.com account? Log in now.
      • Tenzin kabsang
      • Subscribe Subscribed
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar