| Next Tip?
Home » Archive

Articles Archive for October 2008

Asp.net, Interview Questions »

[27 Oct 2008 | One Comment | 306 views]

Generating RSS Feed : A simple way
Around a week back one of my colleagues need to geenrate an RSS Feed for Site. This is my try towards the same.
Here, I have used database of my site and try to generate a RSS Feed for my Site.
Anyone can use the same with a little change.
1. As this will generate a RSS Feed so there is no need to do more with design page only besides few following lines
<%@ Page Language=”C#” AutoEventWireup=”true” CodeFile=”RSSFeedGenerator.aspx.cs” Inherits=”RSSFeedGenerator” EnableViewState=”false”%>
<%@ OutputCache Duration=”300″ VaryByParam=”none” %>
<!DOCTYPE html PUBLIC …

ASP.NET MVC, Tutorial »

[27 Oct 2008 | 2 Comments | 569 views]

ASP.NET MVC – A Step Ahead Series : Part-I
This article is only for learning purpose and to enhance the ASP.Net MVC skills. The A Step Ahead Series containing few chpters to describe the same.
History
With release of ASP.NET MVC Beta ,
MicroSoft launched tool / utility to build Model View Controller applications for ASP.NET. This is available at:
1. ASP.NET MVC Beta.
2. ASP.NET MVC Beta Release .
Introduction
The MVC pattern separates the components of an MVC web application, which allows the more controls of the individual parts of that application.
MVC is a standard design …

CSharp, Interview Questions »

[27 Oct 2008 | No Comment | 313 views]

Nullables in C#
Defiition:
Nullable types are instances if System.Nullable. A nullable type can represent the normal range of values of its underlying value type plus an additional null value.
Purpose:
The purpose of this code-snippet to describe the use of nullable types with little different of a general type.
Following Console code-block tells the all above :
/* This Example is a part of different
* examples shown in Book:
* C#2005 Beginners: A Step Ahead
* Written by: Gaurav Arora
* Reach at : msdotnetheaven.com
* File Name: nullable.cs */
using System;
using System.Collections.Generic;
using System.Text;
namespace AStepAhead.Nullable
{
class nullableclass
{
static void Main(string[] args)
{
int? …

Get Adobe Flash playerPlugin by wpburn.com wordpress themes