kennedy

A blog for blog-haters, by a blog-hater

Nov28

WCF and You

When we completed Session 5, I noted that there was some additional materials on Windows Communication Foundation (.NET 3.0) that we weren't able to get to (it's a "nice to have" situation).  So I figured I'd blab on about that.   We'l ...[Read More]
Published: Nov-28-07 | 2263 Comments | Links to this post

Nov28

Globalizing Web Sites and You

In one of the labs for this session, you were asked to globalize a page in our DVD website by getting the default.aspx page to support not only english but french.  This was achieved by creating an App_LocalResources folder (one of the 'special' p ...[Read More]
Published: Nov-28-07 | 43 Comments | Links to this post

Nov28

Writing to Config files and You

I was able to clean up my demo code to get it working.  My "path" to the customErrors section was the issue (since it's nested in the system.web section, we have to use a bit of XPath to reference it.  The following code corresponds to a S ...[Read More]
Published: Nov-28-07 | 0 Comments | Links to this post

Nov27

Session 6 - Student Questions

Binding to a Collection of Custom Objects   This is relatively easy.  If we have a class that contains properties that expose values, we can quickly and easily bind a collection/array of those objects to a bindable control.   Let's say this is o ...[Read More]
Published: Nov-27-07 | 0 Comments | Links to this post

Nov27

Custom Web Controls and You

In what seems like eons ago, someone asked about custom web controls.  As mentioned, in addition to creating Web User Controls (.ascx) we can extend existing controls as well as create ones from scratch.  The latter is fairly easy to start off wit ...[Read More]
Published: Nov-27-07 | 0 Comments | Links to this post

Nov27

Destructors (Finalizers) and You

By now we all know and love constructors -- special procedures called via the new keyword to initialize our objects during instantiation.public class Class1 { public Class1() { // initialization code } }     However, little has ...[Read More]
Published: Nov-27-07 | 0 Comments | Links to this post

Nov26

Session 7 - Labs

Labs for Session 7 include those related to security, master pages and navigation.   c:\labs\set 1\Session 3 ASP.NET\Lab5 Security\lab_5_Security.html For this lab you will only do the first part, adding a login page and using the web site conf ...[Read More]
Published: Nov-26-07 | 0 Comments | Links to this post

Nov26

Session 6 - Labs

We have three labs for this week's session.   c:\labs\set1\Session 3 ASP.NET\Lab3 Localization\lab_3_Localization.html This lab gets you to create a localizable web page -- a page that supports English as well as another language.  The lab, and a ...[Read More]
Published: Nov-26-07 | 0 Comments | Links to this post

Nov26

AJAX and You

I promised to post the slides and lab(s) that Infusion has on AJAX  (MS AJAX extensions).   You can find them here. ...[Read More]
Published: Nov-26-07 | 0 Comments | Links to this post

Nov21

Session 5 - Student Questions

A student asked of me a few weeks ago, as to how in an editable GridView a row (or rows) could be made readonly (or disable their editable capabilities).   For the purpose of this question, I'll assume we're talking about data binding (automatic p ...[Read More]
Published: Nov-21-07 | 1 Comment | Links to this post

 Next >>