selfelected.com Report : Visit Site


  • Ranking Alexa Global: # 8,441,041

    Server:Apache...
    X-Powered-By:PHP/5.6.35

    The main IP address: 46.30.215.63,Your server Denmark,Copenhagen ISP:One.com A/S  TLD:com CountryCode:DK

    The description :experience about programming and architecture. musings about delivering and quality. findings about projects and people....

    This report updates in 09-Jun-2018

Created Date:2010-03-17
Changed Date:2016-02-16
Expires Date:2018-03-17

Technical data of the selfelected.com


Geo IP provides you such as latitude, longitude and ISP (Internet Service Provider) etc. informations. Our GeoIP service found where is host selfelected.com. Currently, hosted in Denmark and its service provider is One.com A/S .

Latitude: 55.675941467285
Longitude: 12.565529823303
Country: Denmark (DK)
City: Copenhagen
Region: Hovedstaden
ISP: One.com A/S

HTTP Header Analysis


HTTP Header information is a part of HTTP protocol that a user's browser sends to called Apache containing the details of what the browser wants and will accept back from the web server.

X-Varnish:304240376
X-Powered-By:PHP/5.6.35
Transfer-Encoding:chunked
Age:0
Content-Encoding:gzip
Vary:Accept-Encoding
Server:Apache
Connection:keep-alive
Via:1.1 varnish (Varnish/6.0)
Link:; rel="https://api.w.org/"
Date:Fri, 08 Jun 2018 16:14:52 GMT
Content-Type:text/html; charset=UTF-8
Accept-Ranges:bytes

DNS

soa:ns01.one.com. hostmaster.one.com. 2017121601 14400 3600 1209600 900
ns:ns01.one.com.
ns02.one.com.
ipv4:IP:46.30.215.63
ASN:51468
OWNER:ONECOM, DK
Country:DK
mx:MX preference = 10, mail exchanger = mx2.pub.mailpod2-cph3.one.com.
MX preference = 10, mail exchanger = mx1.pub.mailpod2-cph3.one.com.
MX preference = 10, mail exchanger = mx3.pub.mailpod2-cph3.one.com.

HtmlToText

