-

Silverlight 2.0 Authentication Services.

Posted by Al on Jun 30, 2009 in Dotnet  | View Original Article
 

Message based authentication managed by Silverlight not the browser.

Silverlight can use the browsers cookies and send them to the hosts. When you authenticate with ASP.NET the authentication cookie stored to your computer will be used by Silverlight if you create a Silverlight Authentication Service

 

Create a service.svc make sure to select the Silverlight Service.

<%@ ServiceHost Language="C#" Service="System.Web.ApplicationServices.AuthenticationService %>

 

On your web.config add the service to be enable it.

<!-- this enables the WCF AuthenticationService endpoint --> <service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors"> <endpoint contract="System.Web.ApplicationServices.AuthenticationService" binding="basicHttpBinding" bindingConfiguration="userHttp" bindingNamespace="http://asp.net/ApplicationServices/v200"/> </service>

Then just connect to the service as a service web reference and use the methods for the authentication

 

Related posts

http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx

http://blogs.msdn.com/brada/archive/2008/06/23/using-asp-net-authentication-in-a-web-service-with-silverlight.aspx

 

Cheers

Al

Follow me in twitter | bookmark me | Subscribe to my feed

 

Tags:

 
-

The Split Personality of the Tester/Developer

Posted by Alex Mueller on Jun 30, 2009 in Dotnet  | View Original Article
 

From the site, http://www.softwareqatest.com/qatfaq2.html, I came across this statement. There are many forms of software testing. What I am discussing herein is related to white-box testing, automation and framework development, performance, and security testing

What makes a good Software Test engineer?

“A good test engineer has a ‘test to break’ attitude, an ability to take the point of view of the customer, a strong desire for quality, and an attention to detail. Tact and diplomacy are useful in maintaining a cooperative relationship with developers, and an ability to communicate with both technical (developers) and non-technical (customers, management) people is useful. Previous software development experience can be helpful as it provides a deeper understanding of the software development process, gives the tester an appreciation for the developers’ point of view, and reduce the learning curve in automated test tool programming. Judgment skills are needed to assess high-risk or critical areas of an application on which to focus testing efforts when time is limited.”

In my opinion, more emphasis should be placed on the statement italicized above. Taking it a step further, I would say a developer with previous development knowledge of the product under test is even more valuable. Obviously domain knowledge is what increases this value. From previous experiences with organizations, the development skills of the tester are often largely ignored.

“Writing code? That’s what our developers do, not our testers.”

If we are not placing a greater emphasis on the development skills of the tester, we are missing opportunities to fully test the product. Testers with a development background are more familiar with the developer’s perspective. They know the tricks developers do when writing code, they know their shortcuts and tendencies. These testers can also provide developers with insight into defensive coding, adding hooks to make automation easier, securing the product from attacks, ect.

I would argue the inverse is true as well, that having previous testing experience of the product would add value to the transition of a tester into development. A developer with a testing background should improve the testability and security of the product, because they, too, understand the importance and impact of test.

To me, test and development should be shared responsibilities. If a developer is out sick, on vacation, or the team needs a resource, a tester should be able to fill in, developing product code. If a tester is needed for similar reasons, a developer should be able to switch gears and fulfill that need as well. Neither should be more exciting nor glamorous. The organization should respect both disciplines equally. Testing is the last line of defense. 

The software engineer should have two personae, constructive and destructive. Perhaps this is similar to Dr. Jekyll and Mr. Hyde, where we replace the “evil” in Mr. Hyde with “destructive product testing.”

Tags:

 
-

jQuery Example – Using cookies to save draft information

Posted by Raymond Camden on Jun 30, 2009 in Javascript  | View Original Article
  An example of using jQuery to store draft information in cookies.

Tags: , ,

 
-

LCDS 3.0 Available on Adobe Labs

Posted by Andrew Trice on Jun 30, 2009 in Javascript  | View Original Article
  Kind of old news (only a week), but Adobe recently released a beta version of LCDS 3.0 on Adobe Labs. Read on to get more information about LCDS 3.0...

Tags: , ,

 
-

Examining ASP.NET’s Membership, Roles, and Profile – Part 15

Posted by 4GuysFromRolla.com Headlines on Jun 30, 2009 in Dotnet  | View Original Article
 

