Asp.Net “Atlas”

0
Asp.Net AtlasAsp.Net Atlas ForumASP.NET “Atlas” is a package of new Web development technologies that integrates an extensive set of client script libraries with the rich, server-based development platform of...

Converting Hexadecimal string to byte[]

0
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);

Different web.configs

0
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...

How to add your custom content files into a nuget package (for Visual Studio)

7
Yesterday, I was assigned to fix a nuget package solution that was not packing all the needed files. I had a bad time searching online for answers, and had...

Enterprise Library: Criar ligação à base de dados de forma dinâmica

0
Já alguma vez precisaram, usando o Enterprise Library, de estabelecer uma ligação com um número de base de dados variável e em que a base de dados a ligar...

Integration Tests in .NET WebApi

0
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.
redirection

Redirecting 2 domains from http to https and non-www to www

0
Recently I had to configure some redirections in a website that contains two different domains. Both use https and I want the main site, which uses the primary domain, to...

Add a custom section to web.config

0
If you have created a custom section like this, and if you want to add it programmatically to web.config then you have to: Use the WebConfigurationManager class and open the...

SAP .NET Connector e a passagem de campos do tipo Date

0
O SAP .NET Connector é um ambiente de desenvolvimento que permite a comunicação entre aplicações .NET e sistemas SAP. A sua utilização é relativamente simples, funcionando na forma de...

Design Principles for AJAX Applications

0
Design Principles for AJAX Applications Minimise traffic between browser and server so that the user feels the application is responsive. Be clear on the interaction mode being used - regular...