navigation: about art by others dixie mh 27′ 1978 maker software tools experience about programming and architecture. musings about delivering and quality. findings about projects and people. powershell for devs, part 2 april 28th, 2018 continuing from part1 . new to powershell? let me jot down a few good-to-know things. some you already know. some might save you hours of googling. below is a simple module. i will explain it row(s) by row(s). 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 set-strictmode -version 2.0 < # .synopsis short description. .description long description. .parameter name this does not show with get-help. .parameter birthdate this does not show with get-help. .example an example... .notes general notes. #> function get-persondata { param( [parameter( mandatory=$true, helpmessage='the name of the culprit.' )] [string] $name, [datetime] $birthdate = (get-date) ) $starttime = get-date -format 't' write-verbose "start:$starttime" "name=$name, date=$($birthdate.tostring('yyyymmdd'))." # call method | filter | sort | return. $foundperson = getpeople ` | where {$_.name -eq $name } ` | sort-object born ` | select-object -first 1 write-host "foundperson:[$foundperson]" write-verbose "stop:$(get-date -format 't')" return $foundperson } function getpeople(){ # create array of key-value pairs. $people = @{name='ola';born=[datetime]'1970-10-13';children=1}, @{name='anders';born=[datetime]'2011-01-01'} return $people } export-modulemember get-persondata # export-modulemember getpeople 1 set-strictmode use set-strictmode . see part1 of this blog series. 1 # .synopsis... # this type of comment right before a method is recognised by powershell and ends up in get-help . adhering to explaining the intention for your methods is considered good practice. inside the method is 1 2 3 4 5 6 7 8 param( [parameter( mandatory=$true, helpmessage='the name of the culprit.' )] [string]$name, [datetime]$birthdate=(get-date) ) this is what the parameters look like. one can set if a parameter is mandatory, some help text to be picked up by your favourite text editor, the [type] and default value. 1 $starttime=get-date-format 't' a variable is set to a string. other scripting languages send strings around. powershell sends proper objects. the get-date-format converts the datetime value to a string. 1 write-verbose "start$starttime" built into powershell is the possibility to call (almost) anything with a -verbose flag. only then is the write-verbose called. like a simple logging level. 1 "name=$name, date=$($birthdate.tostring('yyyymmdd'))." nothing strange here at first sight. until you exeute in a console. then you realise this string is outputed; because it is not inputed into something else, like a variable. also “$($variable.method)” is the way to call methods inside a string. 1 2 3 4 $foundperson= getpeople ` | where {$_.name-eq$name } ` | sort-object born ` | select-object-first 1 powershell is said to be able to use linq. this is technically true but the syntax is so weird that i have never used it. this code though has (almost) the same behaviour and is easy to read. getpeople is a method call. backtick concatenate lines and circumvents that powershell has automatic statement ending with a line end. | pipes object and not strings. where is an alias for where-object . the rest is… linqish. 1 write-host "foundperson:[$foundperson]" write-host an object like $foundperson output the contents of the object. not just the type as in c#. write-verbose “stop:$(get-date-format ‘t’)” this string is outputed only if the method call is made with -verbose . plus an exmple on how to write a method call in a string. 1 return $foundperson finally nothing surprising. except that return can be left out to make the code harder to read. 1 2 3 $people= @{name='ola';born=[datetime]'1970-10-13';children=1}, @{name='anders';born=[datetime]'2011-01-01'} @ tells powershell to create a list of key-value pairs. also often called a hash list. note the comma character. that makes $people an array of key-value pairs. 1 export-modulemember get-persondata only exported mehods are visible outside the module. it is like making them public. tags: powershell | categories: code and development | no comments » powershell for devs, part 1 april 28th, 2018 new to powershell? let me jot down a few good-to-know things. some you already know. some might save you hours of googling. use set-strictmode -version 2.0 . powershell 5.1 is the last windows powershell. from 6 it runs on dotnet core and more platforms. use pester for automatic testing. it runs tests and can mock. note that mocking works differently in powershell than c# as they load code in different ways. don’t patch together your powershell scripts. use the systems thinking you usally do and create a sturdy, thought out, solution with bricks of the right size. just like you would any other solution. for caveats let me explain the file below, row by row. file justasimplescript.ps1 1 2 3 4 5 6 7 8 9 10 11 12 set-strictmode -version 2.0 $temp $temp = 'localvariable' function localfunction( $foo, $bar ){ write-host "local variable is $temp." $foo # the last executed row is returned. } localfunction 'myparameter' enter the above in your favourite text editor. save it as justasimplescript.ps1 . open a console and navigate to the proper folder. execute powershell to get powershell started. then execute .\justasimplescript.ps1′ . the result shows both an exception and some more proper output. 1 set-strictmode -version 2.0 set-strictmode is like `option explicit` in old vb6, it throws an error if you try to evaluate a variable that has not been set, that parenthesises are not used when calling functions and called methods do exist. no code example at stackoverflow shows it and almost no blog article. 1 $temp variables are recognised by the leading dollar sign. as we used set-strictmode above this row throws an exception. but… the program continues to run! 1 $temp = 'localvariable' strings are delimited with apostrophes. quotation works but is over kill, see below. 1 function localfunction( $foo, $bar ){ nothing special about declaring a function like this. declare a function with parenthesises but call it without; it is very easy to get this wrong. also; the parameters are optional by default. 1 write-host "local variable is $temp." write-host is the normal way of outputting text in the console. if it is the correct way is another discussion i won’t dive into without more knowledge. also note the quotation marks. they mean that anything that looks like a variable inside should be evaluated. just like php. just like c# by prefixing a string with $. many online examples use quotation marks for every string. by the time of writing i consider that less good. 1 $foo # the last executed row is returned. to fool newbies, powershell implicitly returns the last executed row with an output. i suggest to make it more readable, prefix with return like so: 1 return $foo # the last executed row is returned. comments starts with a # sign. 1 {...} stuff within curly brackets are a code block. a code block is not only the contents of a method or an if statement but can also be passed around, like a () => {…} lambda in c#. 1 localfunction 'myparameter' this ia a method call. as long as it is powershell leave out the parenthesises. otherwise you have converted your list of parameters to a single parameter call and the single parameters is a list. this rule is not hard to remember but reading code that calls method with lists as parameters is hard to grasp for a newbie. adding insult to injury, calling a c# method from powershell might change the rule. using a file like this, ending in ps1 is typically done by “dot sourcing”. it is quick, dirty and pollutes the global name space. things you would never to in your “regular language”. a call like below makes the contents live only just in the call. 1 .\justasimplescript.ps1 if you want to make the $temp variable and the localfunction live on you start it with yet a period and a space like so: 1 . .\justasimplescript.ps1 but probably you want to make a module instead. which you find in tags: powershell | categories: code and development | no comments » when you are testing, you are not testing code; you are testing intention april 4th, 2018 i just had to get that off my chest. tags: automatic testing , testing | categories: code and development | no comments » how i tested *every* authorisation, authorised or not march 10th, 2018 well… i didn’t, not down to bit level. but i got closer than any time before as every business case was tested. don’t believe my rudimentary text below will simply answer how to do it; it will just give a raw landscape. it took me several nights and 3 iterations before i solved all the tidbits. more important than to test that every role could get to its authorised product was to see that it could not get to unauthorised ditto. so i had to test every combination. testing every permutation of user, role and product was not feasible. each entity has several properties and they are, mostly, not related to authorisation. then we have 2^64 kinds of userid where most of them are not interesting and not even in use. to continue a test on “role of type x or y” is really a “role is hiredinproductscompany”. so i sat down and extracted the if statements from the code. they were like “if loggedon” and “if in role x or y”. every such statement was extracted as a method and moved into a (temporary) helper lib. when i was sure, with visual inspection, i had caught everything, i put some business logic into thought and manipulated and rearranged the methods. they became fewer and matchable to business requirements. gone was “if user.role == administrator and user.company = product.company” but instead “if user.isadministratoratproductscompany(product)”. note that during this process i have not changed any logic and, testing besides, present state could be shipped all the time. now i had to get rid of any technical remains. on the outside it looked ok as the method names where very descriptive in business lingua but inside the authorisation method was “if user.id == 0” or “if challengeduser.id == persisteduser.id”. it was not usable since id as integer is a technical (often a persistance layer construction) solution for recognising an entity. in business terms it is more like “user.ispersisted” and “if challengeduser.sameas(persisteduser)”. i continued redusing the problem space to what i really wanted to test when authorising. this way i seriously minimised the permutations, as an authorisable user did not care about “id” or “name” or “businesspartner” but only “isloggedon” and “role”. with 6 roles that means 12 permutations. with project i came to, say, 32 permutations and user 4. this gives in all 12*32*4=1500 variants. not a problem to test every combination now if i just put some (business) intelligence into creating the tests. #win let’s say 240 of them were positive (autorised) and the rest negative. i started with creating a simple lib for permutating every possible input and them through one test to green light “not authorised”. everything red should be authorised. already here i might have found combinations that was authorised when they should not have been. then i, manually, created a list of every permutation allowing authorisation. well… manually for a programmer is reducing to loops and ifs so one method could create every authorised combination of type a and one of type b. alltogether that is, say, 10 different methods and some manual ones. they were concatenated to a list and i made the test assert authorised and not-authorised according to this list. so now i had a test for every kind of authorisation check testing both authorised and not authorised and tests looks like business logic. tags: authorisation , test | categories: code and development | no comments » recension av lådcykel riese-müller packster 80 february 12th, 2018 [det kommer komma mer information.] denna cykeln. sammanfattning cykeln är löser mina problem och jag använder den varje dag och är nöjd. prislappen är (för) hög (men det tycker jag för en premium-bil också). motorn och transmissionen från bosch är dåligt konstruerad (inte gjord för utomhusbruk eller med last). tl;dr cykelergonomi den är tung . det är inte säkert det gör något. det är inget som känns så länge man cyklar. för mig som normal man är det inget ohanterbart när jag leder eller baxar runt den men jämfört med något som är lätt är den tung. jag vet inte hur tung den är jämfört med andra lådcyklar. jag har tyvärr inte vägt den för att få en rättvisande siffra att jämföra med; en med batteriet på och lådan monterad. den är smidigare än den ser ut. i tighta 90-gradershörn måste man planera lite och kanske ge sig ut i mötande fält. vid tillfälle av 180-graderssväng är det stor risk man måste gå av och leda den fram och tillbaka för att få runt den. att parkera den i cykelställ är som att parkera en bil, man tittar först och svänger sedan och lyckas på första eller andra försöket. det är inget problem att cykla eller leda med två 6-åringar. den vobblar när man cyklar utan att hålla i styret . lösningen är att hålla i styret så det är inte kritiskt men det antyder svaj i ramen. jag har inte jämfört med någon annan lådcykel. jag har cyklat i 50+ km/h, utan barn, vilket känns tryggt , ingen vobbelkänsla alls. det är bra, för jag vill ogärna ramla i den farten med barn i lådan. med 2 6-åringar i lådan höll ja 40+ km/h och var inte det minsta orolig. barnen tjöt av glädje och tyckte det var bättre än liseberg. den ramlar långsamt . vi har ramlat med och utan barn. högre fart i den förra och mer “tappa cykeln” för den senare. barnen satt fastspända och undrade vad de skulle göra medan de väntade på att vi lyfte cykeln igen. det kändes betydligt tryggare än att ha barn på stol på pakethållaren. en egenskap med att ramla med cykeln är att den ramlar långsammare än en vanlig cykel. jag kan inte säga exakt vad det är men jag upplever jag har mer tid på mig att parera och styrningsmekaniken hindrar fullt utslag så man slipper få styret i magen eller fastna mellan ram och styre. jag har också provocerat cyken med halka, sväng, nerförsbacke och fart till en ordentlig ramling (utan barn). utan att kunna jämföra med samma ramling med en vanlig cykel (såå roligt är det inte att ramla) tyckte jag det kändes bra. man sitter inte framåtlutad. eftersom man inte trampar med kraft finns det väldigt lite som håller upp rumpan och ryggen. att sadeln är fjädrad är ingen tillfällighet. detta borde gälla alla elcyklar och mer ju mer bakåtlutad sittpositionen är. en av orsakerna jag valde denna lådcykeln framför annan lådcykel är att denna var mindre bakåtlutad . jag hade dock önskat ännu mer framåtlutning. stödet bra och lite dåligt. först det bra: den är otroligt stabil. jag låter 7-åringarna klättra i och ur den parkerade cykeln och leka i den utan att vara rädd eller ens behöva stå i närheten. den får dock inte stå i nerförsbacke då stödet har precis höjd för att den skall glida sakta framåt och eventuellt (jag har testat lite grann och inte råkat ut för det) fälla upp stödet. uppförsbacke borde fungera bra. eventuellt kan ett tjockt gummiband över bromshandtagen lösa det. trehjuliga lådcyklar har en handbroms, kanske skulle denna ha det också. eller lås bakhjulet. det är också ganska vanligt jag slår i smalbenet när jag ställer cykeln på stödet. framhjulsupphängningen . behövs verkligen fjädring fram? jag kan inte avgöra det. däremot känner jag att hela framhjulsupphängningen, om det är styrlager, navlager, fjädring eller broms kan jag inte avägra, glappar vid bromsning. det är inget problem men i en känslig svängande nerförsbacke är det svårt att känna hur bromsen tar. färg . roligare än svart. tråkigare än orange. mycket fin röd färg på överdraget. motorn walk assist är undermålig. den är för klen , alldeles för klen. en unge i lådan och en liten uppförsbacke blir jobbigt, speciellt som det är jobbigare att leda en lådcykel som är tyngre än en vanlig cykel och man inte vill luta. den orkar precis dra sin egen vikt om det inte lutar mer än någon grad uppför. den är oergonomisk. ett tryck på en liten plastknapp och sedan hålla inne en annan medan man samtidigt håller handen på handtaget är jobbigt. lägg till ett par vantar, eftersom det finns några av oss som inte cyklar bara soliga varma dagar, och man känner inte ens knappen ordentligt. temperaturkänslig motor. specifikationen är några få minusgrader för motorn. en cykel med en motor till det priset monterad borde inte få säljas i sverige utan en varningsskylt. bosch ligger i tyskland. där finns det garanterat minusgrader. jag har cyklat i 5 cm snö och det fungerar bra. hjulen är breda, vilket är både bra och dåligt i snö, men jag antar de breda hjulen behövs p.g.a. vikten. temperaturkänsligt batteri. jag kommer inte ihåg specen för batteriet men ett batteri för flera tusen skall hantera flera minusgrader. det gör det inte enligt specifikation. mycket friktion i motorn och drivningen. att cykla utan batteri är bara att glömma. det är riktigt, riktigt trögt att trampa runt pedalerna utan batterihjälp. för en billig motor hade jag varit ok med det men för en såpass dyr som detta är, är jag inte nöjd. det borde sitta en varningsskylt: denna “cykel” har inget praktiskt bruk utan batteri. [det kommer komma mer information.] tags: bicycle , review | categories: uncategorized | no comments » publishing dotnet core 2 – dependencies manifest … was not found august 31st, 2017 if you try to run a stand alone / self contained dotnet core 2 solution you might run into something like: c:\myapp\bin\release\netcoreapp2.0\win10-x64>testruncore2.exe error: an assembly specified in the application dependencies manifest (testruncore2.d eps.json) was not found: package: 'runtime.win-x64.microsoft.netcore.app', version: '2.0.0' path: 'runtimes/win-x64/lib/netcoreapp2.0/microsoft.csharp.dll' it might be because you haven’t published properly to get all the dotnet files. or, as in my case, i was standing in the […\win10-x64] folder and not in the [..\win10-x64\publish] folder. i thought that by standing the [\win10-x64] folder, where my [testruncore2.exe] file was, dotnet would reach into the [publish] folder. i then noticed that the [publish] folder contains both my exe and the dotnetcore files. tags: dotnet core | categories: code and development | 2 comments » simple connect a mongo client container to a mongodb container august 14th, 2017 i tried this on osx. it probably works on windows too. in this article we create a container with mongodb and some contents and then connect to it from another container. just for personal reasons the client container is really a “aspnet container” and not connected to mongodb to start with. even though i liked typing my way around docker i tried and discovered the free kitematic by docker. it gives me a very simple overview but i hope it to evolve some in the future to include a little more, like the git-githubdesktop-sourcetree journey. create a mongo database with contents open kitematic and create a mongodb container. select exec to get a terminal. now, inside the container, connect to the built-in mongo: mongo just for fun, see what databases we have: show dbs create two new records. db.runcommand({insert:"projects", documents:[{_id:1, name:"alpha"}] }) db.runcommand({insert:"projects", documents:[{_id:2, name:"beta"}] }) the result should be { "n" : 1, " ok " : 1 } for each call where “n” denotes the number of records inserted and “ok” the success. see what we have of databases again, to find the new database “projects”. show dbs step into the database: (is this really necessary?) use projects query what we have: db.runcommand({find:"projects"}) now we have a container running mongodb with data in it. you can leave mongodb and the container but make sure it is not stopped. create another container containerising is about selecting an image and then adapting it to you needs. i use a lot of dotnet and hence choose to select a dotnet core image. search in kitematic for “aspnetcore” and select one. which to chose can be complex; by the time of writing there are 2 from microsoft. which to choose is another subject and also subject to change. when the container is started update it and then install mongodb. apt-get update apt-get install mongodb note: updating the container with apt-get is something one probably don’t do as such tasks should be scripted. but here we are experimenting. we don’t want the database in this container, only the client, but is easier to find an apt-get for the whole database than for just a client. we now have 2 running containers and if you didn’t fiddle around too much they are sharing network. the network can be inspected: docker network inspect bridge which results in something like: "containers": { "2fae...eb2a": { "name": "aspnetcore", ... "ipv4address": "172.17.0.3/16", ... }, "f565...3856": { "name": "mongo", ... "ipv4address": " 172.17.0.2/ 16", ... } there we have the ip addresses. out of the box docker containers don’t have a name resolution so we’ll use the ip address to connect. so connect with: mongo 172.17.0.2 and query as before: db.runcommand({find:"projects"}) yay! two connected containers, one running a mongo database and one connected to it and prepared for aspnetcore love. tags: aspnetcore , container , docker , mongodb | categories: code and development | no comments » git – github – source tree august 14th, 2017 i thought of calling this article the value of tools. i started with git at the command prompt. the threshold was high. not only was the way of treating my precious source code files new but i also had to learn new commands and how to parse the returned text. then came what is now called github desktop . it made simple tasks even simpler. it couldn’t do any hard tasks but i was perfectly comfortable with this since 99% of my tasks are simple. it is just when i mess up git i need more horse power. so came source tree which made harder tasks easier. not easy since one has to be concentrated; and source tree has a number a bugs and caveats that makes it not as simple to use as github desktop. a client that is very good for what it is good at might suffice. to build a graphical tool for git that is both easy to use for less knowledgable people and complete for an advanced git user is hard, even impossible. alas: the solution to build a simple tool for simple tasks and an advanced tool for advanced tasks is a good idea. tags: git , github desktop , scm , source tree , tools | categories: code and development | no comments » some docker memos august 13th, 2017 list images docker images start a container and a terminal docker run -ti --rm microsoft/aspnetcore –rm is used to have docker remove the container when it is stopped. start a container and map a folder docker run -ti --rm -v '/my/rooted/host/folder':'/myrootedcontainerfolder' microsoft/aspnetcore start a container, open a network hole, map a folder and start a process (a web server in this case) docker run -p80:80 -ti --rm -v '/myrootedfolder/webapplication1/bin/debug/netcoreapp1.1/publish':'/web' microsoft/aspnetcore /bin/bash -c 'cd /web; dotnet webapplication1.dll' connect to a running container see more att https://stackoverflow.com/a/30173220/521554 to list the active processes: docker ps then attach through: docker exec -it <mycontainer> bash list also not running containers docker ps -a remove old containers find the old containers docker ps -a remove chosen docker rm <container id> there is no risk in removing running containers with above command. see the ip addresses used by the containers docker network inspect bridge tags: docker | categories: code and development | no comments » aspnet core 1.1 and visual studio 2017 running in docker container in osx august 12th, 2017 i happen to have osx as host and win10 as virtual machine. i have also mapped a folder so it is reachable from both osx and windows. osx has docker installed. create the project in windows/visual studio 2017 create a blank solution somewhere both windows and osx can reach. in this article i chose \\mac\home\documents\projekt whatever dotnet version is visible at the top of the dialogue is not of interesting as we are creating a solution file and not much more and then we add dotnet core specific stuff. you can search for the template through “empty” or “blank”. add an aspnet core application project. keep the standard name of simplicity. the path is in the solution \\mac\home\documents\projekt\solution1 dotnet version is still not necessary as it refers to dotnet framework and we are caring about dotnet core. select dotnet core 1.1. this text is written in august 2017 and dotnet core 2 is due november. select webapi. do not add docker support. it would probably not make any change but in this exercise we are targeting running the container in osx. if you change your mind and do want docker-for-windows support you can always do that later with the click of a button. when the project is added compile and run to see that all cog wheels are in place and in working order. tip from the trenches: ctrl-f5 compiles, starts the web server and pop ups a web browser in one click, without having to start the debugger. note the url. it is something like http://localhost:2058 /api/values where /api/values is something to briefly remember. see that in the browser window there is the text [“value1″,”value2”]. it is created through the get method in class controllers/valuescontroller.cs the “normal mvc way”. publish in windows if you right click the project (=activate the context menu in the solution explorer pane on the webapplication1 project) there is a choice “publish…”. afaik it is used for windows or dotnet framework stuff so leave it be. instead we use the cli for restoring, publishing and activating. if you open the console in windows you cannot use the unc path we have put the project in. so instead use pushd like so: > pushd \\mac\home\documents\projekt\solution1\webapplication1 then restore the files with dotnet restore. restoring in this case means pulling in all dependencies so we have everything we need. it will look someting like: > dotnet restore restoring packages for v:\documents\projekt\solution1\webapplication1\webapplication1.csproj… generating msbuild file v:\documents\projekt\solution1\webapplication1\obj\webapplication1.csproj.nuget.g.props. writing lock file to disk. path: v:\documents\projekt\solution1\webapplication1\obj\project.assets.json restore completed in 1,58 sec for v:\documents\projekt\solution1\webapplication1\webapplication1.csproj. restore completed in 1,81 sec for v:\documents\projekt\solution1\webapplication1\webapplication1.csproj. nuget config files used: c:\users\username\appdata\roaming\nuget\nuget.config c:\program files (x86)\nuget\config\microsoft.visualstudio.offline.config feeds used: https://api.nuget.org/v3/index.json c:\program files (x86)\microsoft sdks\nugetpackages\ now publish with publish: > dotnet publish microsoft (r) build engine version 15.1.1012.6693 copyright (c) microsoft corporation. all rights reserved. webapplication1 -> v:\documents\projekt\solution1\webapplication1\bin\debug\netcoreapp1.1\webapplication1.dll as we didn’t specify an output path we get the result in bin\debug\netcoreapp1.1\ . > dotnet run hosting environment: production content root path: v:\documents\projekt\solution1\webapplication1 now listening on: http://localhost:5000 application started. press ctrl+c to shut down. note the back slashes and that i never said to change os. we have just started the web server in windows. check it by opening a web browser and go to http://localhost:5000/api/values you should have [“value1″,”value2”] as output. nothing surprising. shut down the application ( ctrl-c in the console ) and refresh the browser to verify that we really are surfing to our site and not visual studio and iis(express). if you want to go spelunking in the container try opening a terminal directly or connecting one. osx open an osx terminal at your web project, where webapplication1.csproj is. typically something like /users/username/documents/projekt/solution1/webapplication1 if you do a dotnet run now you get an error. > dotnet run /usr/local/share/dotnet/sdk/1.0.1/sdks/microsoft.net.sdk/build/microsoft.packagedependencyresolution.targets(154,5): error : assets file ‘/users/username/documents/projekt/solution1/webapplication1/v:/documents/projekt/solution1/webapplication1/obj/project.assets.json’ not found. run a nuget package restore to generate this file. [/users/username/documents/projekt/solution1/webapplication1/webapplication1.csproj] /var/folders/5l/1bssc0z152s_shv8j8nb9htm0000gn/t/.netcoreapp,version=v1.1.assemblyattributes.cs(4,20): error cs0400: the type or namespace name ‘system’ could not be found in the global namespace (are you missing an assembly reference?) [/users/username/documents/projekt/solution1/webapplication1/webapplication1.csproj] alas restore, publish and run. > dotnet restore restoring packages for /users/username/documents/projekt/solution1/webapplication1/webapplication1.csproj… restore completed in 784.3 ms for /users/username/documents/projekt/solution1/webapplication1/webapplication1.csproj. generating msbuild file /users/username/documents/projekt/solution1/webapplication1/obj/webapplication1.csproj.nuget.g.props. writing lock file to disk. path: /users/username/documents/projekt/solution1/webapplication1/obj/project.assets.json restore completed in 1.7 sec for /users/username/documents/projekt/solution1/webapplication1/webapplication1.csproj. nuget config files used: /users/username/.nuget/nuget/nuget.config feeds used: https://api.nuget.org/v3/index.json why we need to restore it again is something i haven’t grokked yet. to be honest – if i hadn’t tricked you into, unnecessarily, restoring on the windows machine first you wouldn’t have noticed. > dotnet publish microsoft (r) build engine version 15.1.548.43366 copyright (c) microsoft corporation. all rights reserved. webapplication1 -> /users/username/documents/projekt/solution1/webapplication1/bin/debug/netcoreapp1.1/webapplication1.dll > dotnet run hosting environment: production content root path: /users/username/documents/projekt/solution1/webapplication1 now listening on: http://localhost:5000 application started. press ctrl+c to shut down. open another console and curl: > curl localhost:5000/api/values to get the result: [“value1″,”value2”] you can of course open a web browser to do the same. don’t forget to stop the application if you want to continue as otherwise a file might get locked. start container install docker on your mac unless you already have. you can probably do whatever is described here on your win10 machine with docker for windows. but i happen to have osx and a virtualised windows10 through parallels. it is said to be possible to run docker for windows in parallels but then i have to fork out another 50€ (per year?) for the pro version; and having a virtualised windows to virtualise yet a machine creates a performance penalty also on the host os. my machine is running warm and noisy as it is. start > docker run -p80:80 -ti –rm -v /users/username/documents/projekt/solution1/webapplication1/bin/debug/netcoreapp1.1:/web microsoft/aspnetcore /bin/bash -c ‘cd /web/publish; dotnet webapplication1.dll’ hosting environment: production content root path: /web/publish now listening on: http://+:80 application started. press ctrl+c to shut down. caveat : for almost a full day i got the error message docker: invalid reference format. which was somehow related to microsoft/dotnet:1.1.2-runtime which was wrong because when i rewrote the very same text it suddenly started. my first guess was that there was a hidden character somewhere but i rewinded to an earlier command that had failed and suddenly it worked. if you care already now about the parameters for docker run they are: -p80:80 i did not want to make this quick start unnecessary complex by having lots of different ports so everything is running on port 80. with that said; as kestrel (the web server we instantiated in program.cs runs in aspnet it talks on port 80. then we open a hole in the container from port 80 to port 80. this latter is what -p80:80 means. -ti this gives us a terminal, of sorts, and something about how it receives commands. -rm this one cleans up after our run so there is no halted container wasting hard drive space when the container stops. -v /user….:/web… this parameter lets the continer use /web to reach folder /user… where we have put our code. microsoft/aspnetcore this is the name of the image we use. an image is to a container what a class is to an object. in this article we don’t adapt the microsoft/aspnetcore image, created by microsoft especially to run aspnet core solutions, to anything but use it as it is. as we have not specified a version we get the latest. microsoft has many images for different uses. /bin/bas…tion1.dll’ execute a command in bash. the command happens to be “start the web server”. call the web server in the container then open another terminal and curl: > curl localhost:80/api/values [“value1″,”value2”] yay! the web server in the container runs your dotnet core web application. tags: aspnet core , container , docker , dotnet core , osx , visual studio 2017 , windows | categories: code and development | no comments » « older posts categories and ideas ideas cccommunicate code and development methods and leadership products and releases miscellaneous uncategorized my stuff compulsorycat is a small dotnet helper lib for getting meta data in a safe way. http://ideas..com/ is a site for ideas, ideas and ideas. it isn’t impossible, it only takes a bit more time. keyboard1337 – a keyboard layout for (swedish) programmers the us layout is better for most programming languages – but the french layout has some advantages. spiced up with swedish characters. tags .net-core architecture asp.net asp.net-core 1.1 asp.net core aspnetmvc cccommunicate code layout compulsorycat container csharp database debug debugging docker documentation dotnet dotnet core exception fail-at-once ie iis javascript license linq neo4j nunit open source osx primary key review shortcut solid code sql sqlserver tfs tip unit test visual studio windows windows 7 windows 8 windows service winforms xml comment recent posts powershell for devs, part 2 powershell for devs, part 1 when you are testing, you are not testing code; you are testing intention how i tested *every* authorisation, authorised or not recension av lådcykel riese-müller packster 80 © 2018 . stunning silence wordpress theme by brandon wang .

