C# Corner

Resources  
  • How To Schedule Timer-Based Callbacks With ExampleNov 16, 2017. In this article, we will look at how the JavaScript timer functions - settimeout, setinterval, and Cleartimeout -- are used to schedule and cancel timer-based Callbacks, with a simple example of stopwatch program.
  • 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.
  • 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.
  • Dependency Injection In AngularNov 14, 2017. Let us assume, if we want to build a Home. To build a Home we need several objects like bricks, wood, concrete, iron etc. To keep this example simple let's say we just need a bricks object to build a Home.
  • Steps To Configure Xamarin.Android Emulator Performance - Part TwoNov 14, 2017. Xamarin is a cross-platform development tool. 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.
  • 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.
  • 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.
  • 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 Pipes With ExamplesOct 29, 2017. The first parameter 'USD' is currency type which can be of INR, USD or any currency type in the world. The Second parameter 'true' is a Boolean indicating whether to display currency symbol or not .By default it is false and, if we change it to true then the symbol will be displayed.
  • 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.
  • One-Way And Two-Way Data Binding With Examples In AngularOct 27, 2017. In Angular 2, Data Binding is mainly classified in two ways, namely One-Way binding (i.e. unidirectional binding) and two-way binding (i.e. bi-directional binding).
  • How To Read CSV File In ASP.NET With Example C# and VB.NETOct 26, 2017. In this articleI'll explain a way to upload, read/browse and show CSV file (Text File) information in ASP.Net GridView using C# and VB.Net.
  • Angular Directives With ExamplesOct 24, 2017. Directives play an important role in Angular 2 project, when we display the templates or html pages in our project. By using this we can easily manipulate our Dom layout.
  • Angular 2+ Logger Using ng2.loggerOct 23, 2017. In this article I am going to show you the process to log messages in Angular 2+ applications with examples. Ng2 Logger is a simple logging module for Angular 2+ applications. This allows you to log messages based on the log level setup.
  • An Easy Way To Encode And Decode File In ASP.NETOct 13, 2017. In this article, I’ll explain a way to encode and decode a file in ASP.NET using C# and VB.NET with example.
  • Create Angular Project By Using ASP.NETOct 13, 2017. Angular 2 is an open source JavaScript framework to build web applications in HTML and JavaScript. This tutorial looks at the various aspects of Angular 2 framework which includes the basics of the framework, the setup of Angular and how to work with the various aspects of the framework. Other topics discussed in the tutorial are advanced chapters such as interfaces, nested components and services within Angular. Topics such as routing, modules, and arrays are also dealt with in this tutorial.
  • Angular Components (With Examples)Oct 12, 2017. A Component is nothing but a simple typescript class, where you can create your own methods and properties as per your requirement which is used to bind with an UI (html or cshtml page) of our application.
  • Excel To XML Using LINQOct 11, 2017. In this article we will show you the easiest way to convert Excel data into Xml files. There is a certain way to convert Excel file to Xml, for example using Excel Library (Com Component)
  • Overview Of Let In LINQOct 09, 2017. In general, Let allows create a local variable at the LinQ query. Let has the same operation as to build local variable in a loop. The example with let hast better performance than the without let example, because the first execute one time and second two time for each item.
  • How To Use DataList Control In ASP.NET With Example in C#Oct 08, 2017. In this article I’ll present a tutorial with an example, a way to use the DataList control in Asp.Net for the displaying of information/ records from the database with using SqlDataSource.
  • Amazon SNS (Simple Notification Service) Using Visual StudioOct 07, 2017. This is the working example of the ASNS (Amazon simple notification service) you can follow the step and can implement the notification service, message service, email service using this.
  • How To Change/Switch The Database Dynamically In An ASP.NET MVC ApplicationOct 06, 2017. This is an example with code snippets to show how to switch or change the database (Connection string) dynamically while running a program in ASP.NET MVC 5 applications.
  • .NET Entity Framework Core Generic Async Operations With Unit Of Work Generic RepositoryOct 05, 2017. The advantage of generic repository is that you can inherit from it, pass an entity type, and you will get CRUD operations. It will save you a lot of coding time when your domain objects are likely to grow over 50+. Another advantage is change history functionality; you can inherit your entities from the change history interface.
  • ASP.NET Core 2.0 Uses SignalR TechnologySep 30, 2017. I am using the current highest version in this example, of course the version number is likely to change every day, the latest version of the SignalR is not compatible with the .NET Core SDK 2.0 Preview 1 by default when creating the project Microsoft.AspNetCore.All l.
  • 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).
  • Understanding Gulp Tasks In SharePoint Framework SolutionsSep 24, 2017. Let us look deeply into the Gulp tasks we use in SharePoint framework solutions. Gulp helps in automating the manual tasks done in a solution. Say for example, when you create SharePoint framework solution, you try to test the web parts using the gulp tasks. The tasks are defined using gulpfile.js present in the SPFx solution.
  • Learn About SharePoint InterfaceSep 21, 2017. In this article, I will discuss the SharePoint 2016 interface.
  • 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.
  • Change Android Application Icon Using Android StudioSep 15, 2017. In this article, I will show you how to change the Android application Icon using Android studio. Icons are part of the graphical user Interface of the mobile application.
  • Using MPMoviePlayer In Xamarin iOSSep 15, 2017. Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows Phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.
  • GitHub Extension In Visual Studio 2017Sep 13, 2017. In this article, I will explore the GitHub Extension for Visual Studio 2017. GitHub is a web-based graphical interface Git or version control repository that mostly used for code. It provides for each project access control and several collaboration features like bug tracking, feature requests, task management, and wikis.
  • Use Of HttpResponseMessage In WebAPISep 11, 2017. Here, you will learn the uses of HttpResponseMessage WebApi. For better understanding we will go step by step with simple examples.
  • Getting Started With Bing Image Search APISep 08, 2017. In this tutorial, we will learn how to use Bing Image Search API. Remember, in our first example of cognitive services, we had created a demo Bing Speech API. In this tutorial, we will extend the same demo to search images, i.e., we will pass the text result of Bing Speech API to Bing Image Search API.
  • Getting Started With Bing Emotion APISep 08, 2017. In this tutorial, we will learn how to use Bing Emotion API. In our previous example of the cognitive service demo, we had combined two cognitive services, Bing Speech API and Bing Emotion API, so as to find images using speech to text (STT). To extend this demo, we will be using Bing Emotion API which will detect the emotions of a person from the image that we had searched using Bing Image Search API.
  • Aspect Oriented Programming In C# With RealProxy classSep 07, 2017. Example of implementing logging using RealProxy class.
  • Use Of Union, Intersect, Distinct And Except In LINQSep 01, 2017. Here, you will learn the uses of Union, Intersect, Except, and their differences, To get a clear picture, we will go with examples.
  • Use Of Deferred And Immediate Query Execution In LINQAug 31, 2017. Here, you will see about query execution in linq and what is deffered query execution, what is immediate query execution and it's differences, we will see with example for better understanding.
  • REST CRUD Operations Using SharePoint Hosted App Office 365 - Part TwoAug 23, 2017. You can perform basic create, read, update, and delete (CRUD) operations by using the Representational State Transfer (REST) interface provided by SharePoint.In this article, we will do CRUD operations using REST.
  • 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.
  • Dependency Injection - Part One -Tightly Coupled ApplicationAug 07, 2017. It is a best practice to use interfaces instead of concrete classes. These interfaces can then be mocked at the time of unit testing, which will prevent any call to the actual database. Also, it is a good practice to stop "newing-up" objects in classes.
  • Facebook Login Using Xamarin.Auth In Xamarin iOSAug 04, 2017. Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.
  • Writing Code With Programming Ligatures In Visual StudioAug 01, 2017. Almost all visual studio developers are already in love with Consolas font. Consolas is an awesome, top ranked font to write code. But sadly, Consolas doesn't has any ligature support for us. What is ligature in a language? Typographic ligature occurs when two or more letters are joined as a single letter. For example AE > Æ, OE > Œ etc. So how can we carry ligature in our code in visual studio? There are plenty of fonts to write code with ligature support, such like- Fira Code, HasKlig, Monoid and etc.
  • 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.
  • Routing In Angular 2 With TypeScript And Visual Studio 2015 - Part OneJul 29, 2017. In this article, we are going to learn how to implement routing in Angular 2 with an example. Routing is a concept which helps users to navigate from one view to another view of the application. Similarly, routing in Angular 2 helps users to navigate from one view to another view depending upon the URL which user enters in the browser.
  • Communication Site Overview In SharePoint Online - Part OneJul 22, 2017. Microsoft recently provided a huge update for SharePoint online customers to view the SharePoint sites in different level User Interfaces. This site template is named “Communication Site”
  • UITableView : Swipe-Right In Xamarin iOS AppJul 19, 2017. In this article, you will learn how to Swipe Right Using UITableView in Xamarin iOS, using Xamarin Studio. Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.
  • UITableView in Xamarin iOS AppJul 18, 2017. In this article, you will learn how to create a list using UITableView in Xamarin iOS, using Xamarin Studio. Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.
  • BoxView In Xamarin Cross Platform With ExampleJul 17, 2017. The BoxView is a simple view, useful for drawing solid color rectangles. BoxView is a useful stand-in for images or custom elements when doing initial prototyping. BoxView has a default size request of 40x40. Used creates border property in page.
  • Understanding Interface With Real World ImplementationJul 03, 2017. In our day to day lives we learn new things; similarly in terms of programming we want to keep ourselves updated and learn every new feature. Learning a new thing is good but it doesn't become beneficial for you until you implement it in your application. Thus this article is about one of the topics that every programmer knows very well but they don’t know how to implement get the benefits.
  • Manage System Processes Using Windows PowerShellJun 28, 2017. You can easily manage system processes using Windows PowerShell by just typing some simple Cmdlets. Below are some of the examples that help you to manage system processes using Windows PowerShell.
  • 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.
  • 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.
  • Working With PowerShell DrivesJun 25, 2017. Windows PowerShell drives are data store locations that you can access like any other ?le system drives in Windows PowerShell. The Windows PS providers create some drives for you, such as the ?le system drives (including C: and D:). Below examples provides you how to work with PowerShell Drives in Windows PowerShell.
  • Managing System Services Using Windows PowerShellJun 24, 2017. You can easily manage system services using Windows PowerShell by just typing some simple Cmdlets. Below are some of the examples that help you to manage system services using Windows PowerShell.
  • Database Driven Development And Developing The User Interface Using C#Jun 21, 2017. In this article, I am going to explain about Database Driven Development and Developing the User Interface Using C#.
  • Built-In And Custom AngularJS Filters With ExamplesMay 25, 2017. This article will demonstrate built-in as well as custom AngularJS Filters with examples on Plunker Editor.
  • Google Maps - Traffic Signal Between Source And Destination Using Bootstrap And ASP.NET MVCMay 22, 2017. This real time example can be implemented in an online transportation network company like Ola or Uber.
  • Toolbar Icon In Xamarin Cross Platform With ExampleMay 19, 2017. Toolbar Icon In Xamarin Cross Platform with an example.
  • Working With Raspberry Pi And 16 X 2 LCD DisplayMay 19, 2017. In this tutorial we will be talking about how to interface the raspberry pi and 16 X 2 LCD using GPIO and Python.
  • GestureRecognizers In Xamarin (Cross Platform) With Image ExampleMay 17, 2017. In this article, you will learn about Gesture Recognizers In Xamarin (Cross Platform) with an Image example.
  • Toolbar Item In Xamarin Cross Platform With Toolbar Order ExampleMay 17, 2017. Toolbar Item In Xamarin Cross Platform With Toolbar Order Example.
  • Write HTML Code In Xamarin Cross Platform With Table ExampleMay 17, 2017. You build your mobile app entirely in HTML, however those apps can suffer from performance problems when trying to accomplish complex processing or UI effects and are also limited in the platform features which they can access.
  • Built-In And Custom AngularJS Services With ExamplesMay 08, 2017. This article will demonstrate built-in as well creating your own custom AngularJS Services with examples on Plunker Editor.
  • Cookie Manager Wrapper In ASP.NET CoreMay 03, 2017. In this article, you will learn how to work with cookies in an ASP.NET Core style (in the form of an interface) , abstraction layer on top of cookie object and how to secure cookie data.
  • An Introduction To InterfaceMay 02, 2017. In this Article, I will explain about Interface and why an interface is known as pure polymorphism.
  • Example For *Ngif Condition In Angular 4Mar 28, 2017. Example For *Ngif Condition In Angular 4.
  • Test Driven Development (TDD) - Part TwoMar 14, 2017. This article explains the options available in Visual Studio to work with Test Driven Development and also present examples about writing unit test cases.
  • SOLID Architectural Pattern With Real Time ExampleMar 09, 2017. SOLID Architectural Pattern with Real Time example.
  • Visual Studio 2017 New FeaturesMar 08, 2017. This article tries to introduce you to some of the new features in Visual Studio 2017 IDE. Not all the new features of Visual Studio 2017 are covered here. Also, not all the below features are available for all the languages. This article demonstrates the examples, using C# Code and some features supported for C# are covered here.
  • How To Create Simple Web API Using ASP.NETMar 07, 2017. In this article, I'll give you a simple example of how to create a Web API in ASP.NET MVC.
  • 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 ).
  • Introduction To AES And DES Encryption Algorithms In .NETFeb 17, 2017. In this article, I am going to explore encryption and decryption. We will see some of the encryption algorithms with C# example code.
  • Creating Sliding Tab Layout Interface Using Xamarin Android Using Visual Studio RC 2017Feb 06, 2017. This Android app development tutorial enables you to understand the Tab layout. For example, I demonstrate how to slide a Tab from the layout to another page layout.
  • Designing User Interface With Views In Android ApplicationsJan 30, 2017. In this article, you will learn about basic views with their event handling that can be used to design the UI for Android applications
  • Introduction To Entity FrameworkJan 26, 2017. In this article, we will see what Entity Framework and Object Relational Mapping in Entity Framework are. We will understand this with an example.
  • Create User Interface Programmatically In Android ApplicationsJan 22, 2017. In this article, we will learn to create a user interface using code. So far, we have seen all the UI's that you have created, using XML file. But we can create the user interface programmatically.
  • Multi Threading With Windows FormsJan 10, 2017. Some quick code for updating a Windows form application user interface.
  • Fruit Benefits APP Using Master Detail Page In Xamarin.Forms Application For Android And UWPDec 24, 2016. In this article, you will learn how to use Master Detail page in Xamarin.Forms Application for Android and Universal Windows Platform with XAML and Visual C# in cross platform Application development with an example of Fruit Benefits app.
  • Embed A Web Server In A Windows ServiceDec 06, 2016. Using NancyFX to provide a web-interface to a Windows Service.
  • AJAX Control Toolkit Tutorial - Cascading Extender - Part ThirteenNov 30, 2016. In this article, you will learn about Cascading DropDown Extender in AJAX Control Toolkit , with examples.
  • Creating A New .NET Core Web Application With Command Line Interface (CLI)Nov 29, 2016. In this article, we are going to learn how to create .NET Core web application without using Visual Studio IDE in step by step way.
  • Understanding GOF Design Pattern With Simple Examples - Part OneNov 20, 2016. In this article, we will go through some of the highly used design patterns, with simple examples.
  • Azure Advisor - Your Personal Cloud AssistantNov 20, 2016. In this article, we will learn what Azure Advisor is, and its features, along with a few examples of its recommendations.
  • Command Line Interface (CLI) Tools In .NET CoreOct 10, 2016. In this article, you will learn about Command Line Interface (CLI) Tools in .NET Core.
  • ICommand Interface In MVVM - WPFOct 05, 2016. In this article, you will learn about ICommand in WPF - MVVM.
  • Implementing Delete Method In ASP.NET Web APISep 26, 2016. In this article, we will see how to implement the Delete Method with an example.
  • How To Create Login Page And Password Interface Using Android StudioSep 25, 2016. In this article, you will learn how to create login page and password interface using Android Studio.
  • AngularJS UI-Router Nested ViewsSep 20, 2016. In this article, you will learn about UI-Router Nested Views with an example and how to implement that in AngularJS.
  • What Is The Future Of XAMLSep 17, 2016. Are you a Windows developer and wonder what the future of XAML looks like? XAML is used to build user interfaces of WPF and UWP applications.
  • Factory Design Pattern Real World ExampleSep 13, 2016. In this article, you will see the real world example of Factory Design Pattern.
  • AJAX Control Toolkit Tutorial: Calendar Extender - Part TwelveSep 08, 2016. In this article, we will learn about the Ajax control toolkit Calendar Extender, with examples.
  • When To Use Abstract Class and Interface In Real ProjectsSep 03, 2016. In this article, you will learn when to use an abstract class and an interface in real projects.
  • User Interface In Android ApplicationsAug 22, 2016. In this article, you will learn about some widgets like Views, ViewGroups, LinearLayout, AbsoluteLayout, TableLayout, RelativeLayout, FrameLayout, ScrollView etc.
  • Interfacing The Keyboard With Arduino In Python CodingAug 04, 2016. In this article, I will explain the method of Interfacing the keyboard with Arduino, using Python code.
  • Run Map Reduce WordCount Example On HDInsight Using PowerShellAug 01, 2016. In this article, you will learn how Run Map reduces WordCount Example on HDInsight, using PowerShell.
  • Real Time Development With SignalRJul 28, 2016. This article describes the basics of SignalR, how it works, how to use it, and how real time apps works with real time examples in theory.
  • Angular Material: Card Based Interface - Part TwoJul 28, 2016. In this article, we will take a look how we can use Angular Material to design card based interfaces for searching books data.
  • Angular Material: Card Based Interface - Part OneJul 25, 2016. In this article, we will take a look how we can use Angular Material to design card based interfaces.
  • Create And Design A User Interface For Android Application Via XamarinJul 12, 2016. In this article, I will show you how to create and design a simple User Interface.

About Example-Of-SortdeMap-Interface

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!