In Windows 8 & 10, you have to right-click devenv.exe and select “Troubleshoot compatibility”.
- select “Troubleshoot program”
- check “The program requires additional permissions”
- click “Next”
- click “Test the program…”
- wait for the program to launch
- click “Next”
- select “Yes, save these settings for this program”
- click “Close”
Trace in .Net is supposedly efficient. Well, it’s not.
It’s easy to just add a Seq Trace Sync for example and not think too much about it… Well, do so at your own peril.
Adding the Trace Sync to Serilog and the fact that the Owin Test Server adds a new Trace Listener every time it’s spun up = a SLOW death and hard to track down.
So remember, TRACE MAKES SHIT SLOW.
I’ve got a Netgear Nighthawk R7000 router which I have flashed with DD-WRT v3.0-r29316 std. It’s amazing, yada yada.
I wanted to get my printer which is currently shared off my media centre PC onto the router so that it’s more available to everyone on the network. Following are the steps I needed to follow:
- Turn the USB printing feature of the DD-WRT on:
- Connect the powered on printer to a USB port on the router
- SSH into the router (root and your router admin password), and check to see there is an lpt port available with
ls -la /dev/l*
- Then check to see that there is something listening on port 9100 with
- Go to the Windows
Devices and Printers screen, and add a new NETWORK printer
The printer that I want isn't listed
Add a printer using a TCP/IP port or hostname
Autodetect for the
Device Type field
- Use the IP address of the router for the
Hostname or IP field
Query the printer and automatically select the driver to use
- It will fail to detect the port (9100)… that’s ok
Custom on the
Additional port information required screen
- Give the port a name and make sure the
port number field has the value
- Go through the fdriv
CREATE LOGIN [IIS APPPOOL\<app pool name>] FROM WINDOWS;
CREATE USER <app pool name> FOR LOGIN [IIS APPPOOL\<app pool name>];