Browse by Tags
All Tags »
ASP.NET »
DEV (
RSS)
Hi all! The meeting will take place tomorrow, March 14, 2011. This time, I’m going to dive deep into JavaScript concepts, such as context, closures, functions and so on. In my feeling, understanding those concepts is an absolute must for every web developer. Come and learn for free! You can still register using this link: http://wdcil3.eventbrite.com . See you there!
Internet Explorer 8 has introduced developers tools for inspecting and debugging web pages. It allows, for example, selecting a DOM element and investigating it, debugging JavaScript by stopping on errors or breakpoints and some other useful stuff. However, one thing was missing there: network traffic capturing and analysis. Traffic capturing is vital for analysis of your web site. Such tools usually show all the resources that are downloaded during a request, along with their response status...
Thanks to all the attendants of the yesterday’s session. I had a lot of fun, hope you had too. Please feel free sending me questions and comments. You can find slides and demos from the session on my SkyDrive: Have fun. Yours, Vlad Share | var addthis_config = {"data_track_clickback":true};
It is still not late to register and take part in the talk. This talk is going to be one of the richest sources of information about AppFabric Caching available, so you will definitely benefit from it. For details and registration: https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032460308&Culture=he-IL Here is the abstract for the talk: A vast majority of web applications use some kind of relational database to keep data. As it turns out, databases, while being robust, are the source...
I was planning updating my previous post , further explaining the “Padding Oracle” vulnerability, but have decided to write new post instead, explaining how you can minimize the chance of hacking. I think it will be more practical. A brief reminder: the vulnerability is based on the ability of the attacker to detect a decryption error when sending a modified request. In this post, I’ll work on a simple but typical application. I’ve seen hundreds of applications like that. The application uses...
Share | var addthis_config = {"data_track_clickback":true}; Yesterday (Sept 18), Microsoft have released a Security Advisory for a newly discovered vulnerability in ASP.NET applications. Following the advisory, Scott Guthrie has published a blog post regarding this vulnerability, detailing an eligible workaround for preventing the exploit. However, according to the investigation I’ve done during the past couple of days, unfortunately, this workaround is far from being enough for plugging...
I’ve spent some time last week trying to solve production-time IIS crashes, caused by one of our web apps. With the great help of Gadi Meir we’ve detected, that some naive code somehow causes an endless recursion, resulting StackOverflowException, causing IIS to crash, and recycle the app pool. With some effort, I’ve finally understood what has happened there, and I’m able to simulate the behavior. Consider the following code (which was created entirely for demo purposes): 1: public static object...
I’ve just spent two days and a night between them on the client site, trying to solve a severe performance problem with the application, that Netwise (the company I work for) has developed. It is an ASP.NET web application, running on Windows 2008 R2 with IIS 7.5 on a 4-CPU/8G machine. We’ve fine-tuned every possible IIS and ASP.NET setting, defined data caching, output caching, profiled almost every line of the code, however, the application still ran very badly, even when tested with 50 concurrent...
(Update: Thanks to Avi Pinto for pointing out at a stupid mistake regarding catching exceptions in every method. What I meant was that it is a bad practice catching exceptions in every method. Don’t catch exceptions if you have nothing to do with them) Yes, exceptions are one of most common sources of performance issues of any .NET application, and especially of ASP.NET Web Applications. Without going into details, every thrown exception, either handled or not, introduces a serious penalty on the...
There is a common misconception regarding ASP.NET validators among many ASP.NET developers, even seasoned ones. Many developers think that by adding a validator to a form and associating it to a control will guarantee the validity of that control’s value. They are SO wrong! Try the following: Create a new form with a Textbox, Required field validator and a Button. Associate the Validator with the Textbox, and set its ErrorMessage property to anything you want: < div > < asp : TextBox ID...
There are times you need to develop a data-entry web form calling and AJAX-enabled web service to perform some complex computations that must be done on the server (for example, when a database access needed to do the computation). The computation is sometimes based on numerous data-entry fields, so when a change in one of the fields has occurred, you want to send a web service request to re-compute the data. As a most simple example, I’ll create a form that is capable of doing an extremely difficult...