When a visitor registers a new account on an ASP.NET website that uses the Membership system, they are prompted (by default) for their username, password, e-mail address, and other pertinent information. Along with functionality for registering new accounts, the ASP.NET Membership system provides page developers techniques for modifying information about users. For instance, with just a couple of lines of code you can change an existing user's e-mail address, approve a user, or unlock them (if their account was locked out). However, there are certain bits of user information that cannot be modified through the Membership API, such as the username.

For most sites this is a non-issue. Once a visitor has registered an account that username is fixed; if they want a different username, well, they'll just have to register a new account. But consider a website that has customized the account creation process so that instead of prompting the user for both a username and e-mail address, the user is only asked to enter an e-mail address and that it is used as both their username and e-mail address on file. Anytime a user switched e-mail addresses - which can happen when changing jobs, changing ISPs, or moving to the new, hip, web-based e-mail provider of the day - they need to also change their username on your site.

In order to change a user's username we'll need to bypass the Membership API and work directly with the user store. This article shows how to interface directly with the SQL Server database schema used by the SqlMembershipProvider to change an existing user's username. Read on to learn more!
Read More >

 
-

Jcrop – The jQuery Image Cropping Plugin

Posted by W3Avenue Team on Jun 30, 2009 in Javascript  | View Original Article
 Jcrop is the quick and easy way to add image cropping functionality to your web application. It combines the ease-of-use of a typical jQuery plugin with a powerful cross-platform DHTML cropping engine that is faithful to familiar desktop graphics applications.

Tags: , , ,

 
-

Desktop Wallpaper Calendar: July 2009

Posted by Smashing Editorial on Jun 30, 2009 in Design & Graphics  | View Original Article
 
Desktop wallpapers can serve as an excellent source of inspiration. However, if you use some specific wallpaper for a long period of time, it becomes harder to draw inspiration out of it. That’s why we have decided to supply you with smashing wallpapers over 12 months. And to make them a little bit more distinctive from the usual crowd, we’ve decided to embed calendars for the upcoming month. So if you need to look up some date, isn’t it better to show off a nice wallpaper with a nice calendar instead of launching some default time application? This post features 40 free desktop wallpapers, created by designers across the globe. Both versions with a calendar and without a calendar can be downloaded for free. Please notice:
  • all images can be clicked and lead to the preview of the wallpaper;
  • you can feature your work in our magazine by taking part in our desktop wallpaper calendar series. We are regularly looking for creative designers and artists to be featured on Smashing Magazine. Are you one of them?
So what wallpapers have we received for July 2009?

When The Day Comes

Designed by Vladislav Gerasimov from Irkutsk, Russia. Smashing Wallpaper - july 09

Cafundó: July has come! Spread the News!

Designed by Cafundó Estúdio Criativo from Brazil. Smashing Wallpaper - july 09

Man In The Mirror

“A tribute to Michael Jackson. Let us remember a great musical icon who through his work, managed to inspire us all.” Designed by Umer Tahir from Canada. Smashing Wallpaper - july 09

Magic Forest

“Inspired by many animated movies taking the viewer to the small world we often don’t see because it’s under our feet. I hope lot’s of green will help you relax :).” Designed by Lukasz Bien from Poland. Smashing Wallpaper - july 09

Cutting Smashing Calendar

“I took some extra effort in creating this wallpaper.After downloading SM logo it inspired me to make outlines from it and then Imade some real life elements using my cutting plotter, done some photo shotsand then finally digital editing! Hope you’ll like it! Take care!” Designed by Dejan Cirovic from Serbia. Smashing Wallpaper - july 09

Blue Grunge

“This image is a result of my affinity towards blue.A slight addition of grungecan boost up any image and here it has made the cool blue more awesome.This calendar also special ’cause my birthday comes in this month” Designed by Viswanath Jagadeesan from India. Smashing Wallpaper - july 09

Summer Dream

“”Have you heard the wind?” - Asked the girl. “No, no I did’t” - Rabbit replied …. and dragonfly flew by thinking that this summer should never end … ” Designed by Jana Jelovac from Belgrade, Serbia. Smashing Wallpaper - july 09

Simple Life

"I saw Yoshiko’s stunning photographs and was reminded of those sweet, carefree, lazy days of summer. How charming to live a simple life." Designed by Marlaine Weber from Canada. Smashing Wallpaper - july 09

Thirsty

“Not exactly inventing something new with this style, but a nice feature of brushes and colours to create that summer feeling.” Designed by Halvor William Sanden / Minimal Skala from Norway. Smashing Wallpaper - july 09

