Friday, February 09, 2007

ASP.NET Walkthroughs

ASP.NET Walkthroughs and Samples


Basic Web Page in Visual Web Developer
http://msdn2.microsoft.com/en-us/library/k4cbh4dh(VS.80).aspx

Site Navigation Using Sitemap
http://msdn2.microsoft.com/en-us/library/w6ws38fw(vs.80).aspx

Master Pages
http://msdn2.microsoft.com/en-us/library/ehszf8ax(vs.80).aspx

Membership and User Login
http://msdn2.microsoft.com/en-us/library/879kf95c(VS.80).aspx

Customizing a Web Site Using Themes
http://msdn2.microsoft.com/en-us/library/zcsbskx7(VS.80).aspx


DATA ACCESS
Basic Data Access in Web Pages
http://msdn2.microsoft.com/en-us/library/tw738475(VS.80).aspx

Editing and Inserting Data in Web Pages with the DetailsView Web Server Control
http://msdn2.microsoft.com/en-us/library/sdba1d59(VS.80).aspx

Displaying and Formatting Data with the DataList Web Server Control
http://msdn2.microsoft.com/en-us/library/50basa30(VS.80).aspx

Displaying Formatted Data in Web Pages with the FormView Web Server Control
http://msdn2.microsoft.com/en-us/library/3fs4k4w4(VS.80).aspx

Master/Detail Web Pages
http://msdn2.microsoft.com/en-us/library/stc0szde(VS.80).aspx

Data Binding Web Pages with a Visual Studio Data Component
http://msdn2.microsoft.com/en-us/library/3h7eexxe(VS.80).aspx

Data Binding to a Custom Business Object
http://msdn2.microsoft.com/en-us/library/1se6685s(VS.80).aspx


Output Caching
http://msdn2.microsoft.com/en-us/library/sfw2210t(VS.80).aspx

Output Caching with SQL Server
http://msdn2.microsoft.com/en-us/library/e3w8402y(VS.80).aspx

User Controls
http://msdn2.microsoft.com/en-us/library/3457w616(VS.80).aspx


Publishing a Web Site
http://msdn2.microsoft.com/en-us/library/1y1404zt(VS.80).aspx


Web Service
http://msdn2.microsoft.com/en-us/library/8wbhsy70(VS.80).aspx

Add and Remove Web References
http://msdn2.microsoft.com/en-us/library/d9w023sx(VS.80).aspx

Call a Web Service
http://msdn2.microsoft.com/en-us/library/6h0yh8f9(VS.80).aspx

Update a Project Web Reference
http://msdn2.microsoft.com/en-us/library/tf3b21x2(VS.80).aspx

Rename a Project Web Reference
http://msdn2.microsoft.com/en-us/library/z5etz1w6(VS.80).aspx

Localization
http://msdn2.microsoft.com/en-us/library/fw69ke6f(VS.80).aspx

Profiles and Personalization
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/profile/default.aspx
http://www.odetocode.com/Articles/440.aspx
http://msdn2.microsoft.com/en-us/library/ms379605(VS.80).aspx (Good one)

Web Parts
http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/05/09/WebParts/toc.asp
http://perseus.franklins.net/msnewengland/webpartscp.htm (good video)
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/webparts/default.aspx
http://msdn.microsoft.com/msdnmag/issues/05/09/WebParts/
http://weblogs.asp.net/scottgu/archive/2006/01/20/436034.aspx (drag & drop)


User Controls

Create Templated ASP.NET User Controls
http://msdn2.microsoft.com/en-us/library/36574bf6(vs.80).aspx
http://90statehouse.com/forums/blogs/robertseder/archive/2006/06/04/201.aspx


create re-usable user control libraries with the VS 2005
http://webproject.scottgu.com/CSharp/UserControls/UserControls.aspx


Developing and Using a Custom Server Control
http://msdn2.microsoft.com/en-us/library/yhzc935f.aspx


Thursday, December 14, 2006

ASP.NET AJAX Roadmap


Introduction
Microsoft ASP.NET AJAX documentation includes overviews, tutorials, samples, and API reference topics. We suggest the following documentation to help you get started.

http://ajax.asp.net/docs/

Monday, September 11, 2006

