Your SlideShare is downloading. ×
0
ASPNet Advance Topics<br />Injazat TDG<br />
Contents<br />Web Site & Web Project<br />Localization<br />ASP.Net 3.5 Providers<br />Validation Server Controls<br />Use...
Localization<br />Cultures and Regions <br />NET runs under a culture setting defined by the server.<br />The .NET Framewo...
Region<br />neutral culture<br />specific culture<br />this Web page is executed on a thread from the thread pool. <br />T...
To change the culture<br />System.Threading.Thread.CurrentThread.CurrentCulture = New CultureInfo(“ar-AE&quot;)<br />By co...
Understanding Differences in:<br />Dates<br />Numbers and Currencies<br />Sorting<br />Searching<br />Time Zones<br />
ASP.NET 3.5 Resource Files<br />Local Resources<br />Global Resource<br />
ASP.Net 3.5 Providers<br />A provider is an object that allows for programmatic access to data stores, processes, and more...
Role management
Personalization
Web parts personalization
Site navigation
Health monitoring Web events
Configuration file protection</li></ul>Note: et up the database using the aspnet_regsql.exe for SQL Store if needed<br />
ASP.Net 3.5 Providers<br />
Membership Providers<br />System.Web.Security.SqlMembershipProvider<br />	Provides you with the capability to use the memb...
Implement Membership provider<br />Create a web project<br />Setup providers Database (if needed)<br />Add connection stri...
Role Providers<br />System.Web.Security.SqlRoleProvider<br />	Provides you with the capability to use the ASP.NET role man...
Upcoming SlideShare
Loading in...5
×

Asp Net Advance Topics

7,116

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,116
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
54
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Asp Net Advance Topics"

  1. 1. ASPNet Advance Topics<br />Injazat TDG<br />
  2. 2. Contents<br />Web Site & Web Project<br />Localization<br />ASP.Net 3.5 Providers<br />Validation Server Controls<br />User Controls<br />Ajax & Ajax tool kit<br />Caching<br />Compact frame<br />LINQ<br />
  3. 3. Localization<br />Cultures and Regions <br />NET runs under a culture setting defined by the server.<br />The .NET Framework defines cultures and regions using the Request for Comments 1766<br />
  4. 4.
  5. 5. Region<br />neutral culture<br />specific culture<br />this Web page is executed on a thread from the thread pool. <br />The thread has a culture associated with it.<br />
  6. 6. To change the culture<br />System.Threading.Thread.CurrentThread.CurrentCulture = New CultureInfo(“ar-AE&quot;)<br />By configuration files<br />&lt;globalization requestEncoding=&quot;utf-8&quot; responseEncoding=&quot;utf-8&quot; fileEncoding=&quot;&quot;<br />culture=&quot;&quot; uiCulture=&quot;&quot; enableClientBasedCulture=&quot;false&quot;<br />responseHeaderEncoding=&quot;utf-8&quot; resourceProviderFactoryType=&quot;&quot;<br />enableBestFitResponseEncoding=&quot;false&quot; /&gt;<br /><ul><li>By page directive</li></ul>&lt;%@ Page Language=&quot;VB&quot; UICulture=&quot;auto&quot; Culture=&quot;auto&quot; %&gt;<br />
  7. 7. Understanding Differences in:<br />Dates<br />Numbers and Currencies<br />Sorting<br />Searching<br />Time Zones<br />
  8. 8. ASP.NET 3.5 Resource Files<br />Local Resources<br />Global Resource<br />
  9. 9. ASP.Net 3.5 Providers<br />A provider is an object that allows for programmatic access to data stores, processes, and more.<br /><ul><li>Membership
  10. 10. Role management
  11. 11. Personalization
  12. 12. Web parts personalization
  13. 13. Site navigation
  14. 14. Health monitoring Web events
  15. 15. Configuration file protection</li></ul>Note: et up the database using the aspnet_regsql.exe for SQL Store if needed<br />
  16. 16. ASP.Net 3.5 Providers<br />
  17. 17. Membership Providers<br />System.Web.Security.SqlMembershipProvider<br /> Provides you with the capability to use the membership system to connect to Microsoft’s SQL Server 2000/2005/SQL Server Express Edition.<br />System.Web.Security.ActiveDirectoryMembershipProvider<br /> Provides you with the capability to use the membership system to connect to Microsoft’s Active Directory.<br />Note: Both of these membership provider classes inherit from the Membership Provider base class<br />
  18. 18.
  19. 19. Implement Membership provider<br />Create a web project<br />Setup providers Database (if needed)<br />Add connection string to SQL /A.D.<br />Add membership configuration<br />Add needed controls and use the classes<br />Lets Try it……..<br />
  20. 20. Role Providers<br />System.Web.Security.SqlRoleProvider<br /> Provides you with the capability to use the ASP.NET role management system to connect to Microsoft’s SQL Server.<br />System.Web.Security.WindowsTokenRoleProvider<br /> Provides you with the capability to connect the ASP.NET role management system to the built-in Windows security group system. (Read only)<br />System.Web.Security.AuthorizationStoreRoleProvider<br /> Provides you with the capability to connect the ASP.NET role management system to either an XML file, Active Directory, or in an Active Directory Application Mode (ADAM) store. (Read only)<br />
  21. 21.
  22. 22. Implement Role provider<br />Lets Try it……..<br />
  23. 23. Profile (Personalization) Providers<br />System.Web.Profile.SqlProfileProvider Provides you with the capability to use the ASP.NET personalization system to connect to Microsoft’s SQL Server (Store data as XML data)<br />ASP.NET 2.0 SQL Table Profile :<br />SqlStoredProcedureProfileProvider<br /> Provides you with the capability to use the ASP.NET personalization system to connect to Microsoft’s SQL Server and store information in a Custom Profile Table to use with your queries.<br />http://www.asp.net/downloads/sandbox/table-profile-provider-samples/<br />
  24. 24.
  25. 25. Implement Profile provider<br />Lets Try it……..<br />
  26. 26. Web Parts<br />Web Parts are objects in the Portal Framework which the end user can open, close, minimize, maximize, or move from one part of the page to another<br />
  27. 27. Web Parts Modes<br />Normal Mode: Puts the page in a normal state, which means that the end user cannot edit or move sections of the page. This is the mode used for standard page viewing.<br />Edit Mode: Enables end users to select particular sections on the page for editing. The selected section allows all types of editing capabilities from changing the part’s title, the part’s color, or even setting custom properties— such as allowing the end user to specify his zip code to pull up a customized weather report.<br />Design Mode: Enables end users to rearrange the order of the page’s modular components. The end user can bring items higher or lower within a zone, delete items from a zone, or move items from one page zone to another.<br />Catalog Mode: Displays a list of available sections (Web Parts) that can be placed in the page. Catalog mode also allows the end user to select in which zone on the page the items should appear.<br />
  28. 28. Implement Web Parts<br />Add Web Part Manager<br />Add Web Part Zones<br />Add Controls to each zone<br />Allowing the User to Change the Mode of the Page<br />Add drop dropdown list for the modes<br />Add catalog Zone<br />PageCatalogPart<br />Add Edit Zone<br />Add Appearance Editor Part<br />Add Layout Editor Part<br />Add Behavior Editor Part<br />Add Property Grid Editor Part<br />
  29. 29. References<br />TDG<br />Books<br />Professional ASP.NET 3.5 SP1 Edition In C# and VB.pdf<br />Web Ref:<br />ASP.NET 2.0 SQL Table Profile http://www.asp.net/downloads/sandbox/table-profile-provider-samples/<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×