Deep Sea Diving

“Cool off this summer with a little dip in the sea!” Designed by Chris Alexander (Yipori) from England. Smashing Wallpaper - july 09

Gustav Mahler

“A tribute to Gustav Mahler, born July 7 1860. This Wallpaper combines a photograph of the composer, the score of Mahler’s Lieder “Feierlich und gemessen, ohne zuschleppen” and “Starry Night” by Vincent Van Gogh, a contemporary of Mahler. Both artists shared a vivid and somewhat dark imagination.” Designed by Maurice Depestre from Canada. Smashing Wallpaper - july 09

Ink Mountain

“This is a rough and dark, sketchy wallaper with the emphasis on the weight of the “ink” and form of the shapes.” Designed by Mike Healy from Australia. Smashing Wallpaper - july 09

Sunflower

“This time I just wanted to make something vector with grungy touch. There aremagnificent sunflowers fields everywhere in full bloom these days, so I addedsome sunflowers and came up with this.” Designed by NarjisNaqvi from Pakistan. Smashing Wallpaper - july 09

Go Green!

“May be not in the real world, but wallpapers like this will surely let you to take a fresh breath.But the reality is the Earth is heating up in every single hour. The early warning signs of global climate distractions are in — heat waves and warmer weather, high tides, Cyclone,spreading disease(e.g. Swine Flu), earthquake, earlier spring arrival and so on. It’s the time to stand up and protect our environment.” Designed by Sagar from Bangladesh. Smashing Wallpaper - july 09

Room

“Great wallpaper for designers, esp. Web designers like me who need organize space on desktop.I put two size of this wallpaper in PSD format ( CS4 ) so you can edit it by yourself and even making better one.Also you can checkout mine and getting some inspiration for yours!.” Designed by S.Reza Movahedi ( Riza ) from USA. Smashing Wallpaper - july 09

The Demonic Divas

“The demonic divas are back again.” Designed by Puneeta Prakash from India. Smashing Wallpaper - july 09

Firefly

“One of my favorite memories from my childhood was chasing fireflies on hot summer nights in my grandfather’s backyard. This wallpaper represents that memory and all of the fun we used to have together out under that colossal tree in his backyard.” Designed by Stacy Blackman from United States. Smashing Wallpaper - july 09

Sweet Child o’Mine

“This is a photo taken some weeks ago: she’s my baby, with her mom (although you can see her arm only). No Photoshopping on this photo, I swear: she’s really as beautiful as you can see her :-) I liked it so much, and I wanted to share with you…” Designed by Daniele Marino from Italy. Smashing Wallpaper - july 09

Raining Sunrise

“The month of July is the month of rain in most parts of India. This wallpaper is a celebration of the enchanting feeling of early morning rain. The photograph used is my own.” Designed by Kumar Ritwik (ritwik_mango) from India. Smashing Wallpaper - july 09

Getting famous

Designed by Ionut Zamfir from Romania. Smashing Wallpaper - july 09

Leap of Faith

“This is photo is of a girl leaping on top of a hill (this is lomography).” Designed by Chad Gilchrist from USA. Smashing Wallpaper - july 09

Tilt-shift photography

“Wanted to try to make a tilt-shift photo. I took one of my many, many photographs of Vienna and Presto! People are little ants from 170m high.” Designed by Anca Varsandan from Romania. Smashing Wallpaper - july 09

Summer Time

Designed by Tatiana Valkovskaya from Ukraine. Smashing Wallpaper - july 09

Scorcher

“This summer Siberia enjoyed just a week of broiling bliss. We do long for more. Should you have it enough and to spare, please send us a little!” Designed by Rumake Web Agency from Novosibirsk, Russia. Smashing Wallpaper - july 09

Summer Sun

Designed by Nikola Lazarevic from Serbia. Smashing Wallpaper - july 09

Beach

“When the soul wants freedom and rest we find it on the sea. The shining sun,the dark blue sea, yellow sand gives a charge of forces and positive emotions.” Designed by Lex Rusakoff from Russia. Smashing Wallpaper - july 09

Anote

“Alphabet biscuit packaging named ‘a note’ as to portray a unique way to send your message out for others, not only through writings. Photography done by the designer using Nikon D40.” Designed by Josephine Toh from Malaysia. Smashing Wallpaper - july 09

Talisman

