Profile

Cover photo
John Atten
Worked at Zeffert & Associates
Lives in St. Louis, MO
267 followers|110,595 views
AboutPostsPhotosYouTube

Stream

John Atten

ASP.NET / Web Dev  - 
 
Understanding the relationship between the .NET Version Manager (DNVM), the .NET Execution Environment (DNX) and .NET Development Utilities (DNU) is fundamental to developing with ASP.NET 5. In this post we will look at installing and using DNVM, DNX, and DNU on to work with ASP.NET from the command line.
ASP.NET 5 introduces a new runtime model for the .NET framework which allows us to employ a "pay-as-you-go" approach, building composable applications using only those framework components our application needs, without relying upon a central, monolithic library repository present on the host ...
4
1
Onar Bargior's profile photoAlan Kleber's profile photo
 
Interesting 
Add a comment...

John Atten

Shared publicly  - 
 
Understanding the relationship between the .NET Version Manager (DNVM), the .NET Execution Environment (DNX) and .NET Development Utilities (DNU) is fundamental to developing with ASP.NET 5. In this post we will look at installing and using DNVM, DNX, and DNU on to work with ASP.NET from the command line.
2
Add a comment...

John Atten

Shared publicly  - 
 
The installation process for Postgres on Ubuntu or Linux Mint is, like many things in the Linux world, less than intuitive for new users. As much for my own sake as anyone else’s, I’m going to walk through the steps to getting Postgres installed and configured on a Linux box.
1
Add a comment...

John Atten

Shared publicly  - 
 
 
Good Morning C# Enthusiasts:

  Interested in C# 6.0? Well, Bill Wagner, author of "Effective C#: 50 Specific Ways to Improve Your C#, 2nd Ed" has put together a great free learning article covering just that.

  Article Title: A Brief Tour of C# 6.0

  Link: http://www.informit.com/articles/article.aspx?p=2270333

  Content Sample:

  Improvements to Existing Features

"I'll begin with a feature many developers thought C# already supported: using the await keyword in a catch or finally clause. Developers might have thought this feature was already supported because the await expression had so few restrictions on where it can be used."

"The C# language team did quite a bit of work in C# 5.0 trying to make async and await work seamlessly with all the remaining features in the C# language. That was a laudable goal, but the reality is that introducing an await expression in a catch or finally clause is very hard on the compiler. The language designers always wanted this feature; it just didn't make the time schedules for C# 5.0. Now, with the new C# 6.0 codebase, the team prioritized this addition to the async and await features. For example, examine this code snippet:"

private async static Task RunAsyncTest()
{
    try
    {
        await DoWebbyThings();
    }
    catch (Exception e)
    {
        await GenerateLog(e.ToString());
        throw;
    }
}

"This method will return a task. If an exception is thrown from DoWebbyThings(), the method returns a task that will eventually return a faulted task. Faulted tasks contain an aggregate exception that contains any exceptions generated during the execution of the task. If the GenerateLog message completes correctly, the AggregateException contains a single exception: the exception thrown by DoWebbyThings(). However, if GenerateLog() throws an exception, the AggregateException still contains a single exception: the exception thrown by GenerateLog()."

"The behavior I've just described is how this works for an await in either a catch or a finally clause. This feature may not change your daily coding experiences very much, but it means that C# more naturally supports async programming in more situations and scenarios. The behavior is consistent with how task objects are processed in other areas of your code."

"Another changed feature is using static members. This is an extension to the using statements that import definitions into the current (or global) namespace. Every C# developer is familiar with the classic using statements:"

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

"Now you can limit the scope of a using statement to a single static class:"

using System.Math;

"Notice that the syntax highlighting shows that System.Math is a class, not a namespace. This new variation of the using statement enables you to reference members of a static class (such as Math) simply by their names:"

var answer = Sqrt(3 * 3 + 4 * 4);

Enjoy the content all.

#CSharp   #CSharpProgramming   #CSharp6   #CSharpTutorial  +C# Corner +C# Tutorial +c# Libaray +Programming.com 
3 comments on original post
1
Add a comment...

John Atten

Shared publicly  - 
 
This is the third post in a series in which we have built up a minimal, self-hosted, OWIN-based Web Api application essentially from scratch. Our objective has been to develop a better understanding of how the various components fir together and interact in an OWIN-based environment, and to do so without creating any dependencies on IIS or the heavy weight System.Web.dll.
1
John Atten's profile photoSteve Straley's profile photo
3 comments
 
Hmm... either it's late or I started drinking too early... you can ping me directly at stevestraley@gmail.com
Add a comment...
In his circles
97 people
Have him in circles
267 people
Ian Davies's profile photo
Kevil Mnisi's profile photo
Jagadeesh T's profile photo
Patrick Schaller's profile photo
eden brukman's profile photo
SAROJ JENA's profile photo
Алексей Петряшев's profile photo
Chris Jones's profile photo
sebastian schoof's profile photo

John Atten

Database  - 
 
When working in Node.JS, it might be handy to do some heavy lifting via Postgres to reduce some n+1 / lazy loading issues, especially when pulling data for display. Using some of Postgres’ in-built JSON  functions in conjunction with the JSON data type, we can compose ready-to-use JSON objects before returning the result.
1
Add a comment...

John Atten

Tutorials/Tricks  - 
 
The installation process for Postgres on Ubuntu or Linux Mint is, like many things in the Linux world, less than intuitive for new users. As much for my own sake as anyone else’s, I’m going to walk through the steps to getting Postgres installed and configured on a Linux box.
1
Onar Bargior's profile photoJohn Atten's profile photo
2 comments
 
Thanks for reading, and taking the time to comment! :-)
Add a comment...

John Atten

Shared publicly  - 
 
Because I use Chinook fairly often with Postgres, I decided to make a few mods to the Chinook Postgres script to provide a more native PG experience when using this otherwise handy sample database.
1
Add a comment...

John Atten

ASP.NET / Web Dev  - 
 
Adding a minimal Identity implementation to a bare-bones OWIN/Katana Web Api
4
1
René López's profile photoJohn Atten's profile photoAndrew Del Preore's profile photo
2 comments
 
+René López Thank you for reading, and taking the time to comment!
Add a comment...

John Atten

Shared publicly  - 
 
 
Great Read!
Tutorial shows how to Issue JSON Web Token (JWT) in ASP.NET Web API 2,Owin middleware, then build list of Resource Servers relies on the Token Issuer Party.
View original post
1
Add a comment...
People
In his circles
97 people
Have him in circles
267 people
Ian Davies's profile photo
Kevil Mnisi's profile photo
Jagadeesh T's profile photo
Patrick Schaller's profile photo
eden brukman's profile photo
SAROJ JENA's profile photo
Алексей Петряшев's profile photo
Chris Jones's profile photo
sebastian schoof's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
St. Louis, MO
Previously
Portland, OR
Story
Tagline
(aka XIV Solutions): The universe unfolds as it will . . . More will be revealed . . .
Work
Employment
  • Zeffert & Associates
    Compliance Officer/QA Program Manager, 2011
  • Central City Concern
    Occupancy & Compliance Manager, 2004 - 2011
Basic Information
Gender
Male