<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="0.92" xml:base="http://www.primaryobjects.com">
<channel>
<title>Primary Objects Sitemap Articles</title>
<link>http://www.primaryobjects.com</link>
<description>Primary Objects Sitemap Articles</description>
<language>en-us</language>
<image>
<title>Sitemap Articles</title>
<url>http://www.primaryobjects.com/images/primaryobjects.gif</url>
<link>http://www.primaryobjects.com</link>
<width>248</width>
<height>33</height>
</image>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/PrimaryObjects" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">PrimaryObjects</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
<title>Managing SQL Strings in C# ASP .NET Applications</title>
<link>http://www.primaryobjects.com/CMS/Article109.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction Many ASP .NET business web applications involve the usage of a database in one form or another. Depending on the architecture of the web application, database calls may exist in the user interface, business tier, or data tier. Regardless of the layer, many developers include raw SQL query strings within their source code, for accessing the database. In fact, since the database classes accept a raw SQL string as a parameter when beginning a query or stored procedure call, it's common for developers to include the SQL query string directly in the source code. While as simple and straight-forward as this technique is, it introduces a variety of maintenance problems, including requiring a recompile whenever an SQL string is tweaked, complicating the source code with long SQL strings, and string concatentation of parameters in the SQL query which is prone to errors.&lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/27865614@N00/3069252649/"&gt;&lt;/a&gt;In this article, we'll de ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/uuwnDuRFPHM" height="1" width="1"/&gt;</description>
<pubDate>Fri, 18 Sep 2009 16:29:44 GMT</pubDate>
</item>
<item>
<title>Implementing the Repository Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article108.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction Writing a C# ASP .NET web application which utilizes a database can create increasingly complex code. The more complex code gets, the more difficult it becomes to debug, maintain, and enhance. The Repository design pattern is a way of introducing architecture into your C# ASP .NET web application, which creates a clear layer of separation between your web forms and database accessible layers. The Repository pattern helps organize a web application to form a 3-tier architecture and provide loosly coupled classes, which can be reused in future C# ASP .NET web applications and easily updated. In this article we'll implement a Repository Pattern for an example C# ASP .NET application which deals with planets in the solar system. The example application will contain 3-tiers, including the user interface, business logic layer, and database layer via the Repository design pattern. &lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/27865614@N00/3069252649/"&gt;&lt;/a&gt;A Repositor ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/neuVZBgTco0" height="1" width="1"/&gt;</description>
<pubDate>Thu, 13 Aug 2009 14:54:46 GMT</pubDate>
</item>
<item>
<title>Sending Email From a Gmail Account with C# .NET and Web Services</title>
<link>http://www.primaryobjects.com/CMS/Article107.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Sending email notifications from C# ASP .NET web applications can often become a troublesome process. Automatic emails from software may be marked as junk or spam by many ISP mail servers. This can make it difficult for users to properly receive email notifications from software products and the messages themselves can be very important to the user. While one solution may be to ask users to add your web applications email address to their junk mail filter's safe-list, this process can be difficult to control and unreliable. A possibly better solution is to use a 3rd-party email service to route messages through, such as Gmail.&lt;/p&gt;&lt;p&gt;In this article, we'll create a basic C# ASP .NET web service which sends emails using Gmail's SMTP server and your own Gmail account. The web service that we'll create can by used by any range of applications, written in any programming language, simply by communicating with the web service in XML to send emails.&lt;/p&gt;&amp;nbsp;&lt;a h ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/c2-YKnJALTQ" height="1" width="1"/&gt;</description>
<pubDate>Tue, 02 Jun 2009 11:15:47 GMT</pubDate>
</item>
<item>
<title>Creating Artificial Life with Cellular Automata in C# .NET</title>
<link>http://www.primaryobjects.com/CMS/Article106.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Cellular automata is a model of artificial intelligence involving the creation of single-celled programmatic life forms, within a computer program. John von Neumann, the first scientist to implement cellular automata, came about the discovery while in search of a way to create self replicating robots. He devised a specific set of rules guiding the life, death, and reproduction cycle of each cellular automata cell. When put into action, cellular automata can create increasingly complex patterns, which seem to imitate forms of bacterial life, right on the computer screen. While the patterns it produces can be quite complex, the C# .NET code is surprisingly easy. In fact, the Wolfram Alpha computation engine is based, in part, upon cellular automata.&lt;/p&gt;&lt;p&gt;In this article, we'll create our very own artificial intelligence bacteria by implementing cellular automata with the rule set from Conway's Game of Life. To keep things interesting, we'll also use the Str ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/pgAZDz04X9I" height="1" width="1"/&gt;</description>
<pubDate>Tue, 26 May 2009 11:41:55 GMT</pubDate>
</item>
<item>
<title>Using Neural Networks and Genetic Algorithms in C# .NET</title>
<link>http://www.primaryobjects.com/CMS/Article105.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Neural networks are one of the methods for creating artificial intelligence in computers. They are a way of solving problems that are too difficult or complicated to solve using traditional algorithms and programmatic methods. Some believe that neural networks are the future of computers and ultimately, humankind. &lt;/p&gt;&lt;p&gt;In this article, we'll describe how to implement a neural network in C# .NET and train the network using a genetic algorithm. Our networks will battle against each other for the survival of the fittest to solve the mathematical functions AND, OR, and XOR. While these functions may seem trivial, it provides an easy introduction to implementing the neural network with a genetic algorithm. Once the neural networks evolve to solve the easiest of mathematical functions, one could create much more powerful networks.&lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/27865614@N00/3069252649/"&gt;&lt;/a&gt;&lt;p&gt;The Neural Network is a Brain&lt;/p&gt;&lt;p&gt;The neural netw ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/66abbveV0TY" height="1" width="1"/&gt;</description>
<pubDate>Wed, 06 May 2009 18:19:36 GMT</pubDate>
</item>
<item>
<title>Looking Up Zip Codes with C# ASP .NET MVC and AJAX</title>
<link>http://www.primaryobjects.com/CMS/Article104.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;With the release of the ASP .NET MVC (model view controller) framework for Visual Studio and .NET, many developers are considering the move to the new MVC architecture, in place of classic ASP .NET. The MVC framework for C# ASP .NET provides a loosely-coupled and robust architecture for creating web applications, with distinct separation of the user interface, UI logic, and business logic layers. However, in addition to the logic architecture, the MVC pattern diverges from classic ASP .NET even more.&lt;/p&gt;&lt;p&gt;In this tutorial, we'll examine how to create a basic ASP .NET MVC application, which allows entering a zip code and asynchronously displaying the city and state associated with a zip code via AJAX and jQuery.&lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/gromgull/2476659336/"&gt;&lt;/a&gt;&lt;p&gt;One Degree Away From Classic ASP .NET&lt;/p&gt;&lt;p&gt;ASP .NET WebForms centered around the idea of callbacks and events. Controls, such as buttons, would fire events back to the cod ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/FzZ5zDBfvb0" height="1" width="1"/&gt;</description>
<pubDate>Tue, 07 Apr 2009 19:42:47 GMT</pubDate>
</item>
<item>
<title>Detecting Browsers, Crawlers, and Web Bots in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article102.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;There are a lot of different entities crawling around your web applications in the wild, including web browsers, web crawlers, web spiders, web bots, and automated scripts. Determining the difference between a regular user visiting your site and an automated web bot can help aid you with more accurately recording statistics, customizing content, and optimizing web application performance.&lt;/p&gt;&lt;p&gt;The .NET framework, used to create C# ASP .NET web applications, actually comes with a built-in web browser detector, called the BrowserCaps feature. .NET 2.0 adds an additional detector, called the .Browser feature. Regardless of the .NET version, determining the difference between a user's web browser and an automated web crawler can make a big difference in a web application, and it's easy to do.&lt;/p&gt;&lt;p&gt;In this article, we'll discuss three methods for determining the web browser type. We'll also describe how to tell the difference between a user's web browser and  ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/OqadxVNZl2U" height="1" width="1"/&gt;</description>
<pubDate>Sun, 15 Feb 2009 11:29:16 GMT</pubDate>
</item>
<item>
<title>Using MySQL and LINQ to SQL in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article100.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;LINQ is one of the most popular Microsoft technologies for reading and writing to SQL Server databases. LINQ to SQL builds upon LINQ technology to allow working with business objects, generated from the database tables. Tranditionally, LINQ to SQL is compatible with SQL Server databases and does not easily support other database formats. Since LINQ is a leap forward for developers accessing databases, it's important to be able to use LINQ with other popular database formats as well. This article describes how to use LINQ to SQL with a MySQL database in C# ASP .NET.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/lapineite/2193187190/"&gt;&lt;/a&gt;&lt;p&gt;The Old Way of Doing Things&lt;/p&gt;&lt;p&gt;Prior to LINQ, working with databases from C# ASP .NET web applications involved handling database connections, SQLConnection and SqlCommand objects, and working with data readers. While this technique provided a lower level of approach to database interactivity from C#, it was also more pr ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/vNvQezYkdSc" height="1" width="1"/&gt;</description>
<pubDate>Sat, 24 Jan 2009 20:22:55 GMT</pubDate>
</item>
<item>
<title>Fixing: DbLinq Slow MySql Queries, Linq to SQL</title>
<link>http://www.primaryobjects.com/CMS/Article99.aspx</link>
<description>&amp;nbsp;&amp;nbsp;
&lt;p&gt;The following is a fix for an issue with slow queries in &lt;a href="http://code2code.net/DB_Linq/"&gt;DbLinq&lt;/a&gt;&amp;nbsp;when using&amp;nbsp;MySql. The problem causes very slow MySQL queries when using LINQ to SQL with DbLinq, and displays a list of ArgumentExceptions, thrown before the query is executed. The query can take up to 8-10 seconds to execute.&lt;/p&gt;&lt;p&gt;Here is a work-around fix for the issue:&lt;a href="http://www.primaryobjects.com/temp/dblinq_slowmysql_fix_01_21_09.zip"&gt;Download&lt;/a&gt; SVN patch 1&lt;a href="http://www.primaryobjects.com/temp/RemoveCache_FixQuery_01_22_09.zip"&gt;Download&lt;/a&gt; SVN patch 2&lt;/p&gt;&lt;p&gt;1. Download the latest SVN code for DbLinq at &lt;a href="http://code.google.com/p/dblinq2007/source/checkout"&gt;http://code.google.com/p/dblinq2007/source/checkout&lt;/a&gt; &lt;/p&gt;&lt;p&gt;2. Open the following file for editing in Visual Studio 2008 DBLinq\src\DbLinq\Data\Linq\Sugar\Implementation\ExpressionOptimizer.cs &lt;/p&gt;&lt;p&gt;3. On line 78, the problem manifests itself when attempting to evalu ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/YalGCbM0Tf8" height="1" width="1"/&gt;</description>
<pubDate>Wed, 21 Jan 2009 17:14:08 GMT</pubDate>
</item>
<item>
<title>Redirect a Login By Role in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article97.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Redirecting a user after login to a C# ASP .NET web application is a common feature found in most web applications. It's also quite common to have multiple types of users logging into the ASP .NET web application, differing by the type of role membership they belong to, and each requiring a redirect to their specific landing page. While this can certainly be achieved with a couple of Response.Redirect() calls, you can create a much more robust automatic redirect-by-role solution.&lt;/p&gt;&lt;p&gt;This article describes how to automatically redirect users upon login, based upon their role membership. Since the list of redirect URLs may change frequently, we'll store them conveniently within the web.config configuration file. New user roles and redirect URLs can be added without recompilation of the C# ASP .NET web application.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/h19/153429298/"&gt;&lt;/a&gt;&lt;p&gt;On First Thought, It Isn't Pretty&lt;/p&gt;&lt;p&gt;When thinking about redirecting users ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/br9KC8p6kN4" height="1" width="1"/&gt;</description>
<pubDate>Wed, 08 Oct 2008 20:10:52 GMT</pubDate>
</item>
<item>
<title>Customizing Membership Role Providers and Login Control in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article96.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Sooner or later many web sites realize they need to allow users to login to their C# ASP .NET web applications. This can be as a result of web application functionality, feature restrictions, or simply to gauge web site traffic better by keeping track of users in the .NET application. The good news is that adding login functionality to your C# ASP .NET web application is easier than ever. By taking advantage of the built-in ASP .NET login control, membership providers, and role providers, you can quickly take care of authenticating, authorizing, and logging users in to your .NET web application.&lt;/p&gt;&lt;p&gt;In this article, we'll step through the process of using the built-in ASP .NET login control and wiring it up to a custom membership provider and a custom role provider class. We'll walk through configuring the C# ASP .NET web.config file to specify roles and access within the web application. To add some spice, we'll also include a way to automatically sign  ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/l6nCvzNXsfg" height="1" width="1"/&gt;</description>
<pubDate>Thu, 02 Oct 2008 20:09:12 GMT</pubDate>
</item>
<item>
<title>Three Ways to Bind a DropDownList with LINQ and C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article95.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;With the latest release of C# ASP .NET 3.5, Visual Studio 2008, and LINQ, there is a whole new way of working with the data layer in C# ASP .NET web applications. Prior to LINQ, many developers would either generate or custom-code a data layer based upon the usage of SqlConnection, SqlCommand, and DataReader objects to manipulate data. With LINQ and LINQ to SQL, we no longer need to rely on the details of the connection objects and can instead begin thinking more abstractly by using the pre-generated LINQ business objects and the data access layer. In this manner, LINQ has brought a conformity to the data layer in ASP .NET web applications. However, as with any new technology, new architectures often arise to support them. As we continue on, you'll see how to implement your own tiered architecture, specifically for populating datasource controls.&lt;/p&gt;&lt;p&gt;In this article, we'll visit three ways to populate a DropDownList control by binding to a data source. W ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/PZ564cd-T4I" height="1" width="1"/&gt;</description>
<pubDate>Thu, 03 Jul 2008 23:43:40 GMT</pubDate>
</item>
<item>
<title>Writing a Simple Role Playing Game with C# .NET and the State Design Pattern</title>
<link>http://www.primaryobjects.com/CMS/Article94.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;The State Pattern is an interesting design pattern in that it allows us to separate out portions of code into individual related modules, or states. This pattern is particularly useful for applications which need to retain state information, such as the current phase a program is in. While you can typically maintain this information using a basic integer variable, the State pattern helps abstract the specific state logic, reduces code complexity, and greatly increases code readability. This can make the difference between an application maintenance nightmare and a work of art.&lt;/p&gt;&lt;p&gt;This article describes how to use the State Pattern with C# to create a simple, console-based RPG role playing game. You'll be able to see exactly how the State pattern fits into the flow of the rpg game and how it easily cleans up the code, in what might typically be a confusion of integer values and if-then statements.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/daveward/83844 ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/qZHhGSNi8ao" height="1" width="1"/&gt;</description>
<pubDate>Wed, 30 Apr 2008 16:00:53 GMT</pubDate>
</item>
<item>
<title>Preventing Session Timeouts in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article86.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;C# ASP .NET has a setting in the web.config file which allows selecting the desired session timeout. When the session timeout value expires, the currently logged in user's session is deleted and the user is directed back to the login page. The default timeout value usually hovers around 20 minutes for ASP .NET's session timeout. While this is the expected behavior, often clients may require the session timeout to be increased dramatically or even avoid any timeout at all while the user is logged in.&lt;/p&gt;&lt;p&gt;This article describes a solution for web applications which require a session to never timeout or for those who have a session timeout occurring before the value set in the web.config. The solution is invisible and seamless and has been tested in Internet Explorer, Firefox, and Safari.&lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/moywatson/2211081777/"&gt;&lt;/a&gt;&lt;p&gt;Why Would a Client Want No Session Timeout?&lt;/p&gt;&lt;p&gt;A typical scenerio where a user may want to  ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/f3p_yX5kMBM" height="1" width="1"/&gt;</description>
<pubDate>Tue, 29 Jan 2008 16:51:59 GMT</pubDate>
</item>
<item>
<title>Using the Iterator Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article85.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;The Iterator design pattern provides us with a common method of enumerating a list of items or array, while hiding the details of the list's implementation. This provides a cleaner use of the array object and hides unneccessary information from the client, ultimately leading to better code-reuse, enhanced maintainability, and fewer bugs. The iterator pattern can enumerate the list of items regardless of their actual storage type.&lt;/p&gt;&lt;p&gt;The Iterator design pattern is actually a quite common pattern in most object oriented programming languages, especially in C# and Java. In fact, both languages include their own pre-built Iterator pattern, which can be inherited from. Of course, knowing how to create your own Iterator design pattern can provide great benefits and allow you to expand your design when needed.&lt;/p&gt;&lt;p&gt;This article will describe three ways to traverse a list of items, from simply walking the array, to using the built-in C# ASP .NET IEnumerable in ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/cTdBGe4I-DM" height="1" width="1"/&gt;</description>
<pubDate>Tue, 29 Jan 2008 14:00:35 GMT</pubDate>
</item>
<item>
<title>A C# .NET Adventure Game Simulator and the Strategy Pattern</title>
<link>http://www.primaryobjects.com/CMS/Article83.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;The strategy design pattern is a useful pattern for pulling out frequently changing pieces of code and encapsulating them within individual classes. The strategy pattern allows us to reference these new classes in a loosely-coupled fashion, without directly referencing the concrete implementations. This gives us the powerful ability of choosing concrete classes dynamically at runtime, instead of hard-wiring them during code design. This article will show an example usage of the strategy design pattern in creating a basic RPG-style adventure game simulator. The idea for the simulator comes from the popular book Head First Design Patterns by O'Reilly.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/dunechaser/1228875390/"&gt;&lt;/a&gt;&lt;p&gt;Game Design&lt;/p&gt;&lt;p&gt;In this particular game design, we will have specific types of characters and weapons. This directly leads to two basic classes: Character and Weapon. All characters will inherit from an abstract Character class, which w ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/dKCgjWJsU5s" height="1" width="1"/&gt;</description>
<pubDate>Mon, 07 Jan 2008 14:00:51 GMT</pubDate>
</item>
<item>
<title>Using the Model View Controller Pattern in C# ASP .NET Web Applications</title>
<link>http://www.primaryobjects.com/CMS/Article82.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;With the release of Visual Studio 2008, Microsoft is working on including an add-on for C# ASP .NET web application developers to include the Model view Controller (MVC) design pattern within their software architecture. While one of the add-on's core purposes is to enhance URL functionality in a web application by enabling a model view controller pattern and design structure, the MVC design pattern itself, can be a powerful tool in your C# ASP .NET web applications.&lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/crimsondude/573209692/"&gt;&lt;/a&gt;&lt;p&gt;What is the Model View Controller Design Pattern?&lt;/p&gt;&lt;p&gt;The Model View Controller (MVC) design pattern lets us pair loosley-coupled Models and Views together. In this manner, we can keep view logic completely separate from model logic. We can then interchange views or models with different classes, effectively changing an ASP .NET web application's functionality with minimal side-effects.&lt;/p&gt;&lt;p&gt;Since this description ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/f_VZWt5VYXA" height="1" width="1"/&gt;</description>
<pubDate>Mon, 10 Dec 2007 15:13:48 GMT</pubDate>
</item>
<item>
<title>Implementing a Database Factory Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article81.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Designing a C# ASP .NET web application which utilizes a database is a common and straight-forward task for developers. The web application accesses various tables, stored procedures, executes SQL script, and retrieves records. Often, developers not familiar with design patterns will use a simple design for making database calls, which relies on calling database functions straight from the user interface. While this certainly works (and provided you close and dispose of all connections when you're done with them), you achieve a far greater amount of flexibility with your C# ASP .NET web application be using a well-defined and loosely-coupled database layer.&lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/llrain/2038352842/"&gt;&lt;/a&gt;&lt;p&gt;Why Do I Need a Database Layer Anyway?&lt;/p&gt;&lt;p&gt;When creating software for clients, even the beginner developer recognizes the frequency of change. Requirements change, user interface pieces change, platforms change, and databases ch ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/A8mClbxjbNY" height="1" width="1"/&gt;</description>
<pubDate>Fri, 16 Nov 2007 13:35:10 GMT</pubDate>
</item>
<item>
<title>Using the Memento Design Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article80.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;The Memento design pattern is a useful pattern in C# ASP .NET for saving the state of an object for retrieval at a later time. A common example of the Memento pattern would be the Undo command of various programs. With the Undo command, the current state information for the task at hand is saved (such as in a Memento). The user may continue modifying data. Upon invoking the Undo command, the state of the data is restored back to its previous state (as stored within the Memento). This article describes how to implement the Memento design pattern in a C# ASP .NET web application. Specifically, this version of the Memento pattern will allow saving multiple types of class states within a single memento object.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/artsylens/1471839478/"&gt;&lt;/a&gt;&lt;p&gt;Why Not Just Code it the Basic Way?&lt;/p&gt;&lt;p&gt;If you're familiar with implementing state-saving functionality, such as the Undo command, in C# ASP .NET web applications, you may be have ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/D16dgE7JiGw" height="1" width="1"/&gt;</description>
<pubDate>Wed, 10 Oct 2007 16:25:45 GMT</pubDate>
</item>
<item>
<title>Passing Arrays to SQL Stored Procedures in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article79.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Stored procedures provide a powerful extension to C# ASP .NET by allowing us to move large portions of data manipulation logic to the database server. Stored procedures are optimized to process data and their associated logic faster than the application layer and are therefore the preferred layer for database logic processing in .NET applications. While stored procedures can be designed to accept many different kinds of parameters as input, it's only a matter of time before you have a need to pass a C# .NET array or collection as an input parameter.&lt;/p&gt;&lt;p&gt;This article explains a simple method for passing an array from your C# ASP .NET application to an MSSQL stored procedure by using a bit of dyanmic SQL.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/artsylens/1471839478/"&gt;&lt;/a&gt;&lt;p&gt;MSSQL Limitations and Arrays&lt;/p&gt;&lt;p&gt;MSSQL is a favorite database platform for C# ASP .NET developers. For the most part, MSSQL has everything you need for your application. However, o ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/lYEqwvIGGuM" height="1" width="1"/&gt;</description>
<pubDate>Tue, 02 Oct 2007 17:42:08 GMT</pubDate>
</item>
<item>
<title>Using the Microsoft Message Queue MSMQ and C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article77.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;There are several different kinds of queues available in the C# ASP .NET framework with the most popular one being the standard Queue collection object. While these collections are easy to work with and fairly robust they are still stored in memory and therefore temporary. Often, in enterprise application design, more stringent means of managing and storing temporary data are required.&lt;/p&gt;&lt;p&gt;In the case of receiving timely data to be processed, using a queue in your software design makes sense. When the data needs to be guaranteed for delivery and protected from loss, the Microsoft Message Queue MSMQ provides a scalable easy solution.&lt;/p&gt;&amp;nbsp;&lt;p&gt;At its core, Microsoft Message Queue MSMQ is a queue collection with a persistent storage backing. This means that data sent to the queue is automatically persisted within an internal Windows database. The MSMQ is also thread-safe, which means a multi-threaded C# ASP .NET application may safely send and receive me ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/x9wcXnZA-PI" height="1" width="1"/&gt;</description>
<pubDate>Mon, 13 Aug 2007 11:25:08 GMT</pubDate>
</item>
<item>
<title>Exporting XML in a C# ASP .NET Web Application</title>
<link>http://www.primaryobjects.com/CMS/Article76.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;XML (extensible markup language) is a popular format of data for importing and exporting between different applications designed using different programming languages. Since XML uses a standardized format of data, applications can easily parse the XML data to pull out specific fields, blocks, and even write their own XML files. XML is especially useful as a protocol for communicating over the Internet with applications (ie. SOAP). Given the flexibility of XML, it's only a matter of time before your own C# ASP .NET web application may need the ability to import or export XML data to another application.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/stevenaronwilliams/361046321/"&gt;&lt;/a&gt;&lt;p&gt;Distorted HTML&lt;/p&gt;&lt;p&gt;At a first glance, XML looks just like a web page in HTML. You can easily recognize beginning and ending tags. Brackets enclose each element's name. The document usually has a header tag and a final closing tag. This makes using XML in a C# ASP .NET web appl ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/70wal-9tDuI" height="1" width="1"/&gt;</description>
<pubDate>Mon, 06 Aug 2007 09:55:29 GMT</pubDate>
</item>
<item>
<title>Designing Software with Generics and Reflection in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article75.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;As software becomes more complex, the ability to design a modular and re-usable architecture into your software becomes increasingly important. Using the programming concept of generics with interfaces, included in C# ASP .NET 2.0, software developers can abstract algorithms and classes into individual class libraries. The libraries can be accessed, in a generic fashion, from the main software. The key to this process relies on using interface design patterns and .NET reflection.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/margotpouw/518465140/"&gt;&lt;/a&gt;&lt;p&gt;What's a Generic?&lt;/p&gt;&lt;p&gt;.NET generics can cover several related topics. The common usage of generics is specifying templated object names instead of concrete ones, which lets you pass multiple types to a function rather than only the concrete form. However,&amp;nbsp;in the example listed below, we will be focusing on using generics and reflection with a class library interface architecture. This is becoming a pop ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/l6kfAK6eQ0s" height="1" width="1"/&gt;</description>
<pubDate>Tue, 29 May 2007 15:55:48 GMT</pubDate>
</item>
<item>
<title>Using the Observer Design Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article74.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Similar in nature to the Chain of Responsibility design pattern, the Observer pattern allows linking of several listener classes to a subject class. When a change or event occurs within the subject class, all listeners are made aware of the event and may take action. This essentially creates a one-to-many relationship between the subject and listeners and can be a powerful tool when designing your software with C#.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/darwishh/74610176/"&gt;&lt;/a&gt;&lt;p&gt;Differences Between the Chain of Responsiblity and the Observer&lt;/p&gt;&lt;p&gt;The Chain of Responsibility pattern and the Observer pattern are similar in that they both provide a means of allowing multiple classes to handle an event. The Chain of Responsibility typically passes the event down the chain and once the event is handled, the chain ends. This results in a single class acting upon the event. In contrast, the Observer pattern passes the event to all listeners in the chain, wh ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/5vjscP1lFsI" height="1" width="1"/&gt;</description>
<pubDate>Thu, 17 May 2007 15:26:28 GMT</pubDate>
</item>
<item>
<title>Applying Chain of Responsibility Design Patterns in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article73.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;A powerful design pattern geared towards handling an event is the Chain of Responsbility design pattern. This pattern helps decouple related algorithms in C# ASP .NET and can help your software become more scalable and easier to control.&lt;/p&gt;&lt;p&gt;In general, the Chain of Responsbility design pattern allows you to link together a serious of classes or algorithms in a hierarchy and pass a command (preferably a Command pattern object) into the mix to get handled by one of the members of the chain. One of the benefits of this design pattern is, not having to know the details of the members in the chain. You simply pass the command into the chain. Each class will attempt to handle the request until all classes have been used. While it is possible for a request to go unhandled, this is a powerful design pattern when used appropriately.&lt;/p&gt;&amp;nbsp;&lt;a href="http://www.flickr.com/photos/elliotlevin/287548469/"&gt;&lt;/a&gt;&lt;p&gt;Two Ways to Make a Chain&lt;/p&gt;&lt;p&gt;As with all first prog ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/XregRB0E83s" height="1" width="1"/&gt;</description>
<pubDate>Tue, 15 May 2007 18:54:48 GMT</pubDate>
</item>
<item>
<title>Using the Command Object Design Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article72.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;The Command Object design pattern can be a powerful tool to use in development of C# ASP .NET web applications. The Command design pattern brings object oriented design to an otherwise non-object oriented piece of data - a command.&lt;/p&gt;&lt;p&gt;It is common to create classes and functions which operate by accepting a command to perform. The command may be a simple string of text or a globally defined integer. In both cases, this command is typically acted upon and then discarded. By wrapping a basic command within a Command Object design pattern, .NET applications can take advantage of the power to perform additional processing on the Command object, log commands, add additional parameters, and much more.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/johnsonc/395086447/"&gt;&lt;/a&gt;&lt;p&gt;What's Wrong with an Integer Command?&lt;/p&gt;&lt;p&gt;The basic method for issuing a command to a class or function is by assigning a global unique integer to be a dedicated command message. The functi ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/AGFsb1pLpDM" height="1" width="1"/&gt;</description>
<pubDate>Fri, 11 May 2007 14:23:04 GMT</pubDate>
</item>
<item>
<title>Using Microsoft Silverlight to Fade an HTML Form</title>
<link>http://www.primaryobjects.com/CMS/Article71.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Microsoft has recently released the beta version of Silverlight. For those unfamiliar with what Silverlight is, it is essentially a plug-in technology to create web pages and web applications that look much closer to desktop applications. It appears to combine the best of AJAX, DHTML, and Flash/applet technologies by providing stunning visual graphics, animations, programmability, and .NET integration that is compatible with many different web browsers. In a nutshell, it runs .NET in your web browser.&lt;/p&gt;&lt;p&gt;Silverlight is expected to include its own SDK of built-in graphical controls (buttons, drop-down lists, grids, etc). However, this article touches the very beginning of using Silverlight with standard HTML controls; using it more as a replacement for Ajax and DHTML to enhance a standard web page, rather than taking over the entire HTML screen with animated graphics.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/joshb/483036712/"&gt;&lt;/a&gt;&lt;p&gt;Fading an HTML Form ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/5E6sOrQ_Zb0" height="1" width="1"/&gt;</description>
<pubDate>Tue, 08 May 2007 14:27:06 GMT</pubDate>
</item>
<item>
<title>The Strategy Design Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article70.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Developing software can quickly become a complicated process, with lists of funtions, procedures, loops, and repetitive code. Understanding theories of design patterns and implementing them, when neccessary, can help simplify a software's design.&lt;/p&gt;&lt;p&gt;Design patterns have been around for many years, but have recently began gaining popularity due, in part, to Microsoft's promotion of design patterns with the C# .NET framework. If you take a look throughout the .NET framework, you'll recognize many design patterns already existing. In fact, you use them every day in your C# ASP .NET coding, probably without realizing it.&lt;/p&gt;&lt;p&gt;For those who are new to design patterns, the Strategy pattern can be a very handy tool in your C# ASP .NET software design. To describe how to implement the Strategy design pattern, we'll start with the typical &amp;quot;Hello World&amp;quot; Stratgey design pattern.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/mquest/88403117/"&gt;&lt;/a&gt;&lt;p&gt;What's  ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/6bjQiM3zbV4" height="1" width="1"/&gt;</description>
<pubDate>Mon, 07 May 2007 16:11:37 GMT</pubDate>
</item>
<item>
<title>How to Kill MySQL Sleeping Connections in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article69.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;MySQL is a free database included&amp;nbsp;with many web hosting services on linux and Windows platforms. C# ASP .NET developers, using a MySQL database back-end, may notice an unnecessarily large list of sleeping connections that remain online in MySqlAdministrator. This can cause wasteful use of memory on the server, degrade performance, and ultimately, create an error in your C# .NET web application. For example, if you go over the limit set by the database administrator for number of connections, your application will receive a &amp;quot;Too Many Connections&amp;quot; error in MySQL. This can cause your application to fail to display data, fail to load pages, or just freeze up on users viewing the .NET site.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/chrisbernardi/179239663/"&gt;&lt;/a&gt;&lt;p&gt;Too Many MySQL Connections&lt;/p&gt;&lt;p&gt;Open MySqlAdministrator, click on the Server Connections link, and view the active Threads.&amp;nbsp;Web-based ASP .NET applications seem to incorrectly ha ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/AdBtRAn2Kgc" height="1" width="1"/&gt;</description>
<pubDate>Thu, 21 Dec 2006 21:19:03 GMT</pubDate>
</item>
<item>
<title>Connecting to a MySQL Database with C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article68.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;If you're creating a web application using C# ASP .NET, you will more than likely be using one of the three top database engines MySQL, MSSQL (Microsoft SQL Server), or Oracle to store your online data. From the developer's view, all three databases are virtually the same. You use the same generic framework calls to connect, read, and write data. While it is more common to use Microsoft's MSSQL Server with a .NET application, a large number of web hosts offer the free MySQL database. Therefore, connecting to a MySQL database from C# ASP .NET is an important task and is actually quite easy to do.&lt;/p&gt;&amp;nbsp;&lt;p&gt;Using MySQL with C# ASP .NET&lt;/p&gt;&lt;p&gt;MySQL is a free database and is used very heavily by the linux developers usually when programming with Perl, CGI, or Ruby on Rails. Because of this, MySQL is, for the most part, catered and optimized directly towards the linux developing platform. However, using MySQL from a Windows web application is also supported a ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/T87gZMpV64Y" height="1" width="1"/&gt;</description>
<pubDate>Sun, 03 Dec 2006 12:50:41 GMT</pubDate>
</item>
<item>
<title>Creating XML RSS Feeds with C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article67.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;An RSS feed is really just a fancy term for an XML file, specifically used to re-distribute web content to aggregators. The most commonly used form of an RSS feed comes from blogs, which are constantly increasing in popularity. Combine the interest in blogs with the major web browsers' ability to now aggregate RSS feeds, and you have a very prominent reason to start creating RSS feeds in your C# ASP .NET web application.&lt;/p&gt;&amp;nbsp;&lt;p&gt;Atom vs RSS&lt;/p&gt;&lt;p&gt;There are actually two types of popular feeds, Atom and RSS. Atom feeds are a more reader-friendly format of XML, and typically display in the web browser in a readable format by simply navigating to the feed.xml URL. RSS feeds, on the other hand, are meant as a more stripped-down version of XML, more easily parsed by aggregators. When viewing an RSS XML feed in your web browser, you will see a list of data tree branches, where you can shrink and expand the XML sections. Internet Explorer 7.0 and Firefox have  ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/Up7lqIr4F5Y" height="1" width="1"/&gt;</description>
<pubDate>Fri, 27 Oct 2006 22:14:44 GMT</pubDate>
</item>
<item>
<title>Resetting Passwords in Active Directory with C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article66.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;One of the most common functions to perform in Active Directory from a desktop application or C# ASP .NET application is resetting user passwords. Due to the security features of Windows, resetting a password can be a little tricker than you think. After throwing in the security features of IIS and Windows Server, changing passwords from a web application seems almost impossible. However, by following a few important guidelines, you can have your web application easily resetting user passwords in Active Directory.&lt;/p&gt;&lt;p&gt;Note, if you are not yet familiar with connecting to Active Directory in C# .NET, please read our article on &lt;a href="http://www.primaryobjects.com/CMS/Article61.aspx"&gt;Using Active Directory with C# .NET&lt;/a&gt;.&lt;/p&gt;&amp;nbsp;&lt;p&gt;Resetting a Password vs. Changing a Password&lt;/p&gt;&lt;p&gt;Active Directory makes a distinct difference between resetting a user's password and changing it.&lt;/p&gt;&lt;p&gt;Resetting a user's password is an administrative function and does n ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/oHK2OzDoJdo" height="1" width="1"/&gt;</description>
<pubDate>Wed, 18 Oct 2006 10:22:38 GMT</pubDate>
</item>
<item>
<title>Fixing: VC Package not available or not registered</title>
<link>http://www.primaryobjects.com/CMS/Article65.aspx</link>
<description>&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;Recently, an error occured on a PC with both&amp;nbsp;Visual Studio .NET 2003 and Visual Studio 2005 installed, where new forms could no longer be added to a web project and new projects could not longer be created in VS2003. Upon trying to perform either task, an error message would display stating: &amp;quot;VC Package not available or not registered&amp;quot;.&lt;/p&gt;&lt;p&gt;VC Package not available or not registered&amp;nbsp;&lt;/p&gt;&amp;nbsp;&lt;p&gt;Microsoft's web site offers a &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;320427"&gt;solution&lt;/a&gt; which involves using the Visual Studio 2003 installation CD-ROM and issuing a repair via the control panel. They state the error occurs because the Windows Installer is not registering the TLB and DLL files as they already exist. Issuing a repair re-registers the proper DLL files needed for Visual Studio 2003 to run properly. Microsoft states the steps to correct this are as follows:&lt;/p&gt;&lt;p&gt;Microsoft's Solution&lt;/p&gt;&lt;p&gt;1 ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/_XGK9CIJvRQ" height="1" width="1"/&gt;</description>
<pubDate>Mon, 09 Oct 2006 22:25:56 GMT</pubDate>
</item>
<item>
<title>Internet Streams and Downloading Files in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article64.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Introduction&lt;/p&gt;&lt;p&gt;C# ASP .NET is one of the first programming platforms which provides a vast array of easy-to-use libraries for accessing the Internet, download files and web pages, and manipulating the Internet stream. With this comes the ability to&amp;nbsp;program your own C# ASP .NET web spiders, crawlers, and robots. However, since the web is an unforgiving place filled with broken links, delayed servers, and misconfigured IP addresses, using the C# streaming libraries&amp;nbsp;with a fault-tolerant method is extremely important.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/mookiechan/55840473/"&gt;&lt;/a&gt;&lt;p&gt;WebRequest and WebResponse&lt;/p&gt;&lt;p&gt;Reading and writing Internet streams in C# ASP .NET starts with the System.IO and System.Net libraries. The main functions used involve issuing a request with the System.Net.WebRequest and reading back the Internet stream as a System.Net.WebResponse. This effectively implements a web client, from which you can &amp;quot;browse&amp;quot; the web and read t ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/F_oaH_h03eQ" height="1" width="1"/&gt;</description>
<pubDate>Sat, 07 Oct 2006 00:12:45 GMT</pubDate>
</item>
<item>
<title>Search Engine Friendly Links in C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article63.aspx</link>
<description>&amp;nbsp;
Introduction&lt;p&gt;When designing a large C# ASP .NET web application, containing hundreds or thousands of dynamically generated pages, a common after thought is how the search engine robots will handle your site. Often, generated pages contain numerous parameters in the URL query string, including content ID, user ID, variables, state transition place holders, and other data. While the search engine robots are getting better at handling these URLs, some engines may simply ignore the pages. This could result in a large portion of your web application not being crawled and indexed. However, creating search engine friendly links in your C# ASP .NET web application is actually a lot easier than you may think.&lt;/p&gt;&amp;nbsp;&lt;p&gt;Comparing Search Engine Friendly URLs to Parameter Clogs&lt;/p&gt;&lt;a href="http://flickr.com/photos/skarcha/34856803/"&gt;&lt;/a&gt;&lt;p&gt;An example of a poorly designed URL&lt;/p&gt;&lt;p&gt;http://www.mysite.com/myapp?q=3&amp;amp;state=3&amp;amp;userid=21&amp;amp;pass=&amp;amp;day=2&amp;amp;request=5&lt;/p&gt;&lt;p&gt;An examp ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/IqVVB2qsPhE" height="1" width="1"/&gt;</description>
<pubDate>Mon, 02 Oct 2006 10:23:18 GMT</pubDate>
</item>
<item>
<title>Active Directory in C# ASP .NET Web Applications</title>
<link>http://www.primaryobjects.com/CMS/Article61.aspx</link>
<description>&amp;nbsp;
&amp;nbsp;&lt;p&gt;Active Directory is the primary user management system used by business and enterprise networks. It's basically just another kind of database, similar to MSSQL or Oracle, but with its own type of query language and protocol, which is based on LDAP.&lt;/p&gt;&lt;a href="http://flickr.com/photos/jimyang/116831311/"&gt;&lt;/a&gt;&lt;p&gt;Being able to query objects in Active Directory from within a C# ASP .NET web application can be a great knowledge tool. Many businesses who are moving their desktop applications to the web are asking for their .NET web applications to contain forms-based LDAP authentication and other hooks into Active Directory to process user objects.&lt;/p&gt;&lt;p&gt;The DirectoryEntry Object&lt;/p&gt;&lt;p&gt;The fundamental starting point for a .NET application using Active Directory is to include the System.DirectoryServices library. This contains the basic Active Directory library routines used to query. Communicating with Active Directory starts out with obtaining a DirectoryEntry object. This ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/plS3OYCTU_Y" height="1" width="1"/&gt;</description>
<pubDate>Wed, 20 Sep 2006 10:40:41 GMT</pubDate>
</item>
<item>
<title>Saving and Loading Images in MSSQL with C# ASP .NET</title>
<link>http://www.primaryobjects.com/CMS/Article59.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Microsoft's MSSQL database can store a variety of data types in its columns including varchar strings, int, double, float, date/time, binary, and image. The data type name &amp;quot;image&amp;quot; may seem mysterious at first, but it is actually another representation of a binary data type. This field in the database is a perfect fit for storing binary files and images. Examples of files that can be literally stored in the database include Microsoft Word documents, JPG, GIF, TIF, BMP, ZIP files, EXE, and any other file type.&lt;/p&gt;&lt;p&gt;Occassionally, in an ASP .NET web application, a task may involve the user uploading a file, which is stored in the database for analysis or retrieval at a later time. By using the &amp;quot;image&amp;quot; data type in the MSSQL database table, we can easily work with the uploaded data.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/cibermakis/152972992/"&gt;&lt;/a&gt;&lt;p&gt;Binary Image Data in MSSQL&lt;/p&gt;&lt;p&gt;Binary image data in MSSQL is treated as a stream of bytes, or in other  ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/9OwjOwUUmy8" height="1" width="1"/&gt;</description>
<pubDate>Thu, 14 Sep 2006 16:01:38 GMT</pubDate>
</item>
<item>
<title>Using CSS Styles in C# ASP .NET Web Applications</title>
<link>http://www.primaryobjects.com/CMS/Article56.aspx</link>
<description>&amp;nbsp;
&amp;nbsp;&amp;nbsp;CSS has become a fundamental part of designing C# ASP .NET web applications. All web applications designed by Primary Objects include CSS styles and inner-html effects for a professional polished look. With the importance of cross-browser compatibility, neatness, and world wide web standards, CSS effectively brings your site up to date.&lt;p&gt;The Great Font Tags&lt;/p&gt;&lt;p&gt;What ever happened to the good old days of using font tags?&amp;nbsp;Some web developers will state that using font tags is actually a crime. The problem with font tags is that you don't exactly get the size and look of what you really want. Instead, you are confined within the limits of the defined font. Further, a user's web browser may change the font size by using the View menu option.&lt;/p&gt;&lt;a href="http://flickr.com/photos/ycc2106/72811815/"&gt;&lt;/a&gt;&lt;p&gt;Along Comes CSS&lt;/p&gt;&lt;p&gt;CSS styles often retain their set font sizes, although this depends on the web browser. Possibly, one of the most powerful feature of CSS i ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/G3sLgO6-IgI" height="1" width="1"/&gt;</description>
<pubDate>Sun, 03 Sep 2006 00:55:04 GMT</pubDate>
</item>
<item>
<title>Detecting Blocked Cookies in C# ASP .NET Applications</title>
<link>http://www.primaryobjects.com/CMS/Article54.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;Enabling your C# ASP .NET web application to detect if a user has turned off cookies is an important step&amp;nbsp;in designing any successful online software.&lt;/p&gt;&lt;p&gt;At Primary Objects, many of the web applications we create for our clients will be used by hundreds or thousands of users on the Internet. With this many users, there are sure to be some that are using web browsers with cookies completely turned off. Since ASP .NET web applications often rely on cookies to maintain session state features such as login pages and variables, this would create a problem for the user.&lt;/p&gt;&amp;nbsp;&lt;a href="http://flickr.com/photos/chiwalou/24769447/"&gt;&lt;/a&gt;&lt;p&gt;A user who accesses your web application, with cookies blocked, may report that they are unable to login to your web site. Upon clicking the login button, nothing will happen. This is because without cookies enabled, session state is unable to be stored. This can create increased technical support issues for your staff. This is why enabli ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/okoEpy6OLMQ" height="1" width="1"/&gt;</description>
<pubDate>Thu, 31 Aug 2006 11:38:49 GMT</pubDate>
</item>
<item>
<title>ASP .NET Security, C# Web Application Security</title>
<link>http://www.primaryobjects.com/CMS/Article53.aspx</link>
<description>&amp;nbsp;
&lt;p&gt;In all projects developed by Primary Objects, security is our first and foremost concern. We work very hard to assure our web applications contain the highest levels of security suitable for the project at hand.&lt;/p&gt;&lt;p&gt;As we develop applications using C# ASP .NET, there are several choices of security models, each suitable for their own purpose. Web site applications which collect little information from the user, such as search engines, require a different level of security than web applications which may collect highly sensitive or personal information (such as credit card numbers) and would require a stronger security implementation.&lt;/p&gt;&amp;nbsp;&lt;p&gt;&lt;/p&gt;ASP .NET web applications provide three fundamental security operations, including Authentication, Authorization, and Impersonation. In addition, ASP .NET web applications utilize the security provided by IIS for Internet access to the web server.&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Authentication is the process of validating a user's identity in o ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/6K9yFMNZfoc" height="1" width="1"/&gt;</description>
<pubDate>Thu, 24 Aug 2006 09:04:25 GMT</pubDate>
</item>
<item>
<title>ASP .NET Web Site Design, NJ New Jersey, C#</title>
<link>http://www.primaryobjects.com/CMS/Article48.aspx</link>
<description>&amp;nbsp;&lt;p&gt;At Primary Objects we design professional custom ASP .NET web sites for your individual needs. We can create your web site from a designed template which your company may already have or take advantage of thousands of professional pre-made templates to give your site the perfect look.&lt;/p&gt;&lt;p&gt;Professional Internet Presence&lt;/p&gt;&lt;p&gt;Web sites created by Primary Objects are professional not just by their look, but also by their functionality. We prefer to call, even the most basic ones, web applications. Our web sites can include a built-in &lt;a href="http://www.primaryobjects.com/CMS/Article28.aspx"&gt;content management system&lt;/a&gt;, which allows you to login to your web site and&amp;nbsp;edit the content throughout the pages without knowledge of HTML.&lt;/p&gt;&lt;p&gt;Cutting Edge Technologies&lt;/p&gt;&lt;p&gt;We use several technologies when designing custom ASP .NET web sites, including HTML, Javascript, C#, CGI, Perl, DHTML, XML, and AJAX. Our web sites are created using the latest in Microsoft Windows technol ....&lt;img src="http://feeds.feedburner.com/~r/PrimaryObjects/~4/MVn0aHGoUjU" height="1" width="1"/&gt;</description>
<pubDate>Fri, 18 Aug 2006 10:00:11 GMT</pubDate>
</item>
</channel>
</rss>
