C# Corner

Resources  
  • Code Reusability In KotlinDec 12, 2017. In this article, I am explaining how you can reuse your existing code of Kotlin using Inheritance with examples and diagram.
  • Get Up And Run Robot Framework In 10 MinutesDec 07, 2017. Robot framework is an extensive and widely-used test automation framework which (along with RIDE) gives you an easy to use and easy to navigate interface and neat style IDE to its users. It has huge support for a variety of external and internal libraries for keywords support, using which the user can develop new high-level keywords using the existing one.
  • SharePoint 2013 - Changing The URL Of Existing Web ApplicationDec 02, 2017. In this blog, I’ll discuss our customer requirement for changing the URL of an existing web application, changing URL of its extended application, and steps to do those successfully.
  • Difference Between MySQL DATETIME And TIMESTAMP DataTypesNov 29, 2017. A simple question that may come to one's mind while working with MySQL is "Whether to assign DATETIME or TIMESTAMP datatype for a column as both seem to store the same data?”. Even though they store the same data, they differ in some ways and let's check those things out with the help of a small example.
  • Virtual Entity - New Way Of Integration - Part TwoNov 28, 2017. This is our second article regarding virtual entity, if you have not checked our earlier article, we suggest you check that first here. In this article we are going to demonstrate about create OData Web API without Entity Framework and hosting it in Azure to consume into Dynamics 365. Let say we have employees data that we want to show into virtual entity, so let’s get started!!
  • Introduction To SSISNov 24, 2017. SSIS stands for SQL Server Integration Services. It is one of the services of SQL Server and was introduced for the first time in SQL Server 2005. It’s a powerful replacement for the legacy DTS (Data Transformation Services) that exists in SQL Server 2000.
  • ASP.NET Core 2.0 Secret ManagerNov 22, 2017. I discussed in the previous post how configuration settings can be stored in configuration files. However, these files are checked in the source control and not suitable to store confidential settings. In a production environment these settings can be stored in environment variables or Azure Key Vault however, for development ASP.NET Core provides an alternate solution: Secret Manager.
  • 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.
  • How To Add A Button To Existing Ribbon Tab In Office ApplicationsNov 16, 2017. This article is a walk through of adding a button on the Ribbon of an existing tab in Office Application (Word 2016 in this case).
  • Two Way Data Binding In Angular Without $scope Object Using MVCNov 16, 2017. Data binding is the most useful and powerful feature among any of the existing or upcoming software development technologies. It is actually a process that bridges a connection between the view and business logic of the application.Basically we will see one-way and two-way data binding with respect to AngularJS applications. But before we jump to that section we will try to learn something about the scopes in AngularJS.
  • 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.
  • Creating Azure WebJob To Access SharePoint Using Typescript And Node.jsNov 14, 2017. Create a new folder in the solution by the name 'src' and create index.ts file inside the folder. In this folder we will keep all the source files which will get executed when the Job runs. Remember to keep the index.ts at the root of the src and all other files (if any) keep them in the folder otherwise the job will fail.
  • DROP IF EXISTS In SQL Server 2016Nov 13, 2017. With this very small but handy tip, we’ll check the enhancement that has been made to DROP statement in SQL Server 2016. Earlier, we used to write additional checking logic to make sure that the object exists to drop. If we miss writing the check and if the object is not available, then we are being served with an error message. With SQL Server 2016, now we can check the existence of the respective object without any error being generated.
  • Introduction To Bot Service In AzureNov 10, 2017. Bot used as an app that helps users interact in a conventional way. It may be as simple as basic pattern matching with a response or it may be sophisticated handling the artificial techniques with complex conversational state and integration to existing business services.
  • Get Your Hands On Entity Framework Code First Workflow With New Database And Existing DatabaseNov 10, 2017. In this article we are going to learn how to create code first workflow with new database and existing database.
  • How To Extract All Images From An Existing PowerPoint PresentationNov 09, 2017. This article will give you the steps to save all the images from a PowerPoint presentation file.
  • ASP.NET Core 2.0 MVC Custom Tag HelpersNov 08, 2017. As discussed in the previous post, Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. In this post we’ve created a new tag to display employee information.
  • ASP.NET Core 2.0 MVC Tag HelpersNov 07, 2017. Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. Although they look like HTML elements and attributes, Tag Helpers are processed by Razor (server-side).
  • If The Boot Configuration Data For Your PC Is Missing Or Contains ErrorsNov 06, 2017. The Boot Configuration Data (BCD) is a firmware-independent database for boot-time configuration data. It is used as new Windows Boot Manager. It replaces the "boot.ini" file that was used in the old Operating System. For more details check Windows startup process.
  • ASP.NET Core 2.0 MVC AreasNov 06, 2017. Razor pages inside Areas folder can use the Layout page located outside it (e.g. in /Views/Shared folder). You can define a separate Layout page for each Area too. Yet another approach is to define a common Layout page outside Areas folder and Layout pages inside Areas folder and use them as their layout, creating a nested Layout page structure. Below is a Layout page for Area2 that uses shared layout page (note you need an absolute path to shared layout).
  • ASP.NET Core 2.0 MVC Layout PagesNov 02, 2017. Layout page is added to the Views/Shared folder and is named (as a convention) _Layout.cshtml. There can be more than one layout pages in your application too.
  • Running Business Rule Only On Record CreateOct 16, 2017. We know that business rules are executed on form load and on change of the associated field, which means if we have business rule for any entity it will fire for new record as well for existing records when form loads.
  • Getting Started With Entity Framework Core - Database-First DevelopmentOct 12, 2017. This article is the first part of the series on Getting Started with Entity Framework Core. In this post, we will build an ASP.NET Core MVC application that performs basic data access using Entity Framework Core. We will explore the database-first approach and see how models are created from an existing database. We will also take a look at how classes become the link between the database and ASP.NET Core MVC Controller.
  • Managing Virtual Machine DisksOct 08, 2017. In this article, we will see how to add additional data disks and scale existing in a Virtual Machine.
  • Always Encrypted In SQL Server 2016 - Step By Step Guide - Part OneOct 06, 2017. Lets say, we have a requirement to encrypt the PII data for an existing ASP.NET web application. Data needs to be encrypted at rest as well as on transit. Considering the existing PROD data, we need to identify an encryption approach that best suits the requirement. I'm going to share my experience in finding the encryption approach and implementing it on a sample database.
  • TextBox Validation Client Side And Server Side In ASP.NET WebFormOct 03, 2017. Validation is main thing to process the data. We store the textbox value into database table. Before moving to storing and storing data into database first we check the value of each textbox.
  • Creating A Wave Audio Player Using WinMM The APISep 28, 2017. This is the part two of my three part trilogy concerning the use of windows mixer controls, playing an existing wave file through some available speaker, or recording and saving a wave file from an available audio input device such as a microphone. You might be wondering about the order I am presenting these tutorials. Simple, ...when my father taught me to play pool, we would often come upon a scenario where there are multiple shots available.
  • Consume Local File System As A Data Source In Power BISep 27, 2017. We all know Power BI is a very good business intelligence tool. Sometimes there is a situation when we need to prepare report using file system. Power BI provides a connector to consume data from folder structure. We can get all files from a specific folder. But there is one limitation with this connector.
  • XAML Value Converter With A Simple ExampleSep 27, 2017. In this article, I'm going to show you how you can use value converter in XAML to convert one format of data into another format. In our case, we'll convert a string value (value in the textbox) to a Boolean value (checked status of a checkbox).
  • 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.
  • Edit Or Remove Permission From Existing Data Source Connection From Power BISep 23, 2017. In this article, we will learn how we can remove our existing data source connection from Power BI Desktop.
  • Purchasing A New Service To Your Office 365 TenantSep 21, 2017. This is going to be a very simple article where I’ll be describing about how to add a new service to your Office 365 tenant. Let’s say there comes a scenario where your organization has been using Office 365 for quite some time and all of a sudden, the business shows interest on a new Office 365 service then you need to follow the steps mentioned in this article below to purchase that new service for your existing Office 365 tenant.
  • Adding Check Box Functionality In An Android App Using Android StudioSep 21, 2017. In this article, I will show you how to create am Android app using Android Studio. Android Checkbox is a type of two state button, either checked or unchecked. There can be a lot of usage of checkboxes. For example, it can be used to know the hobby of the user, activate/deactivate the specific action etc.
  • 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.
  • 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.
  • SharePoint 2013 - On Premises - Powershell Script To Import Termsets On Given Site From .csv File In Specific FolderSep 10, 2017. In this article I’ll explain how to import multiple termsets using .CSV file from one specific folder.
  • Connecting To MySql Database In StrapiSep 04, 2017. This article helps you to create a connection to the My SQL database using the Strapi; this is an article for the beginners where the basic connection can be created with the existing MySQL database.
  • 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.
  • New Features In SQL Server 2017Aug 27, 2017. There are many new features introduced with SQL server 2017 and also there is some performance improvement in existing features. Using the following links, we can learn more details about the new features in SQL server 2017.
  • Use SharePoint Online List As A Data Source In Power BIAug 26, 2017. In this article, we will check how we can use SharePoint list as a Data source in Microsoft Power BI.
  • Swift Programming - Zero To Hero - Part ThreeAug 17, 2017. Statements are the building blocks of any program. We can perform any function with the help of statements, such as checking values or declaring variables, calling methods, or even creating objects.
  • Resources In Xamarin.AndroidAug 17, 2017. When a new Android project is created, there are some files that are added to the project, by default. We call these default project files and folders as Android Resources.
  • Understand Service Scheduler In AzureAug 14, 2017. It is a task scheduling service provided by Microsoft Azure. It can perform many actions regarding the job details in the scheduler and can also check Scheduler’s monitoring and management capabilities.
  • 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.
  • ImageView In Xamarin Native Platform With ExampleJul 31, 2017. After the process completes, the Xamarin dashboard appears. At the top right, you will see Solution Explorer. There is your application solution.Select application name; extract to resources. The Layout folder appears in which there is Main.axml* file.
  • Null Object Design PatternJul 29, 2017. A null object is also known as a Stub, an Active Nothing or an Active Null. It helps our program logic to get rid of null checks where ever possible. We all know, that we can not call methods on a null reference as it results in a NullReferenceException. The null object pattern provides a non-functional object in place of a null reference and therefore allows methods to be called on it.
  • How To Check Long Server-Side Process Progress In Real TimeJul 26, 2017. Today, I will show you a way to monitor a long server-side process (like, a long running process, file generation etc.) in real time in your web application. The whole demonstration will be covered through asp.net C# but you can also implement the same sort of code in other languages.
  • Cache Headers For MVC File Action Result (ASP.NET Core 2.0 Preview 2)Jul 25, 2017. I’m pretty sure that you are familiar with StaticFiles middleware of the framework. All it does is serve static files (CSS, JavaScript, image, etc.) from a predefined/configurable file location (typically from inside the web root, i.e., wwwroot folder). But along the way, it also does some cache headers configuration. The reason behind this is you don’t want your server to be called up every time for a file that doesn’t change frequently. Let’s see how a request for a static file looks in the browser’s network tab.
  • Watchers, Digest Cycle And Dirty Check In AngularJSJul 20, 2017. As we all know, Angular is a Model-View-Whatever framework. Whatever means it could be scope object, controller etc. So when any change happens in the model the view automatically gets updated with the help of a loop i.e. called Digest Cycle in Angular JS.
  • Learn Angular *ngFor DirectiveJul 19, 2017. *ngFor is a structural directive and built-in directive that is used to iterate over collections like an array and create a template for each item. To setup Angular2 project in your Visual Studio, Download the "Quick Start Project" from the below given link and use the contents from downloaded folder into your project.
  • 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.
  • Create List With Default Items In SharePoint 2016 Using VS 2015Jul 18, 2017. In this article, I would like to share the steps to create SharePoint list with default items using VS 2015. In a previous article we saw how to create document library with predefined folders.
  • Best Practices For MVCJul 14, 2017. Add a class library project to the solution, named Store.Model. This library is where we ‘ll keep all of our domain objects. Entity Framework will count on them in order to build the database but we are not going to configure Code First using DataAnnotations attributes on this project. Instead, we are going to put all the Code First configuration in specific Configuration classes using the Fluent API. Add a folder named Models.
  • Consume Web API In Winform For File HandlingJul 12, 2017. In this article, we will see in detail how to consume Web API in Windows Form for Uploading File to Web server, get the list of file Information from Server folder and download the file from Server using C# Windows application.
  • Understanding ASP.NET - Part Three - Building Reusable And Configurable MiddlewaresJul 12, 2017. In this series we are learning about new Owin and Katana features in ASP.Net 4 and above. So, if you are new to OWIN then please go back and check other parts as well where we discussed all the details about OWIN, what benefits it provides and why we should use it.
  • Create Document Library With Folders In SharePoint Using VS 2015Jul 12, 2017. In this article I would like to share the steps for creating the document library with folder in SharePoint using visual studio 2015. In previous articles we saw how to create document library manually in SharePoint online Site.
  • How To Upload Records From Excel File to Database Using Stored Procedure In MVCJul 10, 2017. In this article, I will explain how to upload records from Excel files in the database using store procedure and also how to check all types of validation.
  • Quick start - Development Of Chat Bot Using Microsoft Bot Framework - For BeginnersJul 08, 2017. In solution explorer, you will see WebApiConfig.cs file, Controllers and Dialogs folders. 'MessageController' is inherited from 'System.Web.Http.ApiController'. Bot application is nothing but webapis which will be called from chat window to get response.
  • Update Entity Form JS Library Without Removing Event Handlers - Quick WorkaroundJul 06, 2017. Let’s say we have one entity with a good amount of custom fields and we have developed a web resource for the main form. Many of the fields have onchange event associated with them. Now we have a new requirement where we need to implement a similar kind of form with some new functionality for different types of users and some of the existing methods also need to be modified. The requirement is to replace new form JS library with updated new JS library but without removing dependent handlers (as we are using many onchange event handlers as it is) with minimum effort.
  • 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.
  • Installing SQL Server vNext On Linux - Part TwoJul 04, 2017. With the release of Microsoft SQL Server on Linux, it is a huge step towards gaining markets in Database Technologies giving competition to other RDBMS software. Microsoft SQL Server is not only on Windows but it is on Linux also and people who love Linux can check the flavor of SQL Server in the Linux environment.
  • Deploying A Simple LUIS Bot Using Microsoft Azure Bot ServicesJun 28, 2017. LUIS stands For Language Understanding Intelligent Service which offers a fast and effective way of adding language understanding to applications. With LUIS, you can use pre existing, world class, pre built models from Bing and Cortana whenever they suit your purposes and when you need specialized models, LUIS guides you through the process of quickly building them.It is also part of Microsoft Cognitive Service.
  • Managing Files And Folders In PowerShellJun 20, 2017. Managing Files And Folders In PowerShell.
  • Check/Uncheck All GridView Checkboxes With jQueryJun 05, 2017. jQuery: Check and Uncheck all checkboxes inside GridView with parent checkbox.
  • Upload Content To Azure Container, CDN In WordPress Folder FormatJun 03, 2017. Here, in this article we are going to a see how we upload contents to our Azure container in our CDN storage in a WordPress folder format. You may be thinking what is so special in WrdPress folder format, what makes the difference in other formats? When I say WordPress folder format, I mean one folder in an another folder. In WordPress we usually have the structure as wwwroot/wp-content/uploads/2017/05/. The real problem is, we can not create a container inside a container. Yeah, you heard it right. But, you don’t need to worry about it, there are always few ways we can achieve this need, in this post I am going to show you that. I hope you will like this. Now let’s begin.
  • Check Battery Status In Xamarin iOSMay 29, 2017. In this article, you will learn how to check battery status in Xamarin iOS, using Xamarin Studio.
  • Check Internet Connectivity In Xamarin iOSMay 26, 2017. In this article, you will learn how to check internet connectivity in Xamarin iOS, using Xamarin Studio.
  • How To Check Deployment Of Specific Content In SharePoint 2013 Central AdministrationMay 13, 2017. In this article, we will see how to check deployment of specific content in SharePoint 2013 Central Administration.
  • Technical Due Diligence ChecklistMay 01, 2017. A useful list when taking ownership of an existing project.
  • Create Shared Folders In Windows Server 2016 - Computer ManagementApr 20, 2017. In this article, you will create shared folders in Windows Server 2016 - Computer Management.
  • SharePoint 2013 - Disable Loopback CheckApr 11, 2017. In this article, we will discuss how to disable loop back check for development VMs to avoid certain complexities during the development process.
  • Working With Expression Bodied Members In C# 7.0Mar 31, 2017. This article explains about existing and new expression bodied members, which are introduced in C# 7.0 and demonstrates how to use them in software development.
  • Creating Your First Angular 4 ApplicationMar 28, 2017. In this article, I explain how to install and upgrade your existing Angular Application to Angular 4 Application and how to create your first Angular 4 Application.
  • Allow Only Single Checkbox To Be Checked At A Time In Kendo MVCMar 27, 2017. This article imparts knowledge on how to allow only single checkbox to be checked at a time in Kendo MVC.
  • Multi-Check Filtering In Kendo Grid Using ASP.NET Web APIMar 24, 2017. From this article, you will learn how to implement the multi-check filtering in Kendo Grid using ASP.NET WEB API.
  • The Select All Check Box Header Template In Kendo Grid Using ASP.NET WEB API And Entity FrameworkMar 22, 2017. In this article, you will learn how to implement the select all check box header template in Kendo Grid, using ASP.NET and Entity framework .
  • Transform Existing SOAP Based Web Service To REST Based API Using Azure API ManagementMar 21, 2017. This article will explain how to transform existing SOAP based Web Services to REST based API , using Azure API Management.
  • SharePoint 2016 Central Admin - Upgrade And Migration - Check Product And Patch Installation StatusMar 11, 2017. In this article, you will learn about SharePoint 2016 Central Admin - Upgrade And Migration - Check Product and Patch Installation Status.
  • Removing Folder In A SharePoint Document Library Using JavaScript Object Model (JSOM)Mar 09, 2017. In this article, you will learn how to remove a folder in a SharePoint Document Library, using JavaScript Object Model (JSOM).
  • Check Network Connectivity In Xamarin.Forms Application For Android And UWPMar 07, 2017. In this article, you will learn how to check Network Connectivity in Xamarin Forms application for Android and Universal Windows Platform with XAML and Visual C# in cross platform application development.
  • Easy View To Check Plan’s Duration And Finish Dates In Microsoft Project 2013Mar 06, 2017. In this article, we shall learn how to check the plan’s duration, start & finish dates in the Microsoft project 2013.
  • How To Check Granular Backup Job Status In SharePoint 2013 Central AdministrationFeb 28, 2017. In this article, we will see how to check Granular Backup job status in SharePoint 2013 Central Admin.
  • SharePoint 2016 Central Admin - Upgrade And Migration - Enable Features On Existing SitesFeb 28, 2017. In this article, you will learn how to enable features on Existing Sites in SharePoint 2016 Central Admin.
  • How To Check Backup And Restore Job Status In SharePoint 2013 Central AdministrationFeb 26, 2017. In this article, we will see how to check backup and restore job status in SharePoint 2013 Central Admin.
  • Visual Studio And Python - Importing Existing ProjectFeb 21, 2017. This article is about importing Python projects into Visual Studio.
  • Setup Angular 2 Application Within Minutes Using Angular CLIFeb 10, 2017. Setting up an Angular 2 application requires a lot of time. It's time consuming to create proper folder structure, config files, system.js file, environment file, etc. This article shows how we can quickly create an Angular 2 application using Angular 2 CLI within minutes. Prior knowledge of Angular 2 is required for this article.
  • SharePoint 2016 Central Admin - Backup And Restore - Check Granular Backup Job StatusJan 24, 2017. In this article, you will learn how to check granular backup job status in SharePoint 2016 Central Admin.
  • Customizing SharePoint Framework Web Part Properties - Part TwoDec 30, 2016. In this article, you will learn how to add custom properties to the SharePoint Framework web part. Check box properties are considered here.
  • Azure Data Lake Store - Create An Azure Data Lake Store Account On the Portal And Put a Folder In ItDec 12, 2016. In this article, you will learn how to create an Azure Data Lake Store account on the portal and put a folder in it.
  • Separate TypeScript (TS) And JavaScript (JS) Files In Different Folders In Angular 2Dec 12, 2016. In this article, we will learn how to separate TypeScript and JavaScript files in different folders in Angular 2 applications, using Visual Studio.
  • Building Web Applications Using Node.js - Part ThreeDec 03, 2016. In this article, we will learn about creating navigation, routing, and rendering pages. We will separate our files in different folders according to modules and we will create routing functions.
  • SharePoint Basic Folder Operations Using TypeScriptNov 28, 2016. In this article, you will learn how to perform basic folder operations for libraries in SharePoint, using TypeScript programming.
  • Hide Or Show Frequent Folders In Quick Access In Windows 10Nov 25, 2016. In this article, you will learn how to hide or show frequent folders and recent files in Windows 10.
  • Working With Ionic Check Box Class In Ionic Blank App Using Visual Studio 2015Nov 24, 2016. In this article, you will learn about how to add Check Box class in Ionic app, using Visual Studio 2015.
  • Workaround For Loop Back Check Issue In SharePointNov 23, 2016. In this article you will learn about Loop Back Check Issue in SharePoint.
  • How To Check NetworkInfo In Xamarin Android App Using Visual Studio 2015Nov 22, 2016. In this article, you will learn how to Check NetworkInfo in Xamarin Android app, using Visual Studio 2015.
  • Add Subnet To A Virtual Network Using Azure Management PortalNov 13, 2016. In this article, we will learn how to create a new subnet to an existing Virtual Network (VNet).
  • Cognitive Service Bing Spell Check API Using Azure, XAML And C#Nov 11, 2016. In this article, you will learn how to do Cognitive Service Bing Spell Check API in Universal Windows apps development with Azure, XAML and Visual C#.
  • Getting Started With Microsoft Azure Cognitive Services - Bing Spell Check APINov 02, 2016. In this article, you will learn about getting started with Microsoft Azure Cognitive Services - Bing Spell Check API
  • How To Create Microsoft Cognitive Service Bing Spell Check API On Azure Portal Oct 29, 2016. In this article, we will learn how to create Microsoft Cognitive Service Bing Spell Check API in Azure portal.

About check-if-folder-exists

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!