MVC 4 and Azure emulator error: CREATE DATABASE permission denied in database ‘master’

Go through the basics of ASP.Net MVC 4 and Azure development, I ran into a problem when the site would try to access the database:

CREATE DATABASE permission denied in database ‘master’

I found this site detailing the problem and a potential soltuion: http://blogs.msdn.com/b/dparys/archive/2009/09/17/create-database-permission-denied-in-database-master-my-fix.aspx

What that doesn’t cover is the fact that, when debugging with the Azure emulator, it’s not using your personal local account anymore. It’s using the “NT AUTHORITY\NETWORK SERVICE” account. So the steps to grant that account access to the database from SQLCMD is:

CREATE LOGIN [your domain account] FROM WINDOWS;
GO;
SP_ADDSRVROLEMEMBER ‘NT AUTHORITY\NETWORK SERVICE’, ‘sysadmin’;
GO;

Why can’t my tablet be the best remote control ever?

Every time Apple TV gets an update, I can’t help but think that Apple (or a competitor) is missing an opportunity.

Check out this quick video from The Verge:

See how you have to move what is essentially a cursor around the screen, using Apple TV’s tiny remote with its arrow and select buttons, to highlight the choice you want? Come on. For as pretty a UI as the Apple TV presents you with, navigating around like that feels so antiquated in this “Post-PC” era that Apple champions.

This is where a tablet comes in. So while mirroring and AirPlay options exist already, they’re awkward features, and it doesn’t make sense for the tablet to do the heavy lifting of data transfer and streaming that both of those options imply. The Apple TV doesn’t have to worry about battery life, so make it do all the work. But what a tablet is really good at is presenting me with choices, and allowing me make my selection using a pretty and responsive interface.

And that’s exactly how a tablet can be used here. See all those menu items at the top of the Apple TV UI? Present me with those choices in a tablet-oriented UI on my tablet. I make my selection, and both my tablet and the TV respond with the next screen of choices. I tap a movie to see its details on both my tablet and the TV. I hit play, the movie starts playing on the TV, and the tablet shows a progress bar and pause/play/etc. buttons along the bottom of its screen. At which point I can navigate away, use a different app, lock my tablet, or turn it all the way off, and the TV keeps showing the content from the Apple TV until told to do otherwise.

This could also be the start to an API that apps could make use of, to essentially have two screens at their disposal. This could be great for both media consumption scenarios, and for the displaying of content with a group of people.

Why can’t my tablet be the best remote control ever?

Login Form Input Elements’ Tab Order should be Standardized

One thing that can always irk me about a website’s interface is when the tab order of the site’s login form input elements are not what I expect. Typically, this is the order I want to do things:

  1. Click in the Username field.
  2. Type my username.
  3. Press Tab to go to the password field.
  4. Type my password.
  5. Press Tab to go to the “Remember Me” check box.
  6. Optionally press the spacebar to (un)check “Remember Me.”
  7. Press Tab to go to the submit button.
  8. Press the spacebar to submit the form.

This process often gets mucked up by extra links in the way, like the “Forgot your username/password?” link, or a “?” help link, which really annoys me. Providing your username and password is (well, should be) a keyboard-centric action, and it’s completely unnecessary to ask the user to go back forth between the keyboard and mouse for this.

I don’t know of any existing standard that might apply in this situation, or where a standard like this could even be defined. Would be appropriate for the W3C to include this in their standards? Whatever the case, it’s about time this became a universal aspect of all web sites.

Watched Watchmen

And I thought it was great. It was a very accurate representation of the original graphic novel, and (keep this a secret) I think I liked the ending they had in the movie over the book. There’s no giant squid, but instead the idea is that explosions occur around the world, killing even more millions than in the novel, but Ozymandias orchestrates events such that it’s perceived by the rest of the world that Dr. Manhattan is the cause of the explosions. This was a great idea, since nothing is lost from the story in terms of theme or message, but it makes the ending more tragic and personal, since one the characters we’ve gotten to know is now blamed for genocide and forced to excommunicate himself.

