Tugberk Ugurlu's Blog, page 5
January 18, 2016
NGINX Reverse Proxy and Load Balancing for ASP.NET 5 Applications with Docker Compose
We have a lot of hosting options with ASP.NET 5 under different operating systems and under different web servers like IIS. Filip W has a great blog post on Running ASP.NET 5 website under IIS. Here, I want to show you how it would look like to expose ASP.NET 5 through NGINX, provide a simple load balancing mechanism running locally and orchestrate this through Docker Compose.
sweet, finally! #aspnet5 + #nginx + #docker + #dockercompose and simple load balancing :) https://t.co/YnJamDubIS pi...
January 12, 2016
My Summary of CodeMash 2016
I had the pleasure of attending CodeMash this year to give two talks. The conference was generally good, there were lots of people from the several parts of the World and I got to meet a lot of smart and amazing people.
I only had a chance to attend the last two days of the conference and during those days, I attended several talks and missed bunch of good ones (and there are no recordings which makes me sad):
Docker in production? Done that, what’s next? The Code Behind the Vulnerability F...January 4, 2016
Speaking at CodeMash 2016 in Sandusky, Ohio
Attending a developer conference is an amazing way to start a new year. I love conferences because it’s where I learn the most. I am a believer of experience driven life and the conferences is the best place where you can learn about other people’s experiences and different cultures. 2016 will start for me with CodeMash, a unique event that will educate developers on current practices, methodologies, and technology trends in a variety of platforms and development languages such as Java, .NET,...
Having a Look at dotnet CLI Tool and .NET Native Compilation in Linux
I have been following ASP.NET 5 development from the very start and it has been an amazing experience so far. This new platform has seen so many changes both on libraries and concepts throughout but the biggest of all is about to come. The new command line tools that ASP.NET 5 brought to us like dnx and dnu will vanish soon. However, this doesn’t mean that we won’t have a command line first experience. Concepts of these tools will be carried over by a new command line tool: dotnet CLI.
Note...
December 13, 2015
Getting Started with Neo4j in .NET with Neo4jClient Library
I am really in love with the side project I am working on now. It is broken down to little "micro" applications (a.k.a. microservices), uses multiple data storage technologies and being brought together through Docker. As a result, the entire solution feels very natural, not-restricted and feels so manageable.
One part of this solution requires to answer a question which involves going very deep inside the data hierarchy. To illustrate what I mean, have a look at the below graph:
Here, we ha...
December 5, 2015
Integration Testing with MongoDB with MongoDB.Testing Library
Considering the applications we produce today (small, targeted, "micro" applications), I value integration tests way more than unit tests (along with acceptance tests). They provide much more realistic testing on your application with the only downside of being hard to pinpoint which part of your code is the problem when you have failures. I have been writing integration tests for the .NET based HTTP applications which use MongoDB as the data storage system on same parts and I pulled out a he...
November 11, 2015
My Talk on Profiling .NET Server Applications from Umbraco UK Festival 2015
I was at Umbraco UK Festival 2015 in London a few weeks ago to give a talk on Profiling .NET Server Applications. It was a really great experience for me as this was my first time presenting on this topic which I love and enjoy very much. Also, the conference venue was a church which made it really interesting for a presentation and I would be lying if I tell you that I didn’t feel like a deacon up there on the stage :) The fantastic news is that all sessions were recorded and all of them are...
November 5, 2015
ASP.NET 5 Identity MongoDB Implementation
As with everything, ASP.NET Identity will have a new version with ASP.NET 5 which is going to be version 3.0.0. There are some changes on the interfaces but it’s not as drastic as others. By default, it provides Entity Framework implementation which I assume going to be compatible with any data storage system that can plug into Entity Framework (which is good). However, you need to provide a custom implementation if you want to support a data storage system which doesn’t support Entity Framew...
October 28, 2015
ASP.NET 5 and Log Correlation by Request Id
ASP.NET 5 is full of big new features and enhancements like being able to run on multiple operating systems, incredible CLI tools, hassle-free building for multiple framework targets, build only dependencies and many more. Besides these, I am mostly impressed by little, tiny features of ASP.NET 5 because these generally tend to be ignored in this type of rearchitecturing works. One of these little features is log correlation. Let me quickly show you what it is and why it made me smile.
BIG...
October 20, 2015
Profiling ASP.NET 5 Applications with ANTS Performance Profiler
One of the biggest challenges with ASP.NET 5 is the fact that most of the existing tools and libraries are not supporting the ecosystem as it’s a complete revamp of the runtime and some of the concept we have been used to in both development and production. However, some tools catch up quite surprisingly fast and one of those tools is ANTS Performance Profiler from Redgate and it allows you to profile your ASP.NET 5 applications to spot performance problems in a really easy and unobtrusive wa...