(j. montgomery) I’ve been building a backlog of security vulnerabilities I’ve run across in ASP.NET over the past few years, whether from a web code assessment or something I’ve stumbled upon in our different source code repositories at contracting gigs. I plan to post variations of these vulnerabil
Tag: Development
Using new GeneratedImage control to display images from DataBase in GridView control in ASP.Net
(Satheesh Babu) Recently, Microsoft released a new image control called GeneratedImage control. Read my article on New Image Generator control in ASP.Net 3.5 which gives a basic understanding on this control. There are some users who requested to post the code to use this new control to bind images
Beginning Test Driven Development
(Brendan Enrick) As a software developer, it is nearly impossible to miss all the hype which has been revolving around Test Driven Development. Many people and organizations are embracing this old, but newly popular, idea. There are testing frameworks, mocking frameworks, IoC containers, and plenty
Architecture Made Easy, Part 4
(Mary Kotch and James Luisi) Maximizing business value requires gathering and analyzing operational metadata from each moment in your operational processes; the gathering of metadata on your operational processes is very much like having radar track everything that is happening in your business oper
Two-Way Databinding in WPF
(Radhika Vemura) As the name suggests, if either one of the property changes the other one automatically updates it.
Implementing autocomplete textbox in gridview using Ajax autocomplete extender
(Amit Jain) In this example i am implementing the AutoComplete functionality to textbox in the EditItemTemaplate of GridView using AJAX autocomplete extender, for this we need to create a web service which calls the method to fetch data from database and display results as suggestions for textbox.
Creating Master Pages in Windows Presentation Foundation
(AzamSharp) Master pages in ASP.NET 2.0 is one of the most used and important feature. Master pages allows to create a consistent look and feel of all the pages in the ASP.NET application. Unfortunately, there is no concept of master pages or master windows in Windows Presentation Foundation. In thi
Using LINQ to SQL in N-Tier Architectures
(emad_awad) This article assumes some basic knowledge and experience with LINQ to SQL. The article targets the design approach of using LINQ to SQL in N-Tier architectures, explains the solution to some of the problems faced, and gives a sample code for the solution.
Tips for Managing ASP.NET MVC Views
(Michaelon) After working on an ongoing ASP.NET MVC project for a couple of months I’ve learned a couple of lessons when it comes to dealing with Views. Keep as much logic out of the views as possible! This can be tricky because it’s so easy to let code sneak into your views. But by following the t
Updating Dynamic DataBound Columns with SqlDataSource
(Peter Vogel) In my previous column “Integrating Dynamic DataBound Columns with SqlDataSource,” I discussed the problem that generates the message “Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.” In that column, I laid the groundwork f