The casting turned out to be spot on. Pretty much everyone was presented nearly identical to how I interpreted them in the novel. One exception would be Sally Jupiter. She was a little too Joan Rivers for me.

If I had to pick one thing to improve, it would be the pacing of some of the scenes. This is probably the fault of trying to keep as short as they could. But certain scenes didn’t feel right. Towards the beginning, when Rorschach is giving a voice over, some of his lines are strung together too fast, making it seem like his mind is moving from thought to thought incohesively. Putting a couple beats between those lines would have helped. Same goes for some of Laurie’s and Daniel’s exchanges. Some of their interactions happened faster than what seems normal.

Can’t wait for the DVD release, though. Seeing the scenes that didn’t make it, as well as potential pacing fixes, is going to be even better.

StyleCop Brutality

We’ve just started to use StyleCop, and the classes I’m currently writing are the first of our project that have to validate correctly before submission. It’s an interesting task, getting my code to be in the exact proper format: the 4 or so classes I’m writing generated over 300 StyleCop errors. I’m amazed at how specific StyleCop is, in regards to what it considers valid. I went into it expecting that it would enforce that certain elements merely have documentation, but it actually goes a step further an enforces that the documentation have specific wording. Kudos the StyleCop on that.

But one (default) rule that I think might be excessive is that a class’ private variables must be documented. While I understand from an idealistic point of view why it should be documented, the typical scenario where I use private variables is one where that documentation seems excessive to me. That scenario is for read-only properties that force me to have a private variable to store the value of the property (if I want to be able to set the property from within the class). In that scenario, I then must document both the private variable and read-only property itself. But documenting that private variable seems just as (ir)relevant as documenting local variable of a method.

I think we’ll be turning that rule off.

ASP.Net MembershipProvider using NHibernate

At work we are in the process of implementing an ASP.Net MembershipProvider that uses NHibernate for the data access. I’m hoping that once it’s all complete, we’ll be able to post it online (somewhere) for the ASP.Net and NHibernate communities to peruse. It seems like a typical thing that developers out in the wild would make use of. Stay tuned.

A Healthy Skewering of Rush, Steele, and Bill-O

Another futile attempt…

