Friday, June 22, 2007

Yahoo Stock Quote Ticker with C# and Flash

We all are like to develop our own ticker as we like because we need to customize. I have found great article that not only teach us that how to develop a ticker and how we can consume the asp.net C# web service in flash.

Jason Perry has used yahoo stock quote service to get stock prices. He created the web service that consume the yahoo service and a flash application that consume the .net web service.

This application follows n-tier application design by dividing the application into data, business, and presentation logic. This way a designer can focus on building usable interfaces and leave the structure of the back end to the developers.

here is the link for that article:
http://aspalliance.com/articleViewer.aspx?aId=112&pId=
Share:
Tuesday, June 12, 2007

Micorsoft Server Operating System-Windows Server 2008

Microsoft has announced its new generation of server operating system called windows server 2008. Microsoft windows server 2008 beta 3 is available for download.

Following are the some of windows server 2008 highlights.

1) Increase Control and Manageability
2) Flexibility for Changing Business Needs
3) A Solid Foundation on Which to Build Your Business


For more details about windows sever 2008 family and download beta 3 version of windows server 2008 please visit following link...

http://www.microsoft.com/windowsserver2008/default.mspx
Share:

Introduction to XAML

Microsoft has provided new extensible markup language called XAML(Extensible Application Markup Language ) with .net framework 3.0.

XAML is used to define dynamic or static user interfaces of C# or VB.NET . XAML will be used in Windows Vista to design user interfaces, but can be applied to Windows XP or Windows 2003 as well.

I have found a great articles to describe basics of XAML.This article contains following topics.

1) Background of XAML
2) Advantages of XAML
3) XAML Developer Tools
4) Write First applicaiton with XAML
5) XAML Elements
6) XAML Attributes
7) Generate User Interface pragmatically through XAML

here is the link for that article...
http://aspalliance.com/1019_Introduction_to_XAML
Share:

Using the ASP.NET membership provider in C# Windwos Forms application

ASP.NET 2.0 has great ability to develop application in much more faster and secure way. ASP.NET Membership functionality is one of the example of it. ASP.NET membership functionality is easy to user build whole user management section for you. But still lots of developer does not know that asp.net membership provider can be used in C# windows forms application.

I have found a great article on using asp.net 2.0 membership functionality into C# windows forms application. It can be done without much more effort.

here is the link for that article...
http://www.theproblemsolver.nl/usingthemembershipproviderinwinforms.htm
Share:

Collecting Remote System Information With WMI + C#.NET

While developing a windows application we often need to develop application that will collect information about remote pc. I have found a great article which will use WMI classes in .net framework to get information about remote pc.

here is the link for that article....
http://www.codeproject.com/cs/internet/remotesysinformation.asp?df=100&forumid=127088&exp=0&select=1498523
Share:

Consuming webservice with asp.net ajax

ASP.NET Developer uses Ajax to build great user interfaces. But few developer only know that with asp.net Ajax you can do lost of other things then building great user interfaces. Few developers know you can consume web services with asp.net.

I have found great articles that discuss all things that comes in way to consume web services from Ajax asp.net.

here is the link for that article...
http://www.singingeels.com/Articles/Consuming_Web_Services_With_ASPNET_AJAX.aspx
Share:

ASP.NET AJAX - Things To Know

Ajax is one of the hottest buzz in today's web development world and Google and some other companies have used Ajax very wisely to improve his web applications and services. Every web developer is thinking about ajax. Ajax is a universal technique you can use it with any platform.
Whether it is php,jsp,pearl,javascript,html,coldfusion,asp or asp.net you can use it with all the platforms.

Microsoft has also built Ajax framework called Microsoft Asp.net Ajax formerly know as atlas. ASP.NET Ajax is very easy to user and simple to develop Ajax enabled applications.

I have found a great article which consider things a developer( who is developing Ajax enabled applications ) should know.

here is the link for that article.

http://www.singingeels.com/Articles/ASPNET_AJAX__Things_To_Know.aspx
Share:

Google Corporate Information-History and milestones

I have found a very good articles about Google corporate history and milestone. How the Google was started by Larry Page and Sergy Bin. How the every mile stone are achieved. What help Google to successful like today everything is explained in very good manner and year to year. One must read this to take inspiration from it.

here is the link for that article...

http://www.google.co.uk/corporate/history.html
Share:
Friday, June 8, 2007

How to send email from C# windows application

First find the System.Web.dll in your computer drive where .NET Framework installed

Then add a reference to that dll in your C# windows application.

then write following code to send email....

