Subscribe: Latest Microsoft Blogs
http://weblogs.asp.net/aspnet-team/rss.aspx
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
azure cosmos  azure  continuous integration  follow  hdmi  integration deployment  key  keybase  net core  net  visual studio  yubikey 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Latest Microsoft Blogs

Untitled





 



3 new extensions for Visual Studio extenders

Thu, 19 Apr 2018 09:59:58 PDT

Building extensions for Visual Studio has its challenges, but as the new PM on the extensibility team I’ve made it my mission to make it easier. One way of doing that is to provide features that can take some of the pain out of common tasks associated with extension authoring.

Here are three brand new extensions that might be helpful.

Command Explorer

This extension shows the group and menu identifiers of existing commands to make it easy to find out where to place your custom commands.

(image)

Read more and download Command Explorer from Marketplace and check out the source on GitHub.

Registry Explorer

This extension provides a tool window for looking at the Visual Studio registry hive. It shows the registry from both the UserRegistryRoot and ApplicationRegistryRoot (_Config).

(image)

Read more and download Registry Explorer from Marketplace and check out the source on GitHub.

KnownMonikers Explorer

Provides a tool window for Visual Studio extension authors that lets you easily browse all the image monikers in the KnownMonikers catalog and save them at any size to PNG, JPG or Gif on disk.

(image)

Read more and download Registry Explorer from Marketplace and check out the source on GitHub.

All three extension require Visual Studio 2017 Update 6 since it uses the new Async Tool Window feature.

I hope these extensions will help make you a more productive and happier Visual Studio extender. Let me know in the comments.




How to setup Signed Git Commits with a YubiKey NEO and GPG and Keybase on Windows

Thu, 19 Apr 2018 00:30:31 GMT

