Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Luke Puplett

Luke Puplett LukePuplett

Niner since 2008

  • Real World Site debugging using Application Insights on an Azure Website

    How does the data storage side of this work? Does it log to a storage account in my account and then do I setup a retention period inline with my budget? Or is it a package service with a price plan?

  • Azure Virtual Machine creation and set up using Vagrant - with Cory Fowler

    Excellent questions, Scott.

  • Customizing ASP.NET Authentication with Identity: (01) Overview of Identity

    I have some more feedback, you're welcome :)

    The ApplicationUserManager.Create method. You fail to firstly mention that its a factory method for the class and to discuss the arguments being sent in, what the options are needed for.

    The method also news-up its own UserStore instance, which is confusing because I thought the UserStore was the dependency seam, so I'd have expected it to be passed in: you explained that a UserManager does CRUD on users via UserStore which is a repository (though you didn't use that recognisable term). So I'd have thought it would be parameter injected.

    You also talk about the defaults being set in code, as opposed to config file, but you say its better because config files are not compiled-in. Which is the whole point and benefit of config files. This code is not production ready but instead of highlighting that, you pretend its better its better to have to recompile and redeploy an app to change some settings.

  • Customizing ASP.NET Authentication with Identity: (01) Overview of Identity

    I disagree with Winslow, the presenters are just being friendly, and they are.

    For the record, I'm thankful for these videos, they're really helping to unravel the mountains of generated junk I now have to try and rework in my new site - no one just starts using templates without making it conform to the ways of your team.

    I've never before started an MVC project and then immediately needed to take the day off to watch several videos about all the crap in the template.

    I have a general rant here about that:

    http://forums.asp.net/p/2032663/5852431.aspx?ASP+NET+MVC+5+Template+Project+with+Owin+and+OAuth+and+EF+is+too+complicated

    But specifically about this video, I would really warn against taking the view that "magic" will mean we don't need to know anything.

    Quote: "This is just template code, you don't necessarily have to understand what's going on here."

    Man. I need to know what that code is doing. Also, it's why I'm watching this video. It's this thinking that's left the template with such a lack of comments, both proper XML comments and tons of prose about what's going on and why. Who reviewed this template?

    Please stop being happy about framework magic. It makes us stupid and its not discoverable.

    Also, you don't explain Owin within the context of IIS. Although I've followed Owin and Katana for a while, I was under the impression that Owin was an alternative pipeline that was only used when not on IIS. I guess at some point, we have to move across. Are we running two pipelines now? What's the deal? If this is new and the future, and its so important for auth, then it needs more focus.

    I think you needed to spend a bit more time in the opening minutes on comparing the old world with the new. How Owin is exposed to and permeates an MVC 5 application today.

    There are some odd things going on in the template (no comments of course) like in the ChallengeResult, where it's seemingly having to communicate a response to two pipelines; it reaches down to Owin to send a Challenge and then also returns a traditional response message. It's odd.

    I'm sorry to sound so down, but we have to continually keep up with changes across the entire breadth of the .NET stack, plus Azure (OMG Azure is so huge so fast), JS, HTML, as well as deliver code, pretend we like the latest coding fad, learn an existing codebase, and keep abreast of change in the industry sectors we work in, its very hard work.

    Thank you for the video.

  • .NET Core API Review 2015-01-14

    This is really interesting and nice to see Krzysztof Cwalina there. Thanks.

  • Performance Tuning Microsoft Azure SQL Database

    Woah. Major no-no in here. Do not use Parallel.ForEach to run a query across each of the shards. Parallel.For and ForEach will use a thread per core on the machine and then inject a new thread only on detection of a blocked thread, once per second.

    It is NOT a convenient way to spawn, say, 10 tasks to run on 10 shards. You are not issuing those queries all at once.

    To genuinely issue all the queries at once (and you should), you must "manually" create and run 10 Task instances for each shard, stick them all in a collection and wait on them all.

  • Windows Compatible Hardware Development Boards Launch Event (Morning Session)

    @PeterWieland: .......................do you have a UserVoice? ;)

  • Windows Compatible Hardware Development Boards Launch Event (Morning Session)

    What's the Microsoft hardware story for someone trying to utilise GPIO and developing in C#?

    For example, I'd like to write a system to control a pumping station, I'd like to host a REST service on the device itself using Katana/OWIN and control valve states via GPIO. I'd like to use managed Azure libraries to talk to the cloud. I'd like to run Windows, the full .NET Framework and code it all using C#.

    At present, my option is Raspberry Pi and Mono with RaspberryPi.Net library. Do these boards change any of that? The missing component appears to be a managed libraries for the IO capabilities on the boards.

    Thanks

    Luke

  • Angular JS: A fresh Breeze in the SPA

    This is a good demo, thanks Erwin. But I can't not say something about the bad naming in JavaScript though. What's the deal with bad names, even by programmers who choose good names in other languages??

    function dataservice() {}

    OR

    logger.info()

    Surely all function names must contain a verb? And abbreviated names like Ctrl instead of Controller. It drives me crazy.

    - Edit - 

    Actually, the dataservice name is arguably not a bad name since its kind of an object with functions.

  • Azure API Management 101

    Can I suggest improving the hints and usability around the admin UI? Some of those boxes give no indication of what to enter in them.

    Also, terms such as Rewrite URL aren't hugely clear and Josh explains them as the URL template of your back-end service. I often see this in UI design; jargonistic terms on the UI and then a human explaining what they actually mean, instead of just writing what they mean in the UI in human terms to begin with.

    Finally, consider using diagrams to help convey the architecture and flow. I say all this because a new client of mine use a well-known competitor's API management system which is very hard to use, essentially has just a bunch of fields scattered over several tabs.

    "According to one stat from 3M Corporation and Zabisco, 90 percent of information transmitted to the brain is visual — and visuals are transmitted to the brain 60,000X faster than text."

See more comments…