Hello,I am writing this article to show you how to create and assign user role. Create a new asp.net web application project with MVC template along with individual authentication. You have noticed that AspNetRoles, AspNetUsers etc tables are already available in our project . So, we can make use of these tables to fulfill our need . Find and open the Startup.cs file from the solution explorer .You can add here function to create...
Who doesn't enjoy the big term, DevOps? It sounds promising and sounds interesting as well when someone says, they work as a DevOps engineer! But like they say, Similarly, in the case of DevOps, every process, which DevOps exposes has to be handled with a great care or the results are catastrophic. In this post, I am going to talk about the swissknife of continuous delivery, in the terms of database migrations and maintenance. It has been quite a while, since I have joined DevOps practices and...
I've been using Visual Studio 2017 since the earliest bits were available and I can confidently say, I'm a fan and highly recommend you give it a shot if you get a chance.With that being said, sometimes new features can cause things to blow up and this post is going to be discussing one of those such features, namely Lightweight Solution Load.Recently, I opened up a decently sized solution (~9 projects) and everything seemed in order. All of my dependencies were there, with no warning signs to be...
It hasn't been too long since the latest 2.0 release of Glyphfriend, but with the release of Visual Studio 2017 coming around the corner, there were a few things that could use some improvement and polishing off before then.Message received, loud and clear.All of the changes that were made to make the extension more flexible actually resulted in it being more noisy. Glyphfriend would just serve everything it knew about. This has generally been regarded as a bad move, and thus library filtering is...
Eclipse CDT is one of the powerful C++ IDEs in the world. However, it's not easy to configure it for a fresh new user. I found rare article to show the detail steps for setting up CDT with cygwin on the internet. So I decide to write down this tutorial for newbies.Purpose: This article intends to summary the steps to configure Eclipse CDT for the general C++ development.1. Project -> Properties -> C/C++ General -> Preprocessor Include, select CDT GCC Built-in Compiler Settings Cygwin, check...
Debian 8 (Jessie) doesn't contain RoundCube in it's repositories. Why, I don't know :) .
In ISPConfig3, Perfect Server, Debian 8, you get SquirrelMail, but I don't like how it looks.
With some trouble setting it up, I managed to configure RoundCube on Debian 8 and make it wokring with ISPConfig3. Used many sources to make it work and decided to create this manual that you’re reading.I presume that you have configured your server with Perfect Server Debian 8 (Apache, BIND, Dovecot, ISPConfig 3) configuraton...
How to initiate git through sshlogin using shh~~~git
$ ssh [email protected]
~~~creating a folder
$ mkdir folder_name
~~~changing to that newly created folder~~~git
$ cd folder_name
~~~initiating as a master branch~~~git
$ git init --bare
~~~changing the windows pack~~~git
$ git config pack.window 0
~~~##step 5 : clone to local machine usingcloning the newly created folder to local~~~git
$ git clone [email protected]
~~~adding the all files which are created
So you are young and energetic wannabe developer. Your head is full of ideas, stackoverflow is your bible and you are ready to face the struggles of software developement for money. Cool! Let me tell you something.You learn at the university or other school, you feel better in coding every month and the truth is you'd like to start with your career as soon as possible, but going to work everyday doesn't feel tempting for now, despite your lack of experience. But hey! You got some friends and friends...
This article will show how to calculate the distance beween two addresses using Google Maps API. Blog.I was looking to an easy way to calculate the distance between two addresses using SQL and Google Maps Distance Matrix API and I found this post from stackoverflow very useful.Here is how I use the Google Maps Distance Matrix API:CREATE PROCEDURE [dbo].[CalculateDistance] (
@ToAddress NVARCHAR(100) = '',
@FromAddress NVARCHAR(100) = '',
@DistanceistanceInKm FLOAT OUTPUT )
A progress resource is usually a temporary resource that is created automatically by the server to provide status on some long running process that has been initiated by a client. It is used to provide feedback to an end user and point to the results of an operation once it has completed.HTTP is a client/server request and response protocol. It does not provide for server initiated communications. If a client makes a request to a server that is likely to take a long time, e.g. 5 seconds or longer,...
Love these skills? Find your Match.