Browse by Tags

All Tags » ASP.NET » Microsoft .NET 2008 (RSS)

Passing parameters between Silverlight and ASP.NET – Part 1

While working with Silverlight applications, we may face some scenarios where we may need to embed Silverlight as a component, like for e.g in Sharepoint Webpars or simple we can have the same with ASP.NET. The biggest challenge comes when we have to...

Custom Configuration Sections in app.config or web.config

There are certain scenarios where we need to define our own custom configuration section. I have recently faced one where I had to Store the key value pairs as given below. Download Full Source Code < FilterHashKey > < FilterKeys > < add...

Sharing source code between .NET and Silverlight

A common problem when developing Silverlight applications is how to share classes and in particular (Entity Framework) entities which are compiled for the full .NET framework in a Silverlight application. Silverlight is a browser plugin and a platform...

Change default Port for the ASP.NET Development Server

When you use the ASP.NET Development Server to run a file-system Web site, by default, the Web server is invoked on a randomly selected port for localhost. For example, if you are testing a page called Default.aspx, when you run the page on the ASP.NET...

Using ASP.NET 3.5 Extensions History Control

This post will provide useful links on how the ASP.NET Extensions Preview allows control over the Browser back button in Ajax. Normally this is not possible using AJAX Controls in WebBrowsers, because AJAX Control's partial postback is not added to...

Method Overloading in WebServices

Web services are also classes just like any other .NET classes. Nevertheless they have methods marked as WebMethods that can be exposed by the WebServices to be consumed by the outside world. Apart from these WebMethods they can also have normal methods...

C# Coding Standards by Lance's

Following the right Coding standars comes with Practice and proper Guidance if you are a starter, and also lots of companies define or customize their own coding standards. When I came across this challange to define the coding standard for my team, I...

LINQ to XML and LINQ to Objects Basic Sample

In this post I will show how to use LINQ to XML and LINQ to Objects, very basic example with sample code . First I have created a XML file which contains the Customer Details, as given below <? xml version = " 1.0 " encoding = " utf...