12 Aralık 2011 Pazartesi

Writing a .Net debugger in 15 mintues

Hi,
I found this interesting link via tweets.

It creates mini dumps on each exception with whole error stack.

Worth to look..

Worst case: Waste of 15 minutes :)

http://tripleemcoder.wordpress.com/2011/12/10/writing-an-automatic-debugger-in-15-minutes-yes-a-debugger/

8 Aralık 2011 Perşembe

Epic Fail

Some code fragments I have seen so far...

- Being sure of the type (!)

 " ".ToString()
"".ToString()



- Creating sql queries in code:

string query = "SELECT * FROM Customers WHERE customerName '" + customerName + "'";

no parameter, no string.Format()

Better version
string query = "SELECT * FROM Customers WHERE customerName LIKE '%" + customerName + "%'";

yeah.. using LIKE.. with no reason.

14 Kasım 2011 Pazartesi

MVC 3

Here is a good tutorial about MVC 3.

http://www.asp.net/mvc/tutorials/mvc-music-store-part-1

The source code and pdf tutorial.

http://mvcmusicstore.codeplex.com

It covers all the basic concepts. The goal is to cover ad end-to-end application building scenario.
At the end of the tutorial you ll have a nice small music store web page.

I strongly suggest it.

After that you can check the MVC 3 tutorials in pluralsight web page.
http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=aspdotnet-mvc3

In here you can find some useful topics like remote validation, use of partial views, html helpers, global action filters, Dependency Injection and more..

I ll try to share more links.

Have fun

edit:

Here is a PDF which explains the implementation of .Net Membership in MVC seperating the Business, Model and Controller Libraries.

Can be useful to have an opinion by creating your soluiton architecture.

http://learnbycoding.com/wp-content/uploads/2011/07/20110522_Implementing_Custom_Membership_Provider.pdf



13 Kasım 2011 Pazar

Unreal University

Unreal University has published several videos which are free to watch on youtube.

If you are interested, I think it might be good resource for you.

http://www.youtube.com/user/UnrealDevelopmentKit#p/u/0/IYutkUlZ9zg

Cassandra - Data Object model

The ones who are interested in Cassandra data model, which is quite different than RDBMS, the following article link might be helpful for start up.

Column, SuperColumn, Colum Family etc.


http://arin.me/blog/wtf-is-a-supercolumn-cassandra-data-model

7 Ocak 2011 Cuma

Hadi bakalim basliyoruz..

7 Ocak 2011 tarihi itibariyle yayinimizi baslatiyoruz.

I actually shut down my old domain account denizintepe.com due to the high costs.

I ll try blogging, but probably I ll get bored, but we ll see.

Here we go..