string smtpServer;
smtpServer= "127.0.0.1";
System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage();
msg.From = "From Email Address";
msg.To = "To Email Address";
msg.Body = "Body here";
System.Web.Mail.MailAttachment attachFile = new System.Web.Mail.MailAttachment("Filepath");
System.Web.Mail.SmtpMail.SmtpServer = smtpServer; System.Web.Mail.SmtpMail.Send(msg);
Share:

How to take ScreenShot in C#

To create a screenshot in c# we need to use drawing api of the .net framework

First you have import System.Drawing.Imaging name space with following code...

using System.Drawing.Imaging;

here is the code in C# for screenshot.

int screenWidth = Screen.GetBounds(new Point(0, 0)).Width;
int screenHeight = Screen.GetBounds(new Point(0, 0)).Height;
Bitmap bmpScreenShot = new Bitmap(screenWidth, screenHeight);
Graphics gfx = Graphics.FromImage((Image)bmpScreenShot);
gfx.CopyFromScreen(0, 0, 0, 0, new Size(screenWidth, screenHeight));

bmpScreenShot.Save("test.jpg", ImageFormat.Jpeg);
Share:
Thursday, June 7, 2007

Create a Site Search Engine in ASP.NET - SiteSearch.aspx

I have found a very interesting link to design search engine in asp.net. Which describes the sorting and searching mechanism in result data grid.

following the link of that article.............

http://www.developerfusion.co.uk/show/4389/2/
Share:
Wednesday, June 6, 2007

Micorosft Acropolis CTP 1 released.


Microsoft code name “Acropolis” Community Technology Preview 1 is a bundle of components and tools that make life easier for developers to build and manage modular, business focused, client .NET smart applications.

To Download Acropolis click Here


To Know more about acropolis download Introducing video from here

Share:

Windows Presentation Foundation- All About

The primary goal of Windows Presentation Foundation (WPF) is to help developers create attractive and effective user interfaces. Learn how the WPF unified platform helps make designers active participants in creating user interfaces, and provides a common programming model for standalone and browser applications.

It is a great articles which describes all the aspects of WPF and also give glimpse on how user can developed smart application with Windows Presentation Foundation.

Here is the link for article:
http://msdn2.microsoft.com/en-us/library/aa663364.aspx
Share:

Using custom collections with the ASP.NET DataGrid control

Most of the developer use data controls for retrieving data and binding it to the data grid.
But collections in .net technology provide great alternative instead of using data reader,data set or data view to bind data grid.

I have found a great msdn article that describes all thing that you can do with data grid and collections.

i.e. User Interface
Database Structure and collection
Concepts behind the strongly typed collections.
Creating the basic collection objects
Populating the collection with data from the DAL
Binding the Data Grid control to the custom collection
Caching collections
Creating a class to filter collections
Creating a class to sort collections
Bringing it all together: filtering and sorting collections

here is the link for that article:
http://www.microsoft.com/belux/msdn/nl/community/columns/ceulemans/custcollections.mspx
Share:

Search Engine Optimization and ASP.NET

I have found a great articles to do Search engine optimization for ASP.NET websites.

it will discuss regarding view state and meta tags of asp.net .

If you're developing for the Web then you should familiarize yourself with some Search Engine Optimization or SEO concepts. The idea here is to make your ASP.NET application as friendly as possible for spiders, and the specific spider we're talking about is Google.

Here is the link for that :
http://www.wwwcoder.com/tabid/68/type/art/parentid/457/site/6173/default.aspx
Share:

Mouse Hover effect on asp.net datagrid.

Here is the code for mouse hover effect in ASP.NET using C#.

I have written a another code for mouse hover effect in asp.net data gird. You can do both for alternating item and item rows.

First You have to create a item created event of datagrid and paste the following...


private void datagrid_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
if (e.Item.ItemType==ListItemType.AlternatingItem)
{
e.Item.Attributes.Add("OnMouseOver", "this.style.backgroundColor = 'lightblue';");
e.Item.Attributes.Add("OnMouseOut", "this.style.backgroundColor = '#E5F2FA';");
}
else if(e.Item.ItemType==ListItemType.Item)
{
e.Item.Attributes.Add("OnMouseOver", "this.style.backgroundColor = 'lightblue';");
e.Item.Attributes.Add("OnMouseOut", "this.style.backgroundColor = 'white';");
}
}
Share:

Great ASP.NET Datagrid Search Articles.

I have found some great ASP.NET Data grid articles. Please go through it.

1) Drill down Data grid Searching with ASP.NET:

This articles provide all the information to develop basic search in asp.net datagrid.

