Profile

Cover photo
Terry Saunders
343 followers|488,156 views
AboutPosts+1's

Stream

 
Is there a good way to handle encryption with entity framework?
1
Terry Saunders's profile photoSampath Lokuge's profile photo
7 comments
 
+Terry Saunders It's like this.


Save with Encryption

            var yourDomainModel= new YourDomainModel
                                           {
                                               Property1 = CallYourEncrptedMethod(tobeEncrptedValue),
                                               Property2 = propert2Value,
                                           };

            Catalog.YourDomainModels.Add(yourDomainModel);
            Catalog.SaveChanges();



Retrieve from the DB

            var yourDomainModel = (from c in Catalog.YourDomainModels
                            where (your-where-clause )
                            select c).FirstOrDefault();

var decrptedValue=CallYourDecryptionMethod(yourDomainModel.Property1);
Add a comment...
 
What do you all think about this? #MVC #EntityFramework  
Update [01/06/2014] Quick start online video: Update [11/18/2013]: Added mocked DbContext and DbSet and example Unit Tests using the mocks, download: Fake DbContext (framework) Fake DbSet (framewor...
1
Sampath Lokuge's profile photoTerry Saunders's profile photo
2 comments
 
Something I noticed and not sure which I should use IEnumerable vs IQueryable

http://blog.longle.net/2014/01/06/unit-of-work-unity-3-quick-start-video/
Add a comment...
 
I was looking at my Data Usage (I am on the T-Mobile Prepaid 70/Month plan).

My phone is reporting 10.11GB of data usage.
T-Mobile is saying I have only used 5.6GB of data usage.

I have been watching Netflix for my commute to work and home. The data usage on netflix is only reporting Foreground 22.38MB and 315KB background.

Can someone explain to me how this can be?
1
BOB CARRERA's profile photo
 
Make sure you set the date for data usage on your phone to match your billing cycle for t mobile
Add a comment...

Terry Saunders

Off Topic / General Chat  - 
 
What is the best way to read a word doc (.doc) in C#?

I believe it's a form (I am double checking this).  The document has check-boxes and text-boxes that I will need to read.
1
1
Terry Saunders's profile photoPaul Trampert's profile photoNick McKenna's profile photo
4 comments
 
Probably your best bet. Who uses .doc anymore anyway?? :-P
Add a comment...
17
1
Terry Saunders's profile photoDonald Troup's profile photoJohn Anderson's profile photoNicholas Mcdonald's profile photo
11 comments
 
And one of the popups had an English error... then get redirected to the Play store to download a battery app...yah weird.
Add a comment...
 
I tried to sideload the OTA for my Nexus 7 to get 4.4  I was impatient.  Not sure what went wrong but it ran into an error trying to install the update.  I tried a factory reset and that didn't work.  I am trying to install the new 4.4 factory image but I can't get that to work either.

I can't get Windows to see the ADB and well I'm just not sure what to do to fix it.
1
Joseph Paiusco's profile photoCaleb Anderson's profile photoHeezy75's profile photoTerry Saunders's profile photo
25 comments
 
+Joseph Paiusco not sure just gave me an error when I flahsed it then it wouldn't boot.
Add a comment...
In his circles
745 people
Have him in circles
343 people
Travis Atkinson's profile photo
tom internetly's profile photo
Rod Durham's profile photo
Randy Smith's profile photo
Ed Finkler's profile photo
HQ's profile photo
Ubuntu GNOME's profile photo
John Norris's profile photo
Christopher Lucente's profile photo

Terry Saunders

Discussion  - 
 
After reading this post:

http://blog.longle.net/2013/05/11/genericizing-the-unit-of-work-pattern-repository-pattern-with-entity-framework-in-mvc/

I was curious what the true difference between IEnumerable VS IQueryable

Then I found this post:

http://www.dotnet-tricks.com/Tutorial/linq/I8SY160612-IEnumerable-VS-IQueryable.html

What would you all suggest to use in a generic repository in a MVC application?
Update [01/06/2014] Quick start online video: Update [11/18/2013]: Added mocked DbContext and DbSet and example Unit Tests using the mocks, download: Fake DbContext (framework) Fake DbSet (framewor...
2
1
Manoj Kumar S's profile photo
Add a comment...
 
I was looking at my Data Usage (I am on the T-Mobile Prepaid 70/Month plan).

My phone is reporting 10.11GB of data usage.
T-Mobile is saying I have only used 5.6GB of data usage.

I have been watching Netflix for my commute to work and home. The data usage on netflix is only reporting Foreground 22.38MB and 315KB background.

Can someone explain to me how this can be?
1
张中华's profile photoTerry Saunders's profile photoMatt Wilkins's profile photoJean Pierre De La Espriella's profile photo
9 comments
 
There is two white sliders inside the graphical data representation. Make sure they are all the way to the begging or end respectively. They represent the data usage cycle dates.
Add a comment...
 
I am thinking about getting a new Case for my Nexus 5

I found these two battery cases:

Google Nexus 5 Battery Case

http://www.amazon.com/i-Blason-Google-Nexus-Battery-Case/dp/B00H4PCVQ0

Do you think it's worth it?  Should I wait to see if a company like mophie to release a case?
20
2
Robert Nolan's profile photoTerry Saunders's profile photoAjdi Hysaj's profile photoGERALDO FELICIANO's profile photo
12 comments
 
I think the zerolemon one is suppose to be 6000
Add a comment...
 
Maybe I don't understand HDR mode on the #Nexus5  but when in HDR mode you are not allowed to zoom in while taking a picture.  I am able to do this on my work iPhone when HDR is turned on
1
Dale Flintall's profile photoCourt Mejias's profile photoNelson Peralta's profile photoCaernon Jenkins's profile photo
4 comments
 
Digital zoom is a seriously useless feature anyway, which routinely results in ugly blur. If you want parts of your picture cropped and enlarged, do it after you take a picture, in an image editor. Preferably a good one, with more advanced interpolation algorithms. BenVista PhotoZoom worked pretty well for me. 
Add a comment...
 
I was wondering if anyone else is having this issue?  My #Neuxs5 isn't responding when I hit the power button to look at the device while it is on.  It's also getting hot.  Any idea?  Once I get it to come on again I plan to uninstall any apps that I don't need.  I am thinking one of the apps might be causing an issue.
1
Chris McDonald's profile photoTerry Saunders's profile photo
2 comments
 
I am going to see how it does tomorrow.
Add a comment...
 
So my #Nexus5  was supposed to be shipped yesterday.  I called #Google  and they have no idea why it hasn't shipped.  They have to  escalate it to a Product Specialist.  As of right now I have my +T-Mobile  sim card and my +Spigen SGP case.  All I need is the phone. #Android
2
Don Parker's profile photoتوم ريتشاردز's profile photoTerry Saunders's profile photoHeezy75's profile photo
22 comments
Heezy75
+
1
2
1
 
+Terry Saundersfirst step FROG SMASH :-P 
Add a comment...
Terry Saunders's +1's are the things they like, agree with, or want to recommend.
StackSocial
plus.google.com

Apps + gear to make you better, faster, more awesome.

BGR
plus.google.com

Mobile and tech news, review, opinions and insights

Show Your #DisneySide with These DIY Centerpieces! - MomTV
momtv.com

Show your #DisneySide for any occasion with these fun and easy to make centerpieces and decor ideas! With a little faith, trust, and pixie

Google Translate
market.android.com

Break through language barriers with Google Translate.• Translate between 90 languages • Converse naturally and let Google translate • Trans

YouTube
market.android.com

Get the official YouTube app for Android phones and tablets. See what the world is watching -- from the hottest music videos to what’s trend

Falcon Pro 3
market.android.com

------ Try Falcon Pro 3 for FREE with the public Twitter Demo Lists. In-app purchase required for each Twitter account connected. ------Falc

Gmail
market.android.com

Gmail si basa sull'idea che l'email può essere più intuitiva, efficiente e utile. E magari anche divertente. Ricevi subito le tue email tram

Clash of Clans Limited Giveaway!
clashofclanshelper.com

An easy way to get free Clash of Clans gems instantly! We give away 10 000, 50 000 and 100 000 free gem packs!

モニュメントバレー
market.android.com

モニュメントバレーのすばらしく美しい世界の中、あなたは現実にはありえない建築物を操作して沈黙の姫を導くことになります。モニュメントバレーでは、空想上の建築物やありえない幾何学模様のはざまで超現実的な冒険が展開されます。神秘的なモニュメントの中で、沈黙の姫アイダを導いてください。隠

Microsoft Word Preview
market.android.com

L'app Microsoft Word per tablet Android I documenti di Word come non li hai mai visti sul tuo tablet. Ora puoi creare e modificare documenti

J. R. R. Tolkien - Google Play
market.android.com

J.R.R. Tolkien (1892-1973) is the creator of Middle-earth and author of such classic and extraordinary works of fiction as The Hobbit, The L

Elf
market.android.com

When one of Santa's elves learns that he's actually a human whom Santa inadvertently brought back from an orphanage when he was a baby, he s

Big Hero 6 Bot Fight
market.android.com

¡Prepárate para el COMBATE DE ROBOTS! Sigue el viaje con Baymax, Hiro y el resto de los 6 grandes héroes en una aventura de rompecabezas épi

Thor: The Dark World
market.android.com

Marvel's "Thor: The Dark World" continues the adventures of Thor, the Mighty Avenger, as he battles to save Earth and all the Nine Realms fr

Marvel's The Avengers
market.android.com

"Marvel makes cinematic history as it unites the Super Hero team of a lifetime. Iron Man (Robert Downey Jr.), Captain America (Chris Evans),

Nexus
www.google.com

Designed for work, play and you

dscout
market.android.com

Dscout helps you improve the products and services you love — while getting paid to do it. After you've downloaded dscout, check out the "ap

UPS Mobile
market.android.com

UPS Mobile lets you manage your shipments with features for tracking and locations without logging in. Register for a UPS ID or connect thro

Sumico - the numbers game
market.android.com

"Best Free Android Game of the Week" --POCKET GAMER"Finally, something for anyone who’s been enjoying number-puzzle games like Threes! in re