Recent Posts

2
Comments

Colored Query Windows in Microsoft SQL Server 2012 by mlife

As s software developer or DBA, we are always in situation of having a lot of Query Windows open and being connected to several instances of SQL Server such as Local instance, Acceptance instance, Production instance and so on. Typically we use only one...
Filed under:
1
Comments

Introducing a new ValidateRequest feature in .NET Framework 4.5 for WebForms by mlife

As you know, ValidateRequest is a security feature which has been available since .NET Framework 2.0 in WebForms. This feature prevents users from entering html content in input fields to keep the application away from different kind of XSS injection...
Filed under: , ,
0
Comments

A review on the book "Windows Azure and ASP.NET MVC Migration" by mlife

A few days ago I started and finished reading the book " Windows Azure and ASP.NET MVC Migration " and decided to write a review on it. The book has been published by Wrox publication on July 2, 2013 and contains 224 pages, organized in 8 chapters. As...
1
Comments

Useful links and resources for .Net designers and developers - Part 1 by mlife

Since today, I am going to share my major useful links and articles which I found during the week, here. This helps you take advantage of my findings and also helps me to keep the track of my activities. So let’s get started. 1. Official Bootstrap Resources...
2
Comments

How to set CurrentCulture for all threads in a domain in .NET 4.5 by mlife

Before .NET 4.5 if we wanted to set CurrentCulture for the current thread, we would need to set the culture in somewhere like application bootstrap. For example in the following code we set the culture to en-us: System . Threading . Thread . CurrentThread...
2
Comments

A handy extension method for DropDownList in ASP.NET MVC by mlife

Scott Allen has recently published a post named " DropDownListFor with ASP.NET MVC " and there are some cool ideas in the post. It's highly recommended reading Scott's post before mine. After reading the article, an idea came into my mind. When working...
Filed under: ,
0
Comments

A brief introduction to Entity Framework Power Tools by mlife

Microsoft introduced Code First in Entity Framework 4.1 and that was a revolution in ORM world and since then, Entity Framework is truly much more than a pure ORM. Although Microsoft has attempted to keep programmers away from direct designing database...
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...
12
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...
More Posts Next page »