devcision

1,314 Added | 20 Magazines | 8 Likes | 2 Following | 1,017 Followers | @devcision | Keep up with devcision on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “devcision”

HttpClientFactory for typed HttpClient instances in ASP.NET Core 2.1

I'm continuing to upgrade my podcast site https://www.hanselminutes.com to .NET Core 2.1 running ASP.NET Core 2.1. I'm using Razor Pages having …

Software Development

Optimizing an ASP.NET Core site with Chrome's Lighthouse Auditor

I'm continuing to update my podcast site. I've upgraded it from ASP.NET "Web Pages" (10 year old code written in WebMatrix) to ASP.NET Core 2.1 …

Web Development

ASP.NET Core Unit Testing For Security Attributes

Intro<p>As a developer, I can say that developers are lazy - at least I know and acknowledge that I am. If I’m tasked with something even the slightest …

Software Development

Get started building .NET web apps that run in the browser with Blazor

Today we released our first public preview of Blazor, a new experimental .NET web framework using C#/Razor and HTML that runs in the browser with …

ASP.NET MVC 5 with BDD ,Onion/Clean Architecture, Living documentation and a CI/CD pipeline from scratch

To give you a little background, I was toying with an idea for a startup and wrote a quick application in ASP.NET as a POC for exploring a product …

Exploring the Microsoft.AspNetCore.App shared framework in ASP.NET Core 2.1 (preview 1)

In ASP.NET core 2.1 (currently in preview 1) Microsoft have changed the way the ASP.NET core framework is deployed for .NET Core apps, by moving to a …

Software Development

Migrating to ASP.NET Core Tag Helpers

This article introduces the concept of Tag Helpers in ASP.NET Core and how to use them effectively when migrating an ASP.NET project.<b>Note:</b> This …

Web Development

ASP.NET Core MVC Value Provider for Encrypted Route Parameter

Back in January 2013 & March 2013, I had published a detailed articles on this blog on how to create a custom Value Provider for ASP.NET MVC and …

Software Engineering

Using Semantic UI and ASP.NET Core Together

After thinking a lot about my blogging app I decided to start over somewhat on the UI of the site and to simplify things in general. In so doing, …

Web Development

Create a Build Pipeline for Angular and ASP.NET Core Apps with Visual Studio Team Services

In this blog post, I want to describe how you can build up a build and release pipeline for your Angular and ASP.NET Core applications using Visual …

Fun with global tools in .NET Core 2.1 Preview

.NET Core 2.1 Preview 1 is avaialble<p>Several preview releases related to .NET Core 2.1 have been recently announced, including ASP.NET Core 2.1 …

Securing the CDN links in the ASP.NET Core 2.1 templates

This article uses the the ASP.NET Core 2.1 MVC template and shows how to secure the CDN links using the integrity parameter.<p>A new ASP.NET Core MVC …

Web Development

Injecting UrlHelper in ASP.NET Core MVC

One of our APIs has a dynamic routing system that invokes a different handler based on attributes of the incoming HTTP request.Each of these handlers …

Software Development

Unit Testing ILogger in ASP.NET Core

I've been creating a new template solution for our ASP.NET Core projects. As I was writing some tests for an API controller, I hit a problem with …

Running ASP.NET Core on GoDaddy's cheapest shared Linux Hosting - Don't Try This At Home

First, a disclaimer. Don't do this. I did this to test a theory and to prove a point. ASP.NET Core and the .NET Core that it runs on are open source …

Linux

Get started with SignalR on ASP.NET Core

Tutorial: Get started with SignalR for ASP.NET Core<p>03/06/2018<p>3 minutes to read<p>Contributors<p>This tutorial teaches the basics of building a real-time …

Using HostBuilder and the Generic Host in .NET Core Microservices

<i>TL;DR;</i><p><i>The “generic” Host and HostBuilder are components of a new feature set coming with the release of .NET Core 2.1. A use case of them is to</i> …

Software Development

Angular ngrx-data

Zero Boilerplate Ngrx<p><i>You may never write an action, reducer, selector, effect, or HTTP dataservice again.</i><p>You'll still be using <i>ngrx</i> ... ngrx-data is a</i> …

Advanced caching with RxJS

When building web applications, performance should always be a top priority. There are many things we can do to speed up our Angular applications …

JavaScript

ASP.NET Core 2.1 roadmap

Five months ago, we shipped ASP.NET Core 2.0 as a foundational release for our high performance, cross-platform web framework for .NET and .NET Core. …

A to-do list for new ASP.NET Core projects

Here are a few things you can do to make your life easier when starting a new ASP.NET Core project, or reducing duplicate code without using …

Easy Bootstrap Alerts for Your API Results with ASP.NET Core – try-catch-FAIL

Continuing on from last time, let’s see how to return a status message from our ASP.NET Core API endpoints, and by convention, display those results …

Migrating Contoso University Example to Razor Pages

A coworker noticed that it looked like Razor Pages were the new "recommended" way of building server-side rendered web applications in ASP.NET Core …

Software Development

Contact Support

Asp.Net Core 2 Logging With Serilog And Microsoft SQL Server Sink

Next we need to add Serilog config to entry point of our project which is Program.cs, here’s what it’ll look like.<p>You could configure a lot of …

ASP.NET Boilerplate

In this document<p>Introduction<p>In this article, we will see a SaaS (multi-tenant) application developed using the following frameworks:<p>ASP.NET …

Announcing Preview 1 of ASP.NET MVC 5.2.4, Web API 5.2.4, and Web Pages 3.2.4

Today we are releasing Preview 1 of ASP.NET MVC 5.2.4, Web API 5.2.4, and Web Pages 3.2.4 on NuGet. This release contains some minor bug fixes and a …

ASP .Net Core 2.1 features: Part I

You can find my all .Net core posts here.<p>In this post, we will see the features of Asp .Net Core 2.1<p>SignalR<p><b>SignalR</b> is coming into the <b>.Net Core</b>.<p>I have …

ASP.NET paging solution available at GitHub

Paging of data in ASP.NET and ASP.NET Core applications is timeless topic. It is invented over and over again and asked all the time in forums all …

New killer features planned for .NET Core 2.1 family

New killer features planned for .NET Core, ASP.NET Core and Entity Framework Core 2.1<p>Microsoft announced roadmap for upcoming release of .NET Core …