Step by Step walk Through on URL routing in ASP.Net 4.0

Objective URL Routing is new feature in ASP.Net 4.0. This article will give a walkthrough on how to work with URL Routing and an introduction of that. URL Routing ASP.Net 4.0 URL Routing enables mapping between search engines optimized URL to physical web Form pages. For example http://localhost:36774/Products/All URL will be mapped to http://localhost:36774/AllProduct.aspx Here […]

Learning Video on LINQ to SQL Class

Source Code using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication9 { class Program { static void Main(string[] args) { StudentDemoDataContext context = new StudentDemoDataContext(); #region Reterive //Reteriving all the Records foreach (var r in context.Students) { Console.WriteLine(r.Name + r.Subject); } #endregion #region Insert Student std = new Student { RollNumber = “8”, Name […]

Basics of C#: Checked and Unchecked Conversions

Objective In this article, I will discuss about Checked and unchecked keyword and conversions in C#. Consider the below code Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication7 { class Program { static void Main(string[] args) { int number = int.MaxValue; number = number + 1; Console.WriteLine(number); Console.Read(); } } } Now, […]

LINQ with IIS sites and web Applications

Objective In this article, we will see how to work with LINQ against IIS. Before applying LINQ against IIS sites and application pool, we need to set up the environment. Follow the bellows steps to do this. Step 1 Down load Microsoft.Web.Administration.dll and save to a particular directory. I am saving it in D drive […]