C# Corner

Resources  
  • CRUD Operations In Android SQLite - KotlinApr 18, 2018. In this article, we will learn how to perform CRUD (Create Read Update Delete) operations SQLite using Kotlin, the official first-class programming language for Android development. It is very easy and similar to implement like Java. We will learn SQLite implementation by building Simple TODO Application.
  • GitHub Repository Integration With VSTS CICDApr 17, 2018. I have been working for awhile on Microsoft ALM tools. It is an awesome experience to explore and integrate different MS tools, such as VSTS CI, Release Management etc. Since the developer community has been exploding with an exponential growth of developers in the last decade, Microsoft has forseen that if it wants to stay in the game for long and climb up the ladder, they will have to focus on non-Microsoft technology devs, such as Ruby, Java, and PHP etc.
  • Basics Of Node.js ModulesApr 02, 2018. Nowadays, Most of the web developers are working with new technology like Angular, React, Vuejs a frontend and Express.Js, Meteor web framework or SharePoint Framework of the JavaScript. But every developer face issue to understand the pattern of writing the code or we can say the ecosystem used in the packages\libraries.
  • Separation Of Concern And Data Access From Within CodeMar 24, 2018. In this article, you will learn the separation of concern and data access from within code.
  • Setting Up Entity Framework Core Database With FactoryMar 14, 2018. In this write-up, I will explain how to easily and quickly set up your database using Entity Framework Core in a .NETCore project using the factory pattern to connect your entities to your database.
  • Java Mail API Using GMAIL OAuth API In AndroidMar 11, 2018. In this article, we will learn how to send mail directly from Android application using Gmail API OAuth 2.0. To run the process successfully, you need to follow the steps carefully.
  • Design Patterns Simplified - StrategyFeb 13, 2018. This article explains what Strategy Design Pattern is and how to use it in software design and development.
  • Automating SVN Check-Ins And Building A Project Via JenkinsFeb 05, 2018. A few weeks back, while sitting with my team, I learned that they run a Jenkins job which has to execute the automation scripts using the robot framework, daily around 1:00 a.m. The primary purpose of the job is to place all the necessary files and folders over the node machine of Jenkins (after copying them from the machine pointed as master on Jenkins), execute those scripts accordingly, generate the reports, and finally copy the output files back to the master machine to analyze the logs for the overall reporting and analysis purposes. This whole efficient job starts with a slack manual step which was enough to tag this activity 'not fully automated' because they had to place the updated work regularly on the specified path over the master machine before leaving the office (this includes taking the updated code, files, and automation scripts, building the project to take the DLLs etc.). This may sound tedious but more than that, there is no sense to do it manually.
  • CRUD Operations In ASP.NET Core 2 Razor Page With Dapper And Repository PatternFeb 04, 2018. This article will demonstrate how to perform CRUD operations in Razor Page which were introduced with Asp.Net Core 2 using Dapper and Repository Pattern.
  • Client Side Development With SharePoint Using NodeJS And PnPJan 30, 2018. Nowadays, client side development with SharePoint is growing bigger and bigger with lot of APIs emerging against SharePoint data. @PnP (PnPJS) is a new javascript API from SharePoint Patterns and Practices team.
  • Overview Of Strategy Design PatternJan 23, 2018. In this article, we will learn about Strategy Design Pattern.
  • Abstract Factory Pattern Using C# - Real World ExampleJan 22, 2018. While learning design patterns, I came to understand the most frequently used term, Factory Pattern as well as Abstract factory pattern. I searched the internet and came across numerous learning points. After a lot of search and study, I endeavored to find an actual need for the abstract design pattern.
  • Design Patterns Simplified - Chain Of ResponsibilityJan 22, 2018. This article explains what Chain of Responsibility Design Pattern is and how to use it in software development.
  • Cab Booking And Scheduling By Using Command Design Pattern And SchedulerJan 20, 2018. This article explains the cab booking & scheduling system by using Command Design Pattern and Scheduler.
  • CRUD Operations In SharePoint Using REST API - CREATE OperationsJan 18, 2018. REST API is a powerful CSOM concept that can be leveraged in SharePoint for converting sophisticated business designs into working and efficient SharePoint Artifacts (Add-Ins, CSOM solutions, etc.). REST does not require any separate references for its working unlike other frameworks (SPservices!)
  • CRUD Operation In MVC Using Elastic SearchJan 17, 2018. Elastic search is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elastic search is developed in Java and is released as open source under the terms of the Apache License.
  • App.Config AutoReaderJan 17, 2018. In our day to day development, it is a rare case where we don’t need to read a configuration file. There are many techniques for the treatment of such static classes, singleton classes, etc and it is normally that the Config class is accessible in all projects.
  • Basics Of Angular And Its Versions - Part TwoJan 15, 2018. Module is nothing but a package like a package in Java, a namespace in C# and like a header-file in C / C++. Java, C#, and C++ have their own modularity system which contains classes, interfaces, enumerations etc. In the same way, Angular also has its own modularity system called NgModules which helps to organize an application into adhesive blocks of functionality. Every Angular application should have at least one NgModule and the root module is called AppModule.
  • Railway Ticket Fare Calculation With Strategy PatternJan 15, 2018. This article explains how to calculate Railway ticket fare by using Strategy Design Pattern.
  • Singleton Design Pattern In C# - Part Three (Static vs Singleton)Jan 11, 2018. In this series of learning singleton patterns, we learned lazy initialization and eager initializations with practical examples. We also learned why it is necessary to make the singleton class sealed with sealed keyword. In this article, I’ll try to explain the differences between static and singleton class and where to use static and where to use singleton classes.
  • Singleton Design Pattern In C# - Part Two (Eager and Lazy Initialization in Singleton)Jan 09, 2018. In this article, we’ll discuss Lazy initialization, the lazy keyword, why to make singleton class a sealed class and what are the differences between singleton and static class.
  • Singleton Design Pattern In C# - Part OneJan 08, 2018. I always wanted to write about Singleton design pattern in C#. Though there already are many posts available on Singleton design pattern, I’ll try to cover this topic in the most simplistic and easy to understand way.
  • Repository Pattern In ASP.NET MVCJan 02, 2018. In this article, we will learn about Repository pattern which is mostly used to create enterprise applications. Repository pattern divides application’s UI, business logic and data access components into different layers that are easily maintainable and testable.
  • Using Collection In KotlinJan 02, 2018. Collections are used to store groups of related Objects in memory. Like java, kotlin also supports collection frameworks.
  • ASP.NET Core 2.0 Cookie AuthenticationJan 02, 2018. Cookie Authentication allows developers to hook into events at various lifecycle stages of the authentication process. For instance you could log successful sign-ins using OnSignedIn or use OnValidatePrincipal (runs on every request) to invalidate the user (e.g. if you want to force sign-out).
  • Consuming ASP.NET Core 2.0 Web API Using HttpClientDec 26, 2017. We’ll create a library to wrap the functionality of HttpClient. I’ll use builder pattern for this purpose. Add a class with methods for storing parts of HttpClient.
  • Understanding Data Structures - Linked ListsDec 26, 2017. In this article we will go through the basics of linked list data structure and implementation of it in various programming languages like C, C++, C#, Java, Python, VB.Net
  • Setting Up Add-In Development Environment In SharePoint Server 2016Dec 26, 2017. In this article, I have explained how to configure Sharepoint add-ins development environment and create a simple hello world web part in s=Sharepoint server 2016 on-premises.
  • How To Create Azure Function App To Delete SharePoint Online List Using CSOMDec 19, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer Azure Functions for more details.
  • Getting Started With Apache SparkDec 18, 2017. In Big Data, Hadoop components such as Hive (SQL construct) , Pig ( Scripting construct), and MapReduce (Java programming) are used to perform all the data transformations and aggregation . Now with Apache Spark the same is being achieved with many more advantages like unified API performance, and support for multiple languages, 10X-100X faster than MapReduce.
  • How To Create A Simple Azure Function App Using C#Dec 18, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of your choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer to Azure Functions for more details. In this article you will see how to create a simple Azure Function using C# that will run whenever an HTTP request is received.
  • Swift Programming - Zero To Hero - Part NineDec 13, 2017. In this article, I have shared some details about Design Patterns in Swift Programming.
  • Building Entity Framework Disconnected Generic RepositoryNov 29, 2017. The repository pattern separates and retrieves data model mapping logic from the business logic. We will create a repository class for each entity class in our application. All these classes usually have a main group of equals methods.
  • Getting Started With Kotlin - BasicsNov 29, 2017. Google announced Kotlin as an official language for Android Application development in Google I/O 2017.Kotlin is a statically-typed language, developed by JetBrains and Open source Contributors in the 2011, that runs on JVM(Java Virtual Machine) and is compiled to JavaScript source code. It is very suitable for server-side application development with full compatibility of Java frameworks. You can use multiple frameworks like - Spring, Vert.x, Ktor etc. for web application development.
  • Pug Vs HTMLNov 26, 2017. In the holy wars of "Pug vs HTML", it is really confusing sometimes to realize which one of these to use. The same is true for SQL vs NoSQL, and the similar is true for Java vs Python. Then people think why not talk about Pug vs HTML as well. HTML is always the perfect language to consider, however for the case of Pug there might be a bit of confusion. Some developers don't know Pug, and some who know it, know it as a Jade framework.
  • Your Singleton Might Not Be "Single"Nov 21, 2017. Singleton has been a very popular design pattern as it is proven to have some advantages compared to the global variables
  • Dynamic Filter By Using Intercepting Filter PatternNov 19, 2017. This article explains Dynamic Filter using Intercepting Filter Pattern
  • Passing Parameters To Middleware In ASP.NET Core 2.0Nov 15, 2017. I discussed in an earlier post that it is good practice to define middleware in a separate class and add to the pipeline using extension methods. We may also need to pass information to our middleware classes though and I’ve come across two patterns for this when digging into ASP.NET Core source code and other samples online.
  • Introduction To Bot Service In AzureNov 10, 2017. Bot used as an app that helps users interact in a conventional way. It may be as simple as basic pattern matching with a response or it may be sophisticated handling the artificial techniques with complex conversational state and integration to existing business services.
  • ASP.NET Core 2.0 MVC RoutingOct 23, 2017. Routing in ASP.NET Core MVC is the mechanism through which incoming requests are mapped to controllers and their actions. This is achieved by adding Routing middleware to the pipeline and using IRouteBuilder to map URL pattern (template) to a controller and action.
  • C# 7.0 And C# 7.1 New Features - Part TwoOct 16, 2017. This article explains the new features of C# 7.0 & C#7.1. It covers new features like Discards, Pattern Matching, Generalized async return types, Async Main (Main Method returning Task), Infer Tuple Element Names, Default Literal Expressions & Type Inference and Pattern Matching with Generics.
  • Getting Started With SharePoint Framework For SharePoint 2016 On-PremisesOct 12, 2017. Once you have installed and upgraded the September 2017 Public Update for SharePoint 2016, you will be able to upload and deploy SharePoint Framework packages that contain web parts via the SharePoint App Catalog just as you would with SharePoint Add-ins.
  • Getting Started With ASP.NET Core And jQuery CRUD Using WEB APIOct 03, 2017. A lab exercise for you to demonstrate what have you learned from this training material to create your own Todo CRUD operation using TodoRepository included in this training material.
  • Why "Service Locator" is an "Anti-Pattern" for Dependency InjectionSep 29, 2017. The Service Locator is used as a replacement for the new operator. The problem with service pattern is that it hides a class's dependencies and is a bonafide anti-pattern. In fact, it takes away a developer's clarity about the class he/she is using.
  • Builder Pattern In C#Sep 26, 2017. In this article, we will learn about Builder Pattern in C#.
  • Dependency Injection - Part 7 - Service Locator PatternSep 18, 2017. Service locator pattern is one of the most commonly used patterns. In general, this pattern is used along with other patterns like Adapter Pattern, Observer Pattern, Dependency Injection Principles and many more. In this post, however, we will be talking about its use with dependency injection, which is one its many uses.
  • Frequent Pattern And Market Basket ImplementationSep 09, 2017. Frequent pattern mining is about the item sets and sequences which appear in a data set.
  • Create Local Notification In Xamarin.Forms Using Visual StudioSep 04, 2017. Xamarin is the best cross platform tool to develop mobile applications. It provides cross platform app development in C#, so we don’t need to write java or Objective C. We can just use C# and leverage the same for all the platforms. Xamarin also helps us by providing the designers with the different platforms like Android,IOS,etc.
  • Create Timer Task Application In Xamarin.Forms Using Visual StudioSep 04, 2017. Xamarin is the best cross platform tool to develop mobile applications. It provides cross platform app development in C#, so we don’t need to write java or Objective C. We can just use C# and leverage the same for all the platforms. Xamarin also helps us by providing the designers with the different platforms like Android,IOS,etc.
  • Create StopWatch Application In Xamarin.Forms Using Visual StudioSep 04, 2017. Xamarin is the best cross platform tool to develop mobile applications. It provides cross platform app development in C#, so we don’t need to write java or Objective C. We can just use C# and leverage the same for all the platforms. Xamarin also helps us by providing the designers with the different platforms like Android,IOS,etc.
  • Create ToolBar Menu Items In Xamarin.Forms Using Visual StudioAug 24, 2017. Xamarin is the best cross platform tool to develop mobile applications. It provides cross platform app development in C#, so we don’t need to write java or Objective C. We can just use C# and leverage the same for all the platforms. Xamarin also helps us by providing designers with different platforms like Android, IOS, etc.
  • Create Office Web Add-In Project Using Visual StudioAug 24, 2017. In this article, I would like to share the steps to create Office web add-in projects using Visual Studio. In this article, we have explored what Office add-ins are and how to create Office web add-in projects using Visual Studio 2015.
  • Dependency Injection - Part 3 - Implicit Vs Explicit DependenciesAug 12, 2017. If a component or class depends upon other components to complete its operations, then these other components are dependencies for this class. Our class can have these dependencies as implicit or explicit dependencies.
  • CRUD Operation Using Code First Approach, Web API, Repository Pattern, Unit Of Work, And jqGrid In MVCAug 10, 2017. Today, in this article, I will explain how to perform CRUD operations in MVC using Code First Approach.
  • 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.
  • 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.
  • React Tutorials - Day Six - FluxJul 24, 2017. Flux is a programming architecture and concept where data flows in an unidirectional way. Flux is not a framework or library, it is just an architecture pattern that was developed by Facebook along with the React View library to manage the data flow into our application. Flux makes it easier to track the changes and bugs during development.
  • Execution Of Test Cases In Sequential And Parallel Using Selenium WebdriverJul 18, 2017. Selenium is an open source tool, which is used to execute the test scripts or the test cases on web applications. As we know Selenium is an open source tool, which supports various programming languages such as Java,C#, PHP,JavaScript, Ruby etc. Selenium supports various operating systems to execute the test scripts on web applications like Windows, Linux, MacOS etc. Selenium is written using one of the famous programming languages; i.e. Java, and its a cross-platform.
  • 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.
  • 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.
  • Web API Design Principles Or Web API Design GuidelinesJun 22, 2017. In this article you will learn about Web API Design Principles or Web API Design Guidelines.
  • 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.
  • Auto ViewModelLocator In MVVM PatternMay 25, 2017. Auto ViewModelLocator in MVVM pattern.
  • Route Concept With MVC Pattern In .NET Core Application - Day SevenMay 25, 2017. In this article, we will discuss about route concept with MVC Pattern in .NET Core Application.
  • How To Make A Chat Application Using Sockets In JavaApr 17, 2017. In this article, you will learn how to make a chat Application , using Sockets in Java.
  • Abstract Factory Design Pattern In C#Apr 05, 2017. Abstract Factory Design Pattern In C#
  • Factory Method Design Pattern In C#Mar 31, 2017. Factory Method Design Pattern In C#.
  • Working With Pattern Matching In C# 7.0Mar 26, 2017. This article explains about pattern matching introduced in C# 7.0 and demonstrates that how to use it in software development.
  • Singleton Design Pattern In C#Mar 23, 2017. In this article, we are going to learn Singleton design pattern in C#.
  • AngularJS 2.0 From The Beginning - Observables - Day NineteenMar 23, 2017. In this article, we will discuss about observables pattern in both Javascript and also on Angular js 2.0.
  • Overview Of Patterns In JavaScriptMar 20, 2017. Overview Of Patterns In JavaScript.
  • SOLID Architectural Pattern With Real Time ExampleMar 09, 2017. SOLID Architectural Pattern with Real Time example.
  • How To Customize Static And Dynamic Column Chart In WPF With MVVM Pattern Using Prism LibraryMar 01, 2017. In this article, I will demonstrate how you can customize a Column chart like changing foreground color, background color, and label transformation of either static or dynamic WPF with MVVM pattern, using Prism library.
  • Steps To Debug/ Run Selenium Test Cases From Eclipse IDMar 01, 2017. In this article, you will learn the steps to debug/ run Selenium test cases from Eclipse ID.
  • Getting Started With O365 - SharePoint-Hosted Add-Ins Using JSOMFeb 28, 2017. In this article, you will learn about SharePoint-hosted add-ins, using JSOM.
  • Static And Dynamic Pie Chart In WPF With MVVM Pattern Using Prism LibraryFeb 26, 2017. In this article, I will demonstrate how you can create either a static or dynamic Pie chart in WPF with MVVM pattern, using Prism library.
  • Install Java Application Server In Azure Virtual MachineFeb 25, 2017. In this article, you will learn how to install the Apache Tomcat Server in Azure virtual machines.
  • How To Create A Java Web App In Azure MarketPlaceFeb 23, 2017. This article explains how to use Azure marketplace to create a Java Web app.
  • Deleting SharePoint-Hosted Add-In Using Napa Office 365 Development ToolFeb 23, 2017. In this article, you will learn how to delete SharePoint-Hosted Add-ins using Napa Office 365 Development Tool.
  • SharePoint-Hosted Add-In By Using NAPA Tools And Delete SharePoint Task List Item Using JSOMFeb 22, 2017. In this article, you will learn about SharePoint-hosted add-ins by using NAPA Tools and Delete SharePoint Task List item using JSOM.
  • Static And Dynamic Area Chart In WPF With MVVM Pattern Using Prism LibraryFeb 21, 2017. In this article, I will demonstrate how you can create either static or dynamic area chart in WPF with MVVM pattern using Prism Library.
  • How To Hide The Legend In Static And Dynamic Column Chart In WPF With MVVM Pattern Using Prism LibraryFeb 18, 2017. In this article, I will demonstrate how you can hide the legend in a column chart, which is either a static or dynamic WPF with MVVM pattern, using Prism library.
  • Static And Dynamic Line Chart In WPF With MVVM Pattern Using Prism LibraryFeb 15, 2017. In this article, I will demonstrate how you can create either a static or dynamic line chart in WPF with MVVM pattern, using Prism Library.
  • 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.
  • The Magic Payload PatternJan 31, 2017. Making things simple, but no simpler!
  • Creating Java Integrated Development Environment (IDE) In C#Jan 28, 2017. In this article, we will create a simple, well-featured Java Integrated Development Environment (IDE) using C# for beginners.
  • Reuse Your Code .. Generic Save/Load!Jan 24, 2017. Get the overview of Generic C# .NET Object Save/Load pattern and code.
  • Repository And Unity Of Work Pattern In MVCJan 13, 2017. In this article, you will learn how to structure your MVC code with repository and unity of work pattern, in Entity Framework.
  • Pattern Matching In C# 7.0Jan 10, 2017. In this article, you will learn about pattern matching in C# 7.0.
  • Static And Dynamic Column Chart In WPF With MVVM Pattern Using Prism LibraryJan 04, 2017. In this article, I will demonstrate how you can create either a static or dynamic column chart in WPF with MVVM pattern, using Prism Library.
  • Food Delivery Application Using Design PatternsDec 31, 2016. This article will explain the design and development of a food delivery application by using different kinds of design patterns.
  • MVC Crud Using Generic Repository And jQueryDec 28, 2016. In this article, you will learn how to create simple Crud operations, using generic repository pattern and jQuery.
  • Deep Dive Into C# - Garbage Collection And Disposal - Part TwoDec 27, 2016. An in-depth discussion covering dispose pattern, finalizers, and handling unmanaged resources in C#.
  • MVVM - The KnockoutJS RedemptionDec 26, 2016. In this article, I will show you how to use KnockoutJS in a simple way and write JavaScript in Revealing Module Pattern as an alternative to AngularJS.
  • Difference Between Spring Transaction Propagation Attributes In Java DevelopmentDec 06, 2016. In this article, you will learn about the difference between Spring Transaction Propagation attributes in Java Development.
  • Practical Approach To ASP.NET Web Services - Part Six - Calling ASP.NET Web Service From Java Script Using AJAX Dec 06, 2016. In this article, you will see how to call a Web Service from JavaScript using ASP.NET AJAX.
  • Generic Repository Pattern In ASP.NET CoreNov 29, 2016. In this article, you will learn generic repository pattern in ASP.NET Core.
  • Understanding GOF Design Pattern With Simple Examples - Part OneNov 20, 2016. In this article, we will go through some of the highly used design patterns, with simple examples.
  • Repository Pattern In ASP.NET CoreNov 10, 2016. In this article, you will learn about repository pattern in ASP.NET Core.
  • Creating Web API With Repository Pattern And Dependency InjectionNov 02, 2016. In this article, you will learn how to create Web API with a Layered Repository Pattern, using Dependency Injections.

About Singleton-Pattern-in-java

NA
Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now