ASP.NET Core and Entity Framework Core are getting more and more attractive nowadays and this post will show you how to get the most of them in order to get started with building scalable and robus…
This article shows how to use MySQL with ASP.NET Core 1.0 using Entity Framework Core. Code: Thanks to Noah Potash for creating this example and adding his code to this code base. The Entity Framew…
Bing.vc is a Search Engine invasion which will take over the home page in the browser. It can be deleted with the following steps.
1.Use command to delete the “IconOverlayEx.dll”;
a. Locate the dll in the folder “Users\youraccount\AppData\Local”;
b. Use command “attrib -r -s -h” to unprotect the dll, because access is normally denied.
c. Use command “del” to delete this dll;
d. Restart the windows;
2. Reset the settings in all Browsers, e.g. Chrome, IE, Firefox, etc.
The bane of every developer: Visual Studio doesn’t hit your breakpoints! It usually happens when creating extensions for a program and there are two general reasons for this:
- Visual Studio and the program to be extended load different versions of your extension
- Visual Studio 2010 uses the wrong debugger
I’ll use SharePoint and a .dll file as an example but you can substitute “SharePoint” with “program to extend” and “.dll” with your type of extension.
Visual Studio and the Program to be Extended Load Different Versions of Your Extension
Use Process Explorer (see External References section) to check from where Visual Studio (process devenv.exe) and SharePoint (one of the w3wp.exe processes or the OWSTIMER.EXE process) load your .dll file. Chances are that the locations don’t match.
One problem I found was that SharePoint loaded the correct version of the .dll file from the GAC (C:WindowsassemblyGAC_MSIL…) but Visual Studio loaded it…
View original post 431 more words
New threads can be started using the Task Programming Library in .NET in – at last – 5 different ways.
You’ll first need to add the following using statement:
The most direct way
…where PrintMessage is a method:
Using a delegate
Lambda and named method
Lambda and anonymous method
Using Task.Run in .NET4.5
Using Task.FromResult in .NET4.5 to return a result from a Task
You cannot start a task that has already completed. If you need to run the same task you’ll need to initialise it again.
View the list of posts on the Task Parallel Library here.
The title means “day by day to study, better and better to be”.