This week in obscure blog titles, I bring you the nightmare that is setting up Signed Git Commits with a YubiKey NEO and GPG and Keybase on Windows. This is one of those "it's good for you" things like diet and exercise and setting up 2 Factor Authentication. I just want to be able to sign my code commits to GitHub so I might avoid people impersonating my Git Commits (happens more than you'd think and has happened recently.) However, I also was hoping to make it more secure by using a YubiKey 4 or Yubikey NEO security key. They're happy to tell you that it supports a BUNCH of stuff that you have never heard of like Yubico OTP, OATH-TOTP, OATH-HOTP, FIDO U2F, OpenPGP, Challenge-Response. I am most concerned with it acting like a Smart Card that holds a PGP (Pretty Good Privacy) key since the YubiKey can look like a "PIV (Personal Identity Verification) Smart Card." NOTE: I am not a security expert. Let me know if something here is wrong (be nice) and I'll update it. Note also that there are a LOT of guides out there. Some are complete and encyclopedic, some include recommendations and details that are "too much," but this one was my experience. This isn't The Bible On The Topic but rather  what happened with me and what I ran into and how I got past it. Until this is Super Easy (TM) on Windows, there's gonna be guides like this. As with all things security, there is a balance between Capital-S Secure with offline air-gapped what-nots, and Ease Of Use with tools like Keybase. It depends on your tolerance, patience, technical ability, and if you trust any online services. I like Keybase and trust them so I'm starting there with a Private Key. You can feel free to get/generate your key from wherever makes you happy and secure. I use Windows and I like it, so if you want to use a Mac or Linux this blog post likely isn't for you. I love and support you and your choice though. ;) Make sure you have a private PGP key that has your Git Commit Email Address associated with it I download and installed (and optionally donated) a copy of Gpg4Win here. Take your private key - either the one you got from Keybase or one you generated locally - and make sure that your UID (your email address that you use on GitHub) is a part of it. Here you can see mine is not, yet. That could be the main email or might be an alias or "uid" that you'll add. If not - as in my case since I'm using a key from keybase - you'll need to add a new uid to your private key. You will know you got it right when you run this command and see your email address inside it.> gpg --list-secret-keys --keyid-format LONG------------------------------------------------sec# rsa4096/MAINKEY 2015-02-09 [SCEA]uid [ultimate] keybase.io/shanselman You can adduid in the gpg command line or you can add it in the Kleopatra GUI. List them again and you'll see the added uid.> gpg --list-secret-keys --keyid-format LONG------------------------------------------------sec# rsa4096/MAINKEY 2015-02-09 [SCEA]uid [ultimate] keybase.io/shanselman uid [ unknown] Scott Hanselman When you make changes like this, you can export your public key and update it in Keybase.io (again, if you're using Keybase). Plugin your YubiKeyWhen you plug your YubiKey in (assuming it's newer than 2015) it should get auto-detected and show up like this "Yubikey NEO OTP+U2F+CCID." You want it so show up as this kind of "combo" or composite device. If it's older or not in this combo mode, you may need to download the YubiKey NEO Manager and switch modes.Test that your YubiKey can be seen as a Smart CardGo to the command line and run this to confirm that your Yubikey can be see as a smart card by the GPG command line.> gpg --card-statusReader ...........: Yubico Yubikey NEO OTP U2F CCID 0Version ..........: 2.0....IMPORTANT: Sometimes Windows machines and Corporate Laptops have multiple smart card readers, especially if they have Windows Hello[...]



Publish Improvements in Visual Studio 2017 15.7

Wed, 18 Apr 2018 19:00:00 +0000

Today we released Visual Studio 2017 15.7 Preview 4. Our 15.7 update brings some exciting updates for publishing applications from Visual Studio that we’re excited to tell you about, including: Ability to configure publish settings before you publish or create a publish profile Create Azure Storage Accounts and automatically store the connection string for App... Read more



What Happened to Bower?

Wed, 18 Apr 2018 18:04:55 +0000

Bower is a popular package management system for managing static content used by client-side web applications. Visual Studio provides rich support for Bower, including templates and package management tools. In October 2017, there were announcements on Twitter hinting that the Bower platform was being deprecated. While Bower hasn’t gone away, the official website is encouraging... Read more



.NET Presentations: Events in a Box!

Wed, 18 Apr 2018 05:27:46 GMT

Jon Galloway shares .NET "Presentations in a Box", workshops and presentations you can use, contribute to, remix and share, and present at Meetups, User Groups, CodeCamps, or Conferences.


Media Files:
https://media-www-asp.azureedge.net/media/221718/jon-galloway.jpg




Library Manager: Client-side content manager for web apps

Tue, 17 Apr 2018 21:48:24 +0000

If you’re developing a modern web app, chances are your app will reference client-side JavaScript and CSS files like jQuery or bootstrap. Maybe you copy these from a previous project, download them, or use Bower. However, with Bower announcing they won’t be offering support into the future, we thought it time to produce a lightweight,... Read more



Blazor 0.2.0 release now available

Tue, 17 Apr 2018 17:59:55 +0000

Just a few weeks ago we announced the first preview release of an experimental web UI framework called Blazor. Blazor enables full-stack web development using C# and WebAssembly. So far thousands of web developers have taken on the challenge to try out Blazor and done some pretty remarkable things: Started using Blazor to build RealWorld... Read more



Creating a .NET Core global CLI tool for squashing images with the TinyPNG API

Tue, 17 Apr 2018 05:26:49 GMT

Andrew Lock creates a .NET Core CLI global tool that can be used to compress images using the TinyPNG developer API.


Media Files:
https://media-www-asp.azureedge.net/media/5245156/andrew_lock.jpg




Continuous integration and deployment using Azure Data Factory

Tue, 17 Apr 2018 05:00:00 GMT

Gaurav Malhotra joins Scott Hanselman to discuss how you can follow industry-leading best practices to do continuous integration and deployment for your Extract Transform/Load (ETL) and Extract Load/Transform (ELT) workflows to multiple environments such as Dev, Test, Prod, and more.

For more information:

(image) Gaurav Malhotra joins Scott Hanselman to discuss how you can follow industry-leading best practices to do continuous integration and deployment for your Extract Transform/Load (ETL) and Extract Load/Transform (ELT) workflows to multiple environments such as Dev, Test, Prod, and more. For more information: Continuous integration and deployment using Data Factory (Azure blog)Continuous integration and deployment in Azure Data Factory (Docs)Create a free Azure accountFollow @SHanselman Follow @AzureFriday Follow @gauravmalhot12


Media Files:
http://video.ch9.ms/ch9/f5d9/ffcc40fd-06ee-4663-a83c-bcc278baf5d9/CICDwithAzureDataFactory.mp4




ViewModels and AutoMapper in Razor Pages

Mon, 16 Apr 2018 05:10:46 GMT

Mike Brind takes a look at the ViewModel part of the role that the PageModel plays in Razor Pages, and how tools like AutoMapper can be used to reduce the amount of code needed when assigning value...


Media Files:
https://media-www-asp.azureedge.net/media/1777049/mike-brind_1_.jpg




Scaffolding ASP.NET Core API Controllers

Fri, 13 Apr 2018 05:06:50 GMT

Matt Millican walks through quickly creating API controllers to jump start your project.


Media Files:
https://media-www-asp.azureedge.net/media/5245278/mattmillican.jpg




Retrogaming on original consoles in HDMI on a budget

Fri, 13 Apr 2018 03:20:00 GMT

My sons (10 and 12) and I have been enjoying Retrogaming as a hobby of late. Sure there's a lot of talk of 4k 60fps this and that, but there's amazing stories in classing video games. From The Legend of Zelda (all of them) to Ico and Shadow of the Colossus, we are enjoying playing games across every platform. Over the years we've assembled quite the collection of consoles, most purchased at thrift stores. Initially I started out as a purist, wanting to play each game on the original console unmodified. I'm not a fan of emulators for a number of reasons. I don't particularly like the idea of illegal ROM come up and I'd like to support the original game creators. Additionally, if I can support a small business by purchasing original game cartridges or CDs, I prefer to do that as well. However, the kids and I have come up with somewhat of a balance in our console selection. For example, we enjoy the Hyperkin Retron 5 in that it lets us play NES, Famicom, SNES, Super Famicom, Genesis, Mega Drive, Game Boy, Game Boy Color, & Game Boy over 5 category ports. with one additional adapter, it adds Game Gear, Master System, and Master System Cards. It uses emulators at its heart, but it requires the use of the original game cartridges. However, the Hyperkin supports all the original controllers - many of which we've found at our local thrift store - which strikes a nice balance between the old and the new. Best of all, it uses HDMI as its output plug which makes it super easy to hook up to our TV. The prevalence of HDMI as THE standard for getting stuff onto our Living Room TV has caused me to dig into finding HDMI solutions for as many of my systems as possible. Certainly you CAN use a Composite Video Adapter to HDMI to go from the classic Yellow/White/Red connectors to HDMI but prepare for disappointment. By the time it gets to your 4k flat panel it's gonna be muddy and gross. These aren't upscalers. They can't clean an analog signal. More on that in a moment because there are LAYERS to these solutions. Some are simple, and I recommend these (cheap products, but they work great) adapters: Wii to HDMI Adapter - The Wii is a very under-respected console and has a TON of great games. In the US you can find a Wii at a thrift store for $20 and there's tens of millions of them out there. This simple little adapter will get you very clean 480i or 480p HDMI with audio. Combine that with the Wii's easily soft-modded operating system and you've got the potential for a multi-system emulator as well. PS2 to HDMI Adapter - This little (cheap) adapter will get you HTMI output as well, although it's converted off the component Y Cb/Pb Cr/Pr signal coming out. It also needs USB Power so you may end up leaching that off the PS2 itself. One note - even though every PS2 can also play PS1 games, those games output 240p and this adapter won't pick it up, so be prepared to downgrade depend on the game. But, if you use a Progressive Scan 16:9 Widescreen game like God of War you'll be very pleased with the result. Nintendo N64 - THIS is the most difficult console so far to get HDMI output from. There ARE solutions but they are few and far between and often out of stock. There's an RGB mod that will get you clean Red/Green/Blue outputs but not HDMI. You'll need to get the mod and then either do the soldering yourself or find a shop to do it for you. The holy grail is the UltraHDMI Mod but I have yet to find one and I'm not sure I want to pay $150 for it if I do. The cheapest and easiest thing you can and should do with an N64 is get a Composite & C-Video converter box. This box will also do basic up-scaling as well, but remember, this isn't going to create pixels that aren't already there. Dreamcast - There is an adapter from Akura that will get [...]



ASP.NET Core 2.1.0-preview2: Improvements to the Kestrel HTTP server

Fri, 13 Apr 2018 00:42:44 +0000

Change default transport to Sockets Building off the improvements to the managed sockets implementation in .NET Core we have changed the default transport in Kestrel from libuv to sockets. As a consequence, the Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv package is no longer part of the Microsoft.AspNetCore.App metapackage. How to switch back to libuv To continue using libuv as your transport, you will need... Read more



Common design patterns with Azure Cosmos DB

Thu, 12 Apr 2018 21:00:00 GMT

Aravind Krishna stops by to chat with Scott Hanselman and take a look at common design patterns for building highly scalable solutions with Azure Cosmos DB. We will talk a little bit about modeling data and how to choose an appropriate partition key. We then look at a few patterns like event sourcing, time series data, and patterns for addressing bottlenecks/hot spots for reads, writes, and storage.

For more information:

(image) Aravind Krishna stops by to chat with Scott Hanselman and take a look at common design patterns for building highly scalable solutions with Azure Cosmos DB. We will talk a little bit about modeling data and how to choose an appropriate partition key. We then look at a few patterns like event sourcing, time series data, and patterns for addressing bottlenecks/hot spots for reads, writes, and storage. For more information: Azure Cosmos DB (overview)Azure Cosmos DB (docs)Partition and scale in Azure Cosmos DBCreate a Free Account (Azure)Follow @SHanselman Follow @AzureFriday Follow @arkramac


Media Files:
http://video.ch9.ms/ch9/2f8b/d94cefac-e417-497e-a193-c3b1b8a32f8b/AzureFridayAzureCosmosDBDesignPatterns.mp4




ASP.NET Core 2.1.0-preview2 now available

Thu, 12 Apr 2018 17:24:30 +0000

Today we’re very happy to announce that the second preview of the next minor release of ASP.NET Core and .NET Core is now available for you to try out. This second preview includes many refinements based on feedback we received from the first preview we released back in February. You can read about .NET Core... Read more