(Scott Mitchell) Exceptions are a construct in the .NET Framework that are (ideally) used to indicate an unexpected state in executing code. For example, when working with a database the underlying ADO.NET code that communicates with the database raises an exception if the database is offline or if
Tag: Development
Building A Simple ColdFusion Dependency Injection Framework
(Ben Nadel) My ColdFusion applications are not yet very component-intensive. I have some objects that do some stuff, but I have nothing that approaches a fully modelled environment. As such, I have not yet felt the “pain” that so many people seem to feel in their applications. But after attending CF
UIHintAttribute with ASP.NET MVC 2.0 Html.DisplayFor Template Helper – DataAnnotations
(David Hayden) If you have been following my series of posts, you will remember that we have been working with a very simple Contact Class that has two properties, Name and Email. We also implemented a buddy class, called Contact_Metadata, to hold all the metadata ( attributes from System.ComponentM
Consuming ASP.net WebServices, WCF Services and static Page methods from JavaScript (sans MS AJAX)
(Sky Sanders) The Microsoft ASP.NET AJAX platform, known previously as ATLAS and ASP.NET 2.0 AJAX Extensions and fully rolled into ASP.NET 3.5, offers rich functionality but in certain scenarios the the required .ASPX client page and ScriptManager control coupled with the Microsoft Ajax library may
IP Address Location In ASP.NET
(Suprotim Agarwal) There are a lot of paid as well as free services that can find Visitor Geographical information like country, region, city, latitude, longitude, ZIP code, time zone etc from I.P Addresses. http://iplocationtools.com/ip_location_api.php is one such free IP Geolocation API that retu
Loading a text file in a WPF FlowDocumentReader
(Mahesh Chand) The attached project is a WPF application written in C# and XAML. It uses OpenFileDialog to browse text files and once text file is selected, it is loaded in a FlowDocumentReader that allows you to view, paging, and find options.
Determining Whether a Site Is Running or a URL Is Valid
(Srinath MS) The HttpWebRequest object makes it easy to check whether a web site is available or a URL is valid. Its HttpStatusCode property returns the status code from the request, which you can check to determine the site’s availability.
OpenFileDialog in WPF
(Mahesh Chand) The OpenFileDialog is used to browse files on a machine.
Building Reports Using ASP.NET and Crystal Reports – Part 4: Dynamic Grouping
(Vince Varallo) This is the fourth article of a series that uses ASP.NET and Crystal Reports to build reports using the Adventure Works Sample Database. Before reading this article it would be helpful to have read Part 1, Part 2, or Part 3, but it is not required. This article focuses on creating an
How To Create a Splash Screen with WPF
(Ged Mead) One small but sometimes useful new feature that was bundled with Service Pack 1 (SP1) of Visual Studio 2008 is the Splash Screen feature of WPF. This enables you to create an image file which is then used as splash while the main application spins up and loads.
