Converting Hexadecimal string to byte[]
string hexString = txtHex.Text; int discarded; txtByteCount.Text = ((int)HexEncoding.GetByteCount(hexString)).ToString(); txtLength.Text = hexString.Length.ToString(); byte byteArray = HexEncoding.GetBytes(hexString, out discarded);
Dealing with Memory Pressure problems in MOSS and WSS
I just a found another great post about memory management and performance issues on the SharePoint platform. This article defines the concept of "Memory Pressure" and discusses in great...
Different web.configs
In the project that I'm currently working I had a problem because my connection strings are different from the other developers: I want to work locally in my SQL...
Aprovisionamento de sites no IIS6 usando uma aplicação ASP.NET
O exemplo apresentado de seguida permite efectuar a criação de um site no IIS6 a partir de uma template. Esta solução torna-se particularmente útil para cenários em que seja necessário...
Integration Tests in .NET WebApi
In software development, testing is an essential aspect that ensures the stability and reliability of applications. Three primary types of tests are commonly used: unit tests, integration tests, and end-to-end tests. In this blog post, we will discuss these testing types in the context of a .NET WebAPI project and provide an example implementation of integration testing using an in-memory database.