Generate an exe for the .Net Core console apps: .Net Core Quick posts part 5

You can find all .Net core posts here. In this quick post, we will see how to create an exe from .Net Core console application. Little background When we create a console application using .Net Core, you will notice that the exe would not be created when you build the application. Let us quickly create an application … Continue reading Generate an exe for the .Net Core console apps: .Net Core Quick posts part 5

Advertisements

Handpicked Useful posts: Microsoft Tech stack

You can find all .Net core posts here. From today on wards, I am starting a series in which I will put together some useful posts from different people from the community. I would not be able to post the links everyday but I will hand pick all the useful links which are recently published and will … Continue reading Handpicked Useful posts: Microsoft Tech stack

Disabling parts of ASP.NET Core Identity

Re-blogged from Damien’s site.

Software Engineering

This article shows how to disable parts of ASP.NET Core Identity in a Web Application. In the ASP.NET Core Identity, the Identiy UI is deployed as part of the NuGet package. So per default everything is enabled and you have to opt-out, unlike the older versions which was opt-in. If you are not careful, this could cause security holes in your application. It is important that you disable the parts of Identity which you do not use!

To demonstrate this, the register process will be disabled. Sometimes, the users are imported or defined using an existing application/process, and the application should not be allowed to register users, so it needs to be deactivated. Per default, it is added and needs to be removed. The default Register Razor Page can be reached at the following URL:

“App base URL”/Account/Register

To turn this off, you need to scaffolding the Razor Page into…

View original post 96 more words

KeyValue pipe in Angular 6.1

Note – You can find the source code of my sample application here. You can find all .Net core posts here. Angular 6.1 is recently announced with some interesting features. One of those features is, the key value pipe. Currently, there is not any straight forward way to iterate an object keys using ngfor in Angular I have seen … Continue reading KeyValue pipe in Angular 6.1

Database migration for .Net Core projects

You can find my all .Net core posts here. I am adding new post after a long break because I recently joined a new company AttachingIt. It is an awesome security related company and now-on wards I am going to work on this awesome product. In this post, I will explain how to do the Database migration for … Continue reading Database migration for .Net Core projects

Azure for Architects: Free E-Book from Microsoft

I am writing this post to let you all know that there is an awesome free E-Book available for Azure. This book is basically for Azure architects but the book can be useful to others as well. Free book is available here: https://azure.microsoft.com/en-us/resources/azure-for-architects/ You can download the book by providing your Outlook, Hotmail etc credentials. … Continue reading Azure for Architects: Free E-Book from Microsoft

Continuous Integration(CI) for .Net Core projects: .Net Core CLI Part III

You can find my all .Net core posts here. This is the 3rd post on .Net Core CLI commands. You can find first 2 posts below: Guide to create and run .Net Core application using CLI Tools: .Net Core CLI Part I Guide to Create and Publish Nuget packages using .Net Core CLI: .Net Core CLI Part II In this … Continue reading Continuous Integration(CI) for .Net Core projects: .Net Core CLI Part III