C# Corner

Resources  
  • 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.
  • 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.
  • SharePoint Permissions Issue - Deny - Add And Customize PagesSep 09, 2017. A day before everything was working fine in the application and later on, everything stopped working because of a permissions issue. Users reported that they were not able to see documents, web parts etc. It was discovered that my client IT Administrator had done some permission changes and now that needed to be fixed. Let’s discuss systematically what the issue was and how to resolve it.
  • Azure Cosmos DB With SQL Query Cheat Sheet PDFSep 08, 2017. Microsoft Azure Cosmos DB supports querying documents using SQL (Structured Query Language) as a JSON query language. Cosmos DB is truly schema-free. By its commitment to the JSON data model directly within the database engine, it provides automatic indexing of JSON documents without requiring explicit schema or creation of secondary indexes.
  • 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.
  • Where Can I Use Common Azure CosmosDB (Use Cases)?Sep 06, 2017. Azure Cosmos DB is Microsoft’s globally-distributed, multi-model database service for managing data at planet-scale. It builds upon and extends the earlier Azure DocumentDB which was released in 2014.
  • 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.
  • 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.
  • What Is Meant By Big DataSep 04, 2017. Big data is a term that describes the large volume of data - both structured and unstructured - that overload a business on a day to day basis.But it's not the amount of data that's important.It's what all the - organisations do with the data that matters big data can be analyzed for insights thats load to better decisions and strategic business moves "Big data" is similar to "small data",but it is bigger in size.Big data is the collection of both structured and unstructured data which are from different sources like social data,machine generated data and traditional enterprises.
  • How To Backup A Mirrored Database Using SQL AgentSep 04, 2017. Database mirroring is a primarily software solution for increasing database availability. Mirroring is implemented on a per-database basis and works only with databases that use the full recovery model. The simple and bulk-logged recovery models do not support database mirroring. Therefore, all bulk operations are always fully logged. Database mirroring works with any supported database compatibility level.
  • SharePoint 2016/2013/Online - How To Upload Files To SharePoint Document Libraries By PowerShell AutomationSep 02, 2017. In this demo we will explore the PowerShell code to upload the file to SharePoint Online/On Premise Implementations which represents just a part of the complete automation process.
  • SharePoint Framework (SPFx) Development Machine SetupAug 31, 2017. SharePoint Framework is the way to go for the SharePoint developers. Having said that it’s of utmost importance that SharePoint developers like me start preparing ourselves for this next gen development model for SharePoint.
  • 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.
  • 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.
  • Create Migration File In Ruby On RailsAug 29, 2017. In this article you will learn to how to Create Migration files, migration models creation, what is migration, why use migration and how to run migration file in Ruby on Rails.
  • IoT Remote Access Pi Login Using Raspberry PI 3 Model BAug 29, 2017. This is an introduction of Raspberry Pi 3 Model B. We will explore what Raspberry Pi 3 has to offer in terms of its features and performance.
  • 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.
  • 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.
  • Understand Azure Cosmos DB - DocumentDB API (SQL)Aug 24, 2017. Azure Cosmos DB is Microsoft’s globally-distributed, multi-model database service "for managing data at planet-scale." It builds upon and extends the earlier Azure DocumentDB, which was released in 2014. It is schema-less and generally classified as a NoSQL database. In this article I am going to create an Azure Cosmos DB using SQL.
  • 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.
  • How To Build A Linear Regression Web Service In Azure ML ModelAug 22, 2017. In this article, we are going to build a linear regression model. After building the model, we will train it and publish it as a web service so that we can use the service in any application.
  • Getting Started With Microsoft Azure Machine Learning - Part OneAug 19, 2017. It’s a data modeling environment from which we can get an end-to-end approach to a problem to an answer. Use Azure Machine Learning to deploy your model into production as a web service in minutes—a web service that can be called from any device, anywhere and that can use any data source.
  • Introduction To ProtractorAug 18, 2017. Protractor is an E2E UI automation testing tool for angular or Angular JS and it is very similar to selenium webdriver. Angularhas some extra web elements like ng-model, ng-if so we can’t test angular applications without Protractor. Protractor is built on the top of WebDriverJS that uses native events and browser-specific drivers which interact with web application.
  • Understand Azure Cosmos DB - Table APIAug 18, 2017. Cosmos DB is a globally distributed multi-model database. Using the API, applications running on Azure Table storage can take advantage of secondary indexes, turnkey global distribution, dedicated throughput, and single digit millisecond latency with 99.99% comprehensive SLAs.
  • 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.
  • Custom Model Binding In ASP.NET Core MVCAug 17, 2017. Model binding in MVC maps HTTP request data to the parameters of the controller's action method. The parameter may either be of simple type like integers, strings, double etc. or complex types. MVC binds the request data to the action parameter by parameter name.
  • SharePoint 2016/2013/Online - How To Download SharePoint Files By PowerShell AutomationAug 12, 2017. In this article, we will explore the PowerShell way of downloading the files in SharePoint Document Libraries.
  • Key Capabilities Of Azure Cosmos DBAug 12, 2017. A few years ago, Microsoft offered DocumentDB as a Service (DaaS) that supported a limited set of features and functionalities. Today, most of the cloud-based services, such as Bing, Azure, and Office 365 are using DocumentDB. Microsoft took DocumentDB to the next level and came up with Azure Cosmos DB - A globally distributed, multi-model database.
  • 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.
  • Building Container Image Through AutomationAug 10, 2017. The following is the continuation of the previous document. Here we will work with the automation concept through which the container images can be created.
  • Data Structures In Java - Linear ArrayAug 10, 2017. Data structure means organizing the data by using models in the computer memory. A linear data structure that represents a relationship between elements by successive memory location is known as the array, where as a linear data structure that represents a relationship between elements by pointer and link is known as linked list.
  • Accessing XML Data From XML Document In C# Console ApplicationAug 09, 2017. In this article, I am going to give the best way to access XML data from XML document and also how to find common record node counts.
  • 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.
  • Introduction To Sweet Alert Library In ASP.NET MVC RazorAug 08, 2017. Sweet Alert is a library that acts as a replacement for the JavaScript’s alert() function. This shows very pretty model windows. It’s a library that has no dependencies, and is made from a JavaScript file plus a CSS file.
  • Communication Between Model, View, And Controller In ASP.NETAug 08, 2017. In this article we are going to learn how to communicate between Model, View, and Controller in ASP.NET application.
  • Understanding DocumentDB In AzureAug 08, 2017. This article will give you a feel for Azure DocumentDB. It is a NoSQL document database service designed from the ground up to natively support JSON and JavaScript directly inside the database engine.
  • 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.
  • 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.
  • 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.
  • Entity Framework CRUD Operation Performed With SQL Stored Procedure Using ADO.NET Entity Data ModelJul 31, 2017. You can see my pervious article for Entity framework with Ado.Net data Model connection and how to create a new entity framework project and sql database connection maintained with created entity framework project. Also you can see how to create a class in entity framework based on data table.
  • 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.
  • Installing Docker In Windows ServerJul 29, 2017. The following document will provide you the step by step guide to create a windows server operating system and install the docker in it. To proceed with this, you need to login into your Microsoft Azure portal.
  • 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.
  • Introduce Entity Framework With ADO.NET Entity Data ModelJul 28, 2017. In this article, we will learn the Entity Framework with Data Model.
  • ASP.NET MVC Model Validations Using Data AnnotationsJul 27, 2017. In this article, I will explain how to implement model validations using data annotations in asp.net mvc. In asp.net mvc we can easily implement validation by using Data Annotation properties.
  • 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.
  • Learn MVC : Using Angular PDF File ViewerJul 23, 2017. This article demonstrates the way of using Angular pdf file viewer in Visual Studio 2017. Angular portable document format (PDF) file viewer that is built with html5 & this viewer supported by Mozilla Labs. It is a web standards- based platform for parsing and rendering PDFs.
  • 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.
  • Custom Actions Using CSOM For SharePoint Online - Part TwoJul 20, 2017. This is the second post of the Custom Actions Using CSOM for SharePoint Online series. In this post we will see how to create Ribbon Custom actions for different types of lists (Custom List, Document Library and Calendar).
  • 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.
  • Create List With Default Items In SharePoint 2016 Using VS 2015Jul 18, 2017. In this article, I would like to share the steps to create SharePoint list with default items using VS 2015. In a previous article we saw how to create document library with predefined folders.
  • Custom Actions Using CSOM For SharePoint OnlineJul 18, 2017. In this post, we will see how to add and remove Menu(ECB) and Ribbon custom actions to different types of lists (Custom List, Document Library and Calendar) in SharePoint online using CSOM (.NET managed) code.
  • Get User Profile Properties Data in SharePoint Designer 2013 WorkflowJul 18, 2017. Workflows helps SharePoint users to collaborate on documents, list items and to manage tasks by implementing business processes on documents and list items. Creating and assigning tasks to Manager is a very common scenario in workflows. All the user related information is stored in User profile service application (UPA). Although this sounds very straightforward, getting the user profile properties of the logged in user is very tricky in SPD 2013 workflow.
  • 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.
  • Create Document Library With Folders In SharePoint Using VS 2015Jul 12, 2017. In this article I would like to share the steps for creating the document library with folder in SharePoint using visual studio 2015. In previous articles we saw how to create document library manually in SharePoint online Site.
  • 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.
  • Task For Creating Web Part And Assigning It To Document Library Or ListsJul 10, 2017. How to Create Document Library and Assign Web parts to it and assign Another Document Library to these Web parts.
  • Deploying Logic Apps Service In Azure PortalJul 06, 2017. Logic Apps are used as fully managed iPaaS (integration Platform as a Service) allowing developers not to have to worry about building hosting, scalability, availability and management.A logic app begins with a trigger after firing and can begin many combinations of actions, conversions, and condition logic. It also provides the path to simplify and implement scalable integrations and workflows in the cloud. It provides a visual designer to model and automate your process as a series of steps known as a workflow.
  • 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.
  • Two-Class Boosted Decision TreeJul 03, 2017. Two-Class Boosted Decision Tree module creates a machine learning model that is based on the boosted decision trees algorithm. A boosted decision tree is an ensemble learning method in which the second tree corrects for the errors of the first tree, the third tree corrects for the errors of the first and second trees, and so forth. Predictions are based on the entire ensemble of trees together that make the prediction.
  • Creating TreeView For MVC 5Jul 03, 2017. We're going to extend JsTree from JS to MVC and we'll render HTML tags from the database using custom development in the model.
  • 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.
  • Deploying A Simple LUIS Bot Using Microsoft Azure Bot ServicesJun 28, 2017. LUIS stands For Language Understanding Intelligent Service which offers a fast and effective way of adding language understanding to applications. With LUIS, you can use pre existing, world class, pre built models from Bing and Cortana whenever they suit your purposes and when you need specialized models, LUIS guides you through the process of quickly building them.It is also part of Microsoft Cognitive Service.
  • 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.
  • 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.
  • Getting Started With Area In ASP.NET MVCJun 27, 2017. In Asp.Net mvc you can classify the working. Division of website section called Area. This was introduced in ASP.NET MVC 2 version. Each Area will have seperate Model,View and Controller, Web.Config file.
  • 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.
  • Azure Cosmos DB - Part Three - Getting Started With Azure Document DBJun 08, 2017. Azure Cosmos DB - Getting Started With Azure Document DB.
  • Introduction To Windows AzureJun 07, 2017. This article is an introduction to Windows Azure.
  • 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.
  • 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.
  • 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.
  • View And Update Document Information PanelJun 03, 2017. View And Update Document Information Panel.
  • ZCompare - Quick Start GuideJun 02, 2017. ZCompare - Quick Start Guide.
  • 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.
  • Get In Touch With Document DB From Azure Cosmos DBMay 23, 2017. Get In Touch With Document DB From Azure Cosmos DB.
  • Provision Custom Sharepoint List Using SharePoint Framework Development ModelMay 15, 2017. Provision Custom SharePoint List using SharePoint Framework development model
  • Web API ValidationMay 15, 2017. This article acquaints you with Web API Validation, Web API Model validation, web api custom validation Model validation, Api validation best practices Custom Validation, ivalidatableobject web api, JSON Validation
  • Generating API Document In Nancy Using SwaggerMay 15, 2017. Generating API Document In Nancy Using Swagger.
  • Create New Document Center Site CollectionMay 14, 2017. Create New Document Center Site Collection.
  • 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.
  • MultiClass Logistic Regression Modelling Using Letter Recognition DataSetMay 10, 2017. MultiClass Logistic Regression Modelling Using Letter Recognition DataSet.
  • How To Change List And Document Library Web URL In SharePointMay 04, 2017. This article exhibits how to change list and document library Web URL in SharePoint.
  • 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.
  • Generating API Document In NancyMay 01, 2017. Generating API Document In Nancy.
  • SharePoint List Operations Using SPFx Solution With JSOMApr 20, 2017. In this article, we will perform basic list operations, using SharePoint JavaScript Object Model (JSOM) on SharePoint Framework Solutions (SPFx).
  • SharePoint JSOM Operations Using SPFx SolutionApr 17, 2017. In this article, let us look at working with SharePoint JavaScript Object Model (JSOM) operations on SharePoint framework solutions (SPFx).
  • Software Testing!! BDD, AAA-Structure And Mocking For Unit TestingApr 16, 2017. In this article, you will learn about naming conventions, body structure and object mocking of the test method for unit testing.
  • ASP.NET MVC 5 - Multiple View Models In Single ViewApr 12, 2017. This article is about implementing multiple view models in a single view via ASP.NET MVC5 platform.
  • Retrieve User Details Using SPServices In SharePoint Framework Development ModelApr 09, 2017. This article helps to retrieve user details, using SPServices In SharePoint Framework Development Model.

About Document-object-model

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!