SlideShare a Scribd company logo
1 of 20
ASPNet Advance Topics Injazat TDG
Contents Web Site & Web Project Localization ASP.Net 3.5 Providers Validation Server Controls User Controls Ajax & Ajax tool kit Caching Compact frame LINQ
Localization Cultures and Regions  NET runs under a culture setting defined by the server. The .NET Framework defines cultures and regions using the Request for Comments 1766
Region neutral culture specific culture this Web page is executed on a thread from the thread pool.  The thread has a culture associated with it.
To change the culture System.Threading.Thread.CurrentThread.CurrentCulture = New CultureInfo(“ar-AE") By configuration files <globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="" culture="" uiCulture="" enableClientBasedCulture="false" responseHeaderEncoding="utf-8" resourceProviderFactoryType="" enableBestFitResponseEncoding="false" /> ,[object Object],<%@ Page Language="VB" UICulture="auto" Culture="auto" %>
Understanding Differences in: Dates Numbers and Currencies Sorting Searching Time Zones
ASP.NET 3.5 Resource Files Local Resources Global Resource
ASP.Net 3.5 Providers A provider is an object that allows for programmatic access to data stores, processes, and more. ,[object Object]
Role management
Personalization
Web parts personalization
Site navigation
Health monitoring Web events
Configuration file protectionNote: et up the database using the aspnet_regsql.exe for SQL Store if needed
ASP.Net 3.5 Providers
Membership Providers System.Web.Security.SqlMembershipProvider 	Provides you with the capability to use the membership system to connect to Microsoft’s SQL Server 2000/2005/SQL Server Express Edition. System.Web.Security.ActiveDirectoryMembershipProvider 	Provides you with the capability to use the membership system to connect to Microsoft’s Active Directory. Note: Both of these membership provider classes inherit from the Membership Provider base class
Implement Membership provider Create a web project Setup providers Database (if needed) Add connection string to SQL /A.D. Add membership configuration Add needed controls and use the classes Lets Try it……..
Role Providers System.Web.Security.SqlRoleProvider 	Provides you with the capability to use the ASP.NET role management system to connect to Microsoft’s SQL Server. System.Web.Security.WindowsTokenRoleProvider 	Provides you with the capability to connect the ASP.NET role management system to the built-in Windows security group system. (Read only) System.Web.Security.AuthorizationStoreRoleProvider 	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)

More Related Content

What's hot

ASP.NET Web API
ASP.NET Web APIASP.NET Web API
ASP.NET Web APIhabib_786
 
Asp.net mvc basic introduction
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introductionBhagath Gopinath
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewShahed Chowdhuri
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETRajkumarsoy
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersMelvin John
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentationivpol
 
Reactjs workshop
Reactjs workshop Reactjs workshop
Reactjs workshop Ahmed rebai
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC PresentationVolkan Uzun
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State managementShivanand Arur
 
Java Server Pages(jsp)
Java Server Pages(jsp)Java Server Pages(jsp)
Java Server Pages(jsp)Manisha Keim
 
Web Server - Internet Applications
Web Server - Internet ApplicationsWeb Server - Internet Applications
Web Server - Internet Applicationssandra sukarieh
 
Java Database Connectivity
Java Database ConnectivityJava Database Connectivity
Java Database Connectivitybackdoor
 

What's hot (20)

ASP.NET Web API
ASP.NET Web APIASP.NET Web API
ASP.NET Web API
 
Asp.net mvc basic introduction
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introduction
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with Overview
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
Reactjs workshop
Reactjs workshop Reactjs workshop
Reactjs workshop
 
Sq lite database
Sq lite databaseSq lite database
Sq lite database
 
JavaScript JQUERY AJAX
JavaScript JQUERY AJAXJavaScript JQUERY AJAX
JavaScript JQUERY AJAX
 
ASP.MVC Training
ASP.MVC TrainingASP.MVC Training
ASP.MVC Training
 
Cookie and session
Cookie and sessionCookie and session
Cookie and session
 
Asp.net basic
Asp.net basicAsp.net basic
Asp.net basic
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State management
 
Introduction to Angularjs
Introduction to AngularjsIntroduction to Angularjs
Introduction to Angularjs
 
Asp.Net Tutorials
Asp.Net TutorialsAsp.Net Tutorials
Asp.Net Tutorials
 
Java Server Pages(jsp)
Java Server Pages(jsp)Java Server Pages(jsp)
Java Server Pages(jsp)
 
MSDN - ASP.NET MVC
MSDN - ASP.NET MVCMSDN - ASP.NET MVC
MSDN - ASP.NET MVC
 
Web Server - Internet Applications
Web Server - Internet ApplicationsWeb Server - Internet Applications
Web Server - Internet Applications
 
Java Database Connectivity
Java Database ConnectivityJava Database Connectivity
Java Database Connectivity
 

Viewers also liked

SignalR for ASP.NET Developers
SignalR for ASP.NET DevelopersSignalR for ASP.NET Developers
SignalR for ASP.NET DevelopersShivanand Arur
 
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...yazad dumasia
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraGajanand Bohra
 
