Saturday, June 30, 2018

How to share Express VPN WIFI connection as Hotspot using Connectify Tip

How to share Express VPN WIFI connection as Hotspot using Connectify Tip:

1. Tweak the following Express VPN Settings
2. Close all
3. Open Express VPN, Connect
4. Ensure VPN Connection is working
5. Open Connectify select the ExpressVPN TapAdapter

*** this does NOT work on any Surface due MS dropping hostednetwork



Tuesday, June 26, 2018

Visual Studio 2012+ Improve Load Time, Performance, Build and Debugging Speed

See also:
http://jrdtechnologies.blogspot.com/2016/12/slow-visual-studio-debugging-experience.html

Union with tips from:

visual studio - Why is VS 2013 very slow? - Stack Overflow
https://stackoverflow.com/questions/19617670/why-is-vs-2013-very-slow

and
10 Tips to Improve Visual Studio Build Performance - CodeProject
https://www.codeproject.com/Tips/1042975/Tips-to-Improve-Visual-Studio-Build-Performance

I will compile shortly...

Settings to Maximize Battery Life, Minimize CPU Usage and Minimize HD Usage.

Device Manager and Power Settings to tweak to boost Battery/overall system longevity (I Hope): 


  Device Manager 
Start ...“Network adapters” -> Wireless-AC ->Advanced tab : change the “Preferred Band” to 5.2 GHz
then ->“Roaming Aggressiveness” : lower setting 
then “Power Management” -> “Allow the computer to turn off this device to save power” : checked. ...


…Ethernet Connection I
 “Enable PME” is set to enabled,
“Energy Efficient Ethernet” is set to on
 “System Idle Power Saver” is set to enabled.
“Power Management” tab and make sure again that the

“Allow the computer to turn off this device to save power” is checked again.


Power Plans
 “Adjust plan brightness” to the minimum usable brightness,
Change advanced power settings”. 
In “Desktop background settings” -> “Slide show” 

Rest Below



Saturday, June 23, 2018

Visual Studio to .Net FW Compatibility and Visual Studio to DevsExpress Compatibility

 

Visual Studio to .Net:

Each version of Visual Studio prior to Visual Studio 2010 is tied to a specific .NET framework. (VS2008 –> .NET 3.5, VS2005 –> .NET 2.0, VS2003 –> .NET1.1) Visual Studio 2010+ allows targeting of older .Net FW, but can’t be used for future .Net FW. For .Net 4.5+ we must use VS2012+, see below tables showing dependency mapping.

References:

Install Links for all .Net FW : Developer and Distribution Package

MS VS and .Net Version and Dependency Guide Detail

how to check .Net FW Versions

.Net to Visual Studio to Windows Version History & Compatibility Summary

.NET Framework version

Desc

VS.NET

OS

4.7.2

-Crypto+Asp.Net.

N/A

10,8.1,7; Svr: 2016, 2012, 2008R2Sp1

4.7.1

SHA/TryParse.

N/A

10,8.1,7; Svr: 2016, 2012, 2008R2Sp1

4.7

JSON.

 

10,8.1,7; Svr: 2016, 2012, 2008R2Sp1

4.6.2

- Cryptography enhancements,

 

10,8.1,7; Svr: 2016, 2012, 2008R2Sp1

4.6.1

- Support for X509 certificates

 

+ 10
+ 8.1
+ 8
+ 7

4.6

- Compilation using .NET Native
- ASP.NET Core 5

2015,.

10,8.1,7,Vista; Svr: 2016, 2012, 2008R2Sp1

4.5.2

Tx Support

-

8.1,7; Svr: 2012, 2008R2Sp1

4.5.1

- Support for Windows Phone Store apps
- Automatic binding redirection
- Performance and debugging

2013

8.1,7, Vista; Svr: 2012, 2008R2Sp1

4.5

- Support for Windows Store apps
- WPF, WCF, WF, ASP.Net

2012

8,7, Vista; Svr: 2012, 2008R2Sp1

4

- Expanded base class libraries
- Cross-platform development with Portable Class Library

2010

8,7, Vista; Svr: 2012, 2008R2Sp1

3.5

- AJAX- LINQ

2008

8,7, Vista; Svr: 2012, 2008R2Sp1

3.0

- WPF, WCF, WF

-

8,7, Vista; Svr: 2012, 2008R2Sp1

2.0

- Generics

2005

-

1.1

- ASP.NET and ADO.NET
- Side-by-side

2003

-

1.0

First version of the .NET Framework.

Visual Studio .NET

-

Visual Studio to .Net FW 1-4

.

.NET Framework version

CLR version

VS IDE version

Description

1.0

1.0

Visual Studio .NET

Contained the first version of the CLR and the first version of the base class libraries.

1.1

1.1

VS2003

Included updates to ASP.NET and ADO.NET.Has (SP1) and SP2.

2.0, 3.0

2.0, 3.0

VS2005

generics, generic collections, Has SP1 and SP2.

3.5

2.0

VS2008

AJAX-enabled Web sites LINQ. Has SP1

4

4

Visual Studio 2010

(MEF), (DLR), and code contracts.

Windows OS to .Net FW 1-4

.NET Framework versions

Windows versions

1.0, 1.1, and 2.0

No OS

3.0, 2.0SP2, 3.5

Windows Vista and Windows Server 2008.

3.5 SP1

Windows 7.

4

Compat Windows XP, Windows Server 2003+

image

 

 

Visual Studio to SharePoint Solutions:

image

 

Dev Express to Visual Studio Dependencies:

image

Windows : Clean Up old files and folders automatically!

so, you have a ton of files, accumulating, you want to clean them up/remove them once they hit a certain age, say 20 days old, Here is how to do that, very easy.

1. Create Windows Bat Files to Delete Files or Folders that are older than a certain age!

2. Save bat file to directory where you want to clean up files or sub folders

3. To automate, create a windows task that executes this bat file.

Delete Files


REM: Purge files
FORFILES /S /D -20 /C "cmd /c IF @isdir == FALSE del /F /Q @path"




Delete Folders


REM: Purge folders
FORFILES /S /D -30 /C "cmd /c IF @isdir == TRUE rd /S /Q @path"

Windows Firewall Block all Programs in a Folder

So..Say you want to block all internet connections for an exe(s) in a Windows folder, this bat file will Block All Internet connections save below cmds to a bat file, save to a folder with the exe(s) you want to block, and then Run this bat file. Voila!


@ setlocal enableextensions 
@ cd /d "%~dp0"

for /R %%a in (*.exe) do (

netsh advfirewall firewall add rule name="Blocked with Batchfile %%a" dir=out program="%%a" action=block

)