Profile

Cover photo
John Atten
Worked at Zeffert & Associates
Lives in St. Louis, MO
248 followers|102,293 views
AboutPostsPhotosYouTube

Stream

 
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...
 
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
Add a comment...

John Atten

Shared publicly  - 
 
Once again, we will be doing most of this "from scratch," in a pretty minimal fashion. I want to explore the relationships between project components without too many distractions. So we're not attempting to design the optimal auth system here or demonstrate the latest best practices. But hopefully we will come away with a better understanding of how a fully developed authentication/authorization system such as Identity works in the context of our application. Understanding THAT gives empowers us to utilize tools like Identity more effectively.
2
Add a comment...
Have him in circles
248 people
Marsha Signoracci's profile photo
Blaine Smith's profile photo
Christian Lup's profile photo
SAROJ JENA's profile photo
Tony Dunsworth's profile photo
Razvan Dumitru's profile photo
Joseph Homshaw's profile photo
Hemant Arora's profile photo
Larry Ruckman's profile photo
 
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...

John Atten

ASP.NET / Web Dev  - 
 
Identity 2.0 is fully compatible with the OWIN Authorization model, and when used in this manner, represents a very useful, ready-to go concrete implementation. But we can perhaps better understand the structure of OWIN authorization, and application security in general, if we start with simple concepts, and work our way up to concrete implementations and additional frameworks.
3
1
noor mohammad syed's profile photo
Add a comment...

John Atten

ASP.NET / Web Dev  - 
 
In this post, we will configure Web Api as a middleware component in a lightweight OWIN-based application, shedding the dependency on the heavy System.Web library.
3
Add a comment...
People
Have him in circles
248 people
Marsha Signoracci's profile photo
Blaine Smith's profile photo
Christian Lup's profile photo
SAROJ JENA's profile photo
Tony Dunsworth's profile photo
Razvan Dumitru's profile photo
Joseph Homshaw's profile photo
Hemant Arora's profile photo
Larry Ruckman'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