PETRAS Hub Overview
PETRAS Hub OverviewPETRAS Hub Overview
PETRAS Hub OverviewIoTUK
 
Presentation on asp.net controls
Presentation on asp.net controlsPresentation on asp.net controls
Presentation on asp.net controlsReshi Unen
 
Database connectivity to sql server asp.net
Database connectivity to sql server asp.netDatabase connectivity to sql server asp.net
Database connectivity to sql server asp.netHemant Sankhla
 
Authentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetAuthentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetShivanand Arur
 
Asp.net Training at NCrypted Learning Center
Asp.net Training at NCrypted Learning CenterAsp.net Training at NCrypted Learning Center
Asp.net Training at NCrypted Learning CenterNCrypted Learning Center
 
3.1.2 hazmat classes
3.1.2 hazmat classes3.1.2 hazmat classes
3.1.2 hazmat classesprssncdcc
 

Viewers also liked (20)

Advanced Asp.Net Concepts And Constructs
Advanced Asp.Net Concepts And ConstructsAdvanced Asp.Net Concepts And Constructs
Advanced Asp.Net Concepts And Constructs
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
SignalR for ASP.NET Developers
SignalR for ASP.NET DevelopersSignalR for ASP.NET Developers
SignalR for ASP.NET Developers
 
As pnet pagelife_usha
As pnet pagelife_ushaAs pnet pagelife_usha
As pnet pagelife_usha
 
State management in ASP.net
State  management in ASP.netState  management in ASP.net
State management in ASP.net
 
Master page in asp.net
Master page in asp.netMaster page in asp.net
Master page in asp.net
 
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
C# .NET: Language Features and Creating .NET Projects, Namespaces Classes and...
 
State management in ASP .NET
State  management in ASP .NETState  management in ASP .NET
State management in ASP .NET
 
SignalR
SignalRSignalR
SignalR
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohra
 
PETRAS Hub Overview
PETRAS Hub OverviewPETRAS Hub Overview
PETRAS Hub Overview
 
ASP.NET Concept and Practice
ASP.NET Concept and PracticeASP.NET Concept and Practice
ASP.NET Concept and Practice
 
Presentation on asp.net controls
Presentation on asp.net controlsPresentation on asp.net controls
Presentation on asp.net controls
 
SignalR with asp.net
SignalR with asp.netSignalR with asp.net
SignalR with asp.net
 
Master page in ASP . NET
Master page in ASP . NETMaster page in ASP . NET
Master page in ASP . NET
 
Database connectivity to sql server asp.net
Database connectivity to sql server asp.netDatabase connectivity to sql server asp.net
Database connectivity to sql server asp.net
 
Authentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetAuthentication and Authorization in Asp.Net
Authentication and Authorization in Asp.Net
 
Asp.net Training at NCrypted Learning Center
Asp.net Training at NCrypted Learning CenterAsp.net Training at NCrypted Learning Center
Asp.net Training at NCrypted Learning Center
 
Web forms in ASP.net
Web forms in ASP.netWeb forms in ASP.net
Web forms in ASP.net
 
3.1.2 hazmat classes
3.1.2 hazmat classes3.1.2 hazmat classes
3.1.2 hazmat classes
 

Similar to Asp Net Advance Topics

Parallelminds.web partdemo1
Parallelminds.web partdemo1Parallelminds.web partdemo1
Parallelminds.web partdemo1parallelminder
 
06 asp.net session08
06 asp.net session0806 asp.net session08
06 asp.net session08Vivek chan
 
ASP.NET MVC introduction
ASP.NET MVC introductionASP.NET MVC introduction
ASP.NET MVC introductionTomi Juhola
 
Tuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paperTuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paperVinay Kumar
 
Parallelminds.web partdemo
Parallelminds.web partdemoParallelminds.web partdemo
Parallelminds.web partdemoManishaChothe
 
Struts Intro Course(1)
Struts Intro Course(1)Struts Intro Course(1)
Struts Intro Course(1)wangjiaz
 
Data controls ppt
Data controls pptData controls ppt
Data controls pptIblesoft
 
MVC & SQL_In_1_Hour
MVC & SQL_In_1_HourMVC & SQL_In_1_Hour
MVC & SQL_In_1_HourDilip Patel
 
phpWebApp presentation
phpWebApp presentationphpWebApp presentation
phpWebApp presentationDashamir Hoxha
 
SharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsSharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsMohan Arumugam
 
11 asp.net session16
11 asp.net session1611 asp.net session16
11 asp.net session16Vivek chan
 
Introduction to Alfresco Surf Platform
Introduction to Alfresco Surf PlatformIntroduction to Alfresco Surf Platform
Introduction to Alfresco Surf PlatformAlfresco Software
 
C sharp and asp.net interview questions
C sharp and asp.net interview questionsC sharp and asp.net interview questions
C sharp and asp.net interview questionsAkhil Mittal
 
ASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites AppearanceASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites AppearanceRandy Connolly
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architectureIblesoft
 

Similar to Asp Net Advance Topics (20)

Parallelminds.web partdemo1
Parallelminds.web partdemo1Parallelminds.web partdemo1
Parallelminds.web partdemo1
 
06 asp.net session08
06 asp.net session0806 asp.net session08
06 asp.net session08
 
ASP.NET MVC introduction
ASP.NET MVC introductionASP.NET MVC introduction
ASP.NET MVC introduction
 
Migration from ASP to ASP.NET
Migration from ASP to ASP.NETMigration from ASP to ASP.NET
Migration from ASP to ASP.NET
 
Tuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paperTuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paper
 
Parallelminds.web partdemo
Parallelminds.web partdemoParallelminds.web partdemo
Parallelminds.web partdemo
 
Struts Intro Course(1)
Struts Intro Course(1)Struts Intro Course(1)
Struts Intro Course(1)
 
Practical OData
Practical ODataPractical OData
Practical OData
 
Data controls ppt
Data controls pptData controls ppt
Data controls ppt
 
MVC & SQL_In_1_Hour
MVC & SQL_In_1_HourMVC & SQL_In_1_Hour
MVC & SQL_In_1_Hour
 
Unit 2 - Data Binding.pptx
Unit 2 - Data Binding.pptxUnit 2 - Data Binding.pptx
Unit 2 - Data Binding.pptx
 
Session 1
Session 1Session 1
Session 1
 
phpWebApp presentation
phpWebApp presentationphpWebApp presentation
phpWebApp presentation
 
SharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsSharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and Events
 
11 asp.net session16
11 asp.net session1611 asp.net session16
11 asp.net session16
 
Introduction to Alfresco Surf Platform
Introduction to Alfresco Surf PlatformIntroduction to Alfresco Surf Platform
Introduction to Alfresco Surf Platform
 
C sharp and asp.net interview questions
C sharp and asp.net interview questionsC sharp and asp.net interview questions
C sharp and asp.net interview questions
 
ASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites AppearanceASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites Appearance
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 

Asp Net Advance Topics

  • 1. ASPNet Advance Topics Injazat TDG
  • 2. Contents Web Site & Web Project Localization ASP.Net 3.5 Providers Validation Server Controls User Controls Ajax & Ajax tool kit Caching Compact frame LINQ
  • 3. Localization Cultures and Regions NET runs under a culture setting defined by the server. The .NET Framework defines cultures and regions using the Request for Comments 1766
  • 4.
  • 5. Region neutral culture specific culture this Web page is executed on a thread from the thread pool. The thread has a culture associated with it.
  • 6.
  • 7. Understanding Differences in: Dates Numbers and Currencies Sorting Searching Time Zones
  • 8. ASP.NET 3.5 Resource Files Local Resources Global Resource
  • 9.
  • 15. Configuration file protectionNote: et up the database using the aspnet_regsql.exe for SQL Store if needed
  • 17. Membership Providers System.Web.Security.SqlMembershipProvider Provides you with the capability to use the membership system to connect to Microsoft’s SQL Server 2000/2005/SQL Server Express Edition. System.Web.Security.ActiveDirectoryMembershipProvider Provides you with the capability to use the membership system to connect to Microsoft’s Active Directory. Note: Both of these membership provider classes inherit from the Membership Provider base class
  • 18.
  • 19. Implement Membership provider Create a web project Setup providers Database (if needed) Add connection string to SQL /A.D. Add membership configuration Add needed controls and use the classes Lets Try it……..
  • 20. Role Providers System.Web.Security.SqlRoleProvider Provides you with the capability to use the ASP.NET role management system to connect to Microsoft’s SQL Server. System.Web.Security.WindowsTokenRoleProvider Provides you with the capability to connect the ASP.NET role management system to the built-in Windows security group system. (Read only) System.Web.Security.AuthorizationStoreRoleProvider 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)
  • 21.
  • 22. Implement Role provider Lets Try it……..
  • 23. Profile (Personalization) Providers 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) ASP.NET 2.0 SQL Table Profile : SqlStoredProcedureProfileProvider 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. http://www.asp.net/downloads/sandbox/table-profile-provider-samples/
  • 24.
  • 25. Implement Profile provider Lets Try it……..
  • 26. Web Parts 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
  • 27. Web Parts Modes 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. 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. 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. 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.
  • 28. Implement Web Parts Add Web Part Manager Add Web Part Zones Add Controls to each zone Allowing the User to Change the Mode of the Page Add drop dropdown list for the modes Add catalog Zone PageCatalogPart Add Edit Zone Add Appearance Editor Part Add Layout Editor Part Add Behavior Editor Part Add Property Grid Editor Part
  • 29. References TDG Books Professional ASP.NET 3.5 SP1 Edition In C# and VB.pdf Web Ref: ASP.NET 2.0 SQL Table Profile http://www.asp.net/downloads/sandbox/table-profile-provider-samples/