Search
847 articles

Website

Web development with ASP.NET, PHP, JavaScript, HTML5 and CSS, plus SharePoint sites.

Related sections: DatabaseWindows AzureWindows Phone

Cloud Application Architectures : Web Application DesignI cannot possibly address the intricacies of each of the many platforms developers use in building web applications, but most of the issues you will face have nothing to do with your…Oct 12, 2010Microsoft ASP.NET 4 : Configuring ASP.NET from IISIf your site is running from within a virtual directory (through IIS), you can use the features view in IIS to edit configuration information. To do so, your site must be managed by IIS.Oct 12, 2010Microsoft ASP.NET 4 : .NET Configuration.NET configuration files are well-formed XML files whose vocabulary is understood by the .NET runtime. You can see a list of all the configuration files by looking in the configuration…Oct 12, 2010Programming WCF : Queued Services - TransactionsMSMQ is a WCF transactional resource manager. When you create a queue (either programmatically or administratively), you can create the queue as a transactional queue. If the queue is…Oct 12, 2010Programming WCF : Queued Services - Queued CallsWCF provides support for queued calls using the NetMsmqBinding. With this binding, instead of transporting the messages over TCP, HTTP, or IPC, WCF transports the messages over MSMQ.Oct 12, 2010The Membership Data StoreThe key membership feature is the ability of ASP.NET to store user credentials in a database. The idea is that you make a few choices about the information that will be stored and the…Oct 10, 2010Creating a Web Application with VB 2010 with Navigation and Data-BindingVisual Basic 2010 makes it easier to create Web applications with navigation capabilities, because the Web Application project template provides a master page implementation with default…Oct 10, 2010Building ASP.NET Web Applications : Understanding State ManagementState is managed via some special objects: Application, Cache, Context, Session, and ViewState. All of them work with the Object type, and you use them like dictionaries, so they accept…Oct 10, 2010The AJAX Control Toolkit : Adding Safe Popup Capabilities to Web PagesDialog boxes are plain windows and can work with or without modality. A modal window is a window that disables entirely any visual elements underneath it. The user can’t take any action…Oct 10, 2010The AJAX Control Toolkit : Controls in the ACTThe Accordion control allows you to provide multiple collapsible panes and display only one at a time. When the user clicks a new pane, the currently displayed pane is collapsed to leave…Oct 10, 2010The AJAX Control Toolkit : Enhancing Controls with ExtendersASP.NET comes with a fairly rich collection of built-in controls. In addition, plenty of custom controls are available for developers from third-party vendors, from community projects,…Oct 10, 2010ASP.NET AJAX Extensions : Selective Page Updates with Partial RenderingAJAX is not a particular technology or product. It refers to a number of client features, and related development techniques, that make Web applications look like desktop applications.…Oct 10, 2010The ASP.NET AJAX Infrastructure : The Script Manager ControlThe main control in the server infrastructure of ASP.NET AJAX is the ScriptManager control and its twin, the ScriptManagerProxy control. You will find just one instance of the…Oct 10, 2010The ASP.NET AJAX InfrastructureFrom a developer-oriented perspective, AJAX collectively refers to a set of development components, tools, and techniques for creating highly interactive Web applications that give users…Oct 10, 2010Improve IIS 7.0 PerformanceIf users experience slow performance from a website you have deployed, all your hard work will definitely not be appreciated. What are some things you can do to enable your websites to…Oct 10, 2010Use the Command Line with IIS 7.0In this article we focus on the Appcmd.exe utility, which is specifically designed to be used for IIS 7.0 management. Appcmd.exe can be found in the %systemroot%\system32\inetsrv directory.Oct 10, 2010Work with IIS 7.0 : Delegate Rights AssignmentsYou have deployed your company’s website and realize that you need to be able to delegate some management to the web content developers. The developers do not all work in the same…Oct 10, 2010Consuming a Web ServiceWeb services return XML documents. An XML document is just a string, so you can use any programming language to modify an XML document. In fact, people use all kinds of languages — from…Sep 27, 2010Saying Hello to Web ServicesWeb services make extensive use of Web-based technologies, such as HTTP and XML. Thankfully, you don't need to dig into how Web services use these technologies because Visual Studio and…Sep 27, 2010Discover Services During Runtime (WCF)You want clients to dynamically discover available hosts on a network.Sep 26, 2010Communicate over the Internet (WCF)You want to communicate with a service on the Internet.Sep 26, 2010Produce an RSS Feed Dynamically in IISYou want to generate an RSS feed dynamically from a content database.Sep 26, 2010Consume an RSS FeedAn RSS feed is merely an XML file generated at regular intervals, consumed by an application that knows what to do with it. Therefore, it’s really just putting together pieces you…Sep 26, 2010Embed a Web Browser in Your ApplicationYou want to enable users to browse the Internet (or an intranet site) directly in your application. Alternatively, you just want to be able to render HTML with a standard browser…Sep 26, 2010Upload a File with FTPFTP is an old, but ever-popular file transfer mechanism, and .NET supports it out of the box with the WebClient, which will see the “ftp://” part of the URL and internally use a…Sep 26, 2010Download Web Content AsynchronouslyYou need to download web content with the ability to cancel it, and without blocking your own thread while the content finishes. See Figure 12.2 for an example of a program that allows…Sep 26, 2010Download Web Content via HTTPYou need to download a web page or file from the Web.Sep 26, 2010Send an Email via SMTPSMTP stands for Simple Mail Transport Protocol and is a simple, well-defined protocol for exchanging emails with an SMTP server. Thankfully, the specifics of the protocol are handled for…Sep 26, 2010Get This Machine’s Hostname and IP AddressYou want to retrieve the current machine’s hostname and IP addresses.Sep 26, 2010Resolve a Hostname to an IP AddressThe System.Net namespace contains much of the functionality, including such basics as the IPAddress and Dns classes.Sep 26, 2010Managing the CacheIn addition to placing items in the cache using the indexer, the Cache object implements a parameterized method named Insert that you can use to control many aspects of the cached item.…Sep 25, 2010Impact of CachingIf you included the Trace statements in the GetInventory method, you can surf to the trace page to see the effect of caching. The UseDataCaching application included here has the Trace…Sep 25, 2010Using the Data CacheUsing the data cache in the simplest and most naive way supported by ASP.NET is very much like accessing the Session object. Remember, accessing the Session object involves using an…Sep 25, 2010Caching User ControlsJust as whole pages can be cached, ASP.NET supports caching UserControls as well. Imagine your job is to create a sizable Web site that allows users to navigate through information using…Sep 23, 2010JavaScript Patterns : ConventionsUsing parseInt() you can get a numeric value from a string. The function accepts a second radix parameter, which is often omitted but shouldn’t be. The problems occur when the string to…Sep 23, 2010JavaScript Patterns : Minimizing GlobalsJavaScript uses functions to manage scope. A variable declared inside of a function is local to that function and not available outside the function. On the other hand,global variables…Sep 23, 2010Managing Cached ContentIn some cases, it's enough to blindly cache the content of certain pages by simply putting the OutputCache directive in the page. However, sometimes you need a bit more control over…Sep 20, 2010Caching Page ContentAs you surf the Web, you see all manner of pages. Some sites update their content very often, whereas others change much less often. Some pages have portions that change while other…Sep 20, 2010Accessing XML Data in SilverlightYou need to work with XML data in Silverlight using the XmlReader object as well as work with XML data in Silverlight using LINQ, because you would like to work with the XML data as a…Sep 15, 2010Building Out Of Browser Silverlight ApplicationsIn the default deployment model for Silverlight, an application is delivered through the Silverlight plug-in embedded in a web page and consequently accessed through the user's choice of…Sep 14, 2010