ASP.NET 2.0 Themes and Skins

Quickstart Tutorial - Applying Styles, Themes, and Skins
The Themes and Skins feature of ASP.NET 2.0 allows you to factor style and layout information into a separate group of files, collectively called a Theme. A Theme can then be applied to any site to affect the look and feel of pages and controls within the site. Style changes to a site can then be easily maintained by making changes to the Theme, without having to edit the individual pages in your site. Themes can also be shared with other developers.
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/themes/default.aspx


Design Templates
Download these professionally designed Starter Kits and XHTML templates to get you started creating compelling, standards-compliant Web pages with ASP.NET 2.0. There are four Starter Kits below. These Starter Kits are complete web site solutions using ASP.NET’s latest controls (tree view control, grid view control, detail view control, login control, site map path controls and more). There are another 5 XHTML templates below. These are individual XHTML strict Web page templates (available each in two different colors) that are accompanied by design philosophy whitepapers that describe each template’s Section 508 conformance, page layout with CSS (page layouts using CSS floats or tables), Web page accessibility best practices and Web standard resources. All nine templates below are easily customizable and extendable to fit your own content.
http://msdn.microsoft.com/asp.net/reference/design/templates/


Other Links:
http://msdn2.microsoft.com/en-us/library/ykzx33wh.aspx
http://www.dotnettreats.com/samplethemes/default.aspx
http://www.codeproject.com/aspnet/ThemesAndSkins.asp
http://www.theserverside.net/discussions/thread.tss?thread_id=41895
http://communityserver.org/forums/thread/546843.aspx
http://www.devsource.com/article2/0,1895,1824218,00.asp
http://www.ondotnet.com/pub/a/dotnet/2004/11/15/libertyonwhidbey.html

Monday, August 28, 2006

Getting started ASP.NET 2.0 – A step by step guide


Are you new to .NET Framework 2.0 / ASP.NET 2.0 / Visual Web Developer 2005 / SQL Express 2005? Don’t worry! Here are the detailed instructions for you to get started with new adventure. Good news is all of these tools are free from Microsoft. Have fun!

NOTE: Please read system requirements and
instructions on Microsoft Website, provided with each component

  1. Install .NET Framework 2.0 (if not already done so)

    1. Download from the following location:
      http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

  2. Install Visual Web Developer 2005

    1. Download from the following location:
      http://msdn.microsoft.com/vstudio/express/vwd/download/

  3. Install SQL Server 2005 (Express Edition) - Don't get confused with all the download options, follow the instructions:
    1. http://msdn.microsoft.com/vstudio/express/sql/download/

    1. SQL Server 2005 Express Edition SP1
      Install Microsoft SQL Server 2005 Express Edition

      Download (53.8 MB)

    2. SQL Server Management Studio Express

      Download (38.5 MB)

NOTE: If you have enough disk space install following but not
mandatory (these can be installed later, when needed)


    1. SQL Server 2005 Express Edition with Advanced
      Services SP1 (234 MB and 213 MB)

    2. Install Additional Components (18 MB and 121
      MB)
  1. Start Tutorial at:
    http://asp.net/guidedtour2/


http://quickstarts.asp.net/QuickStartv20/aspnet/

Friday, August 11, 2006

ASP.NET 2.0 Security: Applying Membership and Roles database scripts to an existing database

ASP.NET 2.0 has beautiful inbuilt feature called Membership and Roles. With this you can create Member Registration / Login functionality with very minimal effort. One way to achieve this is through Visual Studio 2005 -> ASP.NET Configuration which will automatically create Membership database in the background. You might be wondering how use your existing database for the same purpose. Here is the set-by-step process to apply scripts on your existing database:

Open command prompt and navigate to .NET Framework 2.0 install folder (eg. “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\”)
Type “aspnet_regsql.exe” and hit enter to run the program


You will get following screen and click NEXT to continue


Select “Configure SQL Server for application services” (selected by default) and click NEXT


Enter your SQL Server Name / IP / (localhost), select authentication, database and click NEXT


Review details to make sure you are applying scripts on intended database and Click NEXT

Now your Database is ready to use for ASP.NET Membership and Roles

Finally you can modify your web.config file as follows: