C# Corner

Resources  
  • 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.
  • Understanding Computer Vision API In AzureOct 11, 2017. The Computer Vision API gives you the tools to understand the contents of any image. Create tags identifying objects, beings, or actions present in the image, and then craft coherent sentences to describe it.
  • 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.
  • 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.
  • .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.
  • 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.
  • 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
  • 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.
  • Create Value Object In C#Sep 28, 2017. Create a class that abstracts away (encapsulate) ‘data’ in your domain and provide methods to work on it. Below is a class I don’t consider a good Value Object.
  • 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 .The first version of Kotlin v1.0 was released on February 15, 2016 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.
  • Start The App In Windows Startup In UWP (Windows 10 Fall Creators Update Features)Sep 17, 2017. A long-awaited feature (other features are LaunchApp, Restart App) has come to Universal Windows Programming i.e. we can run our application on Windows startup (User log in to the system), Previously we had done some workaround to run the app in windows startup, now it's time to say good bye to the workaround.
  • Learn Universal Windows Programming Via Modern C++ (RadioButton)Sep 14, 2017. RadioButton is used to allow to the user select single items, whereas checkbox allows users to multiselect.
  • Create Immutable Type In C#Sep 14, 2017. A public constructor that accepts initialization data is required so that the client can pass-in minimum state for the type to be valid. Private constructor, on the other hand, is used by methods to construct a new object and set its entire state.
  • Seven Reasons Why Swift Is A Must For iOS App DevelopmentSep 13, 2017. With the launch of several programming languages, a developer is often confused as to which technology to use. They are have the dilemma of choosing between Objective C and Swift, both of which are considered to be fine technologies for IOS app development. Recently in an event, Apple unveiled Swift as its new programming language and thereby created a new demand for Swift developers required for quality IOS development.
  • Kickstart Azure Database For PostgreSQLSep 10, 2017. This blog post will walk you through creating an Azure Database for PostgreSQL in Azure Portal. PostgreSQL is a powerful, open source object-relational database system and has capability to handle workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users. Azure Database for PostgreSQL is a managed service which enables you to run, manage, and scale PostgreSQL databases in the cloud.
  • Data Science Machine Learning In R ProgrammingSep 09, 2017. In this article, I am going to describe what machine learning and data science are and then we will see how we can apply machine learning techniques in data science and then we will do some practical implementations in R language of data pre-processing.
  • Find Out Creation And Modification Date Of Database Objects Like Tables And Stored ProceduresSep 07, 2017. Database Object refers to Table, Stored procedure, View, Function etc.; in other words, all the elements that are created for data storage and manipulation.
  • Aspect Oriented Programming In C# With RealProxy classSep 07, 2017. Example of implementing logging using RealProxy class.
  • Restart An App Programmatically In UWP (Windows 10 Fall Creators Update Features)Sep 06, 2017. This article explains about how to restart an app programmatically in Universal Windows Programming.
  • How Should We Store Images And Blob Files In SQL ServerSep 06, 2017. There is always a requirement from developers: How should I store images and BLOB files in SQL Server ? In this post let's explore the data types and methods used for storing Binary Large Objects also know as BLOBs, such as images and sounds, into SQL Server.
  • Swift Programming - Zero To Hero - Part FourSep 06, 2017. In this article, we will learn about arrays and accessing arrays using looping statements
  • Web API Token Based Authentication With Angular - Part OneSep 06, 2017. Authentication is a vital process in system programming. Authentication means verifying the user who is accessing the system. Today we are using modern devices that have different types of Apps or software and sometimes we directly access the website from browser. To access this application, we probably need to pass our credentials and these systems verify it. If you are valid user then it will allow accessing the system otherwise not.
  • How To Perform Web Scraping Using Python ProgramSep 04, 2017. Web Scraping (also known as Screen Scraping, Web Data Extraction, Web Harvesting etc.) is a process to scrap (extract) data from web pages, web document, HTML document or XML document in a structured manner and then store in database, text file as a spreadsheet , as a XML , or in whatever file format we want to save in.
  • Getting Started With MongoDBAug 29, 2017. MongoDB is an open-source/cross platform (Windows, Linux, etc) document database that is NoSql in JSON format database. A NoSQL database means it does not have any relationships (non-relational database). It is a document-oriented database.
  • Dependency Injection - Part Five - Using A DI Container (Autofac)Aug 29, 2017. A DI container takes the responsibility of instantiating and providing the dependency instances, irrespective of the level of dependencies. As a result, it is a container that manages the scope of the instantiated objects.
  • Working With JSON In SQL Server 2016Aug 28, 2017. JSON (JavaScript Object Notation) is a lightweight data interchange format. It is language independent, easy to understand and self-describing. It is used as an alternative to XML. JSON is a very popular data interchange format nowadays. Most modern services return the data into the JSON text.
  • Learn About Properties In JavaScriptAug 28, 2017. JavaScript is an object oriented programming language and encapsulation is a pillar of object oriented programming language. Properties help us to encapsulate. Properties help us to control what is assigned and return to and from the public field.
  • REST CRUD (Insert,Update,Delete,Get) Operations Using SharePoint Hosted App - Office 365 - Part OneAug 22, 2017. SharePoint adds the ability for you to remotely interact with SharePoint sites by using REST. Now, you can interact directly with SharePoint objects by using any technology that supports standard REST capabilities.
  • Dependency Injection - Part Four -Embracing AbstractionAug 18, 2017. Dependency Injection (DI) is a technique that helps us achieve loose coupling between objects and their collaborators. In this post, we will use constructor based dependency injection, however, we are not going to use any DI container for now.
  • 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.
  • The Future Of C# At A GlanceAug 17, 2017. C# is one of the top ten most popular programming languages. It’s been 16 years since Microsoft released C# in 2000 and is considered the foremost emerging programming languages because of the maturity it has accrued. Today C# 7.0 is available as a part of Visual Studio 2017.
  • List Of Notification Libraries And Plugins For JavaScript And JQuery Used In ASP.NET MVC RazorAug 15, 2017. JavaScript is a programming language whereas jQuery is a framework.
  • Universal SMTP Code To Send Emails In .NET AppsAug 13, 2017. As already mentioned quite clearly in the tagline, the only reason to write this article is to cover the basic requirements of every SMTP vendor's code in .NET applications, If your vendor is Google's mail service, — Gmail — then you can most likely leave this article and go back to the article, which I wrote quite a lot of time ago to share how to send emails through a C# programs, sending emails over .NET framework, and general problems – using C# code.
  • Learn Universal Windows Programming Via Modern C++ (Stackpanel)Aug 11, 2017. Stackpanel has holding one are more controls into panel, inside panel controls are called as child controls, the child controls can be arranged into the horizontal (left to right) or vertical stack (top to bottom), We can add all the itemcontrols into the stackpanel like textbox, button, combobox.
  • IoT Solutions - Architecture/Design And Business AspectsAug 11, 2017. IoT is the abbreviated term meaning "Internet of Things". By definition Internet of Things is: the inter-networking of physical devices, vehicles (also referred to as "connected devices" and "smart devices"), buildings, and other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data.
  • Learn Universal Windows Programming Via Modern C++ (Button Control)Aug 10, 2017. Button control allows the user to click to perform actions, there are mainly two properties, content and click event. Content properties are used to the set the caption of the Button and click event is used to trigger the event.
  • Objects Comparer In .NETAug 09, 2017. Objects Comparer is an object-to-object comparer, which allows you to compare objects recursively member by member and define custom comparison rules for certain properties, fields or types.
  • Shooting Game Using Construct 2Aug 08, 2017. Construct 2 is an HTML5 based 2D game editor developed by Scirra. Construct 2 is a powerful game creator specifically designed for 2D games.
  • Swift Programming - Zero To Hero - Part TwoAug 08, 2017. This is part two of Swift Programming Zero to Hero. In this article we will see loops in Swift.
  • 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.
  • Learn Universal Windows Programming Via Modern C++Aug 06, 2017. Universal Windows programs have developed based on the Windows Runtime (WinRT) technology, Windows Runtime (hereafter called WinRT) and runs based on the COM API, but is not designed to be directly used, instead using a “language projections” concept
  • Angular, Bootstrap And ASP.NET MVC - Part Seven (Bootstrap Modal Forms)Aug 02, 2017. In previous articles, we have learned AngularJS project setup, styling with bootstrap, AngularJS structure, data-binding, routing, copying of angular object when form is saved or cancelled, inserting/updating forms, etc.
  • Implementing Equality In Value TypeAug 02, 2017. This post is to focus on implementing Equality in Value Types; i.e., overriding Equality behavior for our own implemented Value Types which is basically defining how to decide two object of a type are equal or not.
  • 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.
  • How To Create Web Job in Azure Web appJul 31, 2017. Azure web job is the most useful feature in Azure web app service. It will be great helpful when you want to run the scripts or programs as background processes in app services, api app and mobile app .
  • SharePoint Webhooks As Event Receivers For SharePoint OnlineJul 31, 2017. SharePoint Webhooks were made generally available in January 2017. They provide the mechanism of catching the Asynchronous Events like item added, item deleted etc: that happens in the SharePoint Objects. At present, SharePoint Webhooks cannot be used with Synchronous events like Item Adding for which we will still have to rely on Remote Event Receiver solution using Provider Hosted Add-in.
  • Are You A Fresher And Looking For A Way To Start With Microsoft .NET?Jul 29, 2017. This article focuses on beginner programmers and Computer Science students who want to learn and get started with .NET programming.
  • 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.
  • Angular, Bootstrap And ASP.NET MVC - Part Six Jul 29, 2017. In previous articles, we have learnt AngularJS project setup, styling with bootstrap, AngularJS structure, data-binding, routing, copying of angular object when form is saved or cancelled, etc.
  • Understanding Relationship Between ObjectsJul 24, 2017. The relationship between objects defines how these objects will interact or collaborate to perform an operation in an application.
  • React Tutorials - Day Six - FluxJul 24, 2017. Flux is a programming architecture and concept where data flows in an unidirectional way. Flux is not a framework or library, it is just an architecture pattern that was developed by Facebook along with the React View library to manage the data flow into our application. Flux makes it easier to track the changes and bugs during development.
  • 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.
  • Office 365 / SharePoint Online - Connecting Office 365 / SharePoint Online Site Using CSOM (Client Object Model)Jul 19, 2017. In this article, I’ll explain detailed initial steps to connect Office 365 / SharePoint online using CSOM through console application.
  • Execution Of Test Cases In Sequential And Parallel Using Selenium WebdriverJul 18, 2017. Selenium is an open source tool, which is used to execute the test scripts or the test cases on web applications. As we know Selenium is an open source tool, which supports various programming languages such as Java,C#, PHP,JavaScript, Ruby etc. Selenium supports various operating systems to execute the test scripts on web applications like Windows, Linux, MacOS etc. Selenium is written using one of the famous programming languages; i.e. Java, and its a cross-platform.
  • Preliminary Practices On Python ProgrammingJul 17, 2017. This article describes the basic concept of Python programming including program syntax, data types, looping & conditional statements and more
  • Multithreading In C# .NetJul 16, 2017. If you have a program that execute from top to bottom, it will not be responsive and feasible to build complex applications. So .Net Framework offers some classes to create complex applications.
  • Python Program To Find All IPs Assigned In A NetworkJul 15, 2017. This is just a overview how you can create programs to find Network IP. You can do it in more interesting way by using raw_input to assign ip directly from user instead of writing it. Let me know if you need any help or if you are having problem in understanding.
  • How To Create And Deploy Azure Web AppsJul 14, 2017. In this article, we are going to learn how we can create Azure Web App and how to deploy it. Unlike other services, Azure Web Apps service enables us to build and host web applications in the programming language of our choice without managing infrastructure. It offers auto-scaling and high availability, and supports both Windows and Linux.
  • 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.
  • How To Create A List/Library Programmatically In SharePoint 2013Jul 13, 2017. We need to install Visual Studio in our machine for creating a list using SharePoint Server Object Model. The Server Object Model will be executed in the server side & it provides a rich set of classes in representing & manipulating SharePoint objects. Server object model is like production server environment to access the data where Sharepoint is installed on the machine.
  • Introduction To SharePoint Event ReceiversJul 12, 2017. Event Receiver is a important feature in SharePoint . The use of Event Receiver is to handle the events. It is like a method that is triggered when an action occurs on a specified SharePoint object.
  • Custom Observable In KnockoutJSJul 10, 2017. Knockout JS is famous and widely used for its two-way binding concept. While developing application we uses ko.observable() to declare a knockout object. Here we will discuss how to create our own custom observable which will work same as observable but with our own functionality.
  • The Principles Of Good ProgrammingJul 05, 2017. Programming principles have helped me over the years become a better programmer, and I believe, this article will help any developer become more efficient and to produce code which is easier to maintain
  • Simulate SharePoint Online Timer Jobs Using Azure FunctionsJul 05, 2017. SharePoint Server provides native Timer Jobs that inherit SPJobDefinition class to run at regular intervals defined in the SPSchedule object. This way we can create solutions that have to be iteratively run to process logic at regular intervals. However, in case of SharePoint Online Native Timer Jobs cannot be used.
  • Drawing Playground Using HTML 5 Canvas And JavaScriptJul 04, 2017. In this article we will learn about how to draw object on canvas using HTML5 canvas and JavaScript.
  • Hello World Program Using Aurelia JavaScriptJul 04, 2017. JavaScript front-end framework is similar to frameworks like Angular, Ember and React. I've written about it in the past but it's been a while. Here is an updated guide on how to get started using it.
  • 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.
  • Getting Started With Azure FilesJul 03, 2017. Cloud storage options such as Amazon S3, Google Cloud Storage and Azure Storage, offer scalability, flexibility and excellent performance. On the other hand, sometimes it is difficult to access your files without programming, scripts or client tools.
  • Raycasting In UnityJun 30, 2017. In this article, I am going to explain about Raycasting in Unity. I hope you understand how to create the object and destroy it using C# scripts in unity.
  • ECMAScript5 Features - Strict Mode, JSON And MoreJun 28, 2017. Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a “strict” operating context. This strict context prevents certain actions from being taken and throws more exceptions (generally providing the user with more information and a tapered-down coding experience).
  • Working With Variables In Windows PowerShellJun 27, 2017. Windows PowerShell variables are quite different when you compare them with Cmd.exe variables. In Command-prompt, all the variables are environment variables and they can only store a string of text. But in Windows PowerShell, variables can store more than just text, they store objects.These variables help you to create reliable scripts.
  • Working With Objects In Windows PowerShellJun 27, 2017. Everything in PowerShell is an Object. An Object is a programmatic representation of anything. Each object has properties and methods.
  • An Introduction To IoTJun 27, 2017. IoT is a network of physical objects, devices (like Arduino, Raspberry), vehicles, electronic components, software, sndf sensors that connect with each other and exchange data.
  • Swift Programming - Zero To Hero - Part OneJun 26, 2017. This is Part one of Zero to Hero in Swift Programming. This is for beginners those who want to get started with Swift Programming.
  • Getting Started With Arduino And Building A Light Blinking ProgramJun 24, 2017. In this article you will learn about Arduino And Building A Light Blinking Program.
  • Transforming Objects Using C# Scripts In UnityJun 23, 2017. In this article, I am going to explain how to move objects in Unity, using scripts.
  • Crazy Factory Pattern And Direct Object Creation ProblemJun 18, 2017. Direct object creation design and problem analysis; how to connect with anti-pattern; concept of factory pattern; when, where and why to use it; the benefits; conditional factory pattern and problem analysis; improvement of traditional factory pattern.
  • Construct Simple Game Using Construct 2Jun 09, 2017. Simple Game Construct Using Construct-2.
  • Concept Of Factories In Object Oriented ProgrammingJun 07, 2017. Concept Of Factories In Object Oriented Programming.
  • How To Apply Materials, Shaders And Textures To Objects In UnityJun 06, 2017. In this article, I am going to explain how to apply materials, shaders, and textures to objects in unity.
  • Async, Await And Asynchronous Programming In MVCJun 05, 2017. Async, Await And Asynchronous Programming In MVC.
  • Object Initializers And Collection Initializers - A Syntactic Sugar In C# 3.0Jun 04, 2017. Object Initializers And Collection Initializers - A Syntactic Sugar In C# 3.0.
  • Create 3D Game Objects In Unity Jun 04, 2017. In this article, I am going to explain about how to create game object, create assets and revert the object size and apply it.
  • Quick Start With Unity 3DJun 04, 2017. In this article, I am going to explain how to quick start with Unity 3D and create game object in Unity.
  • ZCompare - Quick Start GuideJun 02, 2017. ZCompare - Quick Start Guide.
  • Functions In Functional Programming Vs Procedural ProgrammingJun 01, 2017. In this article, I will show you what a basic function is and the concept of the function, as it is used in functional programming and how procedural (or imperative) languages might take them wrong.
  • SharePoint Best Practices - COM Objects DisposalMay 30, 2017. In this article, we will look for the best practices used for disposing SharePoint COM Component used from managed code.
  • Deploying Page Layouts On SharePoint Using PnP Core CSOMMay 24, 2017. In this article, you will learn how to deploy a page layout, using PnP Client Side Object Model code.
  • SharePoint On Premises 2013, 2016/ SharePoint Online JSOM - _spPageContextInfo Object In Different Environment / VersionsMay 13, 2017. In this article I’ll show properties of _spPageContextInfo in different versions of SharePoint (2013 on premises, 2016 on premises) and in SharePoint online. You might be wondering why there is a need for this, but let me explain.

About Object-Oriented-Programming

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!