Skip to main content

Posts

Showing posts with the label monitorizare

How to use Diagnostic Monitor on Windows Azure

The last update of Windows Azure (from June 2012) brought to us a lot new features. From virtual machines that can run Linux without any problem to distributed cache that can be store in-memory or on a dedicate machine. One new feature that can help us after we deploy a product for Windows Azure is the ability to monitor and track resources utilization in real-time. Until now, when we wanted to monitor the resources that are consumed on Windows Azure we had to redirect all the Diagnostics Monitor data to Windows Azure tables or blobs. After all this data were written in the data store we need tools to be able to be able to interpret this information. For this, a lot of free tools exist, but they don’t work all the time as we expected. Each time when they information were loaded a lot of data is passed between Windows Azure and us – this means extra cost. With the new version of Windows Azure, we have this mechanism build in. From the portal we can monitor and track the resources utiliz...

Cum sa facem debug si sa monitorizam o aplicatie ASP.NET de pe IIS.

De nenumărate ori, atat eu cat si voi am fost nevoiti sa facem debug pe aplicatii web. O sa incerc sa trec in revista modurile prin care se poate face debug la o aplicație web. Nu are importanta daca aceasta este ASP.NET sau MVC. Pentru a activa debugul trebuie sa setam atributul debug cu valorea true in web config. <configuration> <system.web> <compilation debug="true" /> </system.web> </configuration> Daca vrem sa activam doar pe anumite pagini debug-ul putem sa setam atributul Debug a directivei Page pe true. <%@ Page Debug="true" ... /> Sunt momente cand vrem doar pe masina locala( pe server) sa putem vedea mesajul de eroare, iar in cazul in care eroarea apare la un client sa afisam un mesaj standard. In acest caz putem seta atributul mode a nodului customErrors cu valoarea RemoteOnly . <configuration> <system.web> <customErrors defaultRedirect="Eroare.aspx" mode=...