here is the link:http://www.sitepoint.com/article/datagrid-searching-asp-net

2) Highlighting Multiple Searching Keywords for ASP.NET Datagrid.

This article describes how to highlight searching keyword in asp.net datagrid with the help of
.css files
Share:

ASP.NET Free WebHosting

Hurray, I have found a great free web hosting with ASP.NET 2.0 support. Brinkster People provide free ASP.NET hosting following supports.



  • Package Features.
    30 mb web space
    500 MB WEB TRAFFIC (limited to 16.7 mb web traffic per day)
    1 brinkster.net e-mail account with 10 mb space
    24/7/365 E-MAIL SUPPORT
    Brinkster control panel

  • Supported Technologies.

    ASP 3.0
    ASP.NET
    xml 4.0
    wap enabled
    flash enabled
    ssi - server side includes
    MDAC 2.8
    MS ACCESS
    .NET MOBILE INTERNET TOOLKIT
    ONLINE FILE MANAGER

For more Details please visit :http://www.brinkster.com/hosting/FreeDeveloper.aspx

Share:
Tuesday, May 22, 2007

HOW TO FACE AND PREPARE FOR INTERVIEWS - MUST FOR ALL

Today Every body has to face interview to get jobs. Lots of people are preparing for it. But Still there are some points that every candidate has to take care of it. I have found a great article for an interview. Which covers all the topics from right from beginning to written and aptitude test,technical interview, hr interview etc.

The Author shared his experience with the big company's.

following is the link of that article..
http://www.sureshkumar.net/html/full_articles_display.asp?page=1&Article_Id=HOW%20TO%20FACE%20and%20PREPARE%20FOR%20INTERVIEWS%20-%20MUST%20FOR%20ALL&main_id=2&cat_id=1&sub_id=
Share:
Monday, May 21, 2007

http://internetexplorer8.net-Your guide to Microsoft's next browser

Microsoft has launched a new website called http://internetexplorer8.net/
Where you can find all things about Microsoft forthcoming new browser Microsoft Internet explorer 8.

You can also get information about Microsoft current browser Internet explorer 7.0.
Share:

What is Linq

Linq is the one of the most hottest release from Microsoft. Still lots of people don't know what linq is. I have found a great articles from Saqib Ullah.

This articles covers all the aspects of Linq in each and every way.

Following is the link for that article...
http://geekswithblogs.net/technetbytes/archive/2007/04/30/112129.aspx
Share:

Micorosft SQL Server Future Version-Katmai

Microsoft is going to launch it's new sql server 2005 future realease code name Katmai. It will be realeased in 2008. It provide better data management and dynamic development for the data management solutions.

SQL Server code name "Katmai" is a complete enterprise-class offering that builds upon the success of SQL Server 2005 and delivers increased functionality to a comprehensive range of applications from the desktop to the data center.

for more details you can visit following links:
http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx

Read the SQL Server code name "Katmai" Press Release

SQL Server code name "Katmai" Datasheet
Share:
Friday, May 18, 2007

Future Release Version of ASP.NET

Microsoft will launch newer version of it's asp.net suite. It will contain lots of new features with asp.net and silverlight.

Following things are included in future release...
  1. ASP.NET AJAX Futures
  2. Silverlight Controls for ASP.NET
  3. Dynamic Data Controls for ASP.NET
  4. ASP.NET Application Services
  5. Dynamic Languages Support in ASP.NET

For more details visit following links:

http://www.asp.net/downloads/futures/default.aspx?tabid=62

Share:
Thursday, May 17, 2007

WPF - Hands on Labs

Microsoft Windows Foundation Presentation (WPF) hands on labs is a great labs to know more about Windows Presentation Foundation and How we should integrate it into the windows forms.

for all the details visit following links:
http://windowsclient.net/downloads/folders/hands-on-labs/default.aspx

Microsoft has provided following hands on labs

1) Building WPF Applications
2) Building WPF XAML Browser Applications
3) Creating 3D Content with Windows Presentation Foundation
4) Creating a Glass Button in Blend
5) Creating Rich 2D and 3D Content in WPF
6) Creating Rich Reading Experience with WPF
7) Creating Rich Reading Experience with WPF
8) Creating WPF buttons with Expression Blend and Expression Design
9) Expression Blend Feature Tour - Fabrikam Catalog
10)Using Data Binding in WPF

Happy Programming..
Share:

ASP.NET Forums and ASP.NET Blog Site changed.

Microsoft team has changed the layout of asp.net forums and asp.net web blogs. And after some time the whole asp.net site layout will be changed.

