• About programming – 7 points

    So many times I see people saying : “I can not have time to follow the tutorials – but give me some fast acces to some tutorials that solve my problem”. I have Programming is not about code – programming is about decisions that you do about what code to write. Programming can not be…

  • Generating history trigger with EF,edmx and TT files

    I have wrote in an older post ( http://msprogrammer.serviciipeweb.ro/2010/06/28/ef-automatic-history-of-table-and-t4-files-tt-files/ ) how to generate history code for tables . The easy solution was to create a tt file that track for the ObjectContext the SaveChanges for each table that has a “history” in name. the limitation is that,when you raise an sql command such as “update…

  • LogParser,PowerShell and Quick and dirty parsing of IIS files

    For a local enterprise IIS system you do not have to resort to Google analytics or other beasts that interprets IIs logs. After all,users are identified through ActiveDirectory,does not matter from what city do they come,and so on. But it will help to have some details of wjhat happened on the system this day( or…

  • Logparser quick and dirty

    Sometimes you must find information in text files. Many,many text files,like IIS logs or other custom non-regular formats. I have a bot from http://www.imified.com/ – and I log the messages with log4net in text files,with another messages. An entry looks like that : System.ArgumentException: ;channel=private;botkey=<guid>;userkey=<guid>;user=name@yhaoo.com;network=Yahoo;msg=hello;step=1;value0=hello;to=asdasd And there are multiple log files that I want to…

  • First Install of tools for programmer

    My primary tools are Visual Studio ( and the Express suite),Sql Server ( and SQL Server Management Studio )( and the Express suite) and Office (Excel,Word) Those are the modification that I do every time … I wish there were enabled by default : For VS2010 Go to=> Tools,Options,Html,Formatting,Check “ Insert attribute value quotes when…

  • TT files – generate enum from database

    Many times you will program against a table that contains something like an enum,like Status( open=1,close=2,sent=3,approved=4 )  . It is peculiar to wrote those status as text in the other tables – and you do not like also to have update their codes in the C# (VB.NET) code source each time you will add another…

  • Twitter Weekly Updates for 2010-08-29

    fake,but funny : http://thechive.com/2010/08/10/girl-quits-her-job-on-dry-erase-board-emails-entire-office-33-photos/ # we are not paid to write code : http://haacked.com/archive/2010/08/26/not-paid-to-write-code.aspx # Powered by Twitter Tools

  • Twitter Weekly Updates for 2010-08-22

    all we fail sometimes http://www.makeuseof.com/tag/top-ten-dead-google-projects-floating-cyberspace/ # teach kids programming : http://www.readwriteweb.com/archives/4_tools_for_teaching_kids_to_code.php # Powered by Twitter Tools

  • Why the posts can not be equal

    There are multiple times that I have been accused of having made the posts either too heavy,either too simple,either the code is not good,either… I have to say that : 1. You can not follow me,if you want … 2. The reason of the posts is that I want to share my experiences with another…

  • Twitter Weekly Updates for 2010-08-15

    best practices : http://agile.dzone.com/news/death-best-practices # Powered by Twitter Tools

I am ok , you are ok