DevDays 2009

0
Realizou-se a semana passada o DevDays 2009, o evento anual da Microsoft Portugal destinado a juntar profissionais e curiosos em torno das tecnologias da casa, que este ano foi...

Conditional Post-build event in Visual Studio 2008

0
I have a class library project where I want to add the assembly to the GAC but only when the configuration is Debug. The solution is: if...

The Controls collection cannot be modified because the control contains code blocks (i.e. )

0
Because I have pages with the markup <%= someVariable%> like <script type="text/javascript"> function ConfirmCallBack(arg) ...

Adapting .netTiers for Enterprise Library v6.0 and .NET v4.5

1
Code generation is now more than ever a core activity in software development. With the growing complexity of systems and the need to meet deadlines, getting your database access...

Como Serializar um Objecto para XML e Deserializar um XML para Objecto

0
Serializar um Objecto para String (XML) StringWriter sw = new StringWriter(); XmlSerializer serializer = new XmlSerializer(typeof(OBJECT)); serializer.Serialize(sw, getAcessoryEquipmentsRequest.SearchCriteria); strXML = sw.ToString(); Deserializar uma String (XML) para Objecto StringReader sr = new StringReader(strXML); XmlSerializer serializer =...

Force Image Cache Refresh Programmatically

1
The best solution I found, to force the browser cache to refresh for an image, is to modify the image url in the html. Example: I have an image with this...

Aprovisionamento de sites no IIS6 usando uma aplicação ASP.NET

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

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

QueryStringPageViewer WebPart for Sharepoint

0
    ///     /// Mads Haugbø Nissen 2003(c)    /// Objectware AS    /// Norway    ///     /// http://weblogs.asp.net/mnissen    ///     /// The QueryStringPageViewer provides the same functionality as the regular...