URL analysis for selfelected.com


https://www.selfelected.com/tag/windows-service/
https://www.selfelected.com/tag/nunit/
https://www.selfelected.com/aspnet-core-1-1-and-visual-studio-2017-running-in-docker-container-in-osx/#respond
https://www.selfelected.com/tag/sql/
https://www.selfelected.com/maker/
https://www.selfelected.com/tag/tfs/
https://www.selfelected.com/some-docker-memos/#startacontainerandaterminal
https://www.selfelected.com/how-i-tested-every-authorisation-authorised-or-not/
https://www.selfelected.com/tag/docker/
https://www.selfelected.com/tag/github-desktop/
https://www.selfelected.com/page/2/
https://www.selfelected.com/tag/compulsorycat/
https://www.selfelected.com/tag/shortcut/
https://www.selfelected.com/tag/aspnetmvc/
https://www.selfelected.com/tag/ie/

Whois Information


Whois is a protocol that is access to registering information. You can reach when the website was registered, when it will be expire, what is contact details of the site with the following informations. In a nutshell, it includes these informations;

Domain Name: selfelected.com
Registry Domain ID: 1589129237_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.ascio.com
Registrar URL: http://www.ascio.com
Updated Date: 2016-02-16T09:54:54Z
Creation Date: 2010-03-17T11:31:49Z
Registrar Registration Expiration Date: 2018-03-17T15:31:49Z
Registrar: Ascio Technologies, Inc
Registrar IANA ID: 106
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: +44.2070159370
For more information on Whois status codes, please visit https://icann.org/epp
Domain Status: OK
Registry Registrant ID:
Registrant Name: Ola Fjelddahl
Registrant Organization:
Registrant Street: Djurgaardsgatan 23B
Registrant City: Goteborg
Registrant State/Province:
Registrant Postal Code: 41462
Registrant Country: SE
Registrant Phone: +46.739733082
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email: [email protected]
Registry Admin ID:
Admin Name: Master Host
Admin Organization: One.com
Admin Street: Kalvebod Brygge 24
Admin City: Copenhagen V
Admin State/Province: Copenhagen V
Admin Postal Code: 1560
Admin Country: DK
Admin Phone: +45.46907100
Admin Phone Ext:
Admin Fax: +45.70205872
Admin Fax Ext:
Admin Email: [email protected]
Registry Tech ID:
Tech Name: Master Host
Tech Organization: One.com
Tech Street: Kalvebod Brygge 24
Tech City: Copenhagen V
Tech State/Province: Copenhagen V
Tech Postal Code: 1560
Tech Country: DK
Tech Phone: +45.46907100
Tech Phone Ext:
Tech Fax: +45.70205872
Tech Fax Ext:
Tech Email: [email protected]
Name Server: ns01.one.com
Name Server: ns02.one.com
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2017-07-14T17:31:25 UTC <<<

