C# Corner

Resources  
  • Special Class Of C# Series - Part Two - OLE DB (Extended Properties)Dec 14, 2017. In this series of C# Special classes, we are going to see the special features available with the “OleDbConnection” class and its specialties.
  • Special Class Of C# Series - Part One - Partial ClassDec 13, 2017. This article will help you understand what partial class is used in C-Sharp language. Also, I will explain the various uses of the partial class.
  • Demystifying - Azure StackDec 09, 2017. In this article, I will simplify Azure stack and in which scenarios any organization should go with Azure Stack.
  • How To Control SQL Injection In PHPDec 07, 2017. This is an interview question, when a person showcases himself as the FULL Stack developer, it is very important that the developer should have base knowledge on the security aspects of the applications.
  • 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.
  • Aspect Oriented Programming In C# Using DispatchProxyDec 06, 2017. Example of implementing logging using Aspect Oriented approach with DispatchProxy class.
  • Skills Required To Become Full Stack Web Developer (.NET)Nov 30, 2017. In this article, I would like to share some of the important key skills required to become a Full Stack Web Developer in .NET.
  • 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.
  • 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.
  • 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.
  • 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.
  • MVC 5 Demo Project With Entity Framework (DB First)Nov 23, 2017. MVC project has been set up. Now, make a new C# class library project which will act as a DAL layer and Entity Framework will be handled through this project.
  • What Is Struct And When To Use Struct In C#Nov 15, 2017. 'Struct' keyword is used to create a structure. A structure can contain variables, methods, static constructor, parameterized constructor, operators, indexers, events, and property. A structure can not derive/inherit from any structure or class. A structure can implement any number of interfaces. Structures provide better performance.
  • 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.
  • How To Use StringBuilder And File Class For .NET ApplicationNov 14, 2017. Here, I am going to share how and why should we create error log in our application.
  • Azure Table Storage In ASP.NET Core 2.0Nov 14, 2017. Add a class to encapsulate storage access. Add a private helper method to access storage
  • Introduction To Power BI Visuals - Part Two (Stacked Column Chart)Nov 13, 2017. This is the second part of the Introduction to Power BI visuals.The main aim for this article is for the end user to learn these visuals in an easy manner.
  • Introduction To Xamarin.Android Using C# - Part OneNov 10, 2017. Xamarin.Android will create native Android applications using modern language (C#), .NET Base Class Library Visual Studio. Xamarin is a cross-platform development tool. It solves dilemmas many developers face when developing cross-platform apps: separate coding languages and UI paradigms. With Xamarin, you can use C# for iOS, Android, and Universal Windows apps. And with Xamarin Forms, interface design for all three platforms can be accomplished within its XAML-based framework.
  • 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.
  • Why C# Corner Is Better Than Stack OverflowNov 03, 2017. This post shares my deepest personal review about C# Corner and Stack Overflow. You are welcome to disagree here.
  • Implementation Of Stack And Queue Using Linked ListNov 02, 2017. In this article, I will be discussing two data structures - Stack and Queue and their implementation using another data structure - Linked List.
  • Three Digit Sum Using Tuple in C#Nov 02, 2017. In this article, we will be discussing an algorithm which returns possible (no. of pairs) digit pairs that are equal to a given number (6) using Tuple class.
  • Introduction To Power BI Visuals - Part One - Stacked Bar ChartNov 01, 2017. Here, I am writing Introduction series on all Power BI visual so end user or beginner have a basic idea how visuals are working. During this series of Power BI visuals, we will learn about each OOTB Power BI visuals step by step.
  • SystemDataPaths In UWP (Windows 10 Fall Creators Update Features)Oct 31, 2017. This article explains about how to get system , app , user based path information. This SystemDataPaths, UserDataPaths, AppDataPaths class will be supported on Windows 10 Fall creators updated version build or greater and Windows 10 SDK 16999.
  • Getting Started With Receipt Card Design Using Microsoft Bot FrameworkOct 29, 2017. The Bot Framework supports different type of rich cards and provides a richer interaction experience to the user. In this article, I will show how to integrate Receipt card UI design in a Bot Application. If you are developing a shopping card Bot chat application; receipt card is very important. Receipt card class has property as a list of items, total, tax, vat, title and image. We can re-use all receipt card properties and add tab action event for navigating to original invoice website.
  • Add Class Library In ASP.NET Core Using .NET Core Command-Line Interface (CLI)Oct 29, 2017. This article explains how to add Class Library in ASP.NET Core using .NET Core Command-Line Interface (CLI) with a simple way. Before reading this article, read the previous parts of this article using below article link.
  • 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.
  • 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.
  • Getting Started With Entity Framework Core - Database-First DevelopmentOct 12, 2017. This article is the first part of the series on Getting Started with Entity Framework Core. In this post, we will build an ASP.NET Core MVC application that performs basic data access using Entity Framework Core. We will explore the database-first approach and see how models are created from an existing database. We will also take a look at how classes become the link between the database and ASP.NET Core MVC Controller.
  • 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.
  • Angular Components (With Examples)Oct 12, 2017. A Component is nothing but a simple typescript class, where you can create your own methods and properties as per your requirement which is used to bind with an UI (html or cshtml page) of our application.
  • ASP.NET Core 2.0 Session StateOct 09, 2017. Using an empty project from a previous post, amend Startup class ConfigureServicee() method, and add services for session and its backing store.
  • 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.
  • ASP.NET Core 2.0 Error PagesSep 29, 2017. Starting from an empty project, created in a previous post, amend the Configure() method of Startup class to use middleware needed for error handling. Below I’ve used a custom middleware (defined as lambda) to handle production exceptions.
  • 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.
  • Default(T) In GenericsSep 27, 2017. Default represents default value of T parameter in generics intructions. In several cases, the default keyword is an absolute unknown and we think it’s unnecessary or its functionality is null. There are many development moments with the generics classes where the default keyword can be useful.
  • Introduction To Tag Helpers In ASP.NET CoreSep 18, 2017. Tag helper is a new feature in ASP.net MVC. It enables server-side code to create and render HTML elements in Razor View. It is feature of Razor View engine. They are the C# classes which participate in view generation by creating the HTML elements. Using the tag helper, we can change the content of HTML element and add additional attributes to the HTML element. It is very similar to HTML helper in ASP.net MVC.
  • Selection Manager For WPF/MVVMSep 17, 2017. This article presents the idea and implementation of a class to manage the selection of only one element in different linear and hierarchical structures.
  • Build Chat Application On MEA2N Stack - Part TwoSep 17, 2017. In the previous part of the article series, Build Chat Application On MEA2N Stack – Part One, we built a basic chat application on Node.js platform using Express, Angular 2 and socket.io. In this article, we are going to use MongoDB Atlas for saving our chats and retrieving history whenever user requests it.
  • Build Chat Application On MEA2N Stack - Part OneSep 13, 2017. In this article we are going to build a basic chat application on NodeJs platform using Express and Angular 2. For saving chat history we will use MongoDB. We will be using socket.io for communication between server and client.
  • Aspect Oriented Programming In C# With RealProxy classSep 07, 2017. Example of implementing logging using RealProxy class.
  • 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 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 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.
  • Building A .NET Core 2.0 Class LibraryAug 31, 2017. In my previous tutorial, Getting Started with .NET Core 2.0, we learned how to build our first console app using .NET Core 2.0. We also learned how to package and deploy the application so it can be used by other users.
  • Routing In RESTful APIs Using .NET CoreAug 28, 2017. When it comes to listing best practices for REST APIs, the mechanism Routing always has its place on top of the stack. Today in this article will dirty our hands on Routing concepts with REST (web) APIs, specific to .NET Core.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (Stackpanel)Aug 11, 2017. Stackpanel has holding one are more controls into panel, inside panel controls are called as child controls, the child controls can be arranged into the horizontal (left to right) or vertical stack (top to bottom), We can add all the itemcontrols into the stackpanel like textbox, button, combobox.
  • 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.
  • Dependency Injection - Part Two - Five Reasons To Write Loosely Coupled CodeAug 09, 2017. A loosely coupled application has good isolation among its classes, modules and assemblies. Therefore, if we make a change to one part of the application, we only need to update the relevant modules. We do not need to make changes throughout the application.
  • 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.
  • Using MasterPage In Xamarin.FormAug 04, 2017. Xamarin is a platform that allows us to create multi-platform mobile applications like Windows phone, Apple iOS, and Android through a single integrated development environment (IDE). We will discuss how to create MasterDetail Page applications from VS2017. There are many plugins available for Xamarin Cross platform including Stack Layout, Label,ScrollView and buttons.
  • 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 REST Calls With SPHttpClient Class In SPFx WebpartsJul 31, 2017. Let us look at the usage of sphttpclient in SPFx solutions for making REST calls.
  • Built-In Filter Type In ASP.NET Core MVCJul 29, 2017. The ASP.net core framework includes five built-in filter types that we can sub-class and customize based on our requirement. The framework supports following built-in filters type.
  • Learn Web API : Using SQL Helper ClassJul 25, 2017. This article demonstrates how to use Web API Using SQL Helper Class with easy to use data base access in Visual Studio 2017.
  • Component In Angular 2 and How to Create Nested Component in Angular 2Jul 25, 2017. In this article, we will learn about Angular 2 components and we will also see how to create a nested component.
  • Code First Development Approach With Entity FrameworkJul 20, 2017. Which one to use in your project is completely your choice and also what you already have in place. Meaning are you designing/developing something from scratch or you already have got DB or domain classes, and also what are your preferences, meaning do you prefer to design classes first and then let your DB gets developed from those classes or you like to design visual class diagram first.
  • 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.
  • Multithreading In C# .NetJul 16, 2017. If you have a program that execute from top to bottom, it will not be responsive and feasible to build complex applications. So .Net Framework offers some classes to create complex applications.
  • How To Create Simple Game Play Application Using Cross PlatformJul 15, 2017. Xamarin is a platform that allows us to create multi-platform mobile applications like (Windows phone, Apple iOS , Android) through a single integrated development environment (IDE). This platform allows the designers to develop and design various mobile platform applications within a limited period. We will discuss how to create game applications using Xamarin.Forms (or) cross platform from VS2017. There are many plugins available including Stack Layout, Label and button.
  • 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.
  • Relative Layout In Xamarin.FormsJul 08, 2017. In this article we are going to make a relative layout in xamarin.forms. Xamarin forms have many other types of layouts that include stack layout, grid layout, and absolute layout. If you want to read more about layouts and UI elements of xamarin forms then read this article.
  • 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.
  • 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.
  • 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.
  • React Tutorials - Day Three - ComponentsJun 23, 2017. Today, we will learn about components. Component are the heart of React, components let you split the UI into independent and reusable sections. In React to create a component we need to extend the “React.Component” class.
  • How To Operate With Data Persistence In Xamarin.Forms - Part TwoJun 23, 2017. In this one, I’ll show you how to use the file system to save data using Xamarin with the .Forms UI Technology and the PCL (Portable Class Library) code sharing strategy.
  • Marking Methods "Obsolete" In C# Class LibraryJun 14, 2017. In this article, I will explain how a method can be marked as obsolete in C# class library.
  • Understanding React Components On SPFxJun 13, 2017. In this article, let us see how React JS components work along with multiple class hierarchy using SharePoint Framework components.
  • ASP.NET Core And History Of Microsoft Web StackMay 31, 2017. A brief Introduction to Microsoft Web stack and .NET Core.
  • Simplifying MVVM INotifyPropertyChanged On Xamarin.FormsMay 12, 2017. The goal is simplifying MVVM INotifyPropertyChanged in Xamarin Forms therefore making it unnecessary to keep inheriting base classes and handling the setter of each ViewModel Property.
  • Class And Style Bindings In Angular 2 - Part EightMay 04, 2017. In this article, we are going to learn how to bind classes and styles to HTML elements.
  • Two Class Support Vector MachineMay 03, 2017. An overview of Two Class Support Vector Machine.
  • Build Modern App With MEAN Stack 2.0 - Part OneMay 02, 2017. Build Modern App With MEAN Stack 2.0.
  • Stack And Grid Layouts In Xamarin.FormsApr 17, 2017. Stack And Grid Layouts In Xamarin.Forms.
  • 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.
  • Custom Collection Classes In C#Apr 06, 2017. This article presents an overview of custom collection classes in C#.
  • Mutable And Immutable Class In C#Mar 29, 2017. In this article, we are going to learn about mutable and immutable class in C#.
  • JavaScript Interview Day # 1 - How To Create A ClassMar 28, 2017. JavaScript interview tips - How to create a Class.
  • Overview Of List Collection Class In C#Mar 28, 2017. Overview Of List Collection Class In C#.
  • Developer Survey 2017Mar 24, 2017. A run-through the Stack-Overflow Annual Developer survey.
  • How To Organize Classes Using NamespacesMar 19, 2017. How To Organize Classes Using Namespaces.
  • How To Use The Array List Class In C#Mar 07, 2017. In this article, let's see the uses of array list classes in C#.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Understanding Startup Class In ASP.NET CoreFeb 10, 2017. In this article you will learn about Startup Class in ASP.NET Core.
  • Send Mail Using SendGrid In .NET CoreFeb 01, 2017. Sending mail in .NET Core is not easy, as .NET Core does not support SMTPClient class. So, this article explains how we can send mail in .NET Core using SendGrid.
  • 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.
  • Class And Constructor In TypeScript Using Visual Studio CodeJan 23, 2017. In this article, you will learn about class and constructor in TypeScript, using Visual Studio Code.
  • Convert DateTime To String Format Using IQueryableJan 10, 2017. In this article, you will learn how to convert DateTime to string (yyyy/mm/dd) format in ViewModel/Whatever class with IQueryable.

About Stack-class-in-java

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!