Recent Posts

0
Comments

Clear Explanation of Concerns & Core Concerns & Cross-Cutting Concerns by mlife

As you probably know, Practice & Patterns's teem of Microsoft recently has released Microsoft Enterprise Library 5.0 and Unity Application block 2.0 . These versions of the products in opposite of prior versions have very great help and documentations...
11
Comments

Problem During Installation SQL Server 2005 on Windows 7 by mlife

Yesterday I was trying to install SQL Server 2005 on windows 7. During installation a popup error dialog shown with this message: The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server...
Filed under: ,
0
Comments

How to Backup and Restore SQL Express 2005 (AttachDbFilename mode) by mlife

At my last project, I was forced to write two functions for Backup and Restore SQL Express 2005 in a windows application. Application connect to database with AttachDbFilename mode. ( I did not use " Initial Catalog " in connection string for some reasons...
6
Comments

Using a free AutoMapper Component to Mapping Classes by mlife

Scott Mitchell in this month issue of MSDN Magazine has a cool post that has introduced a small tools about Data Mapping. Usually in enterprise applications developers don't use data access objects directly in other layers such as business layer. In this...
0
Comments

So Busy by mlife

Unfortunately I am so busy nowadays! This month is end of deadline for some projects. From next month I will write a lot of stuff here. Have a good time.
0
Comments

Examine Quality of your JavaScript Codes by mlife

Great place to examine quality of your JavaScript codes is here : jslint
Filed under:
0
Comments

Changing schema or owner of an object in SQL Server by mlife

There is a way to change owner of a given object in SQL Server 2005 and higher version. Object can be a stored procedure or table or view or user-defined function. In the following code snippet you see an example. ALTER SCHEMA dbo TRANSFER [MyOwner]....
Filed under: , ,
2
Comments

Microsoft Chart Controls Add-on for Microsoft Visual Studio 2008 by mlife

If you have worked with Microsoft Charting Controls , you know, after installing this package, Visual Studio don't add components to toolbox an you should do it manually. but there is a small Add-on that after installing, you can take advantage of Visual...
0
Comments

When Scott Guthrie writes a book by mlife

And now, When Scott Guthrie writes a book It's amazing. you can download free part of the book (free end-to-end tutorial chapter written by scott gothrie) and full source code now! Go here and enjoy.
Filed under: , ,
6
Comments

Using "Like" operator in parameterized queries by mlife

As you know parameterized queries has two benefit against regular queries . First for preventing of some SQL injection attacks and second take advantages of query plan caching. One simple example is like this. string command = "Select FirstName from UsersTable...
More Posts Next page »