C# Corner

Resources  
  • Expression Bodied Members In C#Jan 18, 2018. What is Expression Bodied Members?1) Expression Bodied member is introduced in C#6.0 and enhanced in C#7.0. 2) Expression Bodied is a new technique or implementation to make code concise and readable. 3) Expression Bodied makes the type member(Constructor, Destructor, Methods, Property, Indexer) defined in a single expression. 4) Expression Bodied members can only be applied to the below list of type members: Constructor introduced in C#7.0 Destructor introduced in C#7.0 Property get accessor introduced in C#6.0 Property set accessor introduced in C#7.0 Methods introduced in C#6.0 Indexer introduced in C#7.0 The Syntax of expression body definition is:member => expression; where expression should be a valid expression and member can be any from above list of type members.Suppose we have a method or constructor that contain a single expression or line of code. Then In spite of using the traditional way to write code inside a method or constructor code block, we can write them as a single syntax. Those members who can follow this approach is known as Expression Bodied Members.
  • Segmented Control In Xamarin.iOSJan 16, 2018. In this article, we are going to create a Xamarin iOS application that contains UI Segmented control that let the user select the value between the certain range of values. We will create a simple application that contains the set of values and a user can select values among the available values.
  • Setting Up Xamarin Development Environment In Windows And iOSJan 09, 2018. This course aims to introduce Xamarin multi-platform development framework in my way of learning.
  • Setup React App Using Node.js, Webpack And TypeScriptJan 09, 2018. React is one of the leading technologies that is used to create single page applications(SPA). Some others are Angular and Vue.js. In this article we will learn how to set up a React project using Webpack, Node.js and Typescript.
  • Create Angular ComponentsJan 09, 2018. In our previous article, we set up our development environment and created our first Angular application. Clearly, Angular CLI is a genie for the developers – you just have to give a command,and it will create whatever you need.
  • Setting Up Google App Engine And Uploading An Image To Google Cloud Using PHPJan 09, 2018. In this article, you’ll learn how to deploy a PHP project to Google App Engine and how to upload an image to Google Cloud Bucket.
  • Availability Set, Fault Domains And Update Domains In Azure Virtual MachineJan 06, 2018. This article explains why one must plan Availability Set, Fault Domain and Update Domain while configuring Virtual Machines for Azure.
  • Customize Slider Control In Xamarin.FormsJan 05, 2018. This article demonstrates how to create and use a Customize Slider control in Xamarin.Forms, XAML, and C#. This article starts with the introduction of the Customize Slider tag in XAML. After that, it demonstrates how to set BorderColor, BorderWidth, CornerRadius, and IsCurvedEnabled of a Custom Entry. In the end, the article discusses how to create a Slider at run-time.
  • Intelligent Image Object Detection Bot Using Cognitive Computer Vision APIJan 02, 2018. Microsoft Cognitive services is set of cloud based intelligence APIs for building richer and smarter application development. Cognitive API will be used for searching meta data from Photos and video and emotions, sentiment analysis and authenticating speakers via voice verification.
  • Forgot Password And Reset Password Link On Email In MVCJan 02, 2018. In this article we will see how to reset the password through the forgot password page in MVC. Add an Action link on login page if the user forgets his/her password.The link redirects the user to the below page from where the user can get a reset link on the registered email id.
  • Hello World With TypeScript 2.0Jan 02, 2018. TypeScript is a language which is a super set of JavaScript language. It compiles the code written to plain javascript code. So all the correct javascript code is valid in TypeScript. Apart from that TypeScript provides extra features also, which is very useful for writing good code.
  • How To Reset The Administrator Password Using The Command PromptDec 29, 2017. This blog will help you to reset the local Administrator password from your Windows machine without any third-party software or Windows password recovery tool.
  • Set up And Create Angular ApplicationDec 28, 2017. Basically, In Angular – we divide our UI into separate components, to increase readability and reusability. So, we can say the Angular application is a tree of Angular components.
  • Build Or Set Up Your First Angular App With Visual Studio CodeDec 27, 2017. In this article, we will learn how to set up an environment for building the first Angular app (with Visual Studio Code).
  • Setting Up Add-In Development Environment In SharePoint Server 2016Dec 26, 2017. In this article, I have explained how to configure Sharepoint add-ins development environment and create a simple hello world web part in s=Sharepoint server 2016 on-premises.
  • Indexing In Azure Cosmos DBDec 21, 2017. By default, the Azure Cosmos DB data is indexed. Azure applies its default indexing policy while creating a collection. However, a user can set their customized indexing policy as per requirement.
  • Introducing Hadoop /Big Data For BeginnersDec 14, 2017. Companies like Facebook ,NASA, and Google have huge amount of data (can be hundreds of petabytes or exabytes). Each and every like, click, comment, review, update, search, call, visit, piece of financial and health information, transaction, photo upload etc., which is a very huge data set, gets stored somewhere(database).This data is called Big Data.
  • An Introduction To Quantum ComputingDec 13, 2017. In this article, I am going to cover some of the basics of Quantum computing and also set up an environment on our local machine with Visual Studio 2017 to get started with Quantum programming.
  • Getting Started With Angular 5 Using Visual Studio CodeDec 07, 2017. In this article, we are going to set up Angular 5 app using Visual Studio Code.
  • Login Window Xamarin.Forms UWP App With Blocking Feature If Incorrect LoginDec 07, 2017. In this article, we are going to create the login window application that will take UserId and Password as its credentials and prompt success if correct credentials are passed.
  • Functions In KotlinDec 01, 2017. Function is a set of code which may take some parameters, perform an operation on it, and then may return a value.
  • Implementing Field Mapping Using Xrm.WebApiNov 24, 2017. In this article, we are going to provide sample code for using Xrm.WebApi retrieve method.
  • MVC 5 Demo Project With Entity Framework (DB First)Nov 23, 2017. MVC project has been set up. Now, make a new C# class library project which will act as a DAL layer and Entity Framework will be handled through this project.
  • SharePoint 2016/2013/Online - How To Apply Password Encryption For Component As Service Using PowerShellNov 22, 2017. In this article, I will discuss the mechanism to authenticate the requests to SharePoint Lists while working with PowerShell.
  • Set Paging Size In ASP.NET MVCNov 19, 2017. This article is an answer to common ASP.NET MVC searches
  • Simplest WPF Dependency Property For Beginners On Background ColorNov 19, 2017. Dependency property is not wrapped over any private members unlike CLR properties, and it is also stored in Key-Value pairs inside the DependencyObject host instance. You must use Dependency properties if you need to create and apply properties on custom usercontrols, or change properties based on external inputs like Theme, Style, animation etc, or while applying data binding or set with a resource (static/dynamic) .
  • Introducing Visual Studio Live ShareNov 18, 2017. With Visual Studio Live Share you and your teammates use the same debugging session. You can collaboratively step through code or set breakpoints which are reflected in your teammate’s editor in real time. Each of you can independently inspect objects, use features like tips on hover, locals and watches, or make changes to an object’s value. When you are ready to make a fix, simply edit the code and your teammates will see your edits in their editor.
  • Perfect Scrollbar Performance Improvement In AngularNov 18, 2017. Here the idea is not to override the existing behavior of the perfect-scrollbar, definitely it should be an optional choice. I mean, it should work in such a way that; if we set the property to "true" then lazy loading should enable and if we set it to false then perfect-scrollbar should work as as a default one.
  • What Is New And How To Set Up Our First Angular 5 ApplicationNov 15, 2017. Here, in this post, I am going to discuss a few updates in Angular 5. By saying that, I will not be discussing all the items which have been released with this version. Here, we will also be checking how to create our first Angular 5 application. So by the end of this article, you will have your own sample application with you.
  • Comment Or Reply To A Post In SharePoint Using AngularNov 15, 2017. Nowadays commenting or replying to a post is the most common thing in all social networks. Hence, in this article I am going to explain how it works in SharePoint using AngularJS. By the help of this article you will learn how to set comment or reply feature to a post in SharePoint using AngularJS.
  • Xamarin.Forms - Create A Login Page (MVVM)Nov 14, 2017. In this code we created the followings properties: Email, Password and the command SubmitCommand() that we will use in the Login command button in the Login page. We use the ICommand interface that allows defining and implementing a command what we call commanding.
  • Using Optional Query Parameters With Microsoft Graph API - Part TwoNov 14, 2017. When you fire an API call to MS Graph, it will return the JSON result with all the properties. You may not need all the properties of a result set always. When you want MS Graph API to return only certain properties, then use $select parameter to specify which properties you want in result set.
  • Upload/ Download Files In ASP.NET Core 2.0Nov 10, 2017. ASP.NET Core MVC model binding provides IFormFile interface to upload one or more files. The HTML form must have encoding type set to multipart/form-data and an input element with type attribute set to file.
  • Angular 5 Basics And Quickstart With CLINov 09, 2017. Imagine what it would be to manually add the configuration files required to bootstrap an Angular 4 application. It is painful, right? For beginners, it might become tedious to declare all these files and manually configure all these files to bootstrap the app. It wouldn't be a good idea to set up the configuration things rather than focus on the framework and its usage. Even for the advanced developer, it might not be a great way to do all these things manually. So, Angular CLI is the solution here
  • Retrieve SharePoint Lookup Field Value Via C#Nov 07, 2017. Get and set a SharePoint Lookup Field via SSOM C#. In this article, I have explained how to get & set SharePoint lookup field (single/multiple) values programmatically via Server Side Object Model in C#.
  • Setting Or Retrieving Geotag In Media File In UWP With XAML And C#Oct 25, 2017. Reading this article, you can learn how to set or retrieve Geotagging in Media File in Universal Windows Apps development with XAML and Visual C#.
  • Missing 'Manage Delegates' Option In PWA Setting In Project Server 2016Oct 23, 2017. In this article, we will be fixing the issue Missing 'Manage Delegates' option in PWA Setting.
  • Deploying A Virtual Machine Using Azure PowerShellOct 11, 2017. Azure PowerShell provides a set of cmdlets that use the Azure Resource Manager model for managing your Azure resources. You can use it in your browser with Azure Cloud Shell, or you can install it on your local machine and use it in any PowerShell session. It is optimized for managing and administering Azure resources from the command line, and for building automation scripts that work against the Azure Resource Manager.
  • Shared Storage Using Azure File ServiceOct 10, 2017. In most cases, the virtual disks we are creating for an Azure VM are connected to that particular VM with a 1:1 relationship which can’t be accessed by another VM at the same time. In case you need a shared storage by multiple VMs you should use Azure File Shares. Azure File shares can be mounted concurrently by cloud or on-premises deployments of Windows, Linux, and macOS. This is mostly used in case of any requirement of something like a shared application setting or if you need to share any tools or utilities between developers and administrators.
  • How To Change User Language Settings In SharePointOct 04, 2017. In this article, I will discuss how to change language settings for a particular user using two ways. When you create a site , you also specify user language setting such as Time Zone, local display for numbers, dates, and time, sort order, calendar type, work week, and time format (12 or 24 hour) settings in both SharePoint On premise and Online.
  • Build Desktop Chat App With Angular 2 And Electron - Part OneSep 26, 2017. In this article series, we are going to develop a desktop chat application using Angular 2 and Electron. In this part, we are going to set up an Angular 2 application with electron. We will extend this application in future article parts to use it as chat window.
  • Azure NoSQL In ASP.NET Core 2.0Sep 26, 2017. The sample code will require you to set up an Azure account, NoSQL database and collection.
  • Toggle Button Android App Using Android StudioSep 23, 2017. Android Toggle Button can be used to display checked/unchecked (On/Off) state on the button. It is beneficial if user have to change the setting between two states. It can be used to On/Off Sound, Wifi, Bluetooth etc. In this article, I will show you how to create Toggle Button android App using android studio.
  • How To Control An LED Using KeypadSep 21, 2017. In this article we are going to see how to add an additional key pad library. We will see how to control an LED using keypad by assigning a password character to it.
  • Xamarin.Forms Tip - Implement Show/Hide Password Using EffectsSep 19, 2017. While developing login pages, we usually get a requirement that there should be an icon in password entry to show/hide password while entering the password. While looking for a solution to this requirement, I found that most of the implementation is done using custom controls whereas we can do this kind of small platform-specific customization using effects. Last year, I wrote this article about implementing custom fonts using effects so I thought let's try this also using the same tecnique.
  • What Is New In iOS 11?Sep 19, 2017. iOS 11 sets a new standard for the world’s most advanced mobile operating system. Your apps can now become more intelligent using the power of machine learning with Core ML. You can create incredible augmented reality experiences with ARKit. And you can deliver a more unified and immersive user experience with new multitasking features, including drag and drop for iPad, the new Files app, new camera APIs, new SiriKit domains, Apple Music integration, and more
  • Learn Universal Windows Programming Via Modern C++ (Check Box)Sep 19, 2017. In the button control, we are using the IInspectable to set the content of the text. How do we get the value from the IInspectable interface ? By IPropertyValue; using the “as” operator, we can convert from IInspectable to IPropertyValue.
  • Serve Static Files In ASP.NET Core Using Visual Studio 2017Sep 18, 2017. This article explains about static files and how to set default page using static files in ASP.NET using Visual Studio 2017 in a step by step way.
  • Missing Security Section In PWA Settings In Project Server 2016Sep 18, 2017. In this article, we will discuss and solve the issue of Missing Security Setting in PWA Settings in Project Server 2016 / 2013.
  • Encrypt And Decrypt User Password In SQL Server DB Using C# Winform ApplicationSep 18, 2017. In this article we are going to learn how to maintain the user login details in sql server table with password encryption format and decrypt the user password and validate the credentials in login form.
  • Android Application To Set Silent Mode, Ringer Mode, And Vibrate Mode In A PhoneSep 15, 2017. Android is one of the most popular operating systems for mobile. In this article, I will show you how to set silent mode, ringer mode, vibrate mode in an Android application using Android studio.
  • Create Immutable Type In C#Sep 14, 2017. A public constructor that accepts initialization data is required so that the client can pass-in minimum state for the type to be valid. Private constructor, on the other hand, is used by methods to construct a new object and set its entire state.
  • ASP.NET Core 2.0 Static FilesSep 13, 2017. Static files can also be served from folders outside wwwroot by passing in StaticFileOptions to middleware and setting a FileProvider and RequestPath. This is useful when you want authorised access to files e.g. by returning FileResult action result from a secure controller.
  • Frequent Pattern And Market Basket ImplementationSep 09, 2017. Frequent pattern mining is about the item sets and sequences which appear in a data set.
  • Getting Started With Bing Speech API In WPF ApplicationsSep 06, 2017. Cognitive services are a set of APIs that are designed to democratize artificial intelligence by enabling systems to see, hear, speak, understand and interpret our needs using natural methods of communication.
  • How To Configure Exchange 2016 Hybrid Deployment With Office 365 - Part FourAug 29, 2017. In this multi part article series, we will see how to set up Hybrid Exchange 2016 with Office 365 by using ADFS and AAD Directory Sync Services.
  • How To Auto Increment An Existing Column In SharePoint Online (O365) Using FlowAug 29, 2017. Microsoft Flow is a set of rules that lets various apps communicate with each other automatically. Flow is used to automate processes and tasks.
  • How To Configure Exchange 2016 Hybrid Deployment With Office 365 - Part TwoAug 28, 2017. In this multi part article series, we will see how to set up Hybrid Exchange 2016 with Office 365 by using ADFS and AAD Directory Sync Services.
  • Creating Login Form For Users With Image Uploading For Password RecallAug 27, 2017. The article is an alternate method of creating a login form where the conventional way of giving a password hint will be given as a question. In this, you can add an image which can be your hint if you forget your password.
  • Virtual Machine SizesAug 23, 2017. Virtual Machines are highly flexible such that they can be changed in their size and the performance based on the requirement of the user. The resources which we actually require can be decided by us and then the user can be able to scale up or down the Virtual Machine. When making changes to the Virtual Machine size, the cost that is charged for the Virtual Machine will also vary. Here the size of the Virtual Machine will include the number of cores, the Random-Access Memory, number of data disks, the IOPS range, SSD size, load balancing feature and premium disk support.
  • How To Use Timer Control In PowerAppsAug 23, 2017. In this article, you will see how to create an app from a template and use Timer Control in PowerApps. Refer to getting started with PowerApps and Flow for more details. I am going to create an app using ”Employee Engagement Survey” template and set 30 second durations using timer control for each question.
  • Connecting Login Form In C# With Database For User Type AuthenticationAug 15, 2017. This article describes how to connect a Login Form designed in C# with a database so that the user gets validated based upon the password given by the administrator who has created the login database.
  • Key Capabilities Of Azure Cosmos DBAug 12, 2017. A few years ago, Microsoft offered DocumentDB as a Service (DaaS) that supported a limited set of features and functionalities. Today, most of the cloud-based services, such as Bing, Azure, and Office 365 are using DocumentDB. Microsoft took DocumentDB to the next level and came up with Azure Cosmos DB - A globally distributed, multi-model database.
  • Learn Universal Windows Programming Via Modern C++ (Button Control)Aug 10, 2017. Button control allows the user to click to perform actions, there are mainly two properties, content and click event. Content properties are used to the set the caption of the Button and click event is used to trigger the event.
  • Deploying A Docker On Ubuntu Using Microsoft Azure PortalAug 08, 2017. This article shows how to install docker on ubuntu in the Azure portal. Sign-in into the Azure Portal by entering your email and the password, If you don't have any account press this Link to create a new account.Enter the mail address and press next.
  • Phone Number Authentication Using FirebaseAug 06, 2017. In this article, I am going to explain how to use phone number authentication on android with google firebase, which allows users to sign in using their phone number by receiving a One Time Password SMS.
  • Track Security Role Changes Using AuditingAug 03, 2017. Have you been in a situation where the client is complaining about sudden access to unwanted entities/not required for their process or suddenly they are not able to perform some set of actions? If yes this article is going to help you.
  • How To Setup Development Environment For CSOM Based Powershell DevelopmentAug 03, 2017. In this article, we will explore the steps that can be helpful in setting up the client machines for PowerShell development.
  • Data Science - Basics Of Statistics - Part OneJul 28, 2017. Data Science means Science which is being driven by data, by means of getting useful insights from the set of data available, plotting the data visually and predicting the future.
  • Fog Networks / Fog Computing - An OverviewJul 27, 2017. Like I mentioned in earlier posts, technology is evolving at a very fast pace, though this post will throw light on an up-coming technology, which is set to disrupt most of our networking/cloud compute environments. And the name is FOG
  • API Testing With PostmanJul 27, 2017. Postman is a rest client with an API development suite with powerful features. Postman is a google chrome application for testing API calls which can also be used with the Developer Tools Utility to test these API calls and not have to worry about importing any files or setting up Authentication.
  • Angular, Bootstrap And ASP.NET MVC - Part Three (Data Binding In AngularJS)Jul 26, 2017. In this article, we are going to learn data binding in AngularJS. We learn how data is set into the form and how data is retrieved from the form. In AngularJS, data is stored in “$scope” variable in the controller.
  • Lazy-Loading NgModules In ASP.NET Core Angular SPAJul 25, 2017. This article shows you how configure ASP.NET Core Angular SPA starter project to serve a lazy-loaded Angular module. Angular has this cool feature of loading a module lazily. Modules that are set up to load lazily can significantly save application startup time. Lazy-load module set up is done in the application’s routing configuration section.
  • Getting Started With Microsoft FlowJul 25, 2017. Microsoft Flow is a product to help us set up an automated Workflows between your favourite apps and services to synchronize files, get notifications, collect data, and more by the internet.
  • Creating An Azure SQL Database And Connecting Through SQL Server Management StudioJul 23, 2017. This article demonstrates how to create an azure SQL Database, setting the Firewall rule and connecting through the SQL Server Management Studio.
  • Setting Up And Executing Basic Ansible PlaybookJul 20, 2017. This post will give you a brief overview of ansible and walk you through how to setup and run ansible playbooks.
  • Create A Microsoft Azure Cognitive Service Face API Application In 30 MinutesJul 17, 2017. In this article, we are going to create Microsoft Azure Cognitive Service Face API in half an hour. Microsoft Azure Cognitive Services are set of APIs and Services available for the developers to make their applications more interactive and intelligent. This was formerly known as Project Oxford. Here Microsoft uses Machine Learning in the background to create these APIs.
  • How To Create A List/Library Programmatically In SharePoint 2013Jul 13, 2017. We need to install Visual Studio in our machine for creating a list using SharePoint Server Object Model. The Server Object Model will be executed in the server side & it provides a rich set of classes in representing & manipulating SharePoint objects. Server object model is like production server environment to access the data where Sharepoint is installed on the machine.
  • Microsoft Azure Active Directory Identity And Access Management With MVC 5 Web ApplicationJul 04, 2017. In this article, I will show you a short demo of how to register your existing MVC 5 Web Application with Windows Azure Active Directory and set authorization. In the same way, you can also implement Single-Sign-On with Azure AD.
  • Setting Up SQLite In Xamarin.FormsJul 03, 2017. In this article, we will learn to set up SQLite in xamarin.forms. It doesn’t require too much time and it is not difficult like setting up other databases.
  • MVVM In WPFJun 29, 2017. MVVM is an architecture pattern which facilitates separation of projects into three logical layers with their own responsibilities. It facilitates modern techniques such as Separation of Concern, Unit testing and TDD. It is set of guidelines, that, when used, makes it easier to develop applications.
  • Setting Up Angular Project With ASP.NET Core And Visual Studio 2017Jun 28, 2017. In this part, we are going to learn how to setup Angular projects with ASP.NET Core and Visual Studio 2017, for doing this first we need to download Visual Studio community 2017.
  • Getting Started With QnA Maker ServiceJun 28, 2017. In simple language, it is a service to educate a bot with static answers for specified set of questions. Let’s take an example of FAQs. FAQs are set of questions and answers which are going to remain same irrespective of user.
  • ALL In One DataBase Hero Script - Set OneJun 01, 2017. ALL In One DataBase Hero Script.
  • Getting Started With ReactJS - Environment SetupMay 31, 2017. In this article, we will learn how to set up the environment for React development. First of all we need to install NodeJS.
  • UI Elements Of Forms And Setting Pages In Xamarin.FormsMay 31, 2017. UI elements of Forms and Setting pages In Xamarin.Forms.
  • Overview Of Office 365 And Setting Up Trial AccountMay 23, 2017. Overview of Office 365 and setting up Trial account.
  • Setting Up Your Own On-Premises Sentry Server Via Docker ComposeMay 22, 2017. Setting Up Your Own On-Premises Sentry Server Via Docker Compose.
  • Setting Up CI And CD For Azure App Services With Github And Azure CLI 2.0May 22, 2017. Setting up CI And CD for Azure app Services with GitHub and Azure CLI 2.0.
  • Xamarin.Android - How To Set Time Android Application Using Visual Studio 2017May 16, 2017. This article acquaints you with how to set Time Android Application, using Visual Studio 2017.
  • Manage Codes With GIT Using Visual Team Foundation Services - Part OneMay 12, 2017. In this article, we will learn how to create a Git Repo, using Visual Studio Team Services, create a simple project and set up repo in Visual Studio to manage the codes. We will be using Visual Studio to manage and push the codes to IT repo.
  • Setting Up An Office 365 SubscriptionMay 10, 2017. Setting Up An Office 365 Subscription.
  • Setting Up Development Environment For XamarinMay 02, 2017. Setting Up Development Environment For Xamarin.
  • Set Wiki Page As Home Page In SharePoint Online By Activating The FeatureApr 17, 2017. In this article, I would like to share the steps to set Wiki page as a home page for SharePoint Online sites.
  • WPF - Command LineApr 14, 2017. Command line argument is a mechanism, where a user can pass a set of parameters or the values to a WPF Application when it is executed.
  • SharePoint 2013 Workflow - App PermissionsApr 14, 2017. In this article, we explore SharePoint 2013 Workflows. It is possible to use the app step action to give the Workflow its own permission set.
  • Configure Email Service In ASP.NET Core Using MailKitApr 06, 2017. In this article we will discuss how to configure email services using MailKit in ASP.NET Core Applications so that the application can send email during User Registration, Forget Password and Reset Password.
  • How To Set Up Multi-Factor Authentication(MFA) For Office 365 UsersMar 29, 2017. How to set up Multi-Factor Authentication(MFA) for Office 365 users.
  • How To Set Non-Working Days In Microsoft Project 2013 CalendarMar 20, 2017. In this article, we shall see how to set non-working days in Microsoft project calendar.
  • The Easy Way To Recover SharePoint Farm Password In SharePoint 2010 / 2013Mar 20, 2017. The Easy Way To Recover SharePoint Farm Password - SharePoint 2010 / 2013.

About Set-password

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!