-
Asp.NET MVC and DOS – re-using the ViewModels
(Please read first : http://msprogrammer.serviciipeweb.ro/2010/03/29/asp-net-mvc-orm-and-viewmodels/ ) One of the biggest challenges in programming was write once- GUI everywhere ( Ok,ORM impedance mismatch is another story) I mean by that re-using the logic from an application in another application. ASP.NET MVC,with the commitment to strongly viewmodels,make me think that it will be now easier to transfer…
-
Twitter Weekly Updates for 2010-07-04
ms : http://techcrunch.com/2010/06/26/microsoft-numbers/ # http://www.makeuseof.com/tech-fun/wp-content/uploads/2010/06/lifeisunfair.png – but they do not count the number of words written/spoken # I’m not a programmer ! http://www.rethinkdb.com/blog/2010/06/will-the-real-programmers-please-stand-up/ # Powered by Twitter Tools
-
EF,automatic history of table and T4 files (TT files)
Usually the data of the tables should be tracking for who modified it. Think about inserting/updating/deleting an employee : you must know who did those actions and when. So you create another table,identically as structure,and you add another 3 fields,such as [ModifiedDate](when),[ModifiedBy](who),[ModifiedType] (what : insert,update,delete). There are several methods to do it : from database…
-
For all programmers
For all programmer,just remember : http://timstall.dotnetdevelopersjournal.com/coding_is_just_the_tip_of_the_iceberg.htm And he says nothing about clients,marketing,sales,promotion,SEO,SMM,and other usual stuff…
-
Monitor SqlServer Stored Proc execution time
I have had the task to made something to monitor what stored procedure,in Sql Server,in most used. The problem that I have had is that the host_name is easily changed by putting,in the connection string WSID (see http://msdn.microsoft.com/en-us/library/ms178598.aspx ) The code is for sql server 2005 and I have not realized without the help of…
-
file helpers
More than one time you need to let users / application import bulk data in your system . I have had many cases – data is old data from old software,that is exported in some text files,usually csv. In order to import fast the data,I used FileHelpers from http://www.filehelpers.com/ Let’s say you have the following…
-
Twitter Weekly Updates for 2010-06-06
.net salary http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=21216925&gid=136510&commentID=17252387&trk=view_disc # Powered by Twitter Tools
-
MVC Helper Templates
In my experiences with MVC I have some utilities to share . Some of them are : DateTime fields Numeric fields Watermark Dropdownlist more! Please see the project and give feedback MvcHelperApplication
-
Selenium and testing WebInterfaces
On some cases you need to test the whole web interface. Why ? Suppose you have some Ajax call. You can test the call on server,but how do you ensure that user experience is OK ? There are several testing projects for Web – for example selenium and Watin I will show how to test…
-
Entity Framework profiler
Many times I’ve had problem with the following error when inserting objects with dates with Entity Framework : System.Data.UpdateException An error occurred while updating the entries. See the inner exception for details.SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. Ok,it’s my faute – but to remember each one date is too…
I am ok , you are ok