<?xml version="1.0"?>
<rss version="0.92" xml:base="http://www.primaryobjects.com">
<channel>
<title>Software Development Articles by Kory Becker</title>
<link>http://www.primaryobjects.com</link>
<description>Software development articles by Kory Becker. Javascript, artificial intelligence, data science, .NET, databases, UI design, web services, and more.</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>
<item>
<title>Revolutionizing the Deutsch-Jozsa Algorithm: A Quantum Upgrade</title>
<link>http://www.primaryobjects.com/2023/02/06/revolutionizing-the-deutsch-jozsa-algorithm-a-quantum-upgrade/</link>
<description><![CDATA[Explore enhancements made to the traditional Deutsch-Jozsa quantum computing algorithm to address several shortcomings. The enhanced algorithm is implemented using Qiskit and the IBM Quantum simulator, making it more efficient and accessible. This article provides a guide to programming the improved Deutsch-Jozsa algorithm, unlocking its full potential for better quantum computing.]]></description>
<pubDate>Mon, 6 Feb 2023 12:40:01 GMT</pubDate>
</item>
<item>
<title>Quantum Computing Hello World</title>
<link>http://www.primaryobjects.com/2022/01/22/quantum-computing-hello-world/</link>
<description><![CDATA[Can we program a quantum computer to output the text 'Hello World'? This tutorial walks through the steps to write a quantum computing program that implements Grover's Search algorithm and a custom oracle to output the phrase 'Hello World'. The example code uses Python and Qiskit. The tutorial demonstrates key concepts behind using a quantum computing search algorithm and shows how powerful the results can be!]]></description>
<pubDate>Sat, 22 Jan 2022 12:40:01 GMT</pubDate>
</item>
<item>
<title>The Ultimate Guide to a Quantum Computing Certification with Qiskit</title>
<link>http://www.primaryobjects.com/2021/09/15/the-ultimate-guide-to-a-quantum-computing-certification-with-qiskit/</link>
<description><![CDATA[Are you preparing to take the IBM Quantum Computing certification exam with Qiskit? Learning about quantum computing and the topics of quantum circuits, qubit gates, Bloch spheres, and the Qiskit SDK are part of the overall technology for being certified as a quantum computing developer. This post is the ultimate study guide for preparing for a quantum computing certification.]]></description>
<pubDate>Wed, 15 Sep 2021 12:40:01 GMT</pubDate>
</item>
<item>
<title>Creating Virtual Reality using WebXR and HTML</title>
<link>http://www.primaryobjects.com/2021/05/10/creating-virtual-reality-using-webxr/</link>
<description><![CDATA[Learn how to build a virtual reality app on the web using WebXR. The app will be viewable in 3D through any web browser and can be experienced in full virtual reality with any mobile device and a head-mounted display. Our app will utilize the [A-Frame](https://aframe.io) library for building a VR experience using HTML and Javascript.]]></description>
<pubDate>Mon, 10 May 2021 12:40:01 GMT</pubDate>
</item>
<item>
<title>Intelligent Heuristics for the Game Isolation using AI and Minimax</title>
<link>http://www.primaryobjects.com/2020/01/26/intelligent-heuristics-for-the-game-isolation-using-ai-and-minimax/</link>
<description><![CDATA[Learn how to create an artificial intelligence agent for the game, Isolation. We'll walk through how to create a web-based version of the game that can be played in the browser using React JavaScript. We'll also demonstrate how to create an artificial intelligence AI driven player by using the Minimax algorithm with Alpha-beta pruning and intelligent heuristics.]]></description>
<pubDate>Mon, 26 Jan 2020 12:40:01 GMT</pubDate>
</item>
<item>
<title>An Introduction to Quantum Computing</title>
<link>http://www.primaryobjects.com/2019/01/07/an-introduction-to-quantum-computing/</link>
<description><![CDATA[What exactly is a quantum computer? In this article, we'll learn what quantum computing is and how it has amazing potential to let you write software applications in an entirely new way. We'll walk through a brief history of quantum physics, describe how quantum computing works, and even write a game on a quantum computer.]]></description>
<pubDate>Mon, 7 Jan 2019 12:40:01 GMT</pubDate>
</item>
<item>
<title>Creating Self-Assembling Code with Genetic Programming</title>
<link>http://www.primaryobjects.com/2018/09/03/creating-self-assembling-code-with-genetic-programming/</link>
<description><![CDATA[Learn how to use genetic programming to self generate computer programs. We'll walk through the steps of using a genetic algorithm combined with genetic programming to create an engine that can generate programs for solving math formulas. We'll use JavaScript, fitness functions, and evolutionary techniques to mutate expression trees and automatically generate new programs.]]></description>
<pubDate>Mon, 3 Sep 2018 12:40:01 GMT</pubDate>
</item>
<item>
<title>Logical-Based Artificial Intelligence and Expert Systems</title>
<link>http://www.primaryobjects.com/2018/07/23/logical-based-artificial-intelligence-and-expert-systems/</link>
<description><![CDATA[Symbolic and logic-based artificial intelligence have been used to create expert systems in many real-world applications, ranging from healthcare to taxes. In this tutorial, we'll review symbolic AI, propositional logic and first-order logic, and walk through the steps of creating our own knowledge-base and expert system for choosing financial ETF funds.]]></description>
<pubDate>Mon, 23 Jul 2018 12:40:01 GMT</pubDate>
</item>
<item>
<title>Image Recognition for Fashion with Machine Learning</title>
<link>http://www.primaryobjects.com/2017/10/23/image-recognition-for-fashion-with-machine-learning/</link>
<description><![CDATA[Can you automatically detect pictures of shirts and pants? Learn how to perform image recognition of fashion items using machine learning and R. We'll identify shirts, pants, dresses, sneakers, hats, and more, by building an artificial intelligence model on an easy-to-use fashion dataset. We'll also cover constructing a learning curve and checking the accuracy of your machine learning results.]]></description>
<pubDate>Mon, 23 Oct 2017 12:40:01 GMT</pubDate>
</item>
<item>
<title>Intelligent Topic Detection with Unsupervised Learning</title>
<link>http://www.primaryobjects.com/2017/07/24/intelligent-topic-detection-with-unsupervised-learning/</link>
<description><![CDATA[Learn how to use unsupervised learning to automatically predict categories and topics for different types of data. In this machine learning tutorial, we'll predict categories for colors and financial funds using AI, R, and JavaScript.]]></description>
<pubDate>Mon, 24 Jul 2017 12:40:01 GMT</pubDate>
</item>
<item>
<title>Integrating React with an Existing JQuery Web Application</title>
<link>http://www.primaryobjects.com/2017/05/08/integrating-react-with-an-existing-jquery-web-application/</link>
<description><![CDATA[Learn how to integrate a React component with an existing JQuery web application. We'll cover how to communicate between the context of JQuery and React, listen to events, and render data on the web page according to changes in the parent app.]]></description>
<pubDate>Mon, 8 May 2017 12:40:01 GMT</pubDate>
</item>
<item>
<title>Preparing for a Technical Interview: Algorithms, Data Structures, and Computer Science</title>
<link>http://www.primaryobjects.com/2017/03/28/preparing-for-a-technical-interview-algorithms-data-structures-and-computer-science/</link>
<description><![CDATA[Learn how to prepare for a technical interview at a software development company with a review of basic algorithms, data structures, and computer science topics using JavaScript. Whether you're a new graduate with a fresh computer science degree or an experienced software development professional, this post will help refresh your computer science fundamentals.]]></description>
<pubDate>Tue, 28 Mar 2017 12:40:01 GMT</pubDate>
</item>
<item>
<title>Developing a Game for the Echo with Amazon Alexa</title>
<link>http://www.primaryobjects.com/2017/01/09/developing-a-game-for-the-echo-with-amazon-alexa/</link>
<description><![CDATA[Are you ready to build a voice-based game for the Amazon Echo? Learn how to write a skill for the Amazon Echo using the Alexa platform and create a celebrity face guessing game. Our Alexa skill will call an external API, display an image on an Alexa home card on a mobile device, and handle tracking game state and player scores.]]></description>
<pubDate>Mon, 9 Jan 2017 12:40:01 GMT</pubDate>
</item>
<item>
<title>Emotional Artificial Intelligence</title>
<link>http://www.primaryobjects.com/2016/10/24/emotional-artificial-intelligence/</link>
<description><![CDATA[Can computer software be designed to be more emotional? Learn how to implement an emotionally intelligent conversational UI. Using sentiment analysis, we design a chatbot capable of responding to users in multiple ways, depending upon the positive or negative sentiment of the conversation.]]></description>
<pubDate>Mon, 24 Oct 2016 12:40:01 GMT</pubDate>
</item>
<item>
<title>Building Your First React Javascript App</title>
<link>http://www.primaryobjects.com/2016/09/19/building-your-first-react-javascript-app/</link>
<description><![CDATA[Ready to build your first web app with React? Learn how to build a simple dragon generator app, using the React javascript framework. We'll cover setting up the HTML template, binding form elements, reading from a remote database API, and handling a form submit. From start to finish, this is a complete introduction to building and deploying with ReactJs.]]></description>
<pubDate>Mon, 19 Sep 2016 12:40:01 GMT</pubDate>
</item>
<item>
<title>An Overview of Conversational UI</title>
<link>http://www.primaryobjects.com/2016/04/12/an-overview-of-conversational-ui/</link>
<description><![CDATA[Is computer software ready to be controlled by speech? Learn how to use conversational UI to allow users to talk to software. We'll review an example of a conversational UI that uses Amazon Echo-style skills and intents for accessing news stories via a chatbot in Slack.]]></description>
<pubDate>Mon, 12 Apr 2016 12:40:01 GMT</pubDate>
</item>
<item>
<title>IBM Watson: Building a Cognitive App with Concept Insights</title>
<link>http://www.primaryobjects.com/2016/02/01/ibm-watson-building-a-cognitive-app/</link>
<description><![CDATA[What is it like to build an app with IBM Watson, the Jeopardy-winning artificial intelligence machine? I had recently given a presentation at the 2016 Associated Press Tech Summit, focused on building an application using the IBM Watson platform. This article describes the available Watson services and an introduction to integrating with the Watson Concept Insights API using node.js.]]></description>
<pubDate>Mon, 1 Feb 2016 12:40:01 GMT</pubDate>
</item>
<item>
<title>Neural Network Sort</title>
<link>http://www.primaryobjects.com/2016/01/06/neural-network-sort/</link>
<description><![CDATA[Neural networks can be used for some pretty fascinatingly flexible solutions. But, have you ever heard of neural network sorting? This tutorial demonstrates the training of an artificial intelligence program to sort numbers. We feed the AI a training set of 3 and 4 numbers, from 1 to 100, and watch through learning curves, as it learns to output the numbers in ascending order.]]></description>
<pubDate>Mon, 6 Jan 2016 12:40:01 GMT</pubDate>
</item>
<item>
<title>A Tale of Migrating to a Static Web Site</title>
<link>http://www.primaryobjects.com/2015/12/15/a-tale-of-migrating-to-a-static-web-site/</link>
<description><![CDATA[This article is a history of my decade-old site, as it transitioned over several platforms, and migrated from a dynamic .NET web application to a statically generated blog. It details the nuts and bolts of scraping, parsing, and converting an html site into a series of markdown documents, used for automatically generating a static site with Hexo.]]></description>
<pubDate>Tue, 15 Dec 2015 12:40:01 GMT</pubDate>
</item>
<item>
<title>Artificial Intelligence Planning with STRIPS, A Gentle Introduction</title>
<link>http://www.primaryobjects.com/2015/11/06/artificial-intelligence-planning-with-strips-a-gentle-introduction/</link>
<description><![CDATA[Imagine you're developing a video game where the player has to find magical items, build a weapon, and then attack monsters. How would you go about implementing such a feature? One method is to use artificial intelligence planning with STRIPS to intelligently plan a set of actions to achieve a goal. By integrating an AI planner, your software can gain the brains to think and formulate an optimal solution to achieve a goal, beat the player, and win the game!]]></description>
<pubDate>Fri, 6 Nov 2015 12:40:01 GMT</pubDate>
</item>
<item>
<title>A Meteor.js Review and Tutorial for Single Page Web Application Development</title>
<link>http://www.primaryobjects.com/2015/07/06/a-meteor-js-review-and-tutorial-for-single-page-web-application-development/</link>
<description><![CDATA[Single page web applications are an important part of modern web development. In this tutorial, learn about the new web application framework, Meteor.js. Create your first meteor.js single page web application that reads data from MongoDb. Learn all of the ins and outs of this rapid javascript web development framework.]]></description>
<pubDate>Fri, 8 May 2015 12:40:01 GMT</pubDate>
</item>
<item>
<title>Token-Based Authentication for Web Service APIs in C# MVC .NET</title>
<link>http://www.primaryobjects.com/2015/05/08/token-based-authentication-for-web-service-apis-in-c-mvc-net/</link>
<description><![CDATA[Learn how to implement a token-based authentication framework to secure a .NET REST API. Our API will be created from a simple MVC controller with each method protected by token-based authentication. The client will be required to provide a token key in the URL for each request. Each token will be unique and have a limited duration of time that it is valid. We'll complete the authentication framework by including client-side Javascript for generating the token and making calls to the .NET API service.]]></description>
<pubDate>Fri, 8 May 2015 12:40:01 GMT</pubDate>
</item>
<item>
<title>A Template Architecture for AngularJs and MongoDb in ASP .NET MVC 5</title>
<link>http://www.primaryobjects.com/2015/03/23/a-template-architecture-for-angularjs-and-mongodb-in-asp-net-mvc-5/</link>
<description><![CDATA[In this tutorial, learn how to create an ASP .NET MVC 5 web application that uses AngularJs and MongoDb to display a database of scary dragons! We'll combine a repository pattern for the database and business layers, with a REST MVC service controller to pass data back and forth to the UI through AngularJs. We'll put the final solution together to create a robust web application with a slick, and most importantly, fast UI!]]></description>
<pubDate>Mon, 23 Mar 2015 12:40:01 GMT</pubDate>
</item>
<item>
<title>Self-Programming Artificial Intelligence Learns to Use Functions</title>
<link>http://www.primaryobjects.com/2015/01/05/self-programming-artificial-intelligence-learns-to-use-functions/</link>
<description><![CDATA[Is it possible for a computer program to write its own programs? Learn how a program written with artificial intelligence has written its own computer programs to say hello world, read user input, reverse strings, and perform basic math. Most recently, it has advanced to using functions. Learn how the AI, taking advantage of genetic algorithms, is able to write more complex computer programs, including one about beer.]]></description>
<pubDate>Mon, 1 Jan 2015 12:40:01 GMT</pubDate>
</item>
<item>
<title>Discovering Trending Topics in News</title>
<link>http://www.primaryobjects.com/2014/10/20/discovering-trending-topics-in-news/</link>
<description><![CDATA[How do social media web sites build trending topics? In this article, we'll explore using machine learning and clustering to put together a list of trending topics from a large data set of news stories. We'll use natural language processing and the R programming language to analyze data and build word clouds of the resulting trending topics.]]></description>
<pubDate>Mon, 20 Oct 2014 12:40:01 GMT</pubDate>
</item>
<item>
<title>Data Analysis with MongoDb and R</title>
<link>http://www.primaryobjects.com/2014/07/23/data-analysis-with-mongodb-and-r/</link>
<description><![CDATA[Learn how to use the R programming language with a MongoDb database, querying and performing basic data science analysis on the results. Compare various methods for connecting to Mongo, including C# and node.js, and learn about the advantages of R.]]></description>
<pubDate>Wed, 23 Jul 2014 12:40:01 GMT</pubDate>
</item>
<item>
<title>Mirroring Your Twitter Persona with Intelligence</title>
<link>http://www.primaryobjects.com/2014/04/27/mirroring-your-twitter-persona-with-intelligence/</link>
<description><![CDATA[Is it possible to apply machine learning to a Twitter user's collection of tweets and accurately develop a model of the personality? This article describes how to create a machine learning recommendation engine for Twitter that will recommend links related to a user's interests and automatically identify new content. Learn how to use unsupervised learning and the K-means algorithm to cluster big data and identify personality interests.]]></description>
<pubDate>Fri, 25 Apr 2014 12:40:01 GMT</pubDate>
</item>
<item>
<title>Classifying Handwritten Digits with Machine Learning</title>
<link>http://www.primaryobjects.com/2014/01/09/classifying-handwritten-digits-with-machine-learning/</link>
<description><![CDATA[Developers looking for their first machine learning project often start by trying the handwritten digit recognition problem, which involves classifying data from the MNIST dataset. In this article, we'll walk through a basic solution in C# .NET for accurately reading the handwritten digits and classifying to within 97.5% accuracy. We'll use the Accord .NET machine learning library and plot some learning curves to see just how powerful and easy it is to use machine learning with C# .NET.]]></description>
<pubDate>Fri, 10 Jan 2014 12:40:01 GMT</pubDate>
</item>
<item>
<title>Detecting a Hacked Tweet with Machine Learning</title>
<link>http://www.primaryobjects.com/2013/10/09/detecting-a-hacked-tweet-with-machine-learning/</link>
<description><![CDATA[Could a computer program have detected the hacked April 2013 Associated Press tweet that briefly crashed the stock market? In this article, learn how machine learning was used to accurately classify tweets by authorship. Walk through the code in C# .NET, examine learning curves, and delve into big data processing, as we tinker with artificial intelligence and Twitter analysis.]]></description>
<pubDate>Thu, 10 Oct 2013 12:40:01 GMT</pubDate>
</item>
<item>
<title>TF*IDF in C# .NET for Machine Learning - Term Frequency Inverse Document Frequency</title>
<link>http://www.primaryobjects.com/2013/09/13/tf-idf-in-c-net-for-machine-learning-term-frequency-inverse-document-frequency/</link>
<description><![CDATA[Term frequency inverse document frequency (TF*IDF) is a numerical value that indicates how important a word is within a document. It's used in search engine ranking algorithms, natural language processing, and machine learning implementations. In this article, learn how to implement TF*IDF in C# .NET to convert a large set of document strings into a numerical representation, based upon term importance.]]></description>
<pubDate>Fri, 13 Sep 2013 12:40:01 GMT</pubDate>
</item>
<item>
<title>Using Single Sign-On with Windows Identity Foundation in MVC .NET</title>
<link>http://www.primaryobjects.com/2013/08/08/using-single-sign-on-with-windows-identity-foundation-in-mvc-net/</link>
<description><![CDATA[Learn how to implement single sign-on in MVC .NET with federated authentication and the Windows Identity Foundation framework. In this tutorial, we'll walk through the steps of implementing federated authentication by creating a C# MVC4 .NET web site and a common authentication web site identity provider (also called a Secure Token Service or STS). We'll create an SSO login system similar in style to popular frameworks used by Google (Gmail, Drive, Store, FeedBurner), Microsoft (Outlook, Live, Bing), and Yahoo (Mail, Finance, Answers).]]></description>
<pubDate>Fri, 9 Aug 2013 12:40:01 GMT</pubDate>
</item>
<item>
<title>An Intelligent Approach to Image Classification By Color</title>
<link>http://www.primaryobjects.com/2013/06/17/an-intelligent-approach-to-image-classification-by-color/</link>
<description><![CDATA[Machine learning sounds like a fancy term. Depending on which recent sci-fi film you may have watched, it may even invoke a sense of fear. However, it's actually a powerful set of algorithms and techniques for allowing a computer program to intelligently arrive at a solution, without explicitly telling it how to do so. In this article, learn how to classify a picture by overall color as red, green, or blue. We'll try it first with a brute force algorithm, followed by a neural network, and then a support vector machine. Which do you think will do best?]]></description>
<pubDate>Mon, 17 Jun 2013 12:40:01 GMT</pubDate>
</item>
<item>
<title>Solving Mazes with AI Pathfinding Techniques: A* vs Tremaux</title>
<link>http://www.primaryobjects.com/2013/05/13/solving-mazes-with-ai-pathfinding-techniques-a-vs-tremaux/</link>
<description><![CDATA[Imagine that an artificially intelligent robot approaches a valley. Looking down the cliff into the valley, the robots sees a large, man-made, labyrinth structure. The structure has an entrance, an exit, and is surrounded by water. The robot can, of course, simply enter the structure and wander around, until it finally reaches an exit point. However, since the robot is programmed with AI, it can do a lot better. This article describes two algorithms for solving a maze and finding the solution path. Learn how the robot can solve a maze using A* Search and the Tremaux algorithm.]]></description>
<pubDate>Mon, 13 May 2013 12:40:01 GMT</pubDate>
</item>
<item>
<title>Your First Node.js Web Application in 15 Easy Steps</title>
<link>http://www.primaryobjects.com/2013/04/10/your-first-node-js-web-application-in-15-easy-steps/</link>
<description><![CDATA[Node.js is a web application platform that has been gaining significant developer popularity. With its focus on server-side javascript and lightweight execution, getting started with it might be easier than you think! This tutorial walks you through 15 easy steps for getting your first node.js web application running.]]></description>
<pubDate>Tue, 10 Apr 2013 16:40:01 GMT</pubDate>
</item>
<item>
<title>Pushing the Limits of Self-Programming Artificial Intelligence</title>
<link>http://www.primaryobjects.com/2013/03/04/pushing-the-limits-of-self-programming-artificial-intelligence/</link>
<description><![CDATA[Is it possible for a computer program to write its own programs? In the previous article this question was answered with the creation of a program, using artificial intelligence, that could write its own programs to output "Hello World" and other simple strings. The AI wrote its programs using the Turing-complete programming language brainf-ck. With the success from the initial experiments, I was curious about pushing the bounds of the AI program towards generating even more complex programs. The AI achieved some interesting results.]]></description>
<pubDate>Tue, 04 Mar 2013 14:40:01 GMT</pubDate>
</item>
<item>
<title>Using Artificial Intelligence to Write Self-Modifying/Improving Programs</title>
<link>http://www.primaryobjects.com/2013/01/27/using-artificial-intelligence-to-write-self-modifying-improving-programs/</link>
<description><![CDATA[Is it possible for a computer program to write its own programs? Could human software developers be replaced one day by the very computers that they master? In this tutorial, watch a program, developed with artificial intelligence, learn how to write its own program to output the word "hi" to the screen. The AI begins with no knowledge about the target programming language. It gradually evolves and learns to write a child program that compiles, executes, and writes the target text to the screen. This is a proof-of-concept experiment of using AI to automatically create software.]]></description>
<pubDate>Sun, 27 Jan 2013 14:44:30 GMT</pubDate>
</item>
<item>
<title>MVC Forms Authentication and Storing Data in the Cookie</title>
<link>http://www.primaryobjects.com/2012/12/07/mvc-forms-authentication-and-storing-data-in-the-cookie/</link>
<description><![CDATA[Learn how to implement MVC4 C# .NET forms authentication and store custom user data in the forms auth ticket. We'll walk through the steps of implementation, using a custom MembershipProvider class, along with a custom Principal object. The Principal will hold our custom user details, encrypted within the forms authentication ticket cookie, and allow us to access this data anywhere within the web application. As a bonus, we'll include easy helper methods for logging in, logging out, and accessing user data.]]></description>
<pubDate>Fri, 07 Dec 2012 12:24:56 GMT</pubDate>
</item>
<item>
<title>Creating Windows 8 Live Tile Notifications with WinRT C# .NET</title>
<link>http://www.primaryobjects.com/2012/11/26/creating-windows-8-live-tile-notifications-with-winrt-c-net/</link>
<description><![CDATA[WinRT is the new platform software application architecture for creating Windows 8 apps (formerly, called Metro-style apps). One unique feature of Windows 8 is the ability to display Live Tile notifications on the desktop. In this tutorial, we'll walk through the steps to create a basic Windows 8 Live Tile notification. We'll cover an example of a text, image, and animated Live Tile notification in C# .NET on the new Windows 8 desktop.]]></description>
<pubDate>Sun, 26 Nov 2012 12:24:56 GMT</pubDate>
</item>
<item>
<title>Parsing Hostname and Domain from a Url with Javascript</title>
<link>http://www.primaryobjects.com/2012/11/19/parsing-hostname-and-domain-from-a-url-with-javascript/</link>
<description><![CDATA[Parsing urls is a common task in a variety of web applications, including both server-side based code (as in the case of C# ASP .NET or node.js web applications) and client based code, including Javascript. Learn how to create three easy Javascript methods for parsing a url, extracting the hostname and domain, and determining if a url points to an external domain from the existing web page.]]></description>
<pubDate>Sun, 19 Nov 2012 12:24:56 GMT</pubDate>
</item>
<item>
<title>Reading POST data in Node.js Express, with an Easy Manager Method</title>
<link>http://www.primaryobjects.com/2012/11/11/reading-post-data-in-node-js-express-easy-manager-method/</link>
<description><![CDATA[
					Node.js with Express offers a fairly simple method for reading form POST data by simply referring to req.body.nameOfField. However, when data is sent via HTTP post from a REST client, instead of an HTML form, the data is read using a streaming approach via req.on('data') and req.on('end').

In this tutorial, we'll show how to create a simple node.js javascript manager method for reading POST data. Our manager method will be compatible with both HTML form posts and RESTful client posts ...]]></description>
<pubDate>Sun, 11 Nov 2012 12:24:56 GMT</pubDate>
</item>
<item>
<title>Creating Your First Node.js App in Windows with Heroku Hosting</title>
<link>http://www.primaryobjects.com/2012/08/06/creating-your-first-node-js-app-in-windows-with-heroku-hosting/</link>
<description><![CDATA[




				&nbsp;


					Introduction
				<div>
					Many Windows developers are currently developing web applications with the most popular Microsoft technology stack of C# ASP .NET. As technologies evolve, and especially with the advent of mobile platforms and alternative operating systems, new programming technology stacks emerge to fit new needs. One of the latest new tech stacks that is receiving a good degree of popularity is Node.js, a server-side javascript framework.</div>
				<div>
					&nbsp;</div>
				<div>
					Just as C# ASP .NET is used for developing Windows-based web applications (hosted on a Windows server with IIS), Node.js can be used for developing javascript web applications, hosted on a variety of platforms. Node.js provides its own server, separate from IIS, for hosting web applications. While you can run Node.js locally to both debug and host Node.js javascript web applications, you can take full advantage of the Node.js stack by shifti ....]]></description>
<pubDate>Mon, 06 Aug 2012 12:24:56 GMT</pubDate>
</item>
<item>
<title>Loading C# MVC .NET Data Annotation Attributes From XML, Form Validation</title>
<link>http://www.primaryobjects.com/2012/05/16/loading-c-mvc-net-data-annotation-attributes-from-xml-form-validation/</link>
<description><![CDATA[




				&nbsp;





					Introduction
				<div>
					Validating web forms is a common task of almost any C# MVC ASP .NET web application. Typically, form field validation is implemented in MVC web applications through the use of .NET data annotations on class member fields. While data annotations offer a powerful and maintainable feature for adding form validation to a web application, occasionally more flexibility is required for adding and removing form field validation in a more dynamic fashion. Some examples might include driving C# MVC form field validation from a content management system CMS, allowing control by the user, or allowing 3rd-party tools to modify form validation. In these cases, a dynamic method is required to offer dynamic data annotation form validation through an external file.</div>
				<div>
					&nbsp;</div>
				<div>
					In this tutorial, we&#39;ll walk through dynamically loading C# MVC .NET data annotations for form va ....]]></description>
<pubDate>Wed, 16 May 2012 07:15:47 GMT</pubDate>
</item>
<item>
<title>Moving in and Out of SSL HTTPS in C# MVC ASP .NET</title>
<link>http://www.primaryobjects.com/2012/04/23/moving-in-and-out-of-ssl-https-in-c-mvc-asp-net/</link>
<description><![CDATA[




				&nbsp;





					Introduction
				<div>
					&nbsp;</div>
				<div>
					Securing pages of a web application is an important step for many production-ready C# ASP .NET MVC web applications, especially those dealing with security-sensitive or personal data, such as passwords or financial information. The primary method for securing web pages is through the use of a secure sockets layer (SSL) on the HTTPS protocol. Since SSL invokes additional encryption/decryption and processing routines, it can require additional resources and load on the web server CPU. For this reason, C# ASP .NET MVC web application developers may choose to protect specific key pages with HTTPS SSL, rather than enabling secure sockets on the entire site.

					In this tutorial, we&#39;ll walk through the steps of enabling HTTPS SSL security on specific pages on a C# ASP .NET MVC3 web application. We&#39;ll implement a basic user-login application that consists of a  ....]]></description>
<pubDate>Mon, 23 Apr 2012 10:52:17 GMT</pubDate>
</item>
<item>
<title>Creating A jQuery Modal Confirmation Dialog When Submitting a Form</title>
<link>http://www.primaryobjects.com/2012/03/21/creating-a-jquery-modal-confirmation-dialog-when-submitting-a-form/</link>
<description><![CDATA[




				&nbsp;





					Introduction
				<div>
					Accepting input from users through the use of HTML forms is a common task in almost any web application. When a web application form is lengthy or detailed in nature, it may be a good idea to display a confirmation of the values the user entered, prior to submitting the data. Rather than navigating the user away from the form to display the confirmation, web applications can take advantage of javascript (particularly jQuery and jQuery UI) to display a modal popup dialog containing the form field values. The user can confirm the fields and choose to make changes or submit the data.</div>
				<div>
					&nbsp;</div>
				<div>
					In this tutorial, we&#39;ll walk through the steps of creating an easy confirmation modal dialog with C# ASP .NET MVC3, jQuery, and jQuery UI. Our confirmation dialog will display all form fields that contain values (leaving any fields without values hidden). It will allo ....]]></description>
<pubDate>Wed, 21 Mar 2012 10:58:21 GMT</pubDate>
</item>
<item>
<title>Smart Page - an MVC C# .NET Pager Control for Search Results</title>
<link>http://www.primaryobjects.com/2012/02/20/smart-page-an-mvc-c-net-pager-control-for-search-results/</link>
<description><![CDATA[




				&nbsp;





					Introduction

				Search is an important part for many C# .NET web applications, comprising of both the display of search results and a navigational control for scrolling through the pages of results. While traditional WebForms in C# ASP .NET included a variety of paging controls, such as the default paging included with the DataGrid or GridView controls, MVC .NET is limited with regard to built-in solutions. For MVC .NET web applications, we&#39;ll need to create our own paging control.

				In this tutorial, we&#39;ll create &quot;Smart Page&quot;, an MVC helper method for displaying smart paging results. Our pager will display a specific number of page indexes adjacent to the active page, along with a set number of page indexes in the middle and end. The MVC search results pager will adjust the number of adjacent page indexes displayed, according to which search results page the user is currently browsing. The Smar ....]]></description>
<pubDate>Mon, 20 Feb 2012 19:39:38 GMT</pubDate>
</item>
<item>
<title>MongoDb Enterprise Design with C# .NET, the Repository Pattern, and NoSQL</title>
<link>http://www.primaryobjects.com/2012/01/09/mongodb-enterprise-design-with-c-net-the-repository-pattern-and-nosql/</link>
<description><![CDATA[




				&nbsp;


<a href="http://www.primaryobjects.com/images/mongodb-cap.gif" target="_blank"></a>


					Introduction
				There is a growing change in the software development world around considering the choice of a NoSQL database platform over the more typical SQL database. SQL databases are centered around the idea of relational tables. Data is normalized and separated, optimizing disk space and query speed, and then linked together with foreign keys to create relationships. In contrast, NoSQL deals primarily with documents. Documents consists of flattened data, that might typically be normalized. While this may result in duplication of data and increased disk space, NoSQL is able to optimize query speed, based upon a key/value query process. Of course, one of the most popular features of NoSQL, particularly for developers, is the lack of a database schema design. NoSQL databases allow automatic creation of the database schema purely from the C# . ....]]></description>
<pubDate>Mon, 09 Jan 2012 20:42:20 GMT</pubDate>
</item>
<item>
<title>Creating a Slick Login Form in MVC3 C# ASP .NET with Attribute Security, CSS3</title>
<link>http://www.primaryobjects.com/2011/12/01/creating-a-slick-login-form-in-mvc3-c-asp-net-with-attribute-security-css3/</link>
<description><![CDATA[




				&nbsp;


<a href="http://www.primaryobjects.com/images/mvc3-login-form.gif" target="_blank"></a>

				Introduction
				<p>
					A common task for many MVC3 C# ASP .NET web applications is the creation of a login form. Along with the common login form comes an array of required functionality, including login validation, authentication, storing of credentials, and of course, security. In traditional C# ASP .NET web applications, protected pages would sit within a particular folder, designated by the web.config as a protected area. However, in MVC3 controllers rule the land and application folders may be virtual, thus requiring a controller-based security technique.</p>
				<p>
					In this tutorial, we&#39;ll walk through creating a slick login form for an example MVC3 C# ASP .NET web application. Our login form will be styled with CSS3, contain rounded edges, a gradient background, and a lens flare highlight effect. Our login form will also contain ....]]></description>
<pubDate>Thu, 01 Dec 2011 10:24:08 GMT</pubDate>
</item>
<item>
<title>Loading Web Navigation from XML with MVC3 Partial Views, C# .NET</title>
<link>http://www.primaryobjects.com/2011/11/15/loading-web-navigation-from-xml-with-mvc3-partial-views-c-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction The navigation menu is a common control on almost every MVC3 C# ASP .NET web site, containing sets of links for navigating to various portions of the web site. Traditionally, menu navigation links are statically embedded within an MVC3 control or directly within the HTML of a web page. Occasionally, the need may arise for navigation links to be driven from an outside data source, such as a database, XML file, or CMS (content management system). In particular, CMS content management systems often allow users to dynamically configure web site content, including navigational links. A user may choose to add or remove top-level navigation items, which in turn, instructs the CMS system to publish a differing set of navigation data. In this scenario, we would need to design our MVC3 C# ASP .NET web application to dynamically load the navigational items from a file or data-store, for display in the MVC view. In this tutorial, we'll walk through creating a simple top-lev ....]]></description>
<pubDate>Tue, 15 Nov 2011 15:34:47 GMT</pubDate>
</item>
<item>
<title>Creating a Simple Paint App with HTML5 Canvas and Javascript</title>
<link>http://www.primaryobjects.com/2011/10/05/creating-a-simple-paint-app-with-html5-canvas-and-javascript/</link>
<description><![CDATA[&nbsp;
<a target="_blank" href="http://www.primaryobjects.com/paint"></a>Introduction Although HTML5's formal specification is still under development, the technology is already growing in popularity. HTML5, as supported by many popular web browsers, already brings together a set of client-side technologies for producing highly interactive and responsive applications. One of the more talked-about parts of the HTML5 toolkit is the Canvas element. This new element provides a graphical drawing surface, allowing developers to create graphics and animations, similar to other client-side technologies such as Flash. The canvas element is quite easy to use, providing a quick and powerful starting point for creating a variety of client-side graphical applications. In this tutorial, we'll walk through creating a simple paint program in the web browser, with HTML5 and Javascript. We'll create a toolbar, containing a set of paint colors and image stamps, and allow the user to paint within the can ....]]></description>
<pubDate>Wed, 05 Oct 2011 14:13:18 GMT</pubDate>
</item>
<item>
<title>Remote Debugging with Pastebin, Automatic Posting to Pastebin in C# .NET</title>
<link>http://www.primaryobjects.com/2011/09/12/remote-debugging-with-pastebin-and-automatic-logging-of-errors/</link>
<description><![CDATA[&nbsp;
<p><span style="FONT-WEIGHT: bold">Introduction </span>Debugging software applications typically occurs within the context of an IDE (integrated development environment), such as Eclipse, XCode, Visual Studio, etc. This allows developers to step line by line through sections of code, analyzing variables, and tracing the stack. Occasionally, developers may be unable to debug within the IDE, whether due to software complexity, runtime environments, or other issues. During these conditions, resourceful developers may utilize more primitive, but equally powerful methods of debugging, such as raw printing of values and steps (printf, cout, alert statements, etc). However, when the software process executes in a remote server environment, where the developer may not have access to the local file system, debugging can take on additional complexity. Common remote debugging solutions include writing logs to the file system, email, or remote web service methods. In this tutorial, we'll d ....]]></description>
<pubDate>Mon, 12 Sep 2011 14:02:38 GMT</pubDate>
</item>
<item>
<title>Cross Domain Policy Violation, And How to Get Around It (JSONP, AJAX, JavaScript)</title>
<link>http://www.primaryobjects.com/2011/08/29/cross-domain-policy-violation-and-how-to-get-around-it-jsonp-ajax-javascript/</link>
<description><![CDATA[&nbsp;
<p>Introduction Web services are an important part of the architecture for many software systems. While many web applications use JavaScript AJAX requests to make calls to local web service methods, occasionally the need arises to call outside web services to retrieve data for the current request. Examples include mashup web applications, interconnected business applications, or web page widgets (for example, Google Adsense, Twitter scrollers, Facebook comment streams, etc). While client script can certainly call local web service methods, calling outside web services from non-local domains violates the cross-domain policy. To work around this policy, an additional tactic is required. </p><p>In this tutorial, we'll create a simple C# .NET web service that creates monsters and returns them in JSON format. We'll create a simple web page that uses a JavaScript AJAX request to display a monster each time a button is clicked. To simulate an outside web service, we'll modify the loca ....]]></description>
<pubDate>Mon, 29 Aug 2011 20:04:36 GMT</pubDate>
</item>
<item>
<title>Creating a C# .NET Jabber Chatbot that Talks on Gmail with XMPP and AIML</title>
<link>http://www.primaryobjects.com/2011/05/14/creating-a-c-net-jabber-chatbot-that-talks-on-gmail-with-xmpp-and-aiml/</link>
<description><![CDATA[&nbsp;
Introduction <p>User interfaces for software applications can come in a variety of formats, ranging from command-line, graphical, web application, and even voice. While the most popular user interfaces include graphical and web-based applications, occasionally the need arises for an alternative interface. Whether due to multi-threaded complexity, concurrent connectivity, or details surrounding execution of the service, a chat bot based interface may suit the need.</p><p>Chat bots typically provide a text-based user interface, allowing the user to type commands and receive text responses. Chat bots are usually stateful services, remembering previous commands (and perhaps even conversation) in order to provide functionality. A popular example from recent Internet history is the usage of IRC chat bots, often used for monitoring chat rooms, playing games, and providing help. The same technology can be used today, but to provide even more powerful functionality, such as serving busi ....]]></description>
<pubDate>Sat, 14 May 2011 12:31:57 GMT</pubDate>
</item>
<item>
<title>Creating an ASP .NET MVC 3 User Control with a Partial View</title>
<link>http://www.primaryobjects.com/2011/05/05/creating-an-asp-net-mvc-3-user-control-with-a-partial-view/</link>
<description><![CDATA[&nbsp;
<p>Introduction It's common in ASP .NET Web Forms to create user controls that encompass frequently accessed user interface components. WebForms user controls can be created which allow setting of properties, customization, and placement on any aspx web form for display of content. However, with ASP .NET MVC (Model View Controller), the creation of user controls typically follows a slightly different approach. In particular, without the usage of Session or the traditional WebForms event model, it can be difficult to create the types of user controls many WebForms developers are familiar with. While you can certainly embed WebForms user controls within an ASP .NET MVC web application, it could be considered good practice to follow the traditional MVC architecture with the creation and usage of partial view user controls. In this tutorial we'll create a gradient color box user control with ASP .NET MVC 3 and Razor by using a Partial View. We'll display our ASP .NET MVC 3 Partial  ....]]></description>
<pubDate>Thu, 05 May 2011 19:52:28 GMT</pubDate>
</item>
<item>
<title>Consuming a C# .NET WCF Web Service from Perl / CGI</title>
<link>http://www.primaryobjects.com/2011/04/05/consuming-a-c-net-wcf-web-service-from-perl-cgi/</link>
<description><![CDATA[&nbsp;
<p>Introduction The chief argument for a web service is to provide a platform and language independent means of accessing a software API. This allows client programs, written in a variety of programming languages, to interact with the web service. Of course, web services also provide additional benefits, including the ability to scale in response to client traffic, provide additional security layers, and, as long as the interface contract doesn&rsquo;t change, they also provide easier management of updates to the originating API code. In this article, we&rsquo;ll create a basic C# ASP .NET WCF web service for a &ldquo;Hello World&rdquo; example. We&rsquo;ll then create a client application using Perl / CGI to consume the web service and call the web service target method. Through the usage of XML and SOAP, we&rsquo;ll be able to easily communicate with the WCF web service (through any number of programming languages) and display the results. </p>&nbsp;<a href="http://www.flickr ....]]></description>
<pubDate>Tue, 05 Apr 2011 19:25:27 GMT</pubDate>
</item>
<item>
<title>Creating a C# .NET External Domain Specific Language to Map a Dungeon</title>
<link>http://www.primaryobjects.com/2011/02/27/creating-a-c-net-external-domain-specific-language-to-map-a-dungeon/</link>
<description><![CDATA[&nbsp;
<p>Introduction Creating your own programming language can be a daunting task. After all, that's why developers choose existing programming languages, such as C#, Ruby, Perl, JavaScript or other traditional languages. However, in certain instances, a case may arise where non-developer business users may be required to configure and modify programming logic. Since not all business users can be programmers in the native programming language, it may be beneficial to implement a domain specific language that 3rd-party users can utilize. Simple examples of such a language might include Windows INI files or XML configuration files. However, we can create an even more specific custom programming language, just for our software purposes, by using an External Domain Specific Language. Domain specific languages (DSL) can provide enhanced readability and understanding of programming code, particularly by non-developers. Where regular programming code might exist, a domain specific languag ....]]></description>
<pubDate>Sun, 27 Feb 2011 16:04:56 GMT</pubDate>
</item>
<item>
<title>Fluent Interfaces in C# .NET with Expression Builder Method Chaining and RPG Games</title>
<link>http://www.primaryobjects.com/2011/02/07/fluent-interfaces-in-c-net-with-expression-builder-method-chaining-and-rpg-games/</link>
<description><![CDATA[&nbsp;
Introduction Domain specific language (DSL) is a method of programming where variables, functions, and classes are descriptive of business-domain definitions and methodology. It allows software developers to more easily communicate with business matter experts and non-technical users, even to the point of allowing non-developers to manipulate programming logic and customize operation. Domain specific languages can be categorized into two areas, including Internal and External DSLs. Internal DSLs include programming logic and code, designed to incorporate business domain-specific terminology. External DSLs include separate scripts, text files, and other configuration files programmed in domain-specific keywords, and used to drive the software application. In this tutorial, we'll create a simple RPG role-playing game. We'll create a character, assign his attribute statistics including strength, agility, intelligence, and class. We'll then put him to battle against an endless barr ....]]></description>
<pubDate>Mon, 07 Feb 2011 19:03:26 GMT</pubDate>
</item>
<item>
<title>Generating Flying Creatures in NoSQL RavenDB with C# ASP .NET MVC Razor</title>
<link>http://www.primaryobjects.com/2010/12/22/generating-flying-creatures-in-nosql-ravendb-with-c-asp-net-mvc-razor/</link>
<description><![CDATA[&nbsp;
<p>Introduction C# ASP .NET web applications have grown to encompass varying degrees of complexity and enterprise-level flexibility. With the latest release of the Microsoft ASP .NET MVC Model View Controller (Release Candidate) framework, C# web applications can be designed using the fluent view template language, Razor, to rapidly develop MVC Views and web application user interfaces. By combining the ASP .NET MVC Razor framework with a database layer, featuring the new NoSQL solution RavenDB, we can develop an enterprise-suitable solution for querying the NoSQL database and managing entities. In this article, we'll create an example C# ASP .NET MVC Razor web application, using the RavenDB NoSQL database as the backend. Our web application will automatically generate random flying creatures and monsters, each with their own randomly generated magical weapon. The flying creatures will be created and stored in the NoSQL document database and displayed within an AJAX jQuery base ....]]></description>
<pubDate>Wed, 22 Dec 2010 19:36:41 GMT</pubDate>
</item>
<item>
<title>Web Gardens, Web Farms, Clouds, and Session State in C# ASP .NET</title>
<link>http://www.primaryobjects.com/2010/12/05/web-gardens-web-farms-clouds-and-session-state-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction The majority of C# ASP .NET web applications are often developed with the intention of running in a single web server environment. They'll often take advantage of ASP .NET's Session State to store variables and data on the server, per user. As an ASP .NET web application grows in usage and popularity, scalability issues may arise, as the single web server is brought to its maximum capabilities. Whether due to overload of the server's resources or simply as an enterprise fail-safe architecture, expanding the hosting environment to encompass multiple web servers and processors is often the next step for a growing enterprise-level C# ASP .NET web application. In this article, we'll take a look at several solutions for scaling a C# ASP .NET web application across a web garden, web farm, and beyond. In particular, we'll focus on implications of Session State and potential solutions for scaling session across multiple processors and servers. We'll also view an example ....]]></description>
<pubDate>Sun, 05 Dec 2010 11:59:33 GMT</pubDate>
</item>
<item>
<title>Using Silverlight Graph Charts and WCF to Visualize Stock Dividends in C# .NET</title>
<link>http://www.primaryobjects.com/2010/10/31/using-silverlight-graph-charts-and-wcf-to-visualize-stock-dividends-in-c-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>Silverlight is a graphical toolkit for providing advanced visual displays and animation in web pages, using C# ASP .NET. The Silverlight API contains a flexible list of graph and chart controls, used for visualizing a vast array of data. As the Silverlight graph and chart controls are highly flexible, they provide the ability to apply custom styles and effects, changing the appearance of standard chart, graph, and grid controls.</p>&nbsp;<a href="http://www.flickr.com/photos/27865614@N00/3069252649/"></a><p>In this tutorial, we'll walk through creating a C# ASP .NET Silverlight web application for visualizing financial stock market data. Our Silverlight graph will display dividend amounts paid for a specific stock, equity, or bond over time. Our graphs will actually model a similar style to the Google Analytics chart display, providing an easy and modern way to view financial data. The dividend data will be retrieved using a WCF Windows Communication Found ....]]></description>
<pubDate>Sun, 31 Oct 2010 21:35:10 GMT</pubDate>
</item>
<item>
<title>Using the Entity Framework Repository and UnitOfWork Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/2010/09/30/using-the-entity-framework-repository-and-unitofwork-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction </p><p>Web application data access layers have evolved over time to provide increasing flexibility and maintainability in software architecture. Often, many web applications begin by manually maintaining database connections and SQL query strings. However, as architecture designs grow, more web applications are using ORM models to help increase code reuse and maintainability of ever-growing C# ASP .NET web applications. </p><p>The latest version of the Entity Framework EF4 provides several new features, which support implementing a loosely-coupled repository pattern design. Using the Repository Pattern, along with a UnitOfWork pattern, we can greatly enhance the maintainability of our web applications with a solid architecture, greater code reuse, and unit test capability. </p>&nbsp;<a href="http://www.flickr.com/photos/27865614@N00/3069252649/"></a><p>In this article, we'll step through 3 methods of accessing the Entity Framework data access layer in C# ASP .NE ....]]></description>
<pubDate>Thu, 30 Sep 2010 16:13:24 GMT</pubDate>
</item>
<item>
<title>Displaying SOAP XML Messages in a Simple WCF Web Service</title>
<link>http://www.primaryobjects.com/2010/07/10/displaying-soap-xml-messages-in-a-simple-wcf-web-service/</link>
<description><![CDATA[&nbsp;
<p>Introduction The Windows Communication Foundation WCF is growing in popularity and becoming the mainstream method for creating web services. While WCF can provide a powerful interoperable service, which many different programs and languages can comminute with, it becomes increasingly important to be able to debug the web service's action at the raw SOAP XML level. Microsoft provides a built-in tool for viewing WCF log files, although it lacks the simplicity of quickly displaying the raw XML sent to and from the WCF service. Luckily, we can utilize the .NET message inspector to add support for our WCF service to output the complete XML SOAP packets that are sent and received. In this tutorial, we'll create a basic WCF web service using plain-text username and password authentication. We'll bypass using SSL and x.509 certificates to keep things simple. We'll then add a custom attribute to our WCF class to output all incoming and outgoing XML SOAP packet messages to the Visual  ....]]></description>
<pubDate>Sat, 10 Jul 2010 09:04:36 GMT</pubDate>
</item>
<item>
<title>Using the NHibernate Repository Pattern in C# ASP .NET</title>
<link>http://www.primaryobjects.com/2010/03/17/using-the-nhibernate-repository-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction A large variety of ORM object relational mapping tools exist for use with developing C# ASP .NET web applications. Some of the more popular ORM tools include LINQ to SQL, the Entity Framework, and NHibernate. While previous articles have discussed developing web applications with LINQ to SQL and the Entity Framework through the usage of the business object generator, <a target="_blank" href="http://www.primaryobjects.com/linquify.aspx">Linquify</a>, in this tutorial, we'll focus on implementing the repository pattern for an NHibernate web application. </p>&nbsp;<a href="http://www.flickr.com/photos/crimsondude/573209692/"></a>Repository Pattern vs Business Objects Before discussing the details of implementing the repository pattern with NHibernate, it's important to note the difference between the repository model of data storage versus the business object model. The repository model consists of an individual class which accepts and returns type objects, includi ....]]></description>
<pubDate>Wed, 17 Mar 2010 09:35:36 GMT</pubDate>
</item>
<item>
<title>Creating Silverlight Microsoft Bing Maps with Editable Pushpins in .NET</title>
<link>http://www.primaryobjects.com/2010/02/02/creating-silverlight-microsoft-bing-maps-with-editable-pushpins-in-net/</link>
<description><![CDATA[&nbsp;
IntroductionA variety of software mapping development kits are available for use in C# ASP .NET web applications, including Google Maps, Mapquest, Bing, and more. However, with Microsoft's recently released Bing Maps for Silverlight and C# ASP .NET, it's become quite easy to develop a mapping web application with visually enhanced graphics and smooth transition effects.In this article, we'll step through the process of creating a basic C# ASP .NET web application, using Silverlight and the Microsoft Bing Maps SDK. We'll create a map with an Aerial and Road view, and allow the user the create pushpin marks by clicking the map. When the user hovers the mouse over a pushpin, we'll display a popup textbox, containing the latitude, longitude, and a custom message. The user will be able to click a pushpin to edit the text, providing the framework for persisting map location information to a database, web service, or network.&nbsp;A Microsoft Silverlight Bing Map with 3 pushpins creat ....]]></description>
<pubDate>Tue, 02 Feb 2010 10:17:13 GMT</pubDate>
</item>
<item>
<title>Populating a DropDownList with Linquify and the Entity Framework in C# ASP .NET</title>
<link>http://www.primaryobjects.com/2010/01/18/populating-a-dropdownlist-with-linquify-and-the-entity-framework-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction <a target="_blank" href="http://www.primaryobjects.com/linquify.aspx">Linquify</a> is a Visual Studio add-in and business class generator for LINQ to SQL and the Entity Framework, providing quick and easy development for ASP .NET data layers. In this tutorial, we'll go through the steps of setting up a basic C# ASP .NET web application, which populates a DropDownList control with people from a database table. The user can select a person and click the View button to view additional details about the person, including information from relational tables. We'll use the Entity Framework as our data access layer, combined with Linquify for our business class type library. </p>&nbsp;<a href="http://www.flickr.com/photos/27865614@N00/3069252649/"></a>Starting the Project To begin our C# ASP .NET web application, we'll create a new web application project in Visual Studio, called &quot;DropDownListLinquify&quot;. Before we get started with the user interface code, let's ....]]></description>
<pubDate>Mon, 18 Jan 2010 20:12:30 GMT</pubDate>
</item>
<item>
<title>Creating Silverlight Web Applications with Linquify, LINQ to SQL, WCF</title>
<link>http://www.primaryobjects.com/2009/12/28/creating-silverlight-web-applications-with-linquify-linq-to-sql-wcf/</link>
<description><![CDATA[&nbsp;
<p>Introduction <a href="http://www.primaryobjects.com/linquify.aspx">Linquify</a>, our recently released Visual Studio Add-in, is a .NET business class generator for LINQ to SQL and the Entity Framework, providing quick and easy development for ASP .NET data layers. In this tutorial, we'll demonstrate some of Linquify's features by guiding you through the architecture and development of a Silverlight ASP .NET web application utilizing Linquify. The ASP .NET web application will bind a database containing people to a Silverlight DataGrid and allow adding, editing, and deleting of individual people. The web application will use Silverlight as the user interface to demonstrate the use of Linquify as a data access layer, regardless of the GUI user interface implementation. We'll also create a WCF web service to function as an intermediate business layer. </p>&nbsp;<a href="http://www.flickr.com/photos/llrain/2038352842/"></a>Getting the Tools for Silverlight Development The first  ....]]></description>
<pubDate>Mon, 28 Dec 2009 20:35:34 GMT</pubDate>
</item>
<item>
<title>Converting and Compiling 32-bit to 64-bit Visual Studio 2008 Projects</title>
<link>http://www.primaryobjects.com/2009/11/15/converting-and-compiling-32-bit-to-64-bit-visual-studio-2008-projects/</link>
<description><![CDATA[&nbsp;
Introduction The average lifespan of a typical computer is about 3-5 years. Today, the majority of users are running 32-bit architecture PCs. However, as users begin upgrading to faster computers, they will be moving to the newer 64-bit platforms, requiring some software developers to port their Win32 x32 Visual Studio projects over to the x64 platform. This is particularly important for Windows applications which deal with system processes, hardware, or system architecture. For the developer, converting an application from 32-bit to 64-bit is often a straight forward process in Visual Studio 2008, although there can be subtle issues that may arise. &nbsp;<a href="http://www.flickr.com/photos/gromgull/2476659336/"></a>In this article, we'll describe how to enumerate the processes running on a Windows-based PC in both a 32-bit and 64-bit platform computer. We'll list both Win32 and x64 processes and describe the process of converting one to the other in Visual Studio 2008. Enume ....]]></description>
<pubDate>Sun, 15 Nov 2009 22:07:09 GMT</pubDate>
</item>
<item>
<title>Securing PDF Files in ASP .NET with Custom HTTP Handlers</title>
<link>http://www.primaryobjects.com/2009/11/11/securing-pdf-files-in-asp-net-with-custom-http-handlers/</link>
<description><![CDATA[&nbsp;
Introduction It's quite common to include PDF and other static file formats in a C# ASP .NET web application for access by the user. However, many developers overlook the fact that the built-in .NET authentication and security framework does not apply to static files, such as PDF files, Word docs, Excel reports, and other documents included within the web application. While the web application may have been designed to only allow authenticated users to access the web site after logging in, it's possible (depending on the web.config) that any user could access the static documents, provided they know the direct URL pointing to the file. In addition, the web application would be unable to restrict logged-in user access by the User.Identity account. An obvious solution might be to use the IIS file security via Integrated Windows Authentication, requiring an awkward Windows username and password prompt upon accessing the URL. However, this method would still not allow functionality ....]]></description>
<pubDate>Wed, 11 Nov 2009 14:31:57 GMT</pubDate>
</item>
<item>
<title>Managing SQL Strings in C# ASP .NET Applications</title>
<link>http://www.primaryobjects.com/2009/09/18/managing-sql-strings-in-c-asp-net-applications/</link>
<description><![CDATA[&nbsp;
<p>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.</p>&nbsp;<a href="http://www.flickr.com/photos/27865614@N00/3069252649/"></a>In this article, we'll de ....]]></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/2009/08/13/implementing-the-repository-design-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>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. </p>&nbsp;<a href="http://www.flickr.com/photos/27865614@N00/3069252649/"></a>A Repositor ....]]></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/2009/06/02/sending-email-from-a-gmail-account-with-c-net-and-web-services/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a h ....]]></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/2009/05/26/creating-artificial-life-with-cellular-automata-in-c-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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 ....]]></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/2009/05/06/using-neural-networks-and-genetic-algorithms-in-c-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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. </p><p>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.</p>&nbsp;<a href="http://www.flickr.com/photos/27865614@N00/3069252649/"></a><p>The Neural Network is a Brain</p><p>The neural netw ....]]></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/2009/04/07/looking-up-zip-codes-with-c-asp-net-mvc-and-ajax/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://www.flickr.com/photos/gromgull/2476659336/"></a><p>One Degree Away From Classic ASP .NET</p><p>ASP .NET WebForms centered around the idea of callbacks and events. Controls, such as buttons, would fire events back to the cod ....]]></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/2009/02/15/detecting-browsers-crawlers-and-web-bots-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p><p>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  ....]]></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/2009/01/24/using-mysql-and-linq-to-sql-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/lapineite/2193187190/"></a><p>The Old Way of Doing Things</p><p>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 ....]]></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/2009/01/21/fixing-dblinq-slow-mysql-queries-linq-to-sql/</link>
<description><![CDATA[&nbsp;&nbsp;
<p>The following is a fix for an issue with slow queries in <a href="http://code2code.net/DB_Linq/">DbLinq</a>&nbsp;when using&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.</p><p>Here is a work-around fix for the issue:<a href="http://www.primaryobjects.com/temp/dblinq_slowmysql_fix_01_21_09.zip">Download</a> SVN patch 1<a href="http://www.primaryobjects.com/temp/RemoveCache_FixQuery_01_22_09.zip">Download</a> SVN patch 2</p><p>1. Download the latest SVN code for DbLinq at <a href="http://code.google.com/p/dblinq2007/source/checkout">http://code.google.com/p/dblinq2007/source/checkout</a> </p><p>2. Open the following file for editing in Visual Studio 2008 DBLinq\src\DbLinq\Data\Linq\Sugar\Implementation\ExpressionOptimizer.cs </p><p>3. On line 78, the problem manifests itself when attempting to evalu ....]]></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/2008/10/08/redirect-a-login-by-role-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/h19/153429298/"></a><p>On First Thought, It Isn't Pretty</p><p>When thinking about redirecting users ....]]></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/2008/10/02/customizing-membership-role-providers-and-login-control-in-c-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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  ....]]></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/2008/07/03/three-ways-to-bind-a-dropdownlist-with-linq-and-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>In this article, we'll visit three ways to populate a DropDownList control by binding to a data source. W ....]]></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/2008/04/30/writing-a-simple-role-playing-game-with-c-net-and-the-state-pattern/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/daveward/83844 ....]]></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/2008/01/29/preventing-session-timeouts-in-c-asp-net-web-applications/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://www.flickr.com/photos/moywatson/2211081777/"></a><p>Why Would a Client Want No Session Timeout?</p><p>A typical scenerio where a user may want to  ....]]></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/2008/01/29/using-the-iterator-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p><p>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 ....]]></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/2008/01/07/a-c-net-adventure-game-sim-and-the-strategy-pattern/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/dunechaser/1228875390/"></a><p>Game Design</p><p>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 ....]]></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/2007/12/10/using-the-model-view-controller-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<a href="http://www.flickr.com/photos/crimsondude/573209692/"></a><p>What is the Model View Controller Design Pattern?</p><p>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.</p><p>Since this description ....]]></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/2007/11/16/implementing-a-database-factory-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<a href="http://www.flickr.com/photos/llrain/2038352842/"></a><p>Why Do I Need a Database Layer Anyway?</p><p>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 ....]]></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/2007/10/10/using-the-memento-design-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/artsylens/1471839478/"></a><p>Why Not Just Code it the Basic Way?</p><p>If you're familiar with implementing state-saving functionality, such as the Undo command, in C# ASP .NET web applications, you may be have ....]]></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/2007/10/02/passing-arrays-to-sql-stored-procedures-with-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/artsylens/1471839478/"></a><p>MSSQL Limitations and Arrays</p><p>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 ....]]></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/2007/08/13/using-the-microsoft-message-queue-msmq-and-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<p>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 ....]]></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/2007/08/06/exporting-xml-in-a-c-asp-net-web-application/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/stevenaronwilliams/361046321/"></a><p>Distorted HTML</p><p>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 ....]]></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/2007/05/29/designing-software-generics-and-reflection-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/margotpouw/518465140/"></a><p>What's a Generic?</p><p>.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,&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 ....]]></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/2007/05/17/using-the-observer-design-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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#.</p>&nbsp;<a href="http://flickr.com/photos/darwishh/74610176/"></a><p>Differences Between the Chain of Responsiblity and the Observer</p><p>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 ....]]></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/2007/05/15/using-chain-of-responsibility-design-patterns-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://www.flickr.com/photos/elliotlevin/287548469/"></a><p>Two Ways to Make a Chain</p><p>As with all first prog ....]]></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/2007/05/11/using-the-command-object-design-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/johnsonc/395086447/"></a><p>What's Wrong with an Integer Command?</p><p>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 ....]]></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/2007/05/08/using-microsoft-silverlight-to-fade-an-html-form/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/joshb/483036712/"></a><p>Fading an HTML Form ....]]></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/2007/05/07/using-the-strategy-design-pattern-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>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.</p><p>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 &quot;Hello World&quot; Stratgey design pattern.</p>&nbsp;<a href="http://flickr.com/photos/mquest/88403117/"></a><p>What's  ....]]></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/2006/12/21/how-to-kill-mysql-sleeping-connections-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>MySQL is a free database included&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 &quot;Too Many Connections&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.</p>&nbsp;<a href="http://flickr.com/photos/chrisbernardi/179239663/"></a><p>Too Many MySQL Connections</p><p>Open MySqlAdministrator, click on the Server Connections link, and view the active Threads.&nbsp;Web-based ASP .NET applications seem to incorrectly ha ....]]></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/2006/12/03/connecting-to-a-mysql-database-with-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<p>Using MySQL with C# ASP .NET</p><p>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 ....]]></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/2006/10/27/creating-xml-rss-feeds-with-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p>&nbsp;<p>Atom vs RSS</p><p>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  ....]]></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/2006/10/18/resetting-passwords-in-active-directory-with-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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.</p><p>Note, if you are not yet familiar with connecting to Active Directory in C# .NET, please read our article on <a href="http://www.primaryobjects.com/2006/09/20/using-active-directory-in-a-c-net-web-application/">Using Active Directory with C# .NET</a>.</p>&nbsp;<p>Resetting a Password vs. Changing a Password</p><p>Active Directory makes a distinct difference between resetting a user's password and changing it.</p><p>Resetting a user's password is an administrative function and does n ....]]></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/2006/10/09/fixing-vc-package-not-available-or-not-registered/</link>
<description><![CDATA[&nbsp;
&nbsp;&nbsp;<p>Introduction</p><p>Recently, an error occured on a PC with both&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: &quot;VC Package not available or not registered&quot;.</p><p>VC Package not available or not registered&nbsp;</p>&nbsp;<p>Microsoft's web site offers a <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;320427">solution</a> 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:</p><p>Microsoft's Solution</p><p>1 ....]]></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/2006/10/07/internet-streams-and-downloading-files-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
<p>Introduction</p><p>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&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&nbsp;with a fault-tolerant method is extremely important.</p>&nbsp;<a href="http://flickr.com/photos/mookiechan/55840473/"></a><p>WebRequest and WebResponse</p><p>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 &quot;browse&quot; the web and read t ....]]></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/2006/10/02/search-engine-friendly-links-in-c-asp-net/</link>
<description><![CDATA[&nbsp;
Introduction<p>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.</p>&nbsp;<p>Comparing Search Engine Friendly URLs to Parameter Clogs</p><a href="http://flickr.com/photos/skarcha/34856803/"></a><p>An example of a poorly designed URL</p><p>http://www.mysite.com/myapp?q=3&amp;state=3&amp;userid=21&amp;pass=&amp;day=2&amp;request=5</p><p>An examp ....]]></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/2006/09/20/using-active-directory-in-a-c-net-web-application/</link>
<description><![CDATA[&nbsp;
&nbsp;<p>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.</p><a href="http://flickr.com/photos/jimyang/116831311/"></a><p>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.</p><p>The DirectoryEntry Object</p><p>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 ....]]></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/2006/09/14/saving-and-loading-images-in-mssql-database-with-c-net/</link>
<description><![CDATA[&nbsp;
<p>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 &quot;image&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.</p><p>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 &quot;image&quot; data type in the MSSQL database table, we can easily work with the uploaded data.</p>&nbsp;<a href="http://flickr.com/photos/cibermakis/152972992/"></a><p>Binary Image Data in MSSQL</p><p>Binary image data in MSSQL is treated as a stream of bytes, or in other  ....]]></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/2006/09/03/using-css-styles-in-c-asp-net-web-applications/</link>
<description><![CDATA[&nbsp;
&nbsp;&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.<p>The Great Font Tags</p><p>What ever happened to the good old days of using font tags?&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.</p><a href="http://flickr.com/photos/ycc2106/72811815/"></a><p>Along Comes CSS</p><p>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 ....]]></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/2006/08/31/detecting-blocked-cookies-in-web-applications/</link>
<description><![CDATA[&nbsp;
<p>Enabling your C# ASP .NET web application to detect if a user has turned off cookies is an important step&nbsp;in designing any successful online software.</p><p>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.</p>&nbsp;<a href="http://flickr.com/photos/chiwalou/24769447/"></a><p>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 ....]]></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/2006/08/24/asp-net-security-c-web-application-security/</link>
<description><![CDATA[&nbsp;
<p>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.</p><p>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.</p>&nbsp;<p></p>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.<p>&nbsp;</p><p>Authentication is the process of validating a user's identity in o ....]]></description>
<pubDate>Thu, 24 Aug 2006 09:04:25 GMT</pubDate>
</item>
</channel>
</rss>
