.NET news » Search results

Search results for query "namespace" (11):

Syndicating and Consuming RSS 1.0 (RDF) Feeds in ASP.NET 3.5

Until recently, there was no built-in support for creating or consuming syndication feeds in the.NET Framework. That changed with the release of the.NET Framework version 3.5, which included a new namespace: System.ServiceModel.Syndication.

This new namespace includes a handful of classes for working with syndication feeds. As aforementioned, syndication feeds are XML files, and for the syndication feed to be of any use it must conform to one of the popular syndication feed standards. The two most popular syndication feed standards are RSS 2.0 and Atom 1.0, and these are the standards supported by the classes in the codeSystem.ServiceModel.Syndication namespace. But there is a third format that, while not as popular as RSS 2.0 or Atom 1.0, is still used. That standard is RSS 1.0./?p

The good news is that with a little bit of work we can create a class that works with the RSS 1.0 standard and have this class used by the syndication feed-related classes in the.NET Framework 3.5 can be. This article introduces a free library, skmFeedFormatters, which you can use in an ASP.NET 3.5 application to create and consume RSS 1.0 feeds.

Dynamic Creation Of Assemblies/Apps

This is a bit of a strange article, and may not be that useful, but I think its a very interesting subject, that some will probably not even be aware of. This article will cover some of the less known namespaces within .NET. Such as System.CodeDom and System.CodeDom.Compiler. What I will be demonstrating in this article, is just how neat these namespaces are and what can be done with them. Specifically I will be demonstrating that we are able to build entirely new source code files at runtime using the System.CodeDom namespace and the use the System.CodeDom.Compiler namespace classes to even compile this newly created source code into a runnable application. This will all be created at runtime.
2008-01-27 09:27:00   Source: Dynamic Creation Of Assemblies/Apps   Tags: Other

Using MSMQ , Backgroundworker Threads in C#

This article covers MSMQ functionality exposed through the System.Messaging namespace.
2012-03-30 00:38:00   Source: Using MSMQ , Backgroundworker Threads in C#   Tags: C#

Create Your Own Mailing List Server with .NET 2.0

Learn how to build your own mailing list server, making use of the new classes located in the System.Net.Mail namespace in .NET 2.0, as well as some techniques to retrieve emails from Outlook.
2007-11-07 00:38:38   Source: Create Your Own Mailing List Server with .NET 2.0   Tags: Internet Examples

Animation in Silverlight

In this chapter, you will be learning the fundamental concepts of Animations in Silverlight Application, which includes Animation Types, namespace details, classes, objects used, implementation of different types of animations with XAML and with C# code ...
2010-06-09 09:57:00   Source: Animation in Silverlight   Tags: Silverlight

How To: Showing Notifications with Mobile 5

Question: My company is in the process of developing an Windows Mobile 5 mobile application. One of the things that we need to do for the application design is show notification. I have read that this can be done. However, I can't seem to figure out how it can be done. Do you have any code samples or ideas about how this can be done?

Answer: When developing mobile applications using Windows Mobile 5 this is definitely an extremely useful feature to include within your application. The Microsoft.WindowsCE.Forms namespace provides a managed implementation of the notifications function. It is important to remember that this is only supported on the Pocket PC platform.

2006-02-13 21:38:00   Source: How To: Showing Notifications with Mobile 5   Tags: Mobile

App Verifier for WM 5

Just ran across the App Verifier that now supports Windows Mobile 5

http://www.microsoft.com/downloads/details.aspx?FamilyID=d275348a-d937-4d88-ae25-28702c78748d&displaylang=en

If you aren't familiar the Application Verifier tool assesses the stability of an application and detects common programming mistakes. The tool can detect and pinpoint memory leaks, handle leaks, and leaks in graphics device interface (GDI) objects.

2006-02-06 00:29:00   Source: App Verifier for WM 5   Tags: Software Debug

