Skip to main content

Posts

Showing posts from October, 2018

Side by Side user scoped .NET Core installations on Linux with dotnet-install.sh

I can run .NET Core on Windows, Mac, or a dozen Linuxes. On my Ubuntu installation I can check what version I have installed and where it is like this: $ dotnet --version 2.1.403 $ which dotnet /usr/bin/dotnet If we interrogate that dotnet file we see it's a link to elsewhere: $ ls -alogF /usr/bin/dotnet lrwxrwxrwx 1 22 Sep 19 03:10 /usr/bin/dotnet -> ../share/dotnet/dotnet* If we head over there we see similar stuff as we do on Windows. Basically c:\program files\dotnet is the same as /share/dotnet. $ cd ../share/dotnet $ ll total 136 drwxr-xr-x 1 root root 4096 Oct 5 19:47 ./ drwxr-xr-x 1 root root 4096 Aug 1 17:44 ../ drwxr-xr-x 1 root root 4096 Feb 13 2018 additionalDeps/ -rwxr-xr-x 1 root root 105704 Sep 19 03:10 dotnet* drwxr-xr-x 1 root root 4096 Feb 13 2018 host/ -rw-r--r-- 1 root root 1083 Sep 19 03:10 LICENSE.txt drwxr-xr-x 1 root root 4096 Oct 5 19:48 sdk/ drwxr-xr-x 1 root root 4096 Aug 1 18:07 shared/ drwxr-xr-x 1 root root 4096 Feb ...

Cisco CCNA Wireless Certification Exam Questions From PrepAway – Build Your Career of Successful Network Engineer

Cisco Corporation offers a scope of products and conveys coordinated solutions to create interface networks around the world. The organization’s exchanging items offer different types of availability to end clients, workstations, Internet Protocol (IP) telephones, wireless access points, and Servers and furthermore work aggregators on Wireless Local Area Network (WLAN). Image Source Description Cisco is a renowned vendor for different certifications tailored to approve the abilities of IT experts in the tech business. Among them is Cisco Wireless Network Associate certification acquired by completing the “Implementing Cisco Wireless Network Fundamentals (WiFUND)” course and Cisco 200-355 exam. CCNA Wireless certification is designed for people who have system administration foundational skills and basically need to find out about wireless systems, especially Cisco Wireless Systems. All through the whole course, candidates get from top to bottom comprehension of systems administrat...

Dependabot for .NET Core dependency tracking in GitHub

I've been exploring automated dependency tracking lately. I usually use my podcast's ASP.NET Core website that I host on Github as a guinea pig. I tried Nukeeper and the dotnet outdated global tool - both of which are fantastic and worth exploring. This week I'm trying Dependbot . I have no relationship with this company. Public repos and personal account repos are free and their pricing is very clear and organization accounts start at just $15 with a free trial. I'm really impressed with how clever Dependabot is. It's almost like a person in its behavior. Yes, I realize that's kind of the point, but it's no less surprising to see. A well-written bot is a joy to behold. For example, here is a PR (Pull Request) where Dependbot says "Bumps Microsoft.ApplicationInsights.AspNetCore from 2.5.0-beta1 to 2.5.0-beta2." Basic stuff, right? But that's not all. It not only does the basics where it noticed that a version bump occurred in a NuGet ...

7 Critical Tips to Learn Programming Faster

Programming is a skill that more and more people have been learning over the past few years. In addition to the hundreds of thousands of Americans who work as computer programmers in the USA, there are thousands and thousands more who program for fun or in their spare time. However, learning this skill can sometimes feel like an uphill battle with a lot to learn and think about. In an effort to help you out, we have decided to craft an article all about providing you with some tips to help you learn programming faster. Image Source Consider Which Language You Will Learn Before even learning to program, you need to choose which programming language you will learn. Now, there is no rule about only having to learn a single language, but when you are just starting, there are some that are easier to learn and might make a better option to start with, such as Python and Java. If you start with a very complex and tough-to-learn language, it may deter you from continuing and getting so...

New prescriptive guidance for Open Source .NET Library Authors

There's a great new bunch of guidance just published representing Best Practices for creating .NET Libraries. Best of all, it was shepherded by JSON.NET's James Newton-King. Who better to help explain the best way to build and publish a .NET library than the author of the world's most popular open source .NET library? Perhaps you've got an open source (OSS) .NET Library on your GitHub, GitLab, or Bitbucket. Go check out the open-source library guidance . These are the identified aspects of high-quality open-source .NET libraries: Inclusive - Good .NET libraries strive to support many platforms and applications. Stable - Good .NET libraries coexist in the .NET ecosystem, running in applications built with many libraries. Designed to evolve - .NET libraries should improve and evolve over time, while supporting existing users. Debuggable - .NET libraries should use the latest tools to create a great debugging experience for users. Trusted - .NET libraries hav...

C# and .NET Core scripting with the "dotnet-script" global tool

You likely know that open source .NET Core is cross platform and it's super easy to do "Hello World" and start writing some code. You just install .NET Core, then "dotnet new console" which will generate a project file and basic app, then "dotnet run" will compile and run your app? The 'new' command will create all the supporting code, obj, and bin folders, etc. When you do "dotnet run" it actually is a combination of "dotnet build" and "dotnet exec whatever.dll." What could be easier? What about .NET Core as scripting? Check out dotnet script: C:\Users\scott\Desktop\scriptie> dotnet tool install -g dotnet-script You can invoke the tool using the following command: dotnet-script C:\Users\scott\Desktop\scriptie>copy con helloworld.csx Console.WriteLine("Hello world!"); ^Z 1 file(s) copied. C:\Users\scott\Desktop\scriptie>dotnet script helloworld.csx Hello world! NOTE: I was a lit...

Django Custom Webpage

In this tutorial, we’re going to create our first custom webpage in django. The main goal of this article for you to understand the whole flow of information in django website like if someone asks for specific url then how do we route them into the correct places and ultimately give them back some HTML. So before starting this article I am assuming that you’ve started the local server using python3 manage.py runserver  command in project directory. We’ve seen that whenever we create a project and run it in browser then django’s default page shows up. That’s isn’t our creation right. So let’s see how to create our own webpage in django. In previous articles, we’ve seen that anytime someone is looking for a URL on our website it comes to this “urls.py”. Currently we’ve path of admin/ in the list urlpatterns. That means when user goes to our website (currently = http://127.0.0.1:8000/)  and add a /admin in the url, user will be redirected to admin page of our django we...