“This idea came out of some pen and ink drawings I made when thinking about these ideas: protection, the evil eye, and the game Hangman where you try to guess a phrase letter by letter before you complete a hangman’s noose and platform. It is a visual wish for safety and peace.” Designed by Arcane Palette Creative Design from United States. Smashing Wallpaper - july 09

Just July

“For a long time I wanted to participate this greatWallpaper Colection. So I hope you like it :)” Designed by Kai Stabel from Germany. Smashing Wallpaper - july 09

Flying Lizard

Designed by Valeria Kuzminska from Ukraine. Smashing Wallpaper - july 09

Ele-Centric

“Everyday do I quick little something (whether it be colour swatches or banner design) and a friend suggested that I sell what I’m doing, so I recently started an etsy store. This is one of the designs that came from the daily doodles. :)” Designed by Elly Gedye from New Zealand. Smashing Wallpaper - july 09

Summer Fun

“This is my first calendar and it is on summer theme. It has a simple design, but I’m working with Photoshop and Illustrator just for fun (I’m not a designer).” Designed by Irina Kupenska from Bulgaria. Smashing Wallpaper - july 09

Willet Birds

“Willet birds walking on the beach.” Designed by Brown Bug, LLC from USA. Smashing Wallpaper - july 09

Friends

“It’s the time of year for sharing good times with close friends and significant others.” Designed by Bryce M. Ulmer from Wisconsin, United States. Smashing Wallpaper - july 09

4th of July Cloud

“I wanted to incorporate red, white, and blue into the design, for Fourth of July in a subtle way so that those who don’t celebrate it can still use it.” Designed by Saarah Saghir from USA/Pakistan. Smashing Wallpaper - july 09

Bronze Addiction

“It’s summer! Feel the heat! For those who love sunbathing, it’s time to go bronze and radiant! At the same time, I hope you enjoy this glimmering wallpaper!” Designed by Athena Emily from Hong Kong. Smashing Wallpaper - july 09

MinimalED

“Design by Bloged.it - il blog di eniodesign.” Designed by eniodesign from Italy. Smashing Wallpaper - july 09

July Sentense

“Just motivating sentence for July :)” Designed by Temeshi from Poland. Smashing Wallpaper - july 09

Blue Plant

“Blue plants pattern on dark sky.” Designed by Guillermo Galván Gómez from Argentina. Smashing Wallpaper - july 09

Mad Mind

“More dark in sunny July.” Designed by B$A from Netherlands. Smashing Wallpaper - july 09

Join in next month!

Please notice that we respect the ideas and motivation behind artists’ work which is why we’ve given artists full freedom to explore their creativity and express emotions and experience through their works. And this is also why the themes of the wallpapers weren’t anyhow influenced by us, but designed from scratch by the artists themselves. Thanks to all designers for participation. Join in next month!

What’s your favorite?

What’s your favourite theme or wallpaper for this month? Please let us know in the comments! And have a smashing July, folks!
© Smashing Editorial for Smashing Magazine, 2009. | Permalink | 167 comments | Add to del.icio.us | Digg this | Stumble on StumbleUpon! | Tweet it! | Submit to Reddit | Forum Smashing Magazine Post tags: , ,

Tags: , ,

 
-

User Info Component

Posted by Mirza Hatipovic on Jun 30, 2009 in Javascript, PHP  | View Original Article
  Welcome back to the series. This time we are goings to build a really exciting component that will be used to simply display information about the user. Well, you might say why to we need such a component, is there are real purpose behind that? Well, in my opinion, yes. There are a lot of facebook applications out there done in Flash where we see information about the friends etc. During the process of facebook application development, there will always be a need to quickly display information about the specific friend. The information that is contained inside the component could be every bit of information that was entered by the user.

Tags: , , , ,

 
-

New Poll: What’s Your Favorite Sci-Fi Movie of All Time?

Posted by Rich Tretola on Jun 30, 2009 in Javascript  | View Original Article
  Well, we are nearing the midway point of the year, so we thought it would be fun to have a non tech poll, that is simply for fun. Let me start by saying that I am not a big fan...

Tags:

 
-

The Story of Henrietta

Posted by Amy Blankenship on Jun 29, 2009 in Javascript  | View Original Article
  There she is in the corner. We all see her, but so far we haven't talked about her.  She's Henrietta, the 600 lb. gorilla.  You know the one I'm talking about—the fact that, of all the regular bloggers at...

Tags:

Copyright © 2010 Answer My Query All rights reserved. Maintained by Orange Brains .