(Ben Nadel) When users can interact with your website by submitting content, it opens your site up to potential harm. In the worst case scenario, this might provide malicious hackers with a way to execute Cross-Site Scripting (XSS) attacks; in the best “bad” case scenario, it might simply mess up yo
Tag: Development
Showing and Hiding Content of an ASP.NET Panel using jQuery
(Mr. Truong) In this article, I will be making use of the jQuery Effects API to demonstrate some cool effects on the ASP.NET Panel.
Complexity in ASP.NET MVC, Part 1: Dealing With Large Models
(Brian Mains) At times, every developer has a web forms page or MVC view that ends up getting pretty complex, for various reasons. Whether it pulls in and integrates a lot of data (such as a portal page) or allows users to edit a lot of information, applications require data, and the amount of data
WPF: Calculating arithmetic values on the fly when data binding
(Ged Mead) I’m not sure that’s the clearest title I’ve ever written, but the scenario I have in mind is this: You have various UI elements of a WPF Window bound to data, most of them with a path to a specific field. But you want one TextBlock to display the result of a calculation that’s applied t
StatusBar in C#
(Mahesh Chand) StatusBar control is not available in Toolbox of Visual Studio 2010. StatusStrip control replaces StatusBar in Visual Studio 2010. But for backward compatibility support, StatusBar class is available in Windows Forms. In this article, I will discuss how to create and use a StatusBar u
How to: Debug a Custom Index Connector
(Corey Roth) I have been researching Custom Index Connectors in SharePoint 2010 over the past few weeks. I have been working with the MyFileConnector sample provided in the SDK, but after I made some changes, I realized it wasn’t immediately obvious how to debug my code. Luckily, @mwiselka helped
Introducing the Microsoft Web Farm Framework
(Scott Guthrie) Last month we released a beta of the Microsoft Web Farm Framework. The Microsoft Web Farm Framework is a free product we are shipping that enables you to easily provision and mange a farm of web servers. It enables you to automate the installation and configuration of platform compo
Speed Up Repetitive Insert, Update, and Delete Query Statements
(Mark Strawmyer) Welcome to this installment of the .NET Nuts & Bolts column! This particular column harkens back to the style of some of my early columns where I took a problem faced in my every day project work and shared the solution with the masses. In this case, the problem at hand is how to bo
Using jQuery’s Proxy() Method In Event Binding And Unbinding
(Ben Nadel) Yesterday, I explored the use of jQuery’s native event management in the creation of object-oriented publication and subscription (pub/sub) functionality. In order to do this, I had to make use of jQuery’s new proxy() method that allows function callbacks to be executed in the context of
Building Interactive User Interfaces with Microsoft ASP.NET AJAX: Rebinding Client-Side Events After a Partial Page Postback
(Scott Mitchell) The UpdatePanel is the workhorse of the ASP.NET Ajax library. It is responsible for defining regions of a web page that trigger partial page postbacks (as opposed to full page postbacks). Such partial page postbacks transfer less information between the client and server and have th
