Category Archives: Programming

Silverlight

I came across a problem when using Visual Web Developer 2008 to develop for Silverlight. When adding an xmlns for your application to your UserControl, the compiler complains about a missing assembly reference. <UserControl x:Class="SilverlightApplication1.Page" xmlns:My="clr-namespace:SilverlightApplication1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> … Continue reading

Posted in Programming, Silverlight | Leave a comment

Get user from j_security_check

For future J2EE reference: Call request.getUserPrincipal().getName().  The request can come from (HttpServletRequest)pageContext.getRequest()

Posted in Programming | Leave a comment