Wednesday, September 20, 2017

Remote Desktop Manager

A new favorite remoted desktop connection manager - https://remotedesktopmanager.com/



Lots of options for importing existing settings, online backup, dark theme, export. Pretty smooth operation, as well.


Monday, September 18, 2017

Desktop Clock

Finally a decent analog clock for desktop .



http://www.clocx.net/



Transparency, variety of backgrounds, seconds arm, calendar...

The only missing feature is the ability to have multiple instances or clocks for various time zones.

Friday, August 25, 2017

Identity Server resources

As Identity Server in .Net speeds along, with breaking changes in the stack all over the place, here are some resources that might help resolve numerous questions and issues that arise during implementation:
  • When looking for an example, check the Samples repository
  • Example on how to mix b2b and user authentication in the host (link)

Tuesday, July 18, 2017

Free Web Hosting

Here are a few providers I've tried, along with the findings.

Google

Pro: Reliable.
Con: Not so simple to deploy the site or link a domain.

000webhost

Pro: FTP access. Allows domain redirect.
Con: ?

Other

Link to some current hosting providers:
  • 15 Best Free Web Hosting Sites (2017) (link)

Wednesday, June 21, 2017

Unable to run MMC in author mode on Windows 7

A strange error preventing me from opening the management console (MMC) started appearing recently. This is probably a result of some Windows Update.

"You cannot open Microsoft Management Console in author mode because of current computer policies."

There was nothing set in the policies, though, that is visible from GPEdit. Fortunately, the solution is simple: set the registry key

HKEY_CURRENT_USER\software\policies\Microsoft\MMC\RestrictAuthorMode to 0.

Source: link

Tuesday, June 20, 2017

Android Instant Apps

OK, if this is not so new it is at least unexpected. From my side, at least.

We've had applets, Silverlight, and the myriad of JavaScript frameworks and libraries. However, the way Android apps are evolving seems rather interesting. I guess this is how apps were supposed to work. The "runner" downloads just the portion required to work.

Sounds like a hybrid between an HTML and mobile app. Let's see if and how will it work. Exciting to try to enable this in some existing apps and get out of the cycle of committing changes, merging, compiling, publishing, and waiting for beta testers to run the app for a while, and then the regular users to update. And some of them never do.


Source: Android Instant Apps

Tuesday, June 13, 2017

Unit Testing with C#

It is refreshing, after all these years, to see the same frameworks around. Matured, they are now recommended as the best options for unit testing in the C# world.

There's a newcomer, though - AutoFixture. Time to add it to the arsenal.



In summary:

  • xUnit
  • Moq
  • AutoFixture
are the things you need for unit and integration testing. Visual Studio nowadays includes a decent test runner GUI. It only takes installing the runner package for xUnit to recognize the tests.



Source: The Holy Trinity of C# Unit Testing (link)

Sunday, June 4, 2017

Google Music Manager - "Could not identify your computer"

Here's a note in case I forget what the actual reason for this message was or how it was resolved.

After not using Google Music Manager for a while, I tried to log in to upload a couple of recordings to share. Unfortunately, I could not log in on the PC. It was giving me the "Could not identify your computer" error message after going through the 2-step authentication.

Reading online pointed out that, for whatever reason, Music Manager clings to a device's MAC address. This was a good pointer.

Checking the network device properties / configure / advanced, there was only one property available - Network Address. Fortunately, this is exactly the one I needed. It was set to Not Present, as it normally should. As I was connecting using USB tethering, I guess this value was never really set.

So I set the value manually to 1F-2E-3D-4C-5B-6A. This is a simple value that follows the specs. And, voila! It worked.

In the meantime, I also tried switching to a Wi-Fi connection but that did not work somehow. In the properties, there was no property for Network Address so I could not see what it was nor modify it.

Saturday, June 3, 2017

Public ClipArt Libraries

Here is a list of public clipart libraries:
  • Open Clipart (link), a large collection of public .SVG drawings
More link collections:
  • Free Vector Graphics (link) 1
  • Free Vector Graphics (link) 2

Thursday, June 1, 2017

Quickly test SQL connection

The quickest way to test an SQL connection is to create a new file with .UDL extension.

Then simply double-click on it to open and a connection properties window will open up, allowing to test a server connection.

Unfortunately, this will not help if you need to use integrated authentication but have to impersonate another user.

Thursday, February 2, 2017

Grid/Table Options for MVC

Here are a few nice-looking options I've tried recently, while looking for a working grid/table solution for an MVC application:
  • DataTables.Net (link)
  • MVCGrid.net (link)
  • Asp.Net MVC Grid (link), based on MVCContrib
All of these apparently support server-side paging and sorting.
 

Monday, January 9, 2017