You want to extract a domain from URL. The list of URLs to support might be as below. For this list you expect the domain [crayon-5ed8cd9596772572448513-i/] : sub.domain.com/folder?p1=v1 www.sub.domain.com/folder?p1=v1 http://sub.domain.com/folder?p1=v1 https://sub.domain.com/folder?p1=v1 https://www.sub.domain.com/folder?p1=v1 For this list you expect
I’m using AppVeyor CI for my small open-source projects and bumped into an issue with integration tests which need a different connection string in different environments. I’ll describe how this can be solved in two ways. The 1st
It is important if your item will be used as a key in a dictionary, or HashSet, etc – since this is used to group items into buckets (in the absence of a custom IEqualityComparer).
If you notice that the context returns the same entity even if it is already changed one line before, you probably what the following [crayon-5ed8cd9596fce445665390/] You can use it right after obtaining an entity with a statement like
In the middle of a project you might want to automate DB restoring and upgrading by means of existing SQL scripts which may contain GO-statements. If you are that person who is attempting to execute scripts at runtime with GO-statements, this
My list of Visual Studio extensions which make developing easier and more comfortable. Tool Description ILSpy Integrates the ILSpy decompiler into Visual Studio. ILSpy is the open-source .NET assembly browser and decompiler. Milti Language Spell Checker