Friday, July 13, 2007

http://www.aspnettutorials.com- Great Resource for ASP.NET Developers

I have found a great sites that hosts great asp.net tutorials. It is http://www.aspnettutorials.com/.

It contains tutorial in following categories.


Advanced Technologies
AJAX
Internet Browsers
Controls
Database
Email
Error Handling
File
Graphics
Network
Performance
User Interface/Themes
Validation
Visual Web Developer
XML
Suggest Tutorial

Please do visit this site. You will find lost of tutorial there...
Share:

SilverLight Video Links

Share:

ASP.NET 2.0 Folders

ASP.NET 2.0 allows us to create some folders via right clicking project. But lots of people are don't know why we need to create that folder.

Here are the description for the each folder in asp.net 2.0 that we have to create for diffrent purpose.

App_Code:

App_code folder contains the code files for the classes, structures,enums etc. It also contains .wsdl files for web services. Typed data set files are also reside in this folder.Any of this item automatically available to whole application.

App_Themes

ASP.NET supports themes to enable visual styles on web page. This folder contains the themes skin and .css(Cascading Style Sheet) files.

App_Data

App_Data contains the database for a application and other data files like .mdf,xml,text and .csv files used in web application.This folder are used to stored data related entities.

App_GlobalResources

ASP.NET allows us to create resource files. There are two types of resources files one is global and another one is local. The global resources files are available to whole application. While local resouces files are available to specific page only. This folder store global resource files with .resx extensions.

App_LocalResources

This folder stored local resources files.

App_WebReferences

This folder store web reference of web service from a asp.net 2.0 application. You can web reference via right click project in solutions explorer and then click add web reference.

App_Browsers

The App_Browsers folder holds browser files, which are XML files used to describe characteristics and capabilities of these browsers

Bin

This folder contains assembly files for controls and web pages.Assembly files are basically a .dll files. Any .dll files found this folder automatically links to whole application.

This folder structure are basically supported by asp.net 2.0. You can also create your own folder structure by right click project name in solution explorer. and add new folder.

Share:

Acropolis Videos

Share:

New Version of Microsoft Acropolis it out

The Microsoft code name “Acropolis” Community Technology Preview is a set of components and tools that make it easier for developers to build and manage modular, business focused, client .NET applications. Acropolis is part of the “.NET Client Futures” wave of releases, our preview of upcoming technologies for Windows client development.

Microsoft Announces new version ctp of Microsoft acropolis. For more details and download
ctp of Microsoft Acropolis please visit following link:

http://windowsclient.net/acropolis/
Share:
Thursday, July 12, 2007

Sql Server 2000,2005 DataType and Ranges

As developer in Microsoft technology we all need to know about data types supported by the sql server 2000 and sql serve 2005. We also have to know what is there ranges and where it should use.

I have found a cool link that describes all the things above.

here is the link for that article...
http://www.teratrax.com/sql_guide/data_types/sql_server_data_types.html
Share:

Transfering data with sql server integration services...

If we want to transfer data from one database table to another database we need to write complex code and queries. But with sql server 2005 integration services you can do it sometimes. You have to use sql server business intelligence studio(bundled with sql server 2005 developer edition).

I have found a great article that descries all the thing that how you can create a package with sql server 2005 and how you can excute this package with sql server 2005 business intelligence studio.

here is the link for that cool article..
http://www.codeguru.com/cpp/data/mfc_database/sqlserver/article.php/c9631__3/
Share:

What is SQL Server Integration Services

The ability to transform corporate data into meaningful and actionable information is the single most important source of competitive advantage in today’s business world. Harnessing the data explosion to better understand the past and get direction for the future has turned out to be one of the most challenging ventures for enterprise Information Technology departments in global organizations. There are three broad categories of issues associated with data integration:


•Technology challenges
•Organizational issues
•Economic challenges

In this paper, we will explore these challenges in detail and discuss how to address them with Microsoft® SQL Server™ 2005 Integration Services (SSIS). First, let’s view them in the context of a real-world scenario.

Microsoft sql server 2005 integration services is just like dts services in sql server 2000 but now it is called integration services with Microsoft sql server 2005

here is the link for more details.

http://www.microsoft.com/technet/prodtechnol/sql/2005/intro2is.mspx

Share:

Unraveling the Mysteries of .NET 2.0 Configuration

I have found a great link that desbries .net 2.0 configuration api in details. It is very easy handly and cool article.

here is the link for aritcle..
http://www.codeproject.com/dotnet/mysteriesofconfiguration.asp
Share:

Introducing Windows Presentation Foundation

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

I have found a cool link from msdn that will describe all the things for Windows presentation foundation.

