C# Corner

Resources  
  • Running Business Rule Only On Record CreateOct 16, 2017. We know that business rules are executed on form load and on change of the associated field, which means if we have business rule for any entity it will fire for new record as well for existing records when form loads.
  • 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.
  • How To Implement Dependency Injection In MVC ProjectOct 07, 2017. Here I am going to explain how to implement dependency injection in MVC Project in detail including separate layers for getting data through Services and Repositories.
  • .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.
  • 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.
  • 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.
  • Sample Document Management System In SharePoint OnlineSep 28, 2017. In this article, we will discuss about a simple document management system sample in SharePoint Online. With O365 we can use sites to share & collaborate documents at any time on any device. Default Site in O365 is team site. For business we can customize our sites & use it for internet. By default Team sites has a logo, title, Navigation Links, Started tiles, Newsfeed, documents & notebook for collaboration. Please refer below screenshot.
  • Consume Local File System As A Data Source In Power BISep 27, 2017. We all know Power BI is a very good business intelligence tool. Sometimes there is a situation when we need to prepare report using file system. Power BI provides a connector to consume data from folder structure. We can get all files from a specific folder. But there is one limitation with this connector.
  • Collect E-Signature Using NINTEX And DocuSign IntegrationSep 26, 2017. Nintex and DocuSign have teamed up to integrate DocuSign’s Digital Transaction Management with NINTEX workflows, which helps customers with electronic signatures capabilities in their business process automation with effective security. With this combo documents can be easily sent for signature to the external users without knowing/exposing SharePoint to the user without any access.
  • Cloud Platform Basics - Welcome To The New IT WorldSep 24, 2017. If you are an IT Leader, software developer, or IT PRO you need to understand cloud platforms, as they are going to play a big part in the future. In this article, I will explain how enterprises, businesses, government bodies etc. can and should use cloud platforms.
  • Purchasing A New Service To Your Office 365 TenantSep 21, 2017. This is going to be a very simple article where I’ll be describing about how to add a new service to your Office 365 tenant. Let’s say there comes a scenario where your organization has been using Office 365 for quite some time and all of a sudden, the business shows interest on a new Office 365 service then you need to follow the steps mentioned in this article below to purchase that new service for your existing Office 365 tenant.
  • 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.
  • Step By Step Procedure To Create A Microsoft FlowSep 14, 2017. Microsoft Flow is a part of Office 365 suite which is a cloud-based software tool that allows users to create an automated workflow across multiple applications and services without the need for developer help. Microsoft flows is built on top logic app engine. But as this app is built for targeting business personnel, the total process is UI based. To create a flow, the user specifies what action should take place when a specific event occurs.
  • 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.
  • Use Wikipedia As A Data Source To Prepare Power BI ReportSep 07, 2017. Power BI is a business intelligence tool. It supports so many data sources to prepare a report. As we all know Wikipedia is a very good resource of useful information. We can consume Wikipedia data as a data source and prepare a Power BI report.
  • 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.
  • Advantages Of SharePoint 2016 From A User PerspectiveSep 06, 2017. You might have seen many articles/blogs on the internet about new and deprecated features of SharePoint 2016 or about the comparison between SharePoint 2013 and 2016. However, this article is mainly focused on the new changes introduced in SharePoint 2016, which will help the end users or business users in their day-to-day SharePoint usage.
  • 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.
  • 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.
  • I Am A Programmer And I Love To Exercise Sep 04, 2017. here I am going to talk about fitness and health. I will start with very basic things with which you can improve your health and business.
  • Platform Mobile Analytics Tools For Efficient App ManagementSep 04, 2017. Analytics is crucial for an effective app management. Modern app analytics tools let you know whether your app is functioning as it should or there is a need for upgrading. Nowadays, the selection of these tools is impressive. The choice of the right tool helps not only speed up your return on investment for, let’s say, the cost of outsourcing app development or any other development expenses but also arrange future business outgoings.
  • 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 Voice Of The CustomerAug 29, 2017. In any industry customer satisfaction plays a very important role. It provides a real picture about our happy and unhappy customers which helps us to manage and plan our business effectively. We can get a customer satisfaction matrix using different methods and one of them is to use customer satisfaction surveys.
  • 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.
  • How To Bulk Update Secondary Admin For My Sites Or OneDrive For Business (ODFB) Using PowerShellAug 26, 2017. In this article, we will see how to Bulk Update Secondary Admin for My Sites or OneDrive for Business (ODFB) using PowerShell.
  • 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.
  • Areas In ASP.NET Core MVCAug 20, 2017. Area is a beautiful feature of ASP.net MVC that allows you to organize related functionality into a group. We can create a hierarchy for the physical grouping of the functionality or business component.
  • 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.
  • 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.
  • 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.
  • Getting started With Azure Ethereum Consortium BlockchainAug 08, 2017. Azure started supporting a number of distributed ledger technologies that fulfill business requirements in security domains and many more. Azure has started Blockchain as a Service (BaaS). It will emerge as platform for creating applications rapidly on cloud technologies. Azure has come up with many blockchain solutions like Ethereum Consortium, STRATO Blockchain LTS, Emercoin Blockchain etc.
  • 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.
  • How To Determine The Version And Edition Of SQL Server And Its ComponentsAug 06, 2017. For Business Intelligence features such as Integration Services, Reporting Services, and Analysis Services, you may have to install the latest service packs, cumulative updates, and hotfixes on the client-side computers to obtain the latest fixes while developing SSIS packages, SSRS reports, or Analysis Services cubes.
  • 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.
  • Selecting An Enterprise Content Management System (CMS) - Part TwoJul 31, 2017. In continuation of my previous article on – “Selecting a Content Management System that supports Your Business”, I thought of writing this article on selecting an Enterprise CMS. Nowadays, Mobile, Big Data and E-Commerce are causing drastic changes in the business landscape and all those companies who ignored their online presence are at the risk of losing customers and revenue.
  • 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.
  • Progressive Web App - The Latest Technology Disruption Developers Must Master TodayJul 27, 2017. Would you be surprised to learn that some of your favorite apps are web sites? An emerging trend is companies of all sizes are migrating their client strategy to web only, abandoning native apps. There are several reasons for this strategic business decision. Consumers no longer download apps and the web platform has added many key features, elevating the web past native apps.
  • 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.
  • 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.
  • Selecting A Content Management System That Supports Your BusinessJul 17, 2017. Recently, a customer asked for a Content Management System (CMS), and being a SharePoint developer and consultant, I proposed SharePoint Server as CMS. Afterwards, by analyzing different CMS in the market, I thought of writing this article and will focus mainly on a CMS named – “Sitefinity” (http://www.sitefinity.com/).
  • 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.
  • Architecture Of .NET FrameworkJul 06, 2017. In I will explain why we divide the .NET framework into layers.
  • Why ASP.NET Is The Perfect Option For Emerging BusinessJul 05, 2017. In today’s date, every business is opting for web platforms for taking their business to the next level.
  • 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.
  • AngularJS Vs. ReactJS - A Critical AnalysisJul 01, 2017. Every entrepreneur wants their business website to flourish and to achieve that, the selection of the JavaScript framework becomes quite crucial. It plays a key role not only in the steadiness of the project, but also helps to maintain code and deadlines etc. However, choosing an apt framework to suit your requirements isn’t a cake walk.
  • 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.
  • Building Web Apps With ASP.NET Core And DotVVMJun 29, 2017. There is one category of web applications where the MVVM pattern can be especially useful: line of business applications. Yes, these crazy large web sites with hundreds of grids, large and complicated forms with hundreds of fields, tabs, wizards and modal dialogs.
  • MVVM In WPFJun 29, 2017. MVVM is an architecture pattern which facilitates separation of projects into three logical layers with their own responsibilities. It facilitates modern techniques such as Separation of Concern, Unit testing and TDD. It is set of guidelines, that, when used, makes it easier to develop applications.
  • 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.
  • ASP.NET MVC 5 With ReactJSJun 24, 2017. React is a very popular front-end library developed by Facebook. It’s basically used for handling view layer for web and mobile apps.
  • 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.
  • Layers In UnityJun 14, 2017. In this article, I am going to explain how to add layers in your unity project.
  • 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.
  • 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.
  • Stop Reinventing The WheelMay 25, 2017. Software Teams... Stop Reinventing The Wheel
  • 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.
  • Business Etiquette Rules That Every Professional Needs To KnowMay 19, 2017. This article is about certain business etiquette rules, which every professional needs to know.
  • Create A Business Intelligence Center Site Collection In Office 365 (SharePoint Online Site)May 16, 2017. In this article, you will create a Business Intelligence Center Site Collection in Office 365 (SharePoint Online site).
  • Introduction To Microsoft Business IntelligenceMay 14, 2017. Introduction To Microsoft Business Intelligence.
  • 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.
  • 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.
  • Implement Business Connectivity Services Using oData, Entity Framework And SharePoint Hosted Add-inApr 21, 2017. Implement Business Connectivity Services Using oData, Entity Framework And SharePoint Hosted Add-in.
  • 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.
  • Generate Business Intelligence Reports From Wikipedia Using Power BIApr 12, 2017. Learn how to generate Business Intelligence Reports from Wikipedia using Power BI.
  • 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.
  • Create Business Intelligence Excel Charts Using VBA And Upload To SharePointMar 16, 2017. Create Business Intelligence Excel Charts using VBA and upload to SharePoint.
  • 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.
  • Create Business Intelligence Bar Charts From SharePoint List View Using Client Side Rendering And ChartJSFeb 14, 2017. In this article, you will learn how to create Business Intelligence Bar Charts from SharePoint List View using client-side rendering and ChartJS.
  • Sharepoint 2013/ Online - JavaScript Injection Using Embed JavaScript PatternFeb 06, 2017. In this article, we will see how to implement embed JavaScript pattern in real time business applications.
  • 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.
  • Create Business Intelligence Reports From SharePoint Online List Using Power BI And R OpenJan 25, 2017. In this article, you will learn how to create business intelligence reports from SharePoint online list using Power BI and R Open.
  • Reuse Your Code .. Generic Save/Load!Jan 24, 2017. Get the overview of Generic C# .NET Object Save/Load pattern and code.

About Business-object-Layer

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!