C# Corner

Resources  
  • Audio Play Using SD Card Module And ArduinoApr 10, 2018. In this article, we will see how to play an audio using SD card Module and Arduino. We have to save the Audio in a .wav file and specifically command the Arduino to play the Audio at the specific digital pin. The volume of the Audio can also be adjusted in the coding as per the requirement.
  • Combining Angular 5 CLI Project And ASP.NET Core ProjectApr 02, 2018. Angular 5 is catching the attention of all the developers. And Dot Net Core from Microsoft is already popular. So what happens if you create an Angular project in the command line, and then you want to integrate it with Asp.Net core framework?
  • WPF - REST Web API ConsumptionMar 29, 2018. This article is about REST Web API Consumption in WPF client-side software/application.
  • Bind Combobox With Enum Using ObjectDataProvider WPF MVVMMar 24, 2018. In this article, you will learn to bind combo box with enum directly using ObjectDataProvider in WPF MVVM.
  • Use Of CallerMemberName With INotifyPropertyChanged Interface In WPF MVVMMar 22, 2018. In this article, you will learn about the use of CallerMemberName With INotifyPropertyChanged Interface in WPF MVVM.
  • Use INotifyPropertyChanged Interface In WPF MVVMMar 20, 2018. INotifyPropertyChanged is an interface member in System.ComponentModel Namespace. This interface is used to notify the Control that property value has changed.
  • Terraform - Starting From The Basics - Part TwoMar 18, 2018. If you run the commands mentioned in my first article, there's a file generated after final execution with an extension .tfstate. This is the status file. This file keeps track of all modifications you do inside your .tf file, after the very first execution. So you will get historical information of the changes you are doing in your infrastructure if you use terraform to run your infrastructure needs.
  • WPF - Data Storage Using SQL ServerMar 15, 2018. For any development domain, be it mobile or web or desktop or service-based, data storage is an essential component whether it is done on the server side or the client side. WPF application is a client-side application and it also supports many data storage resources which depend on the business requirement or business choice.
  • Building A Data Driven App Using WPF XamDataGridMar 15, 2018. A typical rich data-driven Windows client app includes a backend database and a front-end client UI. The app connects to a database, reads the database, displays records in data controls, and implements CRUD operations. The app may also include some advanced UI operations such as sorting, searching, filtering, multiple views, and data export.
  • Learn About Some Useful Angular CLI CommandsMar 14, 2018. In this article, I am going to discuss some useful Angular CLI commands.
  • Learn MongoDB With Me - Part TwoMar 02, 2018. This is the second article of the series “Learn MongoDB with Me,” and if you haven’t read my previous post on this topic, I strongly recommend you find it here. This is a continuation of exploring the Mongo shells. We will be performing some commands on the Mongo shells. For easy reference I will try to add screenshots for each of the steps I am following. I hope it will help you to come along with me. Thanks for reading.
  • Getting Started With Office 365 CLIFeb 17, 2018. Microsoft keep on giving surprises to developers by adding more tools / services in clout front, especially in Office 365. Recently a new open source cross platform service called Office 365 is introduced, to run the commands from any platform against SharePoint Online.
  • WPF - Dropdown Menu/Combobox Menu Data Binding Using Text FileFeb 16, 2018. This article is about WPF dropdown menu/combobox menu data binding using text file
  • WPF - File Menu User ControlFeb 08, 2018. This article is about the development of WPF File Menu User control.
  • Automating SVN Check-Ins And Building A Project Via JenkinsFeb 05, 2018. A few weeks back, while sitting with my team, I learned that they run a Jenkins job which has to execute the automation scripts using the robot framework, daily around 1:00 a.m. The primary purpose of the job is to place all the necessary files and folders over the node machine of Jenkins (after copying them from the machine pointed as master on Jenkins), execute those scripts accordingly, generate the reports, and finally copy the output files back to the master machine to analyze the logs for the overall reporting and analysis purposes. This whole efficient job starts with a slack manual step which was enough to tag this activity 'not fully automated' because they had to place the updated work regularly on the specified path over the master machine before leaving the office (this includes taking the updated code, files, and automation scripts, building the project to take the DLLs etc.). This may sound tedious but more than that, there is no sense to do it manually.
  • Cab Booking And Scheduling By Using Command Design Pattern And SchedulerJan 20, 2018. This article explains the cab booking & scheduling system by using Command Design Pattern and Scheduler.
  • CRUD Operations In SharePoint Using REST API - CREATE OperationsJan 18, 2018. REST API is a powerful CSOM concept that can be leveraged in SharePoint for converting sophisticated business designs into working and efficient SharePoint Artifacts (Add-Ins, CSOM solutions, etc.). REST does not require any separate references for its working unlike other frameworks (SPservices!)
  • Using XAML Progress Bar In WPFJan 12, 2018. Long running tasks in any application make the application or software nonresponsive. So to keep the user updated about the running task and also keep the application responsive during long running tasks we can use different kinds of loading bar options like.
  • 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.
  • Invoking Web Application From Console Application (.NET Core) Via Command PromptJan 02, 2018. This article is mainly for the command prompt lovers who want to use it to launch their web application build on .Net Core.
  • ASP.NET Core 2.0 Cookie AuthenticationJan 02, 2018. Cookie Authentication allows developers to hook into events at various lifecycle stages of the authentication process. For instance you could log successful sign-ins using OnSignedIn or use OnValidatePrincipal (runs on every request) to invalidate the user (e.g. if you want to force sign-out).
  • Creating A C# Console App From My iPhoneJan 02, 2018. Hyper IDE [link to https://github.com/polterguy/hyper-ide] is an Open Source web-based Integrated Development Environment. It supports 100+ progamming languages out of the box, and can be integrated with any type of command line tools, such as Git, compilers, etc. This leads to some interesting traits, such as the ability to actually create for instance C# console apps, from the browser on your phone. For the record, writing code on a phone, is not easy, and not something I encourage people to do in general. However, the border line use cases have interest.
  • Routed Events, WPF Tree Structures, Event Sequence for BeginnersDec 30, 2017. Hello WPF aspirants, I take this opportunity to present to you a simple example of WPF Routed Events and supporting theory on Routed Events, Event sequences, what happens when a button is clicked, etc. These, I believe, will guide the beginners into the lovely land of WPF.
  • How To Create Own NPM Package And Publish ItDec 29, 2017. NPM (Node Package Manager) is a package manager for JAVASCRIPT (Node.js) , use of npm is to use already developed javascript module in your application. It contains command line client that interacts with remote registry where the actual package resides
  • 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.
  • 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.
  • Building First Console Application Using Command Prompt In .NET Core 2.0Dec 06, 2017. In this post, we will create our very first console application in .NET Core, and we will see how we can build .NET Core based applications without using any IDE or Visual Studio.
  • Uploading Ionic App On Ionic View In Ionic ProNov 23, 2017. Some of the ionic commands are deprecated in the newer version of ionic, which is called ionic pro. One of them is “ionic upload” that was used to upload the ionic app in ionic view for testing purposes.
  • 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) .
  • 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.
  • Develop, Test And Deploy The Angular Project In IIS Using Angular CLI And Visual Studio Code In Few MinutesNov 10, 2017. The Angular CLI is a command line interface tool that can be used to create our angular project very easily and it is also used to perform a variety of ongoing development tasks such as testing, bundling, and deployment in our same project.
  • Create An Azure SQL Database Using PowerShellNov 03, 2017. A resource group is a logical container into which Azure resources are deployed and managed as a group. So let's create a resource group for that using New-AzureRmResourceGroup command.
  • Applying Dependency Injection In DevExpress MVVM WPF Application IntroductionOct 31, 2017. In this post, I’ll give a tutorial on how to apply dependency injection in DevExpress WPF application. This post assumes you already know about dependency injection, WPF application, and also MVVM. DevExpress MVVM is one of freely available MVVM frameworks we can use to develop desktop application using WPF.
  • Add Class Library In ASP.NET Core Using .NET Core Command-Line Interface (CLI)Oct 29, 2017. This article explains how to add Class Library in ASP.NET Core using .NET Core Command-Line Interface (CLI) with a simple way. Before reading this article, read the previous parts of this article using below article link.
  • Working With ASP.NET Core From Command LineOct 26, 2017. In this article, let's see how to work with ASP.NET Core from Command Line.
  • How to use NPM Install (The Command) behind Corporate Proxy ServerOct 14, 2017. When you want to install packages for angular, angular CLI, typescript etc. via NPM using Command Prompt and you are working in an office environment where everything runs behind a corporate proxy server, you will most probably get the below exception.
  • Getting Started With SharePoint Framework For SharePoint 2016 On-PremisesOct 12, 2017. Once you have installed and upgraded the September 2017 Public Update for SharePoint 2016, you will be able to upload and deploy SharePoint Framework packages that contain web parts via the SharePoint App Catalog just as you would with SharePoint Add-ins.
  • 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.
  • Publishing ASP.NET Core 2 Angular 4 SPA Template Application Using .NET CLIOct 10, 2017. First, we need to create ASP.NET Core 2 Angular 4 SPA application using dotnet new angular, Type dotnet new angular command in command prompt, and this will create application and restore NuGet dependencies.
  • How To Use Ratings In Lists And Libraries Using Rating Settings, Server Side Coding And PowerShell CommandsOct 09, 2017. In this article I will discuss how to make use of ratings with your lists & libraries. Ratings are the features introduced by Microsoft which allow users to evaluate & rate the authors. Here I will explain how to use ratings on the lists & libraries.
  • Change Site Collection URL, Title, Logo In SharePoint 2013 Using PowerShell Commands, Back Up And Restore OptionOct 05, 2017. In this article I have discussed about how to change the site collection URL, title & logo in SharePoint 2013. Suppose in your company you have already created your site collection & customized everything but later your company decided to change the Site URL & title as well.
  • Executing Exchange Online PowerShell Command Through SharePoint Online PowerShellOct 02, 2017. For Office 365 administrators there are lists of Exchange Online PowerShell cmdlets available. We can execute these cmdlets through SharePoint Online Management Shell or Windows PowerShell by creating remote PowerShell session with Exchange Online. In this article I’ll explain how to create remote PowerShell session to Exchange Online and then execute Exchange Online PowerShell cmdlets.
  • Selection Manager For WPF/MVVMSep 17, 2017. This article presents the idea and implementation of a class to manage the selection of only one element in different linear and hierarchical structures.
  • Launch UWP App Via CommandLine ( Windows 10 Fall Creators Update Features )Sep 07, 2017. We can launch Win32 application via command line arguments. Let's see how to implement this feature into our UWP application.
  • 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.
  • Async Validation In WPFAug 31, 2017. Quite often validation requires web requests, database calls or some other kind of actions which require significant amount of time. In this case, UI should be responsible during the validation, but saving/submitting data should be disabled until validations completion.
  • How To Upgrade ADFS 3.0 To AD FS Server 2016 - Part OneAug 31, 2017. Being said that, Now a days ADFS is one of the very critical infra since it is used for Identity services which being used for office365, Azure, Applications be it in any which way it is been created/developed in terms of SAAS, PAAS and On-premises. I have seen the scenarios where ADFS is down, the complete company’s major applications are also going down. So we need to carefully plan and upgrade the ADFS infra. Any wrong command or wrong execution plan can mislead the infra and complete ADS infra can go down.
  • Create Office Web Add-In Project Using Visual StudioAug 24, 2017. In this article, I would like to share the steps to create Office web add-in projects using Visual Studio. In this article, we have explored what Office add-ins are and how to create Office web add-in projects using Visual Studio 2015.
  • Creating Virtual Machine Using PowerShellAug 22, 2017. This article is about the creation of Virtual Machines in the Azure Cloud Service with the help of PowerShell commands.
  • An Overview Of WPF ArchitectureAug 17, 2017. In continuation of my previous article “ABCs of WPF”, I am going to discuss the architecture of WPF.
  • How To Create Angular App Using Angular CLIAug 14, 2017. Before 1 year, I planned to create simple angular app but at that time i don't have idea about angular cli so i had configure lot of things and faced more issue.I spend 2-3 days to configure angular app and finally done. In this article we will learn how to create Angular app using angular CLI.Angular CLI is just a command line interface help us to create angular app very eaisly within 2 minute.
  • Connecting SharePoint Online Using PowerShellAug 08, 2017. PowerShell is a powerful Command Line Shell Script mainly used by the administrators, and manages anything in Microsoft products.
  • Running Windows Containers On Windows Container HostsAug 03, 2017. In this module, we will be seeing the different commanding techniques that can be used to work with the containers. We will check on how to start and stop a container, and to run them interactively or even in the background.
  • Pre/Post Build Events Command Line In Visual StudioAug 02, 2017. Pre/Post build events are useful when we wish to perform some operation before/after a project is built. These operations are nothing but the Shell commands being used from the command line. A build event can be formed using a single, multiple, or conditional commands.
  • Using PowerShell To Create Log/CSV Files And File Out CommandsJul 19, 2017. In many instances while developing using Powershell we need to get the logfile in a specific folder and format.
  • Arithmetic Operation In ASP.NET MVCJul 16, 2017. In action result method I passed one string parameter named command and using this command I assigned some arithmetic operation string value and based on that the operation will be performed.
  • ABC Of WPFJul 15, 2017. Basically I am working on .Net/Sql. For the project requirements I went through the WPF. I visited so many online tutorials and videos to get the knowledge. In this article I am going to share my understanding with you.
  • Commands For "Add", "Install", "Update" The Solutions For SharePoint SiteJul 13, 2017. In this article, I would like to share the steps and commands for how to Add, Install and Update, Uninstall and Remove the solutions (WSP Package) in SharePoint server.
  • Overview Of MongoDBJul 04, 2017. This article explains the basics of MongoDB, doing CRUD operations on it using command prompt and then CRUD operations with a sample ASP.Net WebAPI.
  • Getting Started With MongoDB - MongoDB With C#Jul 01, 2017. In my previous article, you got a little knowledge of MongoDB basics. This article will focus on doing CRUD operations from a C# console application. The working mechanism will be same for web applications and desktop applications. Open up the mongod.exe in the command prompt to keep the MongoDB server running while executing our C# application.
  • 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.
  • Working With Variables In Windows PowerShellJun 27, 2017. Windows PowerShell variables are quite different when you compare them with Cmd.exe variables. In Command-prompt, all the variables are environment variables and they can only store a string of text. But in Windows PowerShell, variables can store more than just text, they store objects.These variables help you to create reliable scripts.
  • Understand The Power Of Windows PowerShell Pipeline ( | )Jun 26, 2017. Windows PowerShell pipeline allows us to join two or more statements with a pipe symbol, sometimes called the '|' bar key. This tells PowerShell that we want to take the output of one command and pass it as the input to the next command. Let’s look at simple example to better understand the power of pipeline in Windows PowerShell.
  • WPF Notifications For All (SignalR)Jun 26, 2017. In the current times, all operating systems and browsers have a notification engine. This is a very practical characteristic and that enables us to have apps 100% connected and 100% live. With notifications, we can have information about: our other apps, our environments, our users, our fails, etc., when they occur.
  • Populating Hierarchical Data In TreeView In WPF Using MVVMJun 20, 2017. TreeView Hierarchical Data Binding In WPF MVVM.
  • Learn WPF Using Google Place APIJun 05, 2017. Learn WPF Using Google Place API.
  • Auto ViewModelLocator In MVVM PatternMay 25, 2017. Auto ViewModelLocator in MVVM pattern.
  • Command-Line Disk Formatting In Windows Server 2016May 17, 2017. Command-line disk formatting in Windows Server 2016.
  • Learn WPF CRUD Operations Using VB.NETMay 09, 2017. In this article, you will learn WPF CRUD Operations using VB.NET.
  • Dialogs In WPF (MVVM) - Part ThreeMay 07, 2017. In this article, you will learn about dialogs in WPF (MVVM).
  • Learn Web API Using WPF, WebForms And XamarinMay 06, 2017. In this article, you will be acquainted with learning Web API , using WPF, WebForms and Xamarin.
  • MongoDB CRUD Operation In WPF C# With GridViewMay 01, 2017. This article acquaints you with MongoDB CRUD operation In WPF C# with GridView.
  • WPF - Data BindingApr 22, 2017. This article presents information about Data binding, which is a mechanism in WPF Applications, which provides a simple and easy way for Windows Runtime apps to display and interact with the data.
  • 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.
  • WPF - Routed EventsApr 04, 2017. WPF - Routed Events.
  • Mandatory Field Validation In WPF Using MVVMApr 02, 2017. Mandatory Field Validation In WPF Using MVVM.
  • Azure Functions For SharePoint Operations Using PnP PowerShellMar 23, 2017. In this article, you will learn how to create Azure function apps for the SharePoint operations, using PnP PowerShell commands.
  • Get Started MVVM Light With WPF (Separation Of ViewModel) - Part TwoMar 17, 2017. This article familiarizes you with MVVM Light with WPF (Separation of ViewModel).
  • Office 365 - User Management Using PowerShellMar 15, 2017. In this article, we will discuss some of the useful PowerShell commands for managing the users in Office 365 (O365).
  • Getting Started With MVVM Light With WPFMar 09, 2017. In this demonstration, we will see how to set up MVVM light and how it works in WPF applications
  • How To Customize Static And Dynamic Column Chart In WPF With MVVM Pattern Using Prism LibraryMar 01, 2017. In this article, I will demonstrate how you can customize a Column chart like changing foreground color, background color, and label transformation of either static or dynamic WPF with MVVM pattern, using Prism library.
  • Getting Started With O365 - SharePoint-Hosted Add-Ins Using JSOMFeb 28, 2017. In this article, you will learn about SharePoint-hosted add-ins, using JSOM.
  • Learn MongoDB Step By StepFeb 27, 2017. In this article, we are going to learn how to install MongoDB on a Windows machine in a step by step way. Along with this, we are also going to learn how to start the MongoDB Server and basic commands to access MongoDB Database.
  • Static And Dynamic Pie Chart In WPF With MVVM Pattern Using Prism LibraryFeb 26, 2017. In this article, I will demonstrate how you can create either a static or dynamic Pie chart in WPF with MVVM pattern, using Prism library.
  • Deleting SharePoint-Hosted Add-In Using Napa Office 365 Development ToolFeb 23, 2017. In this article, you will learn how to delete SharePoint-Hosted Add-ins using Napa Office 365 Development Tool.
  • An Easy Way To Transfer Data Between WPF Applications And ExcelFeb 23, 2017. In this article, you will learn about an easy way to transfer the data between WPF Applications and Excel.
  • SharePoint-Hosted Add-In By Using NAPA Tools And Delete SharePoint Task List Item Using JSOMFeb 22, 2017. In this article, you will learn about SharePoint-hosted add-ins by using NAPA Tools and Delete SharePoint Task List item using JSOM.
  • Static And Dynamic Area Chart In WPF With MVVM Pattern Using Prism LibraryFeb 21, 2017. In this article, I will demonstrate how you can create either static or dynamic area chart in WPF with MVVM pattern using Prism Library.
  • Code First Migration - ASP.NET Core MVC 6 With EntityFrameWork CoreFeb 21, 2017. In this article, we are going to explain Code First Migration in ASP.NET Core MVC 6 With Entity Framework Core , using Command Line Interface ( CLI ).
  • Overview Of WPF FeaturesFeb 20, 2017. In this article, you will learn about WPF features.
  • How To Hide The Legend In Static And Dynamic Column Chart In WPF With MVVM Pattern Using Prism LibraryFeb 18, 2017. In this article, I will demonstrate how you can hide the legend in a column chart, which is either a static or dynamic WPF with MVVM pattern, using Prism library.
  • Voice Notice Board Using Windows FormsFeb 17, 2017. In this article, I have explained the concept of creating an e-notice board, which can be used to display a message with just voice commands rather than typing.
  • Static And Dynamic Line Chart In WPF With MVVM Pattern Using Prism LibraryFeb 15, 2017. In this article, I will demonstrate how you can create either a static or dynamic line chart in WPF with MVVM pattern, using Prism Library.
  • Introduction To SearchAll Control In WPFFeb 15, 2017. In this article, you will learn about SearchAll Control in WPF.
  • Dynamic Localization In WPFJan 26, 2017. In this article, you will learn about Dynamic Localization in WPF.
  • DataBinding Expressions In WPFJan 20, 2017. In this article, you will learn about Data Binding Expression in WPF.
  • MVVM Architecture When Using Web Services For Database Interaction - Part TwoJan 17, 2017. In this article, you will learn about MVVM Architecture when using Web Services for database interaction.
  • SharePoint 2016- "Set-ContentDatabase" Not Working Using Pipe LineJan 16, 2017. In this article, you will learn what to do when "set- ContentDatabase" command stops working when using Pipe Line.
  • Getting Started With MVVM In WPFJan 11, 2017. In this article, you will learn about MVVM in WPF.
  • Creating FTP File Downloader Application With Background WorkerJan 10, 2017. In this article, you will learn about FTP File Downloader with downloading progress, using background worker.

About Commands-in-WPF

NA
Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now