C# Corner

Resources  
  • Xamarin.Android - Gesture Overlay ViewDec 10, 2017. In this article, I shall show you how to create Gestures using Gesture Overlay View in Xamarin Android
  • Knowing When To Reflect With Caller Info AttributesDec 10, 2017. If you've been around C# long enough, you've probably had a need at one time or another to figure out some information about code that's being executed. It might be a method name, the file being executed, or even more specific details like the line number.
  • Xamarin.Forms - Multilingual AppDec 10, 2017. In this article, we are going to learn how to create a multi-language application using Visual Studio 2017 15.5
  • Xamarin.Forms - Video Player AppDec 08, 2017. In this article, we are going to learn about how to create a media player in Xamarin.Forms application. Play audio and video in local or remote control for that project.
  • Creating Angular Project Using MVCDec 08, 2017. Let's learn how to create an Angular project using MVC.
  • 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.
  • Understanding Classes In KotlinDec 07, 2017. In the above example, I have created a nested class ‘Nestedclass’ which has a data member ‘b’ and a member method show(),now the object of nested class can access member of nested class only.
  • Creating Server And Host HTML Page Using Node.jsDec 07, 2017. Today my mission is to explain about creating server in Node JS and hosting html pages on this server and accessing it from web browser.
  • Step By Step Procedure To Create An Azure Logic AppDec 06, 2017. The article is on the detailed procedure of building an Azure Logic App. These steps are described with photos.
  • Role Of Text Analytics Service As A Connector In Azure Logic AppsDec 06, 2017. In this article, we will learn, via a demo application, about the role of Text Analytics Service, a Cognitive Services offering, as a connector in Azure Logic Apps.
  • 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.
  • Learn About Bing Image Search APIDec 05, 2017. This article demonstrates how to create the Bing Search API on the Azure Portal.
  • How To Delete Attachments Of SharePoint List Item Using Rest APIDec 05, 2017. I have created a custom list named “Attachments” in the host site and have added multiple items with attachments, now let’s say that we want to “Delete” the attachments on any particular item which we want.
  • Getting Started With Bing AutoSugesstion API On The Azure PortalDec 05, 2017. This article demonstrates how to create the Bing autosuggestion API on the Azure Portal.
  • Creating Angular 5 App With Visual Studio 2017 - An Easy WayDec 05, 2017. There are multiple ways to create an Angular app with Visual Studio and this article explains one of the easiest and simplest ways to create Angular 5 App with Visual Studio 2017 using a template.
  • Accessing Azure Key Vaults Using Certification Dec 05, 2017. In the old days, we used to access the Azure Key Vaults using Vault URL and its Secret Key, we were placing this in config file and going from there.
  • AppIntro Library Using Android ApplicationDec 05, 2017. In this article I am creating a simple app that contains few intro slides with next and skip navigation.The user can navigate through each slide using swipe gesture or using the next button.
  • Creating A Chat Application In Node.js With Express, MongoDB, Mongoose And Socket.ioDec 05, 2017. In this article, we are going to create a chat application in NodeJS with the back end MongoDB. We will also be using Mongoose for creating the MongoDB models and Socket.io for making multi directional chats on multiple client window.
  • Display Sub Directories And Files In TreeViewDec 05, 2017. Display Sub Directories and Files in Treeview, Tooltip in Treeview Nodes, Loading Files in Treeview, Display image icon in TreeNode.
  • Xamarin.Forms - Text AppDec 04, 2017. In this article, we are discuss about how to display text in different styles and font sizes in Xamarin.Forms using Visuaal Studio 2017
  • How To Create Three-Layer Architecture Of ASP.NET ApplicationDec 03, 2017. Three-layer architecture is made of Presentation, Business, and Data access layer. In this article, I will create three layered architecture with the help of a simple asp.net application.
  • Xamarin.Forms - Hierarchical Navigation AppDec 02, 2017. In this article, we are discussing how to create a hierarchical navigation application in Xamarin.Forms using Visual Studio 2017
  • Creating An Emotion API On The Azure PortalDec 02, 2017. This article shows how to create the Emotion API on the Azure Portal and access the keys to use the Emotion API in our applications.
  • Charts In ASP.NET MVC Using Chart.jsDec 01, 2017. This article demonstrates how to create charts in ASP.NET MVC using Chart.js and C#. This article starts with how to use Chart.js in your MVC project. After that, it demonstrates how to add charts in a view.
  • Creating An HDInsight Hadoop Cluster On LinuxDec 01, 2017. This article shows how to create the HDInsight Hadoop cluster with Linux installed on the cluster nodes in the Azure Portal.
  • Work With External AppSetting Of Web.ConfigDec 01, 2017. In this article, you will learn about .NET Configuration Files
  • Mounting Azure File Share With WindowsNov 30, 2017. This article shows how to create an Azure Storage account
  • Routing In Suave.io - Web Development With F#Nov 29, 2017. A web application is generally composed of multiple “routes”. A route means a URL that does not necessarily map a physical file, you can use routes to define some URLs that are semantically meaningful to the user.
  • CRUD Operations On A SharePoint List Using REST APINov 29, 2017. In this article, I am going to explain how to perform CRUD (Create, Read, Update, Delete) operations on a SharePoint list using REST API.
  • Creating Blob Storage In Microsoft Azure Using C# ASP.NETNov 29, 2017. This article will discuss how can we create/Use MS Azure storage in ASP.NET Web application using MS Libraries. I am not an expert to discuss all the part of Azure Storage, but I am sharing the things about Blob Storage.
  • Building Entity Framework Disconnected Generic RepositoryNov 29, 2017. The repository pattern separates and retrieves data model mapping logic from the business logic. We will create a repository class for each entity class in our application. All these classes usually have a main group of equals methods.
  • Notification Alert Android App Using Android StudioNov 29, 2017. In this article, I will show you how to create a Notification Alert Android App using Android Studio.
  • Creating Custom Tag Helpers With ASP.NET Core MVCNov 29, 2017. The tag helper enables us to run server-side code to generate HTML, CSS, Javascript code in Razor view.
  • Saving Your Ruby On Rails Application Code To Github.comNov 28, 2017. In this article you will learn git configuration in git bash and git hub repository creation, add new ssh key in git hub and finally add all application files into git hub repository via remotely using with git bash for Ruby on Rails application version controlling.
  • Xamarin.Forms - BugSweeper AppNov 28, 2017. In this article, we will learn how to create BugSweeper application in Xamarin.Forms using Visual Studio 2017.
  • 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!!
  • Progress Bar Android App Using Android StudioNov 28, 2017. In this article, I will show you how to create a Progress bar android App using Android studio. We can display the Android progress bar dialog box to display the status of work being done e.g. downloading file, analyzing status of work etc.
  • How To Notify Me About Positive Twitter Posts Using Microsoft FlowNov 28, 2017. This article helps you to learn how to notify me about Positive Twitter posts using Microsoft Flow
  • Creating A Windows Virtual Machine On The Azure Portal And Expanding The OS DiskNov 28, 2017. This article demonstrates how to create a Virtual Machine on the Azure portal and also how to expand the OS Disk for high space availability.
  • Battery Level Android App Using Android StudioNov 27, 2017. In this article, I will show you how to create an Android app that shows Battery Level.
  • Convert XML File To Excel FileNov 27, 2017. Here, we are going to learn to read XML files in C# WindowsForm applications. We are going to make a small single-form application which takes an XML file from the user and convert XML Data to Excel Data and Returns an Excel File.
  • Angular 5 App With ASP.NET Core 2.0 Web APINov 26, 2017. Today, we will see one of the simplest ways to create an Angular 5 app & how to integrate it with ASP.NET Core 2.0 Web API. So, let’s start by having a look at what are the steps involved in creating such an application and we will go through each step in detail.
  • Configuring Log4Net With Database - A Tutorial For BeginnersNov 26, 2017. Log4Net is a framework for logging .NET applications. It is an open source library that can be used to log output for different targets like logging output in Text files, Database, Console, Mail (SMTP), Remote and others. In this article, I will explain how to log output in a database.
  • Creating An IoT Hub On The Azure PortalNov 25, 2017. This article shows how to create an IoT Hub on the Azure Portal and also how to create the device Identity for simulating a device on PC.
  • How To Create A Stored Procedure In SQL Server Management StudioNov 25, 2017. In this article you will learn about how to create store procedure in sql server’s SQL SERVER MANAGEMENT STUDIO and very informative information and interview questions and answers about store procedure.
  • Creating A Navigation Android App Using Visual StudioNov 25, 2017. This application will take two user inputs for map -- Latitude and Longitude. Clicking on open in map will open the map that can show you directions from the current location to the given address defined by the two user inputs.
  • Transform Web.Config File While Deploying The Web Application ProjectNov 25, 2017. One of the nice features that supports Visual Studio 2010 and above versions is Web.Config (XDT) transformations.
  • Creating A Simulated Device For IoT Hub Using .NETNov 24, 2017. This article shows how to create a simulated device for IoT Hub using .NET
  • Building Intelligent C# Corner FAQ Bot Using QnA Maker And Azure Bot ServiceNov 24, 2017. In this article, we will be learning as how to create or build an intelligent Azure Bot using Microsoft QnA maker and Azure Bot service. Also, we will be deploying this Bot to application live. For novice Cloud developers, aspiring Cloud architects, Pre-sales consultants and all other IT professionals associated with the Cloud computing, especially with Microsoft Azure and Artificial Intelligence, this article will explain the capabilities of Microsoft Bot service and Microsoft cognitive QnA Maker.
  • Creating An Event Hub On The Azure PortalNov 24, 2017. In this article, I am going to describe and demonstrate the creation of Event Hubs on the Azure Portal.These Event Hubs are used to act as a port to collect the streaming data and processing of that data per second.
  • Anchor Tag Helper In ASP.NET MVCNov 23, 2017. The Anchor Tag Helper generates HTML anchor (<a> </a>) element by adding a new attribute. The "href" attribute of the anchor tag is created by using new attributes.
  • How To Generate Audio For My Facebook Post Using Microsoft FlowNov 23, 2017. This article helps you to learn how to Generate Audio for a Facebook post by creating flow between Facebook and OneDrive.
  • CRUD Operation With ASP.NET Core MVC Using Visual Studio Code And ADO.NETNov 23, 2017. In this article we are going to create a web application using ASP Core MVC with the help of Visual Studio Code and ADO.NET.
  • 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.
  • Xamarin.Forms - Camera AppNov 22, 2017. In this we will learn how to create your own camera application and showing the last captured image.
  • Creating An Azure Storage In Microsoft AzureNov 22, 2017. This article shows how to create an Azure storage in the Azure portal and also performing some basic operations like creating Storage accounts and containers and managing the access keys in it.
  • Xamarin.Forms - Modal PagesNov 22, 2017. In this article, we will learn how to create modal pages in Xamarin.Forms using Visual Studio 2017.
  • Copying A File In Node.js v8.5Nov 22, 2017. In this article, I will explain how to copy a file using the brand new Node.js version 8.5.
  • Implementation Of Face API Using Microsoft Azure And Visual StudioNov 22, 2017. This article shows how to create the Face API using Microsft Azure and Visual Studio,
  • Xamarin.Android - Working With MongoDBNov 21, 2017. Today, I will show you how to create MongoDB and how to use MongoDB using Xamarin.Android.
  • Create Views In SharePoint ListNov 21, 2017. In this article, I will share the steps to create a View in SharePoint list. Already we have gone through how to create a list and their features.
  • Creating A Standalone Automation Account In Azure PortalNov 21, 2017. Microsoft Azure Automation supports a path for the users to automate the manual, long-processing, error tracking and is mostly needed for the continuous repeated process in the cloud and in many companies.Then automation saves the time and increases the reliability of the regular administrative works and it also schedules them to be automatically performed at regular intervals.The Automation can be taken with the help of Runbook.
  • Creating A Data Science Virtual Machine(DSVM) For Linux In The Azure PortalNov 21, 2017. In this article, I am going to demonstrate how to create the Data Science Virtual Machine for Linux on the Azure Portal and connect the DSVM to visualize the VM using X2Go Client Software.
  • Make A Text Recognition App Using Xamarin.AndroidNov 20, 2017. Today, I shall show you how to create a Text Recognition app using Xamarin Android. I shall used Xamarin Google-Play-Services Vision for text recognition.
  • Creating A SQL Database And SQL Server On The Azure PortalNov 20, 2017. This article shows how to create a SQL Database and Server on the Azure Portal and also the process of configuring the threat protection to our Database.
  • Creating My First ChatBot Using Angular(5.0) And Dialogflow (API.AI)Nov 20, 2017. Anyone who have ever tried to contact company through customer care center they know how slow and frustrating process it is. You remember that audio tape “press 1 for this, press 2 for this ,press * to go back to menu and blaa blaa blaa….“ say for example if you want to activate a simple caller tune to your phone number then you have to spent at least 10 min to know the code to activate that caller tune by hearing that audio tape and pressing so many number and finally if you had a good luck then only you able to activate you caller tune.
  • Xamarin.Android - Text Recognition By Mobile CameraNov 20, 2017. Mobile Vision is an API which helps us to find objects in photos and video, using real-time on-device vision technology.
  • Creating An Azure Data Lake Store And Data Analytics Account In Azure PortalNov 20, 2017. This article shows how to create an account on Azure Data Lake and Data Analytics in the Azure portal.
  • Uploading, Validating, And Storing A File Into Database Using EF In ASP.NET MVC5Nov 20, 2017. Here, you will learn how to upload a file, validate a file and store a file into database using JQuery, Entity Framework in ASP.NET MVC5
  • 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) .
  • How to Return Files From Web APINov 18, 2017. This article explains how to transfer/ return files(PDF/Doc/Excel/zip) files from Web API service
  • Creating CRUD API In ASP.NET Core 2.0Nov 17, 2017. ASP.NET Core gives a unified mechanism for creating MVC and Web API application. The key difference is that Web API will return JSON (or XML) and HTTP status codes instead of views, in order to communicate with the client.
  • Create App Using Xamarin.Android Using C# - Part FourNov 17, 2017. Xamarin.Android has native user interface controls. These controls can be easily added to Xamarin.Android apps using the Android Designer or programatically via XML layout files. Xamarin.Android exposes all of the user interface object properties and methods in C#.
  • Creating A Data Science Virtual Machine(DSVM) On The Azure PortalNov 16, 2017. This article describes what a Data Science Virtual machine is and demonstrates how to create it in the azure portal.
  • 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.
  • What Is Struct And When To Use Struct In C#Nov 15, 2017. 'Struct' keyword is used to create a structure. A structure can contain variables, methods, static constructor, parameterized constructor, operators, indexers, events, and property. A structure can not derive/inherit from any structure or class. A structure can implement any number of interfaces. Structures provide better performance.
  • 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.
  • Auto Numbering For Custom Entity In Dynamic CRMNov 14, 2017. We are not adding any field for auto number using CRM Default solution. So, until now you should have one Entity created with no custom field in it (only default system generated fields). Now its time to write some code to see this auto number thing happen. what we have to do is to create an Attribute using C# Code and make that attribute to be auto numbered. we can even have some prefix or suffix also.
  • 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.
  • How To Use StringBuilder And File Class For .NET ApplicationNov 14, 2017. Here, I am going to share how and why should we create error log in our application.
  • Xamarin.Forms - Login Flow APPNov 13, 2017. In this article, we will discuss how to create login system in Xamarin.Forms using Visual Studio 2017
  • Xamarin.Android - Create A Chat App Using ASP.NET And SignalRNov 13, 2017. Today, I demonstrate you how to build a signalr chat client application using asp.net and xamarin.android with azure.
  • Introduction To Serverless Architecture In AzureNov 11, 2017. In this article, we will see how to create logic apps in Azure.
  • 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.
  • 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.
  • 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.
  • Introduction To Xamarin.Android Using C# - Part OneNov 10, 2017. Xamarin.Android will create native Android applications using modern language (C#), .NET Base Class Library Visual Studio. Xamarin is a cross-platform development tool. It solves dilemmas many developers face when developing cross-platform apps: separate coding languages and UI paradigms. With Xamarin, you can use C# for iOS, Android, and Universal Windows apps. And with Xamarin Forms, interface design for all three platforms can be accomplished within its XAML-based framework.
  • Angular 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
  • Enums In C#Nov 09, 2017. Suppose we are creating a program in which we have to use multiple named constants of similar type and on the basis of a particular constant we have to perform some operation. So what we normally do is initialize each named constant with a value. This may require a lot of effort if the number of constants is large. Also the look and feel of the code is not up to the mark. Have a look at the below program to understand more. The program contains months of the year. We have to put lots of effort to assign each month to a value.
  • How To Create Logic App From Template In AzureNov 09, 2017. Azure Logic Apps is a fully managed integration Platform as a service which provide a way to automate the workflows and business processes. You could easily integrate across different services in cloud and on-premise through connectors. In this article you will see how to create logic app from template which will create a new item in SharePoint Online list when a new tweet appears with text as “SharePoint”, #SharePoint, O365 or Azure.
  • 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.
  • Create A Flash Light App In Xamarin.Android Using Visual StudioNov 08, 2017. Here it goes, My friend receive Samsung mobile phone few month ago. She like it in particular, yet one thing that it doesn't accompany is the toolbox for fundamental utilities. One of them is the spotlight application that triggers the gadget to enact or deactivate the electric lamp as required. Android supports you to have Camera API devoured in your application (all things considered, electric lamp is given to photographs or recordings and not as a floodlight). Anyway, I was believing that I ought to get an application from Play Store, correct? No! Despite the fact that it would give me an "exquisite" answer for my spotlight issue, yet shouldn't something be said about the armed force of ad I should experience, or the hazy UI of the application. So I figured I should manufacture an application for herself to have the capacity to trigger the spotlight on or off.
  • 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.
  • How To Create A Blank Logic App In AzureNov 07, 2017. Azure Logic Apps is a fully managed integration platform as a service which provides a way to automate the workflows and business processes. You could easily integrate across different services in the cloud and on-premise through connectors. In this article you will see how to create a blank logic app which will send an email to a Gmail account when a new tweet is posted with the text “SharePoint” or #SharePoint.
  • Learn Angular 4.0 In 10 Days - Day OneNov 07, 2017. HyperText Markup Language (HTML) was invented in the year of 1990 by Tim Berners-Lee—a famous physics and computer scientist—while he was working at CERN, the European Organization for Nuclear Research. He was motivated to discover a better solution to share information among the researchers of the institution in a very quick and easy way. To support that, he also created the HyperText Transfer Protocol (HTTP) and its first server, giving rise to the World Wide Web (WWW). At that time, HTML was used just to create static documents with hyperlinks, allowing the navigation between them.
  • Alphabets to Numbers Translator For Calling In Xamarin.AndroidNov 07, 2017. In this article, we will learn how to build Call Translator App for Xamarin Android. This is a simple app for learning some basics for beginners and you can also create it in Android Studio but I like to make it in Visual Studio, therefore I developed it in Xamarin.
  • 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).
  • URL Routing Of ASP.NET MVC And ASP.NET Web FormsNov 06, 2017. Asp.Net MVC has route-based URLs which means URLs are divided into controllers and actions; and moreover, it is based on controller not on physical file.
  • 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).
  • Power BI On-Premises Server Installation And ConfigurationNov 06, 2017. On October 31, 2017 Microsoft released the latest version of Power BI report server, in this version on-premises reports can connect to different data sources (SQL Server, Oracle, SAP HANA ...Etc.). Users can also use direct Query option or import data option and create schedule to refresh the imported data. This article will give the step by step process to install and configure a Power BI on premises server.

About create-text-file

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!