The data in Ascio Technologies' WHOIS database is provided
by Ascio Technologies for information purposes only. By submitting
a WHOIS query, you agree that you will use this data only for lawful
purpose. In addition, you agree not to:
(a) use the data to allow, enable, or otherwise support any marketing
activities, regardless of the medium used. Such media include but are
not limited to e-mail, telephone, facsimile, postal mail, SMS, and
wireless alerts; or
(b) use the data to enable high volume, automated, electronic processes
that sendqueries or data to the systems of any Registry Operator or
ICANN-Accredited registrar, except as reasonably necessary to register
domain names or modify existing registrations.
(c) sell or redistribute the data except insofar as it has been
incorporated into a value-added product or service that does not permit
the extraction of a substantial portion of the bulk data from the value-added
product or service for use by other parties.
Ascio Technologies reserves the right to modify these terms at any time.
Ascio Technologies cannot guarantee the accuracy of the data provided.
By accessing and using Ascio Technologies WHOIS service, you agree to these terms.

  REGISTRAR ASCIO TECHNOLOGIES, INC. DANMARK - FILIAL AF ASCIO TECHNOLOGIES, INC. USA

  REFERRER http://www.ascio.com

SERVERS

  SERVER com.whois-servers.net

  ARGS domain =selfelected.com

  PORT 43

  SERVER whois.ascio.com

  ARGS selfelected.com

  PORT 43

  TYPE domain