The articles contains:
Describing Windows Presentation Foundation
Illustrating the Problem
Addressing the Problem: What Windows Presentation Foundation ProvidesUsing Windows Presentation Foundation
The Technology of Windows Presentation Foundation
Applying Windows Presentation Foundation Tools for Windows Presentation Foundation
For Developers: Visual Studio
For Designers: Expression Interactive DesignerWindows Presentation Foundation and Other Microsoft Technologies
Windows Presentation Foundation and Windows Forms
Windows Presentation Foundation and Win32/MFC
Windows Presentation Foundation and Direct3D
Windows Presentation Foundation and AJAX/"Atlas"
Windows Presentation Foundation and "WPF/E"Conclusion


here is link for that whole article...
http://msdn2.microsoft.com/en-us/library/aa663364.aspx
Share:

Access proxy / firewall restricted internet sites using tunelling or onion routing

I have found a great link from http://www.codeproject.com/. that describes the how to Access proxy / firewall restricted Internet sites using tunnelling or onion routing.

The article was written by Anup Shinde and he has explained all the details including what is the problem .. The solution form problem... Implementation.

here is the link for that article...
http://www.codeproject.com/internet/OnionRouting.asp
Share:

Most Popular Blog on the Earth with blogger and typead

One of my friend Amit Agrawal(Microsoft Blogstar winner) provide a collection of most popular blogs on earth from blogger and typepad. here is the link from his blog.

http://labnol.blogspot.com/2007/05/most-popular-blogs-on-blogger-and.html
Share:

Telerik Rad Controls 2007 Release Editor Bug

Telerik Rad Controls latest release Telerik Rad Controls Q1 2007 have bug in their editor controls. Whenever you try to load editor in your web browser they are giving the error:

the RadControl Folder not found.

I have searched a lot and found that one file content need to replace by the simple code.

goto the webapplication root of your webapplication then goto
RadControls\Editor\Dialogs\blank.html

replace it's content with

<root></root>



then it will work fine.

for more details here is link:

http://www.telerik.com/community/forums/thread/b311D-mhdga.aspx
Share:

Microsoft Enterprise library 3.1 released.

Enterprise Library 3.1 – May 2007 is a new release of the Microsoft patterns & practices Enterprise Library. The Enterprise Library is a collection of application blocks. These are reusable software components designed to assist developers with common enterprise development challenges. This release of the Enterprise Library includes two new application blocks, a software factory for creating application blocks and providers, and other new features and enhancements.

Here are the application blocks that are given with Microsoft enterprise library 3.1

  1. Caching Application Block
  2. Cryptography Application Block
  3. Data Access Application Block
  4. Exception Handling Application Block
  5. Security Application Block
  6. Logging Application Blcok
  7. Validation Application Block
  8. Policy Injection Application Block
  9. Application Block Software Factory

Microsoft Enterprise library works with .net framework 2.0 and 3.0

For more details about Microsoft enterprise 3.1 and other release version of Microsoft enterprise library. Please visit following link

http://msdn2.microsoft.com/en-us/library/aa480453.aspx

To download Microsoft enterprise library please visit following link:

http://www.microsoft.com/downloads/details.aspx?familyid=4c557c63-708f-4280-8f0c-637481c31718&displaylang=en

System requirements for Microsoft enterprise library 3.1 is as following:

Microsoft .net framework 2.0 or 3.0 (some application block does not work with .net framework 2.0)

Microsoft Visual Studio 2005 development system (any of the following editions):


Microsoft Visual Studio 2005 Standard Edition
Microsoft Visual Studio 2005 Professional Edition
Microsoft Visual Studio 2005 Team Edition for Software Developers
Microsoft Visual Studio 2005 Team Edition for Software Testers
Microsoft Visual Studio 2005 Team Edition for Software Architects
Microsoft Visual Studio 2005 Team Suite

To use the Application Block Software Factory and the Strong-Naming Guidance Package, you need the Guidance Automation Extensions (GAX). To modify these guidance packages, you also need the Guidance Automation Toolkit (GAT).

Share:

C#.NET Business Logic Layer Class example

//here is the example of business logica layer class

public class UserBll
{
#region Private Memebers
private DashBoardData.UserData _objUserData;
private DashBoardCollection.UserCollection _objUserCol;
#endregion
#region Methods
public UserBll()
{
}
public UserBll(DashBoardCollection.UserCollection obj)
{
_objUserCol = obj;
}
#endregion
#region Methods
public void Add()
{
_objUserData = new DashBoardData.UserData(this._objUserCol);
_objUserData.Operation(DashBoardData.OpertaionType.Add);
}
public void Update()
{
_objUserData = new DashBoardData.UserData(this._objUserCol);
_objUserData.Operation(DashBoardData.OpertaionType.Update);
}
public void Delete()
{
_objUserData = new DashBoardData.UserData(this._objUserCol);
_objUserData.Operation(DashBoardData.OpertaionType.Delete);
}
public Boolean CheckUserLogin()
{
_objUserData = new DashBoardData.UserData(this._objUserCol);
return _objUserData.CheckUserLogin();
}
#endregion
}
Share:

