W dzisiejszym artykule postaram się opowiedzieć jak uruchomić aplikację ASP.NET Core w Dockerze na serwerze VPS. Docker jest narzędziem umożliwiającym uruchamianie procesów w odizolowanym środowisku nazywanym kontenerem. Kontener dostarcza procesowi wszystkich zależności czyniąc z niego autonomiczną jednostkę wykonującą określoną funkcję. Taki przenośny, wirtualny kontener można uruchomić na systemach Windows, Linux, macOS. W tym artykule opiszę jak zainstal...
For couple last days, I worked on gifty to catch up a little bit. My primal task was to introduce JWT authentication to my microservices hosted by Nancy. That’s the topic for next post but today, I’ll describe the proper steps to fully integrate Nancy with Autofac and ASP.NET Core since it’s not that obvious (at least wasn’t for me) and took me way to much time to finally do it. So, I hope that this one will help you one way or another. Installing pa...
In today’s post, I’d like to present a dozen of minimalistic samples that you can make use of within ASP.NET Core application. Starting from simple things like options, through middleware, databases and even Nginx or Docker. These samples are part of the upcoming event “Thursday with .NET” that I’ll be part of on Thursday 20.04.2017.
In the previous post I showed how to implement cookie authentication in ASP.NET Core Web Api, this time I want to show you how to implement token authentication using JWT token. I strongly recommend you to read my previous post about cookie authentication, because it will be simplier to understand, besides source code showed below have some parts described in the previous post.JWT structure JWT stands for JSON Web Token. It is small, self-contained JSON. It contains credentials, claims and other informa...
This time I want to focus on user authentication. In APIs we can use different methods for user authentication like: -cookie Authentication -basic Authentication (not recommended, slow and insecure) -token Authentication In this post I want to show you how to implement cookie authentication in ASP.NET Core Web API.
Nice journey behind us! You did really great job to be here with us in episode 6. We started this course with introduction where we tried to explain goal, rules and technology stack. Next we did core architecture of our application, few first features and we showed you basic concepts...
Recently I've been playing a lot with HTTP/2 and with ASP.NET Core but I didn't had chance to play with both at once. I've decided it's time to change that. Unfortunately the direct HTTP/2 support for Kestrel is still in backlog. Luckily Kestrel is not the only HTTP server implementation for ASP.NET Core.
First bunch of features are done and it’s time to look at very important matter – security. As long as we create apps only for ourselves we don’t care about it. Sometimes we release one of those applications somewhere on the Internet and we still don’t care about security. Why? We forgot o...
Pewnie niektórych z Was zastanawia, dlaczego obrazek do postu przedstawia ptaka? Kestrel, to po polsku Pustułka zwyczajna– nazwa ptaka drapieżnego z rodziny sokołowatych – tego przedstawionego na zdjęciu. Cytując wikipedię, polska nazwa ptaka wywodzi się od rosyjskiego „pustoj”, co oznacza „głupi”. W tym artykule dowiecie się o możliwościach implementacji serwerów w ASP.NET Core, czyli Kestrel i WebListener.
I created few projects in my solution. I have models, services, tests and webApi project. I added LoginController which uses Services, but it uses it by interfaces. I need to use dependency injection to resolve it for me. I decided to add Autofac. It is IoC container which allow us to register all types and it’s implementations, to inject specific types for us. In the last year I wrote post how to add Autofac to ASP.NET MVC app, but post is in Polish and adding Autofac to .NET Core app is slighty differe...
How many times you almost pushed some sensitive data to public repo? I have to admit, it’s one of my nightmares since I heard about crawlers occuping github and searching for credit cards data, API credentials and so on. But it looks like this problem is over, at least for .Net Core developers. And it is because of one simple tool provided by Microsoft - Secret Manager. Let me show you how to manage it by Visual Studio interface!
macko (32 816,53)
http://pawlos.blo... (31 603,45)
pzielinski (27 178,29)
gordon_shumway (21 178,87)
paduda (20 336,33)
psz750 (13 018,14)
rroszczyk (10 383,88)
Damian (9 041,08)
danielplawgo (7 235,99)
arek (6 807,94)
burczu (6 214,22)
PaSkol (5 393,84)
lukaszgasior (4 097,38)
jj09 (3 578,06)
jedmac (3 318,39)
http://jakub-flor... (3 224,66)
CaMeL (2 954,87)
spetz (2 798,25)
mnikolajuk (2 596,93)
lkurzyniec (2 590,69)