Maybe THIS blog will be used.

  • abrazame muy fuerte entrada download
  • a arte da seduAA?o download robert greene
  • cadillac and dinosaurs emulator download
  • bota anna mp3 download
  • anaganaga oka dheerudu free download movie
  • asus p4xp x ethernet driver download
  • bridget jones diary download online
  • as duas torres hd download
  • audisi endank soekamti mp3 download
  • battle in seattle download free
  • arvo part symphony no 4 download
  • an american haunting download ita
  • auto start no root download
  • album anuar zain 2011 download
  • aa dharti dhora ri download
  • canon pixma mg6150 software download for mac
  • boom boom tah download
  • ati 7000 64m driver download
  • canon mp190 download installation
  • aladin i carobna lampa download free
  • 4shared download i found you the wanted
  • aku orang miskin mp3 download
  • alexander rybak suomi download
  • battle scars mp3 download
  • civilization iv 1.74 patch download
  • apostila positivo download ensino fundamental
  • aperte o play 1 download
  • brother mfc 465 software download
  • arashi face down live download
  • arsAz bela kafam mA?lteci download
  • anya fool me download girlshare
  • battleship movie download brrip
  • armin van buuren asot download free
  • boot magic 7.0 download
  • canon photostitch 3 download
  • amon tobin discography download
  • art of seeing huxley download
  • canon mp495 series download
  • cd pagode eternamente download gratis
  • alice in wonderland 1951 download free
  • barnes and noble nook download software
  • cara menambah kecepatan download 2011
  • busorama itc bt medium download
  • astrid tentang kita download
  • arcade fire the suburbs download link
  • alcatel ot 710 d software download
  • appreciation letter format free download
  • bunda melly goeslaw free download mp3
  • automatically download codecs windows media player
  • agenzia entrate modello 730 download
  • brokenhearted karmin download mp3
  • cengiz kurtoAYlu yasak aAYk download
  • akcje do photoshopa cs3 download
  • avenir lt w01 85 heavy download
  • ar rahman mp3 ringtones download
  • bob sinclar discography download
  • cartoni animati disney download
  • asphalt 4 jar download free
  • alcatel ot 808 driver free download
  • cliq custom recovery image download
  • books to download to kindle
  • apocalyptica zelda main theme download
  • bola de neve church download
  • ayee milan ki raat download
  • because you torment me download
  • accelerator download manager software
  • burlesque full hd download
  • basi audio download gratis
  • 4.25 jailbreak download ps3
  • 3com etherlink xl 3c905c tx treiber download
  • ausbilder schmidt klingelton download kostenlos
  • auto installer deluxe 2 download
  • bhola nahi maane song download
  • bank p o papers download free
  • adobe shockwave player 11.6 download gratis
  • anjali anjali pushpanjali download mp3
  • charting for dummies download
  • canta y no llores download
  • chocolat johnny depp download dublado
  • basi per vanbasco download gratis
  • basara psp game free download
  • britney spears s m mp3 download
  • chupke chupke 1975 movie download
  • aap ki naatain mp3 download
  • ben kane road to rome download
  • bongo drum music download
  • acer aspire 7520 bedienungsanleitung download
  • cinema 4d r13 iso download
  • canon l120 driver download windows 7
  • brenda joyce the promise download
  • alexandre pire sissi download
  • changed man mp3 download
  • black book hacking download
  • blue october it's just me download
  • a.v.a. download ita pc
  • brazilian portuguese audio lessons download
  • a outra face download livro
  • black paper moon english download
  • cara menambah kecepatan download di warnet
  • canoscan lide 25 download free
  • amiga klassiker download gratis
  • 2pm dance 2night mp3 download
  • aplikacja facebook na symbiana download
  • bananas de pijama dvd download
  • body combat tracklist 49 download
  • a4 tech pk 635m free download drivers
  • bewafai album songs to download
  • avis sur download accelerator plus
  • a pedra do reino download rmvb
  • castle ville facebook download
  • calle de las sirenas download
  • anjane chehre song download
  • 11x11 hack download za darmo
  • asus p4pe treiber download
  • acampamento sinistro 2 download dublado
  • ati x1600 treiber download xp
  • carousel laura izibor mp3 download
  • business card download word
  • 7 zip download for mac os
  • blackberry 9100 games download free
  • civilization iv colonization download free
  • amor por acaso download rmvb
  • aaina mujhse meri mp3 download
  • black thought album download
  • banda grafith chora download
  • black sands mp3 download
  • biggie smalls dreams download
  • brokencyde around da world download
  • amd radeon 7690m driver download
  • audi navigations dvd download
  • antonia pleaca download radio edit
  • canon mg5150 manual download
  • carnivore dinosaur hunter download pc
  • best seller book download free
  • cassette city lush life download
  • christmas carols wav download
  • adare tharam song download
  • blue scholars oof ep download
  • chelsea vs bolton 2012 download
  • business plan pro download crack
  • asus k8u x ethernet driver download
  • catatan harian si boy 2011 download
  • addictive drums program download
  • can't download blackberry app world in 8520
  • chimarruts mp3 download gratis
  • canopus procoder 3 download
  • avenged sevenfold a?a?a??a?sa?a?a?? nightmare download
  • ai no corrida download
  • bonde da oakley edcity download
  • clinical software free download full version
  • am pm christina milian mp3 download
  • aasma ko kar download mp3
  • blue the best in me download
  • battleon hack no download
  • cinderella man mp3 download eminem
  • ccnp switching authenticated download free
  • beyblade v force download ita
  • auto click download for mac
  • bibi blocksberg nds rom download
  • autodesk sketchbook designer download trial
  • cassia eller get back download
  • apache 2.2 for windows 7 free download
  • alien vs predador 1 download rmvb
  • bank gothic bold download
  • autocad 2012 cadallic free download
  • billie holiday stormy weather download
  • asus o play services manager download
  • bandido ana barbara download mp3
  • bloodhound discovery channel download