Now it takes less time to load and has much more responsive then old site.

For More details visit following link..
http://forums.asp.net/t/1111435.aspx
Share:

Windows Forms Video

For those who are new to the programming. Video Tutorials provides great helps. Microsoft has lots of videos on his new resource site. http://www.windowsclient.net/.

It has following videos...

1) Windows Presentation Foundation for Developers – Part 1
2) Design Rich Client Experiences with Expression Blend and WPF
3) A View from the Front: Real World Experiences of WPF and Silver light
4) Starbucks, Windows Presentation Foundation, and Stand Out: Remarkable Brand Delivers Remarkable Presentations
5) ZAP!, WHAM!, KAPOW!: Windows Presentation Foundation and the Next Generation of Online Comic Book Reading
6) Citius, Altius, Fortius: Windows Presentation Foundation and the 2008 Olympic Games
7) Lessons Learned: Designer/Developer Productivity in Windows Presentation Foundation
8) Family Show: I See Dead People, with Windows Presentation Foundation
9) Windows Presentation Foundation in Real World Development
10) WPF State of the Nation
11) Interactive 2D controls on WPF 3D Surfaces
12) Creating a Simple XAML Browser Application
13) Advent and Evolution of WPF
14) IronPython and WPF
15) The Power of Templates in Windows Presentation Foundation
16) Sneak Peak at Cider
17) Testing WPF - UI Fuzzing with InvokeStress
18) Demo of Avalon 3D
19) Expression – Part One: The Overview
20) Expression – Part Two: Design
21) Expression – Part Three: Blend
22) Windows Forms Layout
23) Tool Strips
24) Windows Presentation Foundation: The Opportunity for WPF Applications in the ...
25) Developing a Windows Presentation Foundation Application
26) A Designer's Overview of Windows Presentation Foundation
27) Building a Real World WPF Application: The North Face In-Store Explorer

For more details about the videos please visit following link:
http://windowsclient.net/learn/videos.aspx

Happy Programming...
Share:

1.0 windows starter kits from windowsclient.net

Just like the asp.net starter kits windows forms starter kits provide a very good way to learn windows forms programming. Those who are new to the windows forms programming by .net technology must have the windows forms start kits.

Windows starter kits include following applications...

1) Auto-Column-Size Windows Forms DataGrid
2) DataGrid ComboBox Column
3) FotoVision
4) Infragistics Tracker Application
5) IssueVision
6) ITypedList Implementation
7) TaskVision 1.0
8) Terrarium

To know more about start kits please visit:
http://windowsclient.net/downloads/folders/starterkits/default.aspx

or directly download starter kits from above links..

Happy Programming.
Share:
Tuesday, May 15, 2007

How to traverse in Collection of ASP.NET,C#.NET

I am creating a 3-tier application using the collections and I have found that it is very difficult to traverse in collection. I have used ICollection and IEnumerator interface to inherit my class.
here is the class.

#region Using Directive
using System;
using System.Collections;
using System.Xml;
using System.Xml.Serialization;

#endregion

