Personalizing Web Sites Nasrullah. Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users.

Slides:



Advertisements
Similar presentations
Forms Authentication, Users, Roles, Membership Ventsislav Popov Crossroad Ltd.
Advertisements

 Copyright Wipro Technologies JSP Ver 1.0 Page 1 Talent Transformation Java Server Pages.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
Membership, Role Manager and Profile Membership, Role Manager and Profile Matt Gibbs ASP.NET Development Manager.
ASP.NET 2.0 Chapter 6 Securing the ASP.NET Application.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Migrating to EPiServer CMS 5 Johan Björnfot -
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Course Textbook: Build Your Own ASP.Net Website: Chapter 2
IT533 Lectures Configuring, Deploying, Tracing and Error Handling.
1 ASP.NET SECURITY Presenter: Van Nguyen. 2 Introduction Security is an integral part of any Web-based application. Understanding ASP.NET security will.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Deployment of web Site. Preparing the web site for deployment you now have two versions of web site 1 -one running in the production environment 2-one.
Session 11: Security with ASP.NET
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.

CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Ch6:creating consistent looking web sites. Master pages Master page defines a combination of fixed content and content place holder to hold the web page(.aspx)
Forms Authentication, Users, Roles, Membership Svetlin Nakov Telerik Corporation
Working with Cookies Managing Data in a Web Site Using JavaScript Cookies* *Check and comply with the current legislation regarding handling cookies.
Writing various AJAX forms in Drupal 7 1. Overview of Form API 2. Ctools 2.1 Ctools features 3. Ajax 3.1 Ajax Forms in Drupal 4. Putting it all together.
Session 10: Managing State. Overview State Management Types of State Management Server-Side State Management Client-Side State Management The Global.asax.
State Management. What is State management Why State management ViewState QueryString Cookies.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
Tracing 1www.tech.findforinfo.com. Contents Why Tracing Why Tracing Tracing in ASP.NET Tracing in ASP.NET Page Level tracing Page Level tracing Application.
Dr. Mustafa Cem Kasapbaşı Security in ASP.NET. Determining Security Requirements Restricted File Types.
10 – 12 APRIL 2005 Riyadh, Saudi Arabia. Building multi-lingual ASP.Net application that handle western languages and Arabic with a single code base.
1 CS 3870/CS 5870 Note04 Session Variables and Post Back.
10/25/20151 Single Sign-On Web Service Supervisors: Viktor Kulikov Alexander Sherman Liana Lipstov Pavel Bilenko.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Christopher M. Pascucci Basic Structural Concepts of.NET Managing State & Scope.
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Module 11: Securing a Microsoft ASP.NET Web Application.
Slide 1 ASP Authentication There are basically three authentication modes Windows Passport Forms There are others through WCF You choose an authentication.
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
MEMBERSHIP AND IDENTITY Active server pages (ASP.NET) 1 Chapter-4.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
Module 8 : Configuration II Jong S. Bok
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Web Access. Overview  Purpose  Prerequisites  Install Components  Enable Virtual Directories  IIS Configuration & Security  Troubleshooting.
Web Services Error Handling and Debugging. Agenda Simple SOAP faults Advanced SOAP faults SOAP headers and faults Error handling From a Service Perspective.
Getting started with ASP.NET MVC Dhananjay
Building an ASP.NET Website OUTLINE DIFFERENT PROJECT TYPES. DIFFERENT PROJECT TEMPLATES. NUMEROUS FILE TYPES AVAILABLE IN ASP.NET. CREATING STRUCTURED.
Useful Tips Disable Custom Errors in Web.Config HTML Doctype Folder Structure.
Understanding Web Applications Lesson 4. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understanding Web Page Development Understand Web.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 12 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 12 Accessing.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
JavaScript Overview Developer Essentials How to Code Language Constructs The DOM concept- API, (use W3C model) Objects –properties Methods Events Applications;
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
ADO.NET FUNDAMENTALS BEGINNING ASP.NET 3.5 IN C#.
INTRODUCTION TO HTML5 New HTML5 User Interface and Attributes.
PROGRAMMING IN VISUAL BASIC.NET CREATING YOUR FIRST WEB APPLICATION Bilal Munir Mughal 1 Chapter-3.
Peeking at Programming with JavaScript. So what’s JavaScript ? A programming language built into your Web Browser program. Adds fun and interactivity.
Configuring and Deploying Web Applications Lesson 7.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
Sergey Sidorov PhD student, computer software chair Computer Science department.
Using Personalization Creating user profiles Retrieving, changing, and saving profile properties Using validation controls Using the Forms Designer.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Security In your webSite.
ASP .NET MVC Authorization Training Videos
Session Variables and Post Back
Jim Fawcett CSE686 – Internet Programming Summer 2005
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
Created by : Asst. Prof. Ashish Shah
PROFILE.
Presentation transcript:

Personalizing Web Sites Nasrullah

Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users to your site

Continued You access the information in a user’s profile through a clean API with virtually no code. All you need to do is define the information you want to keep track of in the central web.config file and the Profile feature takes care of the rest. All interaction with the database to retrieve or store profile information in the database is handled automatically for you.

Enabling profile 1. Define the information you want to store for a user in the web.config file. Based on this information, the ASP.NET runtime generates and compiles a class for you on the fly that gives you access to the properties you defined. It then dynamically adds a property called Profile to the pages in your web site, so you can easily access it from every page in your site. 2. In your application you program directly to this generated class to get and store the profile information for the current user.

Configuring profile Because data about the logged-in user is stored in a cookie by default, your users need to have browsers that support cookies for the ASP.NET Profile feature to work correctly.

Configurnig a profile You define a profile for your web site in the web.config file by creating a element as a direct child of the element. Between the tags you need to create a element that is used to define the properties you want to expose from your Profile object. Two types of properties exist: simple properties and complex properties, referred to as profile groups.

Configuring a profile... </profile

Attributes of element

Configuring profile When you define profile properties in web.config, the ASP.NET runtime creates a class for you in the background. This class, called ProfileCommon,gives you access to the strongly typed properties such as FirstName, LastName, and FavoriteGenres. The ProfileCommon class is then made accessible to the Page through its Profile property

Reading from profile Reading from the profile is just as easy; all you need to do is access one of its properties FirstName.Text = Profile.FirstName; PostalAddressStreet.Text = Profile.PostalAddress.Street;

ASP.NET Profile provider The ASP.NET provider responsible for storing and retrieving profile related data

Anonymous identification The ASP.NET feature that enables you to track users to your site, even if they haven’t signed up for an account or are not logged in