C# Corner

Resources  
  • Write Your First Program Using Microsoft Graph SDKApr 18, 2018. In this article, I will explain how you can write your first program to interact with MS Graph API using MS Graph SDK in Visual Studio.
  • Writing Distributable .NET Application With x2netApr 18, 2018. Writing distributed applications, especially deployed across a network, tends to be a challenge, not only due to the trickiness of network programming but more so because your code, business logic messed up with communication details, is probably not flexible, hard to reuse and test in isolation.
  • CRUD Operations In Android SQLite - KotlinApr 18, 2018. In this article, we will learn how to perform CRUD (Create Read Update Delete) operations SQLite using Kotlin, the official first-class programming language for Android development. It is very easy and similar to implement like Java. We will learn SQLite implementation by building Simple TODO Application.
  • Multiple Models In One View Using ASP.NET MVC And Entity FrameworkMar 28, 2018. In a client requirement, I needed to create a page where two forms or models exist in a single View (page), like login and registration in the same single view.
  • Task And Thread In C#Mar 23, 2018. The Thread class is used for creating and manipulating a thread in Windows. A Task represents some asynchronous operation and is part of the Task Parallel Library, a set of APIs for running tasks asynchronously and in parallel.
  • Angular Forms - (Model Driven Forms/Reactive Forms )Mar 19, 2018. In this article we are going to talk about Angular Model driven forms/Reactive forms. I have already discussed template driven forms in my previous article.
  • Defensive Programming - Let Type Checking Work For YouMar 19, 2018. Since I have been a speaker and a teacher, I have always stressed the importance of practicing proper object-oriented programming (OOP) techniques. If you don’t practice OOP, no matter what language you are using, I guarantee you will end up with a “house of cards” and they all eventually fall.
  • Creating A Virtual Switch In Hyper-VMar 16, 2018. A communication channel for virtual machines with each other is defined via virtual switch, so virtual switch can be defined as a program that enables virtual machines to communicate. It actually binds the physical machine network's adapter with a virtual host.
  • Data Cleansing Tools In Azure Machine LearningMar 09, 2018. Data cleansing is an important part of the Data Science Process which will help in having higher and better accuracy on predictive models. In this article, the process and techniques of doing so shall be discussed using Azure Machine Learning.
  • Table Splitting In Entity Framework Core 2.0Mar 06, 2018. One of the major benefits of the Entity Framework is that our entity model does not need to match our database model. With Table Splitting, it is possible to map multiple entities to the single database table.
  • Five Easy Rules For Your Source Control RepositoryMar 04, 2018. I have been using source control programs for a very long time. I believe the first one was Visual Source Safe (don’t laugh, it was a painful experience). Early in my career and throughout I have learned many good practices that I still use to this day. I will share them with you now.
  • Entity Framework Core Feature - Global Query FiltersMar 02, 2018. This feature is also refer as Model-level query filters. It allows to specify filter in the model level that are automatically applied to all queries that executed on the context on the specified type. It means that entity framework automatically adds the filter in where clause before executing the LINQ queries. Usually Global query filters are applied in OnModelCreating method of context. This filters are also automatically applied to LINQ queries involving the entity types referenced indirectly like included as navigation property.
  • Insert And Display Records With Model Binder Using ASP.NET MVCFeb 23, 2018. In this blog, I am going to explain how to insert and display records with Model Binder using ASP.NET and Entity Data Model (DB First Approach).
  • Application Programming Using C++ And QtFeb 19, 2018. In this article, we will be setting up Visual Studio for Qt and will go through some C++ Qt examples
  • Database Naming Standards For The ProgrammerFeb 09, 2018. Let us face it, in most companies that programmers work for, we end up doing database work. I do not agree with this since I think the DBA or BIA should handle database programming and we should stick to what we do best… coding. Would you want a DBA writing code? I think not. With that said, here are database naming standards that I use when in this situation. DBA’s might not agree with how database coders name databases; stored procedures etc. but we need something.
  • Synchronous VS Asynchronous Statistics UpdatesFeb 07, 2018. Implement to help with performance is changing from Update Statistics Synchronous to Auto Update Statistics Asynchronously.
  • How Can You Integrate A JSON Framework With iOSFeb 01, 2018. JavaScript Object Notation, or JSON in short, is commonly used for representing structural data and data interchange in client-server applications, serving as an alternative to XML. It has grown in popularity as it is simple to use and human-readable. It is technically a part of the JavaScript language and provides a way to serialize JavaScript objects. It is supported in a wide variety of programming languages. A lot of the services used every day have JSON-based APIs.
  • Google Chrome Extension Project With Microsoft Visual StudioFeb 01, 2018. Extensions are small software programs that customize the browsing experience. Where use can customize and manipulate the chrome browser functionality and open web resources. Extension is built on web technologies such as HTML, JavaScript and CSS.
  • Basics Of Angular And Its Versions - Part FiveJan 29, 2018. To deal with asynchronous data Angular provides two models of approaches, we can either use Promises or Observables.
  • Azure Virtual Machine Disk Encryption With Azure Key-VaultJan 27, 2018. This article explains how to encrypt Azure VM Disks with the help of Azure Key-Vault. Azure Key-Vault is a key management as a service which provides Hardware-based key management via Hardware Security Model (HSM) along with Software-based key management.
  • Retrieving List Items From A Specific View Using CSOMJan 25, 2018. In this article, you will learn how we can access the SharePoint data using Client Object Model. Here, I have taken an example of getting the data from SharePoint list specific View. Using this, we can create our own custom View with necessary fields and access them.
  • Use Of Delegates In Programming With Simple ExampleJan 23, 2018. We all have studied delegates in programming, especially in high-level languages. But most probably, it’s hard to understand if you are new to programming. So I’ll be writing some stuff on the use of delegates with a simple example and I’ll be more focused on the answer of “Why we need delegate” instead of “How to use delegates”.
  • Introduction To Machine Learning - Part OneJan 22, 2018. Machine learning is a field or a part of computer science that gives the robot or computers the ability to learn without being explicitly programmed.
  • Custom Model Binding In ASP.NET Core 2.0Jan 17, 2018. In an earlier post I discussed how to prevent insecure object references by encrypting the internal references (e.g. table primary keys) using Data Protection API. To avoid duplication of code that encrypts/decrypts on every controller I used filters in that example. In this post I’ll use another complimentary technique: custom model binding.
  • Top 10 Programming Languages Of 2018Jan 15, 2018. Welcome to 2018; one more year geared towards a tremendous growth in the computing industry including software programming.
  • Model Driven Forms In AngularJan 15, 2018. I have opened the same solution I have explained in my previous article, and i have app.component.ts with onsubmit function and I have html elements in app.component.html.
  • An Introduction To Q#Jan 15, 2018. In this article, I will be explaining about Q# - the new programming language introduced by Microsoft for quantum computing. We will understand the data type, expressions, and statements of Q# with the help of code snippets.
  • How To Control An LED Using Raspberry Pi 3, Windows IoT Core, And Visual Studio UWPJan 13, 2018. This is an introduction to Raspberry Pi 3 Model B. We will explore what Raspberry Pi 3 has to offer in terms of its features and performance.
  • AI Series - Part Two - Programming EmotionsJan 12, 2018. I will be showing how to start AI Development with Cognitive Services. Previously, we kickstarted our new article series “AI HowTo” and talked about how to register for Emotion API Preview(Project Oxford) through Azure Portal.
  • An Introduction To Extreme ProgrammingJan 09, 2018. The advent of the Extreme programming dates back to the mid '90s when Chrysler Comprehensive Compensation (C3) program was initiated and Kent Beck was brought on to the project to improve the performance of the system.
  • Understanding Q# Programming LanguageJan 05, 2018. In this article I going to give basic information to understand the Q# Programming Language.
  • Angular From Basic To Expert - Day ThreeJan 03, 2018. In the previous articles - AngularJS from basic to expert Day One and Day Two, we have learned what AngularJS is, its basics, and usage of AngularJS expression and directives. Here we will learn Models, Modules, and Controllers in AngularJS.
  • Getting Started With Q# Programming Jan 01, 2018. In this tutorial, you’ll learn how to build your first simple “Hello World” Q# app. Just follow these following steps.
  • Getting Started With React ProgrammingJan 01, 2018. React is a JavaScript library for building user interfaces. It was developed by Facebook to facilitate building with interactive, stateful and reusable UI components.
  • How To Display Analog Clock Using BoxView In Xamarin.FormsDec 29, 2017. Although Xamarin.Forms doesn't have a vector graphics programming interface, it does have a BoxView. Although normally used for displaying rectangular blocks of color, BoxView can be sized, positioned, and rotated. This is enough to render a classic analog clock.
  • What And How Of Requirement Gathering - Part TwoDec 27, 2017. Prototyping allows gathering information by faking the production environment. In this technique, quite a lot of tools can be used to collect information, such as software programs to monitor/record mouse clicks or keystrokes, camera to monitor visual activity.
  • Understanding Data Structures - Linked ListsDec 26, 2017. In this article we will go through the basics of linked list data structure and implementation of it in various programming languages like C, C++, C#, Java, Python, VB.Net
  • Validating User Input Using Regular Expression With C#Dec 22, 2017. In this article, you will learn how to validate user input using Regex class with C# Programming language
  • Asynchronous Messaging Using ASP.NET Core 2.0 Web APIDec 21, 2017. How to implement asynchronous messaging using ASP.NET Core Web API. Create an empty project and update the Startup class to add services and middleware for MVC.
  • How To Create Azure Function App To Delete SharePoint Online List Using CSOMDec 19, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer Azure Functions for more details.
  • Cosmos DB ConsistencyDec 19, 2017. This article gives overview on consistency models available in Azure Cosmos DB
  • How To Create A Simple Azure Function App Using C#Dec 18, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of your choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer to Azure Functions for more details. In this article you will see how to create a simple Azure Function using C# that will run whenever an HTTP request is received.
  • Getting Started With Apache SparkDec 18, 2017. In Big Data, Hadoop components such as Hive (SQL construct) , Pig ( Scripting construct), and MapReduce (Java programming) are used to perform all the data transformations and aggregation . Now with Apache Spark the same is being achieved with many more advantages like unified API performance, and support for multiple languages, 10X-100X faster than MapReduce.
  • MVVM Lite For Data Binding In Xamarin.FormDec 16, 2017. We are using MVVM light that will provide the facility to implement Model-View-ViewModel. This is the quick way for development of an application and also provides a user the facility to customize and design the application.
  • Two-Way Binding Or MVVM In Xamarin.Forms ApplicationDec 15, 2017. In this article, we are going to learn how to apply two-way binding in Xamarin forms application with the help of InotifyPropertyChanged System component model.
  • Swift Programming - Zero To Hero - Part TenDec 15, 2017. In this article, I have shared Enumeration concept in Swift Programming.
  • An Introduction To Quantum ComputingDec 13, 2017. In this article, I am going to cover some of the basics of Quantum computing and also set up an environment on our local machine with Visual Studio 2017 to get started with Quantum programming.
  • Swift Programming - Zero To Hero - Part NineDec 13, 2017. In this article, I have shared some details about Design Patterns in Swift Programming.
  • Swift Programming - Zero To Hero - Part EightDec 12, 2017. This is Part Eight of Swift Programming - Zero To Hero Series. In this article, we will learn about Return Type & Tuples in swift.
  • Deep Walk On Azure Machine Learning - Why On Cloud And That Too On AzureDec 12, 2017. This article goes up with a deep walk on Azure Machine Learning covering the topics with lot many modules which heads up with loading data in azure machine learning, data preparation, azure machine learning modelling, deploying the models and about r scripts in Azure.
  • Using jqGrid With ASP.NET MVCDec 12, 2017. If you belong from a background of asp.net web forms then there is grid view which we used most but in some scenario if data was large then it would use to break, but in MVC we do not have that kind of grid which has all readymade event, but there is html helper which help you to generate html is Web grid in that we need to use different package for handling paging of grid, and also we need to pass a strongly typed model to view for rendering the grid.
  • Implement Symmetric And Asymmetric Cryptography Algorithms With C#Dec 09, 2017. How to encrypt and decrypt data using Symmetric and Asymmetric algorithms using C# Programming language
  • Socket.io Programming With Example In Node.jsDec 08, 2017. Hello every one today I will explain about socket.io in Node JS
  • Aspect Oriented Programming In C# Using DispatchProxyDec 06, 2017. Example of implementing logging using Aspect Oriented approach with DispatchProxy class.
  • 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.
  • 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.
  • Angular Components And ModulesNov 23, 2017. In programming terms, Modules can be described as the self-contained chunks of the functionality in your application which can run independently. In Angular, Modules are the collection of the components, services directives, and Pipes which are related such that they can be combined to form a module.
  • 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.
  • Deploy ASP.NET MVC Web Application Using Azure Cloud ServiceNov 16, 2017. Cloud service comes under the PaaS service model, as with a web app service we can deploy our web application in this service and moreover it provides more control on the VMs for the users and we can install our own software by remoting it.
  • Learn Universal Windows Programming Via Modern C++ (ProgressRing)Nov 13, 2017. This article explains how to implement the Progress Ring Control.
  • 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.
  • 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.
  • Working With View Components In ASP.NET Core MVCNov 09, 2017. View component is newly introduced feature in asp.net core MVC. It is very similar to partial view but it very powerful compared to partial view. It does not use model binding but works only with the data we provide when calling into it.
  • Important C# Evolutions You May Not KnowNov 08, 2017. Since the announcement of the number one Microsoft language in 2000, many developers get interested in this language evolutions for many reasons but the main one was that C# is intended to be a simple, modern, general-purpose, object-oriented programming language.
  • Azure Machine Learning - Iris Model Client ApplicationNov 08, 2017. In this post, I shall be demonstrating the utilization of Azure Machine Learning model into a client application.
  • Retrieve SharePoint Lookup Field Value Via C#Nov 07, 2017. Get and set a SharePoint Lookup Field via SSOM C#. In this article, I have explained how to get & set SharePoint lookup field (single/multiple) values programmatically via Server Side Object Model in C#.
  • Debugging Tips - Part ThreeNov 06, 2017. While working on a complex code, we often come across situations where you need to debug lots of code to find/fix the issue(s). That also includes going through lots of methods (probably related or unrelated). .NetFramework provides a way to avoid unwanted "Step in" through the methods. Using DebuggerStepThrough (using System.Diagnostics) attribute, you can skip debugging of unwanted methods and reduce the debugging time to some extent.
  • Retrieve User Profile Properties Using SPFx And PnP JS In SharePoint OnlineNov 05, 2017. SharePoint Framework is the new development model in which a lot of work has been going on since it went to General Availability on Feb 23, 2017. It is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data and support for open source tooling. With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps in SharePoint.
  • Introduction To ASP.NET MVC Model BindingNov 02, 2017. Asp.NET MVC model binder allow you to map http request data with model. HttpRequest data means when user makes a request with form data from browser to controller at that time model binder works as middle man to map the incoming http request with controller action method.
  • Learn Universal Windows Programming Via Modern C++ (DispatcherTimer)Nov 01, 2017. DispatcherTimer is a timer control, that is integrated into the Dispatcher queue, Timer event is called in a specific timer interval, the main advantage DispatcherTimer, it can run the code on the same UI thread.
  • Dependency Injection Into Views In ASP.NET Core MVCNov 01, 2017. The dependency injection in ASP.net core is not limited to middleware, controller, and models. It also supports dependency injection into view.
  • Learn Universal Windows Programming Via Modern C++ (ProgressBar)Nov 01, 2017. ProgressBar indicates that some operation is going on in the background.
  • ASP.NET Core 2.0 MVC Dependency Injection In ViewsNov 01, 2017. In ASP.NET Core dependency injection is not limited to middleware, controllers and models etc. Views can also benefit from the services configured in the service container.
  • Learn Universal Windows Programming Via Modern C++ (RelativePanel)Oct 31, 2017. Here, I have explained how to implement RelativePanel control in C++/WinRT.
  • ASP.NET Core 2.0 MVC Model BindingOct 30, 2017. In a previous post on Routing, I showed how MVC maps URLs to Controller and actions to execute. We touched on the topic of the model binding mechanism through which MVC binds routing template tokens to action parameters.
  • Getting Started With Azure Cosmos DBOct 29, 2017. Azure Cosmos DB is a globally distributed database service designed to enable you to elastically and independently scale throughput and storage across any number of geographical regions with a comprehensive SLA. You can develop document, key/value, or graph databases with Cosmos DB using a series of popular APIs and programming models.
  • CRUD Operation with Model dialog using UI-Grid in AngularJS and Web APIOct 27, 2017. In this article, you will learn CRUD operations with model dialog using UI-Grid and Web API.
  • Simple Single Side Traffic Controller Using Timer ControlOct 25, 2017. This is a simple article for beginners who are getting introduced to C# programming in which they will learn how to code using Timer control inside Windows form
  • Learn Universal Windows Programming Via Modern C++ (Grid Control)Oct 23, 2017. This article explains about Grid control in Modern C++/WinRT. Grid control is used to arrange the controls in multirow and multicolumn layouts (stackpanel is use arrange controls in horizontal or vertical).
  • Learn Universal Windows Programming Via Modern C++ (ContentDialog)Oct 22, 2017. This article explains about Content dialog in C++/WinRT. It forces the user to get the input (whether success or failure) until the user cannot interact with Parent windows.
  • Swift Programming - Zero To Hero - Part SevenOct 19, 2017. This is Part Seven of the "Zero to Hero" Series. In this article we will learn about Functions and Tuples.
  • Learn Universal Windows Programming Via Modern C++ (AutoSuggestBox Control)Oct 19, 2017. In this article we'll learn how to implement AutoSuggestBox and some of the important events and properties.
  • User-Defined Types In SQL ServerOct 13, 2017. When we are working with any programming language, we create user defined types as per our requirement. It is a better idea to have this feature in the SQL server.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (CommandBar Control)Oct 11, 2017. In this article, we are going to learn about CommandBar control in Modern C++. The CommandBar control is a new control in Universal windows programming, it’s a like a Toolbar control, it has more features compared to Toolbar control.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (SplitView Control)Oct 11, 2017. In this article, we are going to learn about Splitview control in Modern C++.
  • 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.
  • Swift Programming - Zero To Hero - Part SixOct 05, 2017. This is part six of "Swift Programming - Zero to Hero" series. In this article, we will be learning about Arithmetic Operators. Before you continue in this session, please follow the previous series.
  • ColorPicker Control In UWP (Windows 10 Fall Creators Update Features)Oct 04, 2017. This article explains how to implement ColorPicker control in UWP application. A ColorPicker control is a new control in UWP programming
  • Introduction To Machine Learning In AzureOct 04, 2017. In this article, we will see what machine learning is and how it differs from traditional programming.
  • Azure Machine Learning - Classification Predictive Analysis Using Iris DatasetOct 04, 2017. In this tutorial, you will learn to create a machine learning model in Microsoft Azure Machine Learning Studio.
  • Swift Programming - Zero To Hero - Part FiveOct 03, 2017. This is part five of "Swift Programming - Zero to Hero" series. You can read the previous articles in the series.
  • Migrate SharePoint On-Premises Content To SharePoint Online Using SPO APIOct 02, 2017. Below is the step by step SharePoint Online PowerShell cmdlets to migrate the content. It requires minimal CSOM (Client object model) call to avoid the threshold. It leverages a temporary Azure Blob Storage container to hold the content and Azure Queue, which schedule parallel jobs.
  • Software Design Principles DRY, KISS, YAGNISep 29, 2017. In this article, I am going to explore software design principles and their benefits and why design principle are useful for us and how to implement them in our daily programming. We will see DRY, KISS, and YAGNI software design principles.
  • Never Let That Kid DieSep 21, 2017. It's my birthday and the last day of 5-day TOGAF program. The overall program was pretty interesting as there was no technology involved and five participants included, a senior executive from WHO and people having profiles and serious image. And yes, it was their misfortune to have me as one of the participants.
  • Getting Started With Android And KotlinSep 21, 2017. It is a new programming language for modern multiplatform applications. It was developed by JetBrains and open source contributors .First appeared on 2011 and latest version of Kotlin is 1.1.4 which was released on August 15, 2017 .
  • 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.
  • Learn Universal Windows Programming Via Modern C++(Border Control)Sep 18, 2017. In this article, we are going to learn about Border control in Modern C++
  • Learn Universal Windows Programming Via Modern C++ (Combo box)Sep 18, 2017. Combobox control is contains the collection of the items. It represents Drop-down list of the items. The user can select the items from the list, when the combobox is open its display all the items, once item has been selected dropdown list will close automatically.

About Asynchronous-Programming-Model

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