DOMAIN

  NAME selfelected.com

NSERVER

  NS01.ONE.COM 195.206.121.10

  NS02.ONE.COM 195.206.121.138

STATUS
ok https://icann.org/epp#ok

  CHANGED 2016-02-16

  CREATED 2010-03-17

  EXPIRES 2018-03-17

  REGISTERED yes

Go to top

Mistakes


The following list shows you to spelling mistakes possible of the internet users for the website searched .

  • www.uselfelected.com
  • www.7selfelected.com
  • www.hselfelected.com
  • www.kselfelected.com
  • www.jselfelected.com
  • www.iselfelected.com
  • www.8selfelected.com
  • www.yselfelected.com
  • www.selfelectedebc.com
  • www.selfelectedebc.com
  • www.selfelected3bc.com
  • www.selfelectedwbc.com
  • www.selfelectedsbc.com
  • www.selfelected#bc.com
  • www.selfelecteddbc.com
  • www.selfelectedfbc.com
  • www.selfelected&bc.com
  • www.selfelectedrbc.com
  • www.urlw4ebc.com
  • www.selfelected4bc.com
  • www.selfelectedc.com
  • www.selfelectedbc.com
  • www.selfelectedvc.com
  • www.selfelectedvbc.com
  • www.selfelectedvc.com
  • www.selfelected c.com
  • www.selfelected bc.com
  • www.selfelected c.com
  • www.selfelectedgc.com
  • www.selfelectedgbc.com
  • www.selfelectedgc.com
  • www.selfelectedjc.com
  • www.selfelectedjbc.com
  • www.selfelectedjc.com
  • www.selfelectednc.com
  • www.selfelectednbc.com
  • www.selfelectednc.com
  • www.selfelectedhc.com
  • www.selfelectedhbc.com
  • www.selfelectedhc.com
  • www.selfelected.com
  • www.selfelectedc.com
  • www.selfelectedx.com
  • www.selfelectedxc.com
  • www.selfelectedx.com
  • www.selfelectedf.com
  • www.selfelectedfc.com
  • www.selfelectedf.com
  • www.selfelectedv.com
  • www.selfelectedvc.com
  • www.selfelectedv.com
  • www.selfelectedd.com
  • www.selfelecteddc.com
  • www.selfelectedd.com
  • www.selfelectedcb.com
  • www.selfelectedcom
  • www.selfelected..com
  • www.selfelected/com
  • www.selfelected/.com
  • www.selfelected./com
  • www.selfelectedncom
  • www.selfelectedn.com
  • www.selfelected.ncom
  • www.selfelected;com
  • www.selfelected;.com
  • www.selfelected.;com
  • www.selfelectedlcom
  • www.selfelectedl.com
  • www.selfelected.lcom
  • www.selfelected com
  • www.selfelected .com
  • www.selfelected. com
  • www.selfelected,com
  • www.selfelected,.com
  • www.selfelected.,com
  • www.selfelectedmcom
  • www.selfelectedm.com
  • www.selfelected.mcom
  • www.selfelected.ccom
  • www.selfelected.om
  • www.selfelected.ccom
  • www.selfelected.xom
  • www.selfelected.xcom
  • www.selfelected.cxom
  • www.selfelected.fom
  • www.selfelected.fcom
  • www.selfelected.cfom
  • www.selfelected.vom
  • www.selfelected.vcom
  • www.selfelected.cvom
  • www.selfelected.dom
  • www.selfelected.dcom
  • www.selfelected.cdom
  • www.selfelectedc.om
  • www.selfelected.cm
  • www.selfelected.coom
  • www.selfelected.cpm
  • www.selfelected.cpom
  • www.selfelected.copm
  • www.selfelected.cim
  • www.selfelected.ciom
  • www.selfelected.coim
  • www.selfelected.ckm
  • www.selfelected.ckom
  • www.selfelected.cokm
  • www.selfelected.clm
  • www.selfelected.clom
  • www.selfelected.colm
  • www.selfelected.c0m
  • www.selfelected.c0om
  • www.selfelected.co0m
  • www.selfelected.c:m
  • www.selfelected.c:om
  • www.selfelected.co:m
  • www.selfelected.c9m
  • www.selfelected.c9om
  • www.selfelected.co9m
  • www.selfelected.ocm
  • www.selfelected.co
  • selfelected.comm
  • www.selfelected.con
  • www.selfelected.conm
  • selfelected.comn
  • www.selfelected.col
  • www.selfelected.colm
  • selfelected.coml
  • www.selfelected.co
  • www.selfelected.co m
  • selfelected.com
  • www.selfelected.cok
  • www.selfelected.cokm
  • selfelected.comk
  • www.selfelected.co,
  • www.selfelected.co,m
  • selfelected.com,
  • www.selfelected.coj
  • www.selfelected.cojm
  • selfelected.comj
  • www.selfelected.cmo
Show All Mistakes Hide All Mistakes