Learning
I was trying to determine the best way to secure my admin* actions when I thought of something I had only really seen while studying for my MCSD.Net exams, or maybe it was the MCPD upgrade exams I haven't gotten round to taking.
I decided to secure the admin controller actions using.
[PrincipalPermission(SecurityAction.Demand,Role="<Role>")]
Which I had never used even though I started programming .Net in during the beta of 1.0. And I have to admit that each time I run into something like this, it makes me feel that my thought in a previous post is right.
This works for my immediate...
posted @ Tuesday, December 18, 2007 1:22 AM |
Since administration was the next part I wanted to work on.
I decided that for the moment I just want a little login for in the upper corner like
I decided to put the login screen view logic into a user control, and added the following user control named Login.ascx and placed it into the Shared
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%if(!Page.User.Identity.IsAuthenticated) {%>
<form action="/Home/Login" method="post" id="LoginForm">
<span id="EmailLabel">Username:</span><br />
<%=Html.TextBox("Username")%><br />
<span id="PasswordLabel">Password:</span><br />
...
posted @ Friday, December 14, 2007 12:16 AM |
Back in May I decided that I was going to start reading more. Admittedly my dedication to this has been nowhere near what Justice Gray's. Since that first post I have: Read 3 and 8/3rds tech related books Listened to almost every .NET Rocks! (which I had already been listening to for a few years) and many of RunAs Radio shows Skimming the MSDN main feed for things that looked interesting. Reading 25 or so mostly development blogs, thankfully Ayende is the only one who averages more then one post per day or I would never get anything done. Reading through...
posted @ Monday, September 03, 2007 12:48 AM |
I doubt I actually had anything direct to do with it but something seems to have clicked with one of the junior developers. I'm pretty sure it wasn't something that I had done, other then figuring out an effective way to make him realize that it is in his best interest to not need me to walk him through things. Nothing threatening, simply reminding him of a couple of thing: I brought up that I had basically reached a plateau at the company, and that I was considering pursuing other opportunities (In fact I'm planing on talking to my boss about...
posted @ Tuesday, August 28, 2007 11:54 PM |
For the last few months I have been trying to figure out how to be able to answer yes to this question. Unfortunately I have also been failing rather spectacularly at it, the junior programmers my boss hired and assigned me as something of a mentor for have shown very little improvement (sometimes even getting worse).
Unfortunately I was "gifted" with the ability to work with other peoples code, at least when I have some clue as to the intent. Now before you start saying "oh how nice for you", it wasn't said to brag, it was an excuse I keep...
posted @ Monday, August 27, 2007 12:08 AM |
I have read most of the Essential Windows Workflow Foundation book by Dharma Shukla and Bob Schmidt. I would definitely recommend it for anyone who is just starting with WF or who is just curious as to the why features were implemented a certain way. This book probably is not for you however if you are looking for a more hands on book.
Which brings me to the next book, which I wish I had started first, Learning WCF: A Hands-on Guide by Michele Leroux Bustamante. While a lot of the information in the book is available on the web, having the...
posted @ Sunday, August 26, 2007 10:31 PM |
After doing some spring cleaning over the last few weeks, I have found that I had a stack of books on various topics that I had meant at one point to read. I also decided that I would like to actually read most of them, but am finding that I have a relatively weak "sit and read muscle". Looking back I’m not all that surprised by this fact, though I am a little annoyed with myself because of it (and determined to fix it). This does however seem to only be effect non-fiction reading.
Its not so much that my "sit and read...
posted @ Sunday, May 06, 2007 10:07 PM |