DevDays 2009
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
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. )
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
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
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
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
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
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
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
/// /// Mads Haugbø Nissen 2003(c) /// Objectware AS /// Norway /// /// http://weblogs.asp.net/mnissen /// /// The QueryStringPageViewer provides the same functionality as the regular...