<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\758776281485402821239\46blogName\75My+Thoughts+About+Code\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75BLACK\46layoutType\75CLASSIC\46searchRoot\75http://mythoughtsaboutcode.blogspot.com/search\46blogLocale\75en_US\46v\0752\46homepageUrl\75http://mythoughtsaboutcode.blogspot.com/\46vt\0755734730935855814751', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

.

New Blog
Tuesday, August 07, 2007

So I have moved from Blogger to WordPress hosted on my UNIX site. You can find it at www.kodedkreations.net. My Blogger blog should be redirecting to it anyways but this is for the RSS feeds that I have out there. So update your blogroll to the new address above.

Thanks

Labels: ,



Digg!

Microsoft Surface Revisited from Another Angle
Wednesday, July 11, 2007

This is just funny. Very sarcastic view of the Microsoft Surface.

Labels: ,



Digg!

User Roles in ASP.NET 2.0
Tuesday, July 10, 2007

So today I was working on a project where I needed to allow for certain users to access a site but no one else. Seems simple enough but logic goes out the window with this.

I had this which made sense to me. Deny everyone first, then add the roles that I wanted to have access:

<system.web>
   <authorization>
      <deny users="*" />
      <allow roles="CSR User" />
      <allow roles="Content Editor" />
      <allow roles="Market Administrator" />
      <allow roles="National Administrator" />
      <allow roles="Regional Administrator" />
      <allow roles="Super Administrator" />
   </authorization>
</system.web>

Turns out that you have to allow the users first and then deny everyone. So next time I come across this, I will throw logic out the window and get it done faster. This one is the one that works:

<system.web>
   <authorization>
      <allow roles="CSR User" />
      <allow roles="Content Editor" />
      <allow roles="Market Administrator" />
      <allow roles="National Administrator" />
      <allow roles="Regional Administrator" />
      <allow roles="Super Administrator" />
      <deny users="*" />
   </authorization>
</system.web>

Labels: , ,



Digg!

Pownce Invites
Monday, July 09, 2007

Hey everyone. I have 10 Pownce invites so if you want one, email me. First come, first served.

Labels: , , ,



Digg!

Safari for Windows
Monday, June 11, 2007

Today Apple announced that they were releasing the Safari 3 Public Beta to everyone, Windows users included. Now all of us Windows users can see how our web sites look in Safari without having to go to a Mac and open Safari. Plus just reading about it, it seems to preform pretty quick and I will be downloading it soon just to check it out.

This of course is just a Beta but I already like the fact that I can get it on my Vista machine.

Labels: , , ,



Digg!

Read This

All entries in this blog are my opinion and don't necessarily reflect the opinion or views of my employer (Terralever).

This is where I talk about the little bit of .NET code that I actually know and different techy things that interest me. Feel free to tell all your friends about my little blog and hopefully soon, it won't be so little.

My Thoughts About Code | feed

5ThirtyOne and Blogger Templates design | Top