C#.NET 2.0 class example for data acess layer using microsoft enterpise library

here is the data layer class example.....

///here is the enum


public enum OprationType
{
Add = 1,
Update = 2,
Delete = 3
}


//here is the Interfae
public interface IDataStatndard
{
void Operation(OperationType enumOperationType);
}



//here is the user data class
public class UserData : IDataStatndard
{
#region PrivateMemeber
private DashBoardCollection.UserCollection _objUserCol;
private Database _db;
private string _commandName;
private DbCommand _dbCommand;
#endregion
#region Constructors
public UserData()
{
}
public UserData(DashBoardCollection.UserCollection obj)
{
_objUserCol = obj;
}
#endregion
#region Methods
public void Operation(OpertaionType enumOperationType)
{
switch (enumOperationType)
{
case OperationType.Add:
this.Add();
break;
case OperationType.Update:
this.Update();
break;
case OperationType.Delete:
this.Delete();
break;
}
}
private void Add()
{
}
private void Update()
{
}
private void Delete()
{
}
public bool CheckUserLogin()
{
_db = DatabaseFactory.CreateDatabase("SopraConnect");
_commandName = "usp_CheckUserLogin";
_dbCommand = _db.GetStoredProcCommand(_commandName);
_db.AddInParameter(_dbCommand, "username", DbType.String, this._objUserCol.UserName);
_db.AddInParameter(_dbCommand, "password", DbType.String, this._objUserCol.Password);
_db.AddOutParameter(_dbCommand, "isvalid", DbType.Byte, 1);
_db.ExecuteNonQuery(_dbCommand);
Byte isValid = Convert.ToByte( _db.GetParameterValue(_dbCommand, "isvalid"));
if (isValid == 1)
return true;
else
return false;
}
#endregion
}
Share:
Monday, July 9, 2007

C#.NET 2.0 Generics Class collection

C#.NET 2.0 provide great features with generics collection. Now you don't have to write code for the coding for adding,removing objects. It all contains by the generics colleciton. here the sample user level class

using System;
using System.Collections.Generic;




public class UserLevelCollection
:System.Collections.Generic.List<userlevelcollection>

{
#region Private Members
private int _intUserLevelID;
private Guid _guidUserLevelGUID;
private string _strDescription;
private int _intCreatedBy;
private DateTime _dtCreatedDate;
private int _intLastModifiedBy;
private DateTime _dtLastModifiedDate;
#endregion
#region Public Properties
public int UserLevelId
{
get { return _intUserLevelID;}
set { _intUserLevelID = value; }
}
public Guid UserLevelGUID
{
get { return _guidUserLevelGUID; }
set {_guidUserLevelGUID=value; }
}
public string Description
{
get { return _strDescription;}
set { _strDescription = value; }
}
public int CreatedBy
{
get { return _intCreatedBy; }
set { _intCreatedBy = value; }
}
public DateTime CreatedDate
{
get { return _dtCreatedDate; }
set { _dtCreatedDate = value; }
}
public int LastModifiedBy
{
get { return _intLastModifiedBy; }
set { _intLastModifiedBy = value; }
}
public DateTime LastModifiedDate
{
get { return _dtLastModifiedDate;}
set { _dtLastModifiedDate = value; }
}
#endregion

}
}
Share:
Friday, July 6, 2007

Except operator SQL Server 2005 -Find Duplicate values in multiple tables.

I have found a great way to find duplicate values with two tables in sql server. Suppose we have two tables t1 and t2 both have same fields like id,name.

And both table have following data.

T1 Data:
ID NAME
1 abc
2 xyz
3 pqr

T2 Data:
ID NAME
2 xyz

We need to find rows from table t1 which is not there in table t2.

Here is the simple way to do it.

select * from t1
except
select * from t2

Except operator return result by comparing two queries. It returns row of left query which are not in right query. So result for above queries will be as following

ID NAME
1 abc
3 pqr




NOTE:
The basic rules for combining the result sets of two queries that use EXCEPT are the following:
The number and the order of the columns must be the same in all queries.
The data types must be compatible.
Share:

How Much Is Your Blog Worth?

I have found a great link that will calculate your blogs worth? How much cost you should take when you sell your blog to other peoples.

Inspired by Tristan Louis's research into the value of each link to Web logs Inc,Dan Carlon's have created this little applet using Technorati's API which computes and displays your blog's worth using the same link to dollar ratio as the AOL-Webblogs Inc deal.

It is very good link you must visit at least once.

here is the link for that:http://www.business-opportunities.biz/projects/how-much-is-your-blog-worth/
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