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.
  • 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.
  • 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.
  • 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.
  • 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 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 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.
  • 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.
  • Concept Of Factories In Object Oriented ProgrammingJun 07, 2017. Concept Of Factories In Object Oriented Programming.
  • Introduction To Windows AzureJun 07, 2017. This article is an introduction to Windows Azure.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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
  • Provision Custom Sharepoint List Using SharePoint Framework Development ModelMay 15, 2017. Provision Custom SharePoint List using SharePoint Framework development model
  • 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.
  • 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.
  • 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.
  • AngularJS 2.0 From The Beginning - Change Detection Of Model - Day Twenty OneMar 28, 2017. In this article, we will discuss about change detection of the model in Angular 2.0.
  • Understanding Model Binding With Database First Approach Using Login App From ScratchMar 25, 2017. Understanding Model binding with Database first approach Using Login App from Scratch.
  • Create And Delete SharePoint List Using JSOM (JavaScript Object Model) In SharePoint OnlineMar 23, 2017. In this article, I have explained how to create and delete SharePoint list, using JavaScript Object Model.
  • Getting Started With Azure Object Blob StorageMar 21, 2017. Getting Started With Azure Object Blob Storage.
  • Retrieve SharePoint List Items Using SharePoint Framework Development ModelMar 21, 2017. In this article, you will understand how to retrieve SharePoint List Items, using SharePoint Framework Development Model.
  • AngularJS 2.0 From The Beginning - ngForm Part Two - Day SixteenMar 16, 2017. In this article, we will discuss model based form binding in Angular 2.0.
  • Azure Functions For SharePoint Operations Using CSOM PowerShellMar 12, 2017. In this article, you will learn how to create Azure function apps for the SharePoint operations using client side object model PowerShell scripts.
  • SharePoint 2013: Implement Deferred And Promise Object In JavaScript Asynchronous ExecuteMar 11, 2017. SharePoint 2013: Implement deferred and promise Object In JavaScript asynchronous execute.
  • Learning UML - Part OneMar 11, 2017. This article is the first article in the series of UML. It explains what UML is and where it can be used in software development. It also explains the fundamental relationship of objects used in UML.
  • Removing Folder In A SharePoint Document Library Using JavaScript Object Model (JSOM)Mar 09, 2017. In this article, you will learn how to remove a folder in a SharePoint Document Library, using JavaScript Object Model (JSOM).
  • Do You Know JavaScript? Are You Sure? - Part TwoMar 06, 2017. Here, we are going to a see another article in the JavaScript series. In the first part, we have see some basics that you can start with. In this article, we will be discussing about JavaScript object continuations and constructors etc.
  • Do You Know JavaScript? Are You Sure? - Part OneMar 02, 2017. Here, we are starting a series of articles related to JavaScript. As this is the first part of the series, here we are going to see some basics of JavaScript which you may have forgotten already or you may not be aware of.
  • How To Get Device Info (UDID, Model, Name, OS Version) In Xamarin iOS AppMar 02, 2017. In this article, you will learn how to get the device information (UDID, Model, name, OS version) in Xamarin iOS app, using Xamarin Studio.
  • Model Class Validation Testing Using NunitFeb 15, 2017. In this article, we are going to learn about validating a Model class property that has data annotation, using Nunit.
  • Model First Approach Of Entity FrameworkFeb 05, 2017. In this article, you will learn about the Model First approach of Entity Framework.
  • SharePoint 2013 Online - Implement Client Caching For SharePoint ObjectsJan 29, 2017. In this demo, we will discuss the caching mechanism for SharePoint Objects which are more complex in nature than the primitive data types.
  • 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.
  • Reuse Your Code .. Generic Save/Load!Jan 24, 2017. Get the overview of Generic C# .NET Object Save/Load pattern and code.
  • Cloning Objects In .NET - Part TwoJan 22, 2017. In this article, you will learn about cloning objects in .NET.
  • Agile Methodology In Software Development And Drawbacks Of The Waterfall ModelJan 16, 2017. In this article, you will learn what Agile methodology in software development is and the disadvantages of the Waterfall model.
  • AngularJS ControllerJan 09, 2017. This article is all about AngularJS Controllers. After going through this, you will be able to create simple AngularJS applications using Controller and View model.
  • God Object - A Code SmellJan 05, 2017. This article will explain about the God object, which is related to code smell.
  • Cloning Objects In .NET FrameworkDec 26, 2016. In this article, we will show the ways to clone objects in .NET Framework. We will analyze the pros and cons for each cloning method.

About 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!