namespace MyCollectionClass
{
[Serializable]
[XmlRoot("CountryCollection")]
public class CountryCollection:IEnumerator,ICollection
{
#region Fields
private int _CountryId;
private string _CountryName;
private ArrayList _CountryList;
private int _Index=-1;

#endregion

#region Properties
public int CountryId
{
get
{
return _CountryId;
}
set
{
_CountryId=value;
}
}
public string CountryName
{
get
{
return _CountryName;
}
set
{
_CountryName=value;
}
}
public object Current
{
get
{
return _CountryList[_Index];
}
}
public Object SyncRoot
{
get
{
return this;
}
}
public bool IsSynchronized
{
get
{
return false;
}
}

public CountryCollection this[int indexer]
{
get
{
if ((indexer >= 0) && (indexer <>
{
return (CountryCollection)_CountryList[indexer];
}
else
{
throw new System.IndexOutOfRangeException("Index Must Between 0 and " + _CountryList.Count.ToString());
}
}
}
int System.Collections.ICollection.Count
{
get
{
return _CountryList.Count;
}
}
public int Count
{
get
{
return _CountryList.Count;
}

}
#endregion

#region Constructor
public CountryCollection()
{
_CountryList = new ArrayList();
}
public CountryCollection(ArrayList theArrayList)
{
_CountryList = theArrayList;
}

#endregion

#region Methods
public void Add(CountryCollection objCountry)
{
_CountryList.Add(objCountry);
}
public void Remove(CountryCollection objCountry)
{
_CountryList.Remove(objCountry);
}
public IEnumerator GetEnumerator()
{
return (IEnumerator)new CountryCollection(_CountryList);
}
public bool MoveNext()
{
_Index++;
return _Index <>
}
public void Reset()
{
_Index = -1;
}
public ArrayList GetArrayList()
{
return _CountryList;
}
public void CopyTo(Array a, int index)
{
_CountryList.CopyTo(a, index);
}
#endregion


}
}

After that i have create a object of class called objCountryCol.

Now here is the way for traversing the data.

Convert objCountryCol into enumerator....

IEnumerator inum=objCountryCol.GetEnumerator();

here is the loop for traversing

while (inum.MoveNext())
{
objCountryCol=(CountryCollection)inum.Current;
///write another code and traverse your class.

}

Share:
Monday, May 14, 2007

Window Live Mail Lanuch full version

Few days back Microsoft has announced it's new next generation free mail services windows live mail. Microsoft has announces full version of it. Microsoft also giving beta tester logo for those who have used the Microsoft live beta version of mailing services.
Share:

Basic of C# Programming.

C# is purely object oriented language. It has great features. It is just like c++ so if you know c++ you can easily learn c#.

I have found a great article that will discuss following topic fo C#.

Program structure
Name spaces
Data types
Variables
Operators and expressions
Enumerations
Statements
Classes and structs
Modifiers
Properties
Interfaces
Function parameters
Arrays
Indexer
Boxing and unboxing
Delegates
Inheritance and polymorphism

here is link:
Program structure
Namespaces
Data types
Variables
Operators and expressions
Enumerations
Statements
Classes and structs
Modifiers
Properties
Interfaces
Function parameters
Arrays
Indexers
Boxing and unboxing
Delegates
Inheritance and polymorphism

here is the link:http://www.codeproject.com/csharp/quickcsharp.asp

Share:

Best Indian websites for 2007

The computer magazine pcworld has announces best Indian websites for 2007.
It has announced website in following categories.

1)Gaming
2)Flowers and Gifts
3) Cricket
4) Shopping
5) Email
6) Real Estate
7) Technology
8) Portals
9) Job Sites
10) Social Networking
11) Astrology
12) News
13) Travels
14) Matrimony
15) Bill Pay
16) Entertainment
17) Photo Printing
18) Mobile Content
19) Auction
20) Stock Broking

For more details and winners click here
Share:

How ASP.NET page renders in IIS

Every body know that asp.net is great technology for developing website. Every body knows feature of asp.net. But very few people know that how asp.net page render in the IIS. What is process done by IIS(Internet Information Services) to execute .aspx(ASP.NET Page).

I have search a lot and found two great articles that covers all aspects of asp.net and IIS.

The first one is from http://www.4guysfromrolla.com/. here is the link.

The second one is form http://www.programmersheaven.com/ . here is the link
Share:
Friday, May 4, 2007

Drap & Drop Shopping Cart in ASP.NET

Have you ever seen drag and drop in shopping cart where item can be drag and drop in shopping cart. Here is the way you can do it.

Users can simply drag and drop the items they wish to buy in the basket and the basket is updated with the new results.

here it the link for the article which describes how you can do drag and drop in shopping cart.
Share:

Ready Made Site Search Engine For ASP.NET

If you are developing a site search in your asp.net site. Now you don't need to develop it. Now it will be directly done adding a great component. It is robust,unique and very fast. It is also provide great features like a standard search engine.

You can also download free demo version and test it. Here is the download link

Please visit following site for more details: http:/www.sitesearchasp.net
Share:

How to zip files programatically thorugh asp.net

Lots of time we are required to zip the uploaded files due to hosting space limitation. I have found a great article to zip uploaded files pragmatically through asp.net and gzip libraries.

here is the link for that great articles
Share:
Thursday, May 3, 2007

MIcorosfot and Oracle: Better Together

For almost two decades , Microsoft and oracle have teamed up to integrate their products for customers. Combining the strength of Microsoft and Oracle software means easier management and increased productivity through integration and interoperability.

I have found a great site which provide all information to work on .NET Framework thorough support for Microsoft Visual Studio 2005 and Oracles databases.

It also contains lots of case studies for integrating Microsoft and Oracle application.

here is the link for the site.

http://www.microsoft-oracle.com/
Share:

How to select node in ASP.NET IE Web Treeview

I have a found a very simple way to select a particular node.

here is the one line code...

first traverse the node and then paste following code.

tv.SelectedNodeIndex=Node.GetNodeIndex();

that's it..

happy programming..
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews