What is the Windows Azure platform - A quick start for beginners?

Microsoft has announced a new cloud-based version of Windows called Azure. Windows Azure allows you to build, host and scale applications in Microsoft datacenters. They require no up-front expenses, no long term commitment, and enable you to pay only for the resources you use. Azure applications run on Microsoft's data centers instead of in-house servers. There is nothing new in hosting applications on the internet,...

What are the new features of .NET Framework 4.0?

 One more new Framework for Microsoft .NET namely .NET Framework 4.0. So, What's New in the .NET Framework 4? I think Microsoft has the answer. Here what they say, The .NET Framework is an integral Windows component that supports building and running the next generation of applications and Web services. The key components of the .NET Framework are the common language runtime (CLR) and the .NET Framework class library,...

What is the difference between WCF and Web Services?

Let me tell you the definition of two and then explain the main difference. Windows Communication Foundation(WCF):                  WCF stands for Windows Communication Foundation. WCF is a unified programming model for building service oriented application. WCF is the next generation of distributed applications and Web Services. It consist of a runtime and classes in System.ServiceModel namespace. Web Services:                 ...

Confirmation dialog box in Code Behind using C#( C-Sharp ) in ASP.NET

You can call a confirmation dialog box from code behind using c#. Copy follow the code in respective files. Copy this is HTML <p> <asp:Button id="btnSave" runat="server" Text="Save and Update 'RFFM'" OnClientClick="return UpdateRFFM();" /> </p> Copy this in C# code behind. using System; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using...

Hello, World! in C# 2010

You can learn to create classes in the C# language. Consider the following code example, which define a class: using System; public class Hello { public static void Main(string[] args) { System.Console.WriteLine("Hello, World!\n"); } } Output: Hello, World! The preceding class declaration provides a method Main() that will display the message "Hello, World!" on your scre...

Sample resume format for Microsoft .NET with 2+ year of experience.

                                              Reference Here:              Candidate NameEmail: yourEmail@hotmail.comPh:  +91-...

How to Implementing WCF Callback in ASP.NET 3.5?

After searching here I found a method to implement WCF Callback in asp.net 3.5. I was running into similar problems where my service would make an async call to the Business layer an then wait for an event to fire back on the service. Whenver the event fired the Callback context was lost. I have not delved into the details of why this is but i ended up implementing a workaround of essentially storing a reference to the currentcontext and firing off a seperate Thread to call the to call the business layer and once it is complete...

What is Serialization in ASP.NET?

As a programmer you will often need to send objects to another location, you may also need to convert them to an appropriate format. So, what will you do? One of the solution is Serialization. The .NET Framework 2.0 provides built-in classes to convert data to formats that are portable, or easy to transport to another location. This process of converting data into a portable format is called Serialization...

What is Deserialization in ASP.NET?

As a programmer you may need to restore the object or data into its original form. This process of restoring the object or data to its original state is called Deserialization  Source Code:...

How to use javascript to change values of a controls inside a gridview?

There are situations where you need to change value present in grid view dynamically. In one of my project, I need to calculate price according to the number of food items selected from a drop-down list control and this will be client site operation. To do that I have used JavaScript. Below is the ASP.NET and JavaScript which you need to past it in ASP.NET page. asp:label id="lblData" runat="server" text=""> asp:label id="lblData" runat="server" text=""> asp:label id="lblData"...

How to create Windows Communicatin Foundation (WCF) Service Library?

To create Windows Communicatin Foundation (WCF) Service Library you need have Microsoft Visual Studio 2008 or grater version. You cannot find WCF, WPF or WWF in Microsoft Visual Studio 2005. Now that you have Microsoft Visual Studio 2008 you need to start the application by Start - Programs - Microsoft Visual Studio 2008- Microsoft Visual Studio 2008. When you fire Microsoft Visual Studio 2008 you will get the above...

Leap Year program using C# or CSharp.

The following code checks whether the year entered by the user is a Leap Year. If the condition specified in the if statement is true, the statements in the if block are executed. And if the condition specified in the if statement is false , the statement in the else block are executed. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static...

How to get Image Preview after browsing through fileupload control using JavaScript

