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...
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
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,...
More and more companies are realizing the power of cloud services and networks. With the release of Office 365, Cloud services, and employees working away from the office, collaboration is crucial. Ensuring the networks that connect employees and allow access to the documents and projects within an organization is therefore critical to allow organizations to function efficiently. This means that the demand for good network administrators and system administrators who understand Active Directory is...
A factory resource is one that is used to create other resources.Sometimes it is difficult to create a complete resource representation on the client without some involvement from the server. It may be that the server is responsible for creating a unique identifier for the new resource, so a PUT request is not possible. Or other attributes of the resource may be dependent on existing server state. For example, creating a order resource where the order quantity may be adjusted based on in-stock quantity.
Australian tech salaries have fallen slightly in the first quarter of 2016 from a year end high, while the declining average salary of tech professionals in the USA have risen after huge declines in 2015, according to tech marketplace Gooroo.After ending 2016 on a high with salaries averaging, $105,098AUD, Australian tech professionals have seen a decline of 2.3% over the past three months to average $102,661AUD. Conversely after ending 2015 at their lowest point, US tech salaries have risen from...
A resource designed to accept a request body containing complex query parameters and redirect to a new location to enable the results of complex and expensive queries to be cached.There are practical limitations to the length of a URL on the Web. In order to send complex queries it is sometimes necessary to use a POST method and use the request body to describe the query parameters. However, a POST method cannot return a cached response. If the complex queries take a non-trivial amount of time...
Love these skills? Find your Match.