Posted on Leave a comment

c# – LDAP – Retrieve a list of all attributes/values? – Stack Overflow

foreach (string propName in props.PropertyNames) { if (entry.Properties[propName].Value != null) { Console.WriteLine(propName + ” = ” + entry.Properties[propName].Value.ToString()); } else { Console.WriteLine(propName + ” = NULL”); } }

Source: c# – LDAP – Retrieve a list of all attributes/values? – Stack Overflow

Posted on Leave a comment

Scaffold Identity in ASP.NET Core projects | Microsoft Docs

Scaffold Identity in ASP.NET Core projects 10/23/2018 12 minutes to read +1 By Rick Anderson ASP.NET Core 2.1 and later provides ASP.NET Core Identity as a Razor Class Library. Applications that include Identity can apply the scaffolder to selectively add the source code contained in the Identity Razor Class Library (RCL). You might want to generate source code so you can modify the code and change the behavior. For example, you could instruct the scaffolder to generate the code used in registrati

Source: Scaffold Identity in ASP.NET Core projects | Microsoft Docs

Posted on Leave a comment

Secure your ASP.NET Core 2.0 API (part 1 – issuing a JWT)

You’ve built the API but what about security?There are many reasons you might choose to expose an API from your ASP.NET Core 2.0 app: supporting windows-based software, another web application, or maybe you’re building a SAAS product and want to give advanced users some mechanism to integrate with your platform.

Source: Secure your ASP.NET Core 2.0 API (part 1 – issuing a JWT)

Posted on Leave a comment

Set up a single-app kiosk (Windows 10) | Microsoft Docs

Set up a single-app kiosk

  • Windows 10 Pro, Enterprise, and Education
A single-app kiosk uses the Assigned Access feature to run a single app above the lockscreen.

When the kiosk account signs in, the app is launched automatically. The person using the kiosk cannot do anything on the device outside of the kiosk app.

Illustration of a single-app kiosk experience

 Important

User account control (UAC) must be turned on to enable kiosk mode.

Kiosk mode is not supported over a remote desktop connection. Your kiosk users must sign in on the physical device that is set up as a kiosk.

You have several options for configuring your single-app kiosk.

Method Description
Locally, in Settings The Set up a kiosk (previously named Set up assigned access) option in Settings is a quick and easy method to set up a single device as a kiosk for a local standard user account.

This method is supported on Windows 10 Pro, Enterprise, and Education.

PowerShell You can use Windows PowerShell cmdlets to set up a single-app kiosk. First, you need to create the user account on the device and install the kiosk app for that account.

This method is supported on Windows 10 Pro, Enterprise, and Education.

The kiosk wizard in Windows Configuration Designer Windows Configuration Designer is a tool that produces a provisioning package, which is a package of configuration settings that can be applied to one or more devices during the first-run experience (OOBE) or after OOBE is done (runtime). You can also create the kiosk user account and install the kiosk app, as well as other useful settings, using the kiosk wizard.

This method is supported on Windows 10 Pro (version 1709 and later), Enterprise, and Education.

Microsoft Intune or other mobile device management (MDM) provider For managed devices, you can use MDM to set up a kiosk configuration.

This method is supported on Windows 10 Pro (version 1709 and later), Enterprise, and Education.

Source: Set up a single-app kiosk (Windows 10) | Microsoft Docs