Free Online Courses for Software Developers - MrBool
× Please, log in to give us a feedback. Click here to login
×

You must be logged to download. Click here to login

×

MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation

×

MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation

VSLive 2007 - Part 3

Today our conference coverage starts with Paul Sheriff’s session, “Introduction to ASP.NET Security”. In brief, the speaker made an overview of all ASP.NET Login controls.

VSLive 2007

Report 3

 

Updated: November, 14, 2007, 7 pm local time

 

Today our conference coverage starts with Paul Sheriff’s session, “Introduction to ASP.NET Security”. In brief, the speaker made an overview of all ASP.NET Login controls. Paul shows how to work with Roles  (public, members etc.). After define the user’s roles, we can restrict the access to Web Site’s folders according the user role. Paul shows the interesting LoginView control, that allows to hide/show page contents according the user role. The speaker demonstrates how to use the Login control, the Password Recovery to recovery password weather the user forgot it (ASP.NET can send the new credentials by e-mail), and the CreateUserWizard to create new users. Finishing, shows how to create a custom provider for ASP.NET that allows you to use another database instead of SQL Server, to store user information.

“ASP.NET, AJAX and Silverlight – Wich one to use, and when”, by Vishwas Lele, make clear when to use each alternative to Web development available in .NET. Told about the disadvantages of AJAX, as JavaScript code complexibility, and as advantage the framework support, declarative syntax, behavior and interface separation and debugger. About Silverlight, saw that its work with any browser and can running on the server. Finishing, Vishwas shows how to use AJAX controls with Silverlight!

Paul Sheriff,  now in the “Architeting ASP.NET Applications” session, told about the use of CSS with ASP.NET, to separate layout definition from interface. Can be applied to fonts, colors, layout, positioning. Many developers uses HTML tables for layout positioning, this can be done better with CSS. Se an example of how to use CSS:

 

Don’t do this:

 

  <td bgcolor=”blue”>

        

Do this:

 

td

{

  background-color: Blue;

}

 

Paul told about Themes & Skins. This an interesting ASP.NET feature that s allows you to define a “template” to a specific type of control, inside the App_Themes folder. A template in a skin file is basically a markup code (ASPX) where the controls don’t have the ID property, due a logical question. An interesting tip is that themes can be defined at runtime in the Pre_Init event. For example, a user can use a different layout for the Web Site (to do this is necessary to use Profiles with Themes). About session management, Paul shows how to create a “wrapper” class to encapsulate the session’s variables access,with IntelliSense support and avoiding to use a wrong name to a session variable. I really don’t know why Microsoft don’t  implements in ASP.NET the variable declaration for session variables in the Web.Config as we use today in Profiles. Finishing, paul tolds about exception handling, configuration and providers.

 

A topic that I hear from many speakers , including the idea supported by the C#, .NET, Delphi, Turbo Pascal and  LINQ creator, Mr. Anders Hejlsberg, is that the programming languages will be more declarative in the future. A clear example of this is WPF, where the major part of the application behavior can be done using markup code (XAML).

 

See you tomorrow!

 

Paul Sheriff: Introduction to ASP.NET Security

 

Vishwas Lele : ASP.NET, AJAX and Silverlight – Wich one to use, and when

 

Paul Sheriff: Architeting ASP.NET Applications



Guinther Pauli is author of 100 articles more than published and the book ''''Delphi - Programming for Bank of Dados and Web''''. He is Bachelor in Systems of Information for the University Center Franciscano (Unifra, Saint Maria ...

What did you think of this post?
Services
[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 0,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 0,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,00
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits
[Close]
You must be logged to download.

Click here to login