C# Corner

Resources  
  • Object-Relational Mapper For SQLite3 In Node.jsDec 07, 2017. Node.js is getting more popular day by day and many frameworks and platforms are supporting Node.js for its high-performance web server development. In this post, you will learn the database development in Node.js with the popular ORM library; Sequelize.
  • Understanding Classes In KotlinDec 07, 2017. In the above example, I have created a nested class ‘Nestedclass’ which has a data member ‘b’ and a member method show(),now the object of nested class can access member of nested class only.
  • Object Comparison In C# - Part Two [N Level Down List Comparison]Dec 02, 2017. This article will demonstrate the comparison of the objects (or list of objects) with n level down list comparison.
  • Comparing Objects In C#Nov 29, 2017. In this article, we are going to compare two objects of the same class having collection property or multiple collection properties.
  • Xamarin.Android - Text Recognition By Mobile CameraNov 20, 2017. Mobile Vision is an API which helps us to find objects in photos and video, using real-time on-device vision technology.
  • Interviewing - Have An Awesome Resume AvailableNov 19, 2017. It is very important to keep your resume up to date. I update my resume at least every quarter. I also update it when I am done with a project worthy of putting what I did in my resume. Remember to also update your LinkedIn profile whenever you update your resume.
  • Introducing Visual Studio Live ShareNov 18, 2017. With Visual Studio Live Share you and your teammates use the same debugging session. You can collaboratively step through code or set breakpoints which are reflected in your teammate’s editor in real time. Each of you can independently inspect objects, use features like tips on hover, locals and watches, or make changes to an object’s value. When you are ready to make a fix, simply edit the code and your teammates will see your edits in their editor.
  • Create App Using Xamarin.Android Using C# - Part FourNov 17, 2017. Xamarin.Android has native user interface controls. These controls can be easily added to Xamarin.Android apps using the Android Designer or programatically via XML layout files. Xamarin.Android exposes all of the user interface object properties and methods in C#.
  • Building A Reminder Application In Xamarin.AndroidNov 17, 2017. This is simple Reminder Application that will remind the particular things (eg: Remind for shopping, remind for particular office work/meeting, remind for go to particular place etc etc). This application will take three input ( Date, Time and the Content that will need to remind). On the particular date and time it will notify you in the notification bar and when you click on notification it will show you the content that need to remind.
  • Two Way Data Binding In Angular Without $scope Object Using MVCNov 16, 2017. Data binding is the most useful and powerful feature among any of the existing or upcoming software development technologies. It is actually a process that bridges a connection between the view and business logic of the application.Basically we will see one-way and two-way data binding with respect to AngularJS applications. But before we jump to that section we will try to learn something about the scopes in AngularJS.
  • Dependency Injection In AngularNov 14, 2017. Let us assume, if we want to build a Home. To build a Home we need several objects like bricks, wood, concrete, iron etc. To keep this example simple let's say we just need a bricks object to build a Home.
  • DROP IF EXISTS In SQL Server 2016Nov 13, 2017. With this very small but handy tip, we’ll check the enhancement that has been made to DROP statement in SQL Server 2016. Earlier, we used to write additional checking logic to make sure that the object exists to drop. If we miss writing the check and if the object is not available, then we are being served with an error message. With SQL Server 2016, now we can check the existence of the respective object without any error being generated.
  • How To Lock Objects In Power BINov 11, 2017. Sometimes, there is a situation where when we open a report and click on any visuals, it accidentally nudges a chart a little bit to the right or left. Sometimes, by mistake when end user viewing a report, arrangement of visuals scatters little bit. Microsoft rolls out one new amazing feature to resolve this issue and that is Lock Objects in Power BI.
  • Important C# Evolutions You May Not KnowNov 08, 2017. Since the announcement of the number one Microsoft language in 2000, many developers get interested in this language evolutions for many reasons but the main one was that C# is intended to be a simple, modern, general-purpose, object-oriented programming language.
  • Using Objects Comparer To Compare Complex Objects In C#Nov 07, 2017. Objects Comparer framework provides a mechanism to compare complex objects, and allows us to override comparison rules for specific properties and types.
  • Retrieve SharePoint Lookup Field Value Via C#Nov 07, 2017. Get and set a SharePoint Lookup Field via SSOM C#. In this article, I have explained how to get & set SharePoint lookup field (single/multiple) values programmatically via Server Side Object Model in C#.
  • Binding DropDown List Using Tuple In ASP MVCNov 05, 2017. Tuple is a generic static class that was added to C# 4.0 and it can hold any amount of elements, and they can be any type we want. So using tuple, we can return multiple values.One great use of tuple might be returning multiple values from a method. It provides an alternative to "ref" or "out" if you have a method that needs to return multiple new objects as part of its response.
  • Debugging Tips - Part TwoOct 27, 2017. While working on complex classes/objects, it really takes two more clicks to either add that object to the Watch window or expand the object in visualizer and navigate to a specific property.
  • Event Capturing And Bubbling In JavaScriptOct 25, 2017. The DOM has two approaches for object to sense events: first is top down approach and second is bottom up approach. Top down approach is called event capture whereas bottom up is known as event bubbling.
  • Debugging Tips - Part OneOct 24, 2017. A cool attribute to save some debugging time is DebuggerTypeProxy (Namespace: System.Diagnostics). Using this attribute, you can write your own logic to interpret the object at debug time. Meaning, if you have a list of class objects then you can project on certain properties and force debugger to show the value off of this proxy class. This attribute is applicable to Structures, Classes and Assemblies.
  • Sharing A Solution To Generate BillcodeOct 16, 2017. Many of systems we use will generate plenty of billcodes everyday , and most of them include date(datetime) or a prefix to show their signification , such as specifying a billcode belongs to a special day or a special type .
  • Creating A Dynamic YearPicker Plugin Using JQuery And HTMLOct 14, 2017. We have seen many year pickers that allow you to select years from the dropdown. I have seen a requirement of selecting years from the year picker as we select date from the datepickers. Now I am going to create a dynamic Year picker plugin to select the year using jquery and html
  • 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.
  • .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.
  • How To Change User Language Settings In SharePointOct 04, 2017. In this article, I will discuss how to change language settings for a particular user using two ways. When you create a site , you also specify user language setting such as Time Zone, local display for numbers, dates, and time, sort order, calendar type, work week, and time format (12 or 24 hour) settings in both SharePoint On premise and Online.
  • How To Use Bootstrap DateTime Picker In ASP.NET MVC With Angular As DirectiveOct 03, 2017. We can create Bootstrap DateTime Picker in MVC easily but if we use normally like how we refer like normal asp.net mvc as we will face some problems that date picker wont works as expected in order to avoid that we need to do it in angular way so we will create it as a directive and we can use it where ever we want in our project.
  • 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.
  • SharePoint 2013 - Converting GMT/UTC Time To Local Time In XSLT For Rendering RSS Feed ResultsSep 29, 2017. Recently, I came across the requirement where the date coming from RSS feed which is in GMT format needed to be converted to local time and displayed in the required format.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Expandable grid in AngularJS-UI-Grid with Web API Jun 05, 2017. In this article, you learn how to implement expandable feature with appropriate date using AngularJS-UI-Grid with Web API.
  • 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.
  • 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.
  • Typesafe .Net Object Comparison using ZCompare, A Quick Start GuideJun 02, 2017. Typesafe, fully autonomous .Net object comparison using ZCompare.
  • 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.
  • Time And Date Query Code And Analysis - Part OneMay 30, 2017. Time and Date query code and analysis.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • SharePoint 2013: Implement Deferred And Promise Object In JavaScript Asynchronous ExecuteMar 11, 2017. SharePoint 2013: Implement deferred and promise Object In JavaScript asynchronous execute.
  • 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).
  • Create A Datepicker In Xamarin iOS AppMar 08, 2017. In this article, you will learn how to create a DatePicker in Xamarin iOS, using Xamarin Studio.
  • Easy View To Check Plan’s Duration And Finish Dates In Microsoft Project 2013Mar 06, 2017. In this article, we shall learn how to check the plan’s duration, start & finish dates in the Microsoft project 2013.
  • 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.
  • 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.
  • 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.
  • Update SQL Server Data To SharePoint Using CLR Trigger And SharePoint Client Object ModelDec 24, 2016. In this article, you will learn how to update SQL Server data to SharePoint, using CLR Trigger and SharePoint Client Object Model.
  • Date Picker In Xamarin Forms Application For Android And UWP Dec 18, 2016. In this article, you will learn how to use DatePicker in Xamarin Forms application for Android and Universal Windows Platform with XAML and Visual C# in cross platform application development.
  • Getting Started With SharePoint Basic Field Operations Using TypeScript With InheritanceDec 10, 2016. In this article, you will learn how to perform SharePoint basic field or column (site or list scoped) operations, using TypeScript, with Object Oriented approach (including inheritance).
  • SharePoint Basic Site Field Operations Using TypeScriptDec 04, 2016. In this article, you will learn how to perform SharePoint basic site field or column operations, using TypeScript, with an Object Oriented approach.
  • Revisiting Concepts Of JavaScript For SharePoint / Office 365 Developer - JavaScript Variables - Part OneNov 13, 2016. In this article, I’ll go through the basics of JavaScript variables and important points, which should be known by SharePoint / Office 365 developers, who use JavaScript Object Model(JSOM) for SharePoint / Office 365 development.
  • SharePoint Programming With TypeScript - Object Oriented ApproachNov 11, 2016. In this article, you will learn about implementing class, constructor, methods in SharePoint programming, using TypeScript.

About date-object

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!