Using a WPF Docking Manager in a PowerBuilder WPF Target

In a previous PBDJ article, we looked at using a third-party control, a ribbon control in particular, in a PowerBuilder WPF target. One of the other “most requested” features people have asked for is the capability to provide docking windows in their PowerBuilder applications. In this article, we’re going to look at how we can do that in a PowerBuilder WPF application using a third-party docking manager. The particular docking manager I’m going to use is the AvalonDock, an open source project on CodePlex (http://avalondock.codeplex.com/). At the time of this writing, the current version is 1.3.3571. However, that one has some dependencies on Visual Studio 2010 and .NET Framework 4.0 libraries. PowerBuilder .NET 12 is based on the Visual Studio 2008 isolated shell, so I’m using an older build (1.1.1509) that doesn’t have these dependencies. First, we’ll add the AvalonDock assembly and a reference to a new WPF application. Create a new WPF window and add the AvalonDock namespace to the Usings property for the new window. I called that new window w_frame, and coded the open event of the application object to open it. I then dropped a DockingManager control onto the window. Next create a menu (I called mine m_menu) and associate that menu with the new window as well.

read more

2011-08-16 09:02:00   Source: Using a WPF Docking Manager in a PowerBuilder WPF Target   Tags: Internet

Using Microsoft's Chart Controls In An ASP.NET Application: Using the Chart Controls with ASP.NET MVC

The Microsoft Chart controls are a series of classes in the System.Web.UI.DataVisualization.Charting namespace that allow web developers to ability to add charts to their ASP.NET applications. The most pertinent charting-related class is the Chart class, which contains information about the chart's appearance, series, charting areas, and so forth. In most of the demos and code samples we've explored thus far, we've used the Chart class as a Web control, adding the <asp:Chart> declarative markup to our ASP.NET page, setting a few properties and, occasionally, writing a few lines of code. When used as a Web control, the Chart class both creates the chart (as an image) and then renders an <img> element that points to the generated chart image.

Using the Chart Web control is a standard practice in a WebForms application, but it is not suggested when building an ASP.NET MVC application. (While it is possible to add Web controls - including the Chat Web control - to the views of an ASP.NET MVC application, it is generally frowned upon.) So, if we can't use the Chart Web control in an ASP.NET MVC application, how do we display a chart? In addition to being used as a Web control, the Chart class can also be used programmatically. It is quite possible to create a new Chart object, set some properties, plot the data points, and then generate the chart image. In fact, we looked at using this technique in an earlier installment, Programmatically Generating Chart Images, in which we saw (among other things) how to generate chart images programmatically and add them as attachments in an email message.

This article explores how to display charts in an ASP.NET MVC application.

2010-09-21 19:00:00   Source: Using Microsoft's Chart Controls In An ASP.NET...   Tags: Other

Using the TreeView Control and a DataList to Create an Online Image Gallery

the treeview control, when viewed through a browser.

ASP.NET version 2.0 includes a wide array of Web controls not found in previous versions. One such control is the TreeView, which is ideal for displaying hierarchical data. The TreeView control can be bound to a hierarchical data source such as the XmlDataSource or SiteMapDataSource, or can be constructed programmatically.

One common source of hierarchical data is the web server's file system. In many scenarios, there may be a folder that contains subfolders and files that the user needs to be able to browse. Using the classes in the System.IO namespace, we can programmatically populate the TreeView with the directory structure of our website. Then, when the user clicks a folder, the selected folder's files can be displayed.

In this article we will examine how to create a simple image gallery web page that's a breeze to maintain. The image gallery lacks the bells and whistles found in more complex and feature-rich image galleries, but this one is a cinch to deploy and maintain. We'll be using two Web controls: a TreeView to list the folders and subfolders in which the images reside; and a DataList control that lists each image in the selected folder..

2006-08-29 19:00:00   Source: Using the TreeView Control and a DataList to Create an...   Tags: ASP.NET