Feb08

Disabling input validation in MVC2 using ASP.NET 4.0

Tags: .NET, Arquitectura
Imagine you need to make a web page in which you can edit HTML and send it back to the server (an html editor), so you place the input and when you submit the form, the famous “A potentially dangerous Request.Form value was detected from the client” error rises, so you try the old way and you set the input validation to false in the page.
No... [Read More]

Jan31

Testing your antivirus using EICAR Standard Anti-Virus Test File

Tags: Arquitectura
Sometimes you have to install an antivirus on your infrastructure or add virus detecting features to your application, then you have to test if it works… I don’t know you but I usually don’t have a virus available to test if the AV is correctly configured and I don’t want to test the system with a real virus.
So here comes EICAR Test File to... [Read More]

Jan14

Using DataAnnotations metadata with Linq2Sql entities

Tags: Arquitectura, .NET
One of the most useful features for CRUD screens that the framework (3.5 & 4.0) provides is DataAnnotations  attributes, by using them you can add metadata to your classes that describes, for example, if a field is required, the maximum length of an string and things so.
Combining that with ASP.NET Dynamic Data technologies can save a gr... [Read More]

Sep22

SQL Server Full Text Search + iFilters + documents in blobs

Tags: Arquitectura
A usually underused feature of SQL Server is the Full Text Search, usually we simply code LIKE statements and do not create catalogs to have more advances queries.
A very interesting feature of the Full Text Search engine is the integration with the iFilters that allow you not only search in the text fields, but also in the image (blob) fi... [Read More]

Mar08

Creating your own business context for ASP.NET

Tags: .NET, Arquitectura
Think of the typical e-shop application: You have the customer entity, the shopping cart entity, the shopping cart item entity, the product entity,... There are quite a few entities that you can access for every page.
The usual approach is to read values from the request or session (oh my god, don't abuse the session object) in every page tha... [Read More]

Feb11

MOSS and Hyper-V

Tags: Arquitectura, MOSS/WSS
When planning the architecture for our MOSS solution one of the decisions we have to take is whether to go physical or virtual. Most of times we go virtual for test/development servers and physical for production ones.
The servers power has increased significantly over the past years as multicore processors have been developed and RAM amount... [Read More]

Jan11

Green Computing, Virtualization and savings

Tags: Arquitectura
I've been reading The Architecture Journal #18, it's focused on green computing, and how to lower the power, refrigeration, space costs mainly by virtualizing/consolidating servers and optimizing some aspects of your applications. It's been a quite interesting reading, and it's quite impressive the way MS IT is consolidating their SQL Server base,... [Read More]

 Next >>