There are situations when you work with File Upload controls and you want to show the image preview when you hit ok in the dialog box. There are many solution but we are going to demonstrate using JavaScript. Now the below code snippet uses showImage function which first splits the complete path present in file upload text box. Later it appends 'file:///' to the complete file path. Example: function showImage(id,img,divName,no) { var fileUploader = id.value; dots = fileUploader.split("."); //get the part AFTER...

What are the different version of Microsoft .NET Framework?

Microsoft .NET Framework has come long way since .NET Framework 1.0 to .NET Framework 4.0. Microsoft has first launched its Framework version with .NET 1.0 followed by .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5 and last but not the least .NET 4.0. The .NET Framework 1.1 version had Common Language Runtime (CLR), Web Services and ASP.NET. Then in .NET Framework 2.0, Microsoft enhance the framework with ADO.NET, Cache Dependency,...

How to create Session Timeout alert box and Redirect to Login.aspx page in ASP.NET

ASP.NET allows you to save values by using session state, which is an instance of the System.Web.SessionState.HttpSessionState class, for each active Web Application session. If different users are using your application, each user session will have a different session state. You can use session state to accomplish the following tasks: Uniquely identify browser or client-device requests and map them to an individual...

What is .NET Framework?

If the interview ask you this question just say this, Microsoft introduce the .NET framework with the intention of bridging the gap in interoperability between application. This framework aims at integrating various programming languages and services. It is design to make significant improvements int the code reuse, code specialization, resource management, multi-language, development. It is a platform which enables...

Factorial of a number in C#(CSharp)

The following is an example of the factorial number. It is also recursive method. Have a look: using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { public int factorial(int n) { int result; if (n == 1) return 1; else { result = factorial(n - 1) * n; return result; } } static void Main(string[] args) { Program obj = new Program(); Console.WriteLine("Factorial...

Difference between HTML and XML?

                 HTML was created by Tim Berners-Lee as a simple and effective way of generating clear and readable documents. HTML enables you to create documents and Web pages that can be read by all web browsers.                   The World Wide Web Consortium(W3C) developed XML to enable the expansion of Web Technologies into the new domains of document processing...

How to Read XML String into dataset?

I'm grabbing an XML string from a database and trying to pass it into a dataset. Please correct me if i'm wrong Private Function GetDataSet1() As DataSet Dim ds As DataSet = New DataSet Dim sb As New System.Text.StringBuilder sb.Append("<?xml version=""1.0""?><items>") sb.Append("<item>") sb.Append("<itemid>100</itemid>") sb.Append("<friendlyname1>Vegetables</friendlyname1>") sb.Append("<friendlyname2>VG</friendlyname2>") sb.Append(("<time>" + DateTime.Now.ToLongTimeString()...

C# Program to perform Addition, Subtraction, Multipilcation and Division operation.

The following program perform mathematical operation such as Addition, Subtraction, Multipilcation and Division operation. using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { int Number1, Number2; char option; int Result; public void Number() { Console.WriteLine("Enter the First Number:"); Number1 = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter...

Creating a Sample C# program using Classes and objects.

A C# program can be written by using Visual Studio or any editor. Consider the following code, which declares the Car class and creates the object MyCar of the same class: using System; class Car { //Following are the Member variables of a class. string Engine; int NoOfWheels; //Following are the Member function of a class. public void AcceptDetails() { Console.WriteLine("Enter the Engin Model"); Engine = Console.ReadLine(); Console.WriteLine("Enter the number of Wheels"); NoOfWheels = Convert.ToInt32(Console.ReadLine()); } public...

Download Free Complete Sample project on Microsoft .NET, Warehouse Management System, along with Documentation & Source Code.

You can download complete Warehouse Management System project for you reference. This project contains Documention and Source Code. Documentation has all the screen shorts of the project. This is very much helpful of new programmer in Microsoft .NET and also to Engineering Final year student in there final year project. Before downloading you can read the abstract, Project: Warehouse Management System Abstract: The Warehouse Management System (WMS) mainly deals with automating the tasks of maintaining and transacting the...
 

About Me

It's Me!Hi, I'm Moinuddin. I'm a Software Engineer at WIPRO working on Microsoft .NET Technology. I'm interested in a wide range of technology topics, mainly Microsoft including Windows Azure, WCF, WPF, Silverlight and any other cool technology that catches the eye.

Site Info

ProjectCSharp.com is mainly about demonstrating real time examples in different technologies like ASP.NET, WCF, WPF, Silverlight, Azure etc..,

Followers

Help Links

Project CSharp (C#) Copyright © 2011. All Rights Reserved.