C# Corner

Resources  
  • Using Xrm.WebAPI In Dynamics 365/CRMNov 22, 2017. With the release of Dynamics 365 update 9.0, now we have a new library to implement WebApi methods using Xrm.WebApi. Instead of writing complete request, now we can just use direct CURD methods from WebApi.
  • 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#.
  • Creating CRUD API In ASP.NET Core 2.0Nov 17, 2017. ASP.NET Core gives a unified mechanism for creating MVC and Web API application. The key difference is that Web API will return JSON (or XML) and HTTP status codes instead of views, in order to communicate with the client.
  • Configure Application Insight For .NET Core 2.0Nov 16, 2017. We developers work hard to write code, but these QA guys find bugs in our code. We don’t have any choice but to find and fix the bug ASAP. After all this hard work we push everything to production, then new questions from people arise like why is this page slow? why is this operation taking time? why this and that? To answer these questions, we need proper logging mechanism to identify and takes hours of coding and analysis. What if we have a mechanism to track this with less hours of code to analyse and more time on fix. Application insights come to picture to solve our logging work with best analysis tools.
  • Auto Numbering For Custom Entity In Dynamic CRMNov 14, 2017. We are not adding any field for auto number using CRM Default solution. So, until now you should have one Entity created with no custom field in it (only default system generated fields). Now its time to write some code to see this auto number thing happen. what we have to do is to create an Attribute using C# Code and make that attribute to be auto numbered. we can even have some prefix or suffix also.
  • 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.
  • Introduction To Power BI Visuals - Part Three (Clustered Column Chart And Clustered Column Chart)Nov 11, 2017. Here, I am writing the introduction series for all Power BI visuals so the end user or beginner will gain a basic idea of how visuals work During this series of Power BI visuals, we will learn about each OOTB Power BI visuals step by step. In this article we will talk about below two visuals provided by Power BI Desktop OOTB. 1. Clustered Bar Chart 2. Clustered Column Chart
  • Power BI And Excel File As Data SourceNov 06, 2017. Though we have several options for data sources to connect with Power BI in this blog, I am going to write about how we can use Excel data with Power BI and how to refresh the report when Excel data is changed.
  • Implement ASP.NET WEB API CRUD Logic Using Entity Framework Without Writing Code And Test It With PostmanNov 03, 2017. This article will demonstrate how to implement ASP.NET WEB API CRUD logic using Entity framework without writing code and how to test it with Postman
  • 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.
  • Building WordPress Theme From Scratch - Part OneOct 30, 2017. Hi all, I am writing a series to create a theme in WordPress with all functionalities like show blog post and add widgets on the front page. I will create this series for absolute beginners who want to improve his skills in php so here you can learn to build your own theme with all those functionalities you want in your own theme.
  • Useful URL Shortcuts For SharePoint Online - Part TwoOct 29, 2017. In this second part of URL shortcuts, I am going to write some useful URLs which will help developers or administrators perform their daily tasks in a very easy manner. As a developer these shortcuts are very useful to us. These URL shortcuts make our work faster. This article covers eight shortcut URL which we can use in our daily practice.
  • Office 365 Public CDN OverviewOct 27, 2017. Microsoft has recently announced (over a months’ time ago now as I am writing this article) availability of Office 365 Public Content Delivery Network (CDN). This gives us the good option to host the static content such as JavaScript files, CSS, images, documents in CDN. The files in CDN will help better performance with SharePoint pages.
  • Useful URL Shortcuts For SharePoint Online - Part OneOct 26, 2017. In this article, I am going to write some useful URLs which will help developers or administrators perform their daily tasks in a very easy manner.
  • Creating A Comment Box Using Angular 1.0.7Oct 25, 2017. AngularJS is a JavaScript framework. It is a library written in JavaScript. AngularJS is distributed as a JavaScript file, and can be added to a web page with a script tag.
  • User Story In Agile ScrumOct 24, 2017. In this article, we will learn what User Story is and how to write one. User Story plays a major role here. It is the part of the agile process where instead of writing comprehensive requirements, we write a short description of a feature.
  • 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.
  • Excel To XML Using LINQOct 11, 2017. In this article we will show you the easiest way to convert Excel data into Xml files. There is a certain way to convert Excel file to Xml, for example using Excel Library (Com Component)
  • Logging Exception in Database Using CustomFilter ExceptionOct 11, 2017. As per request from one of my followers I am writing this article, which will explain how we can handle Errors in an MVC application. In this article I am also going to explain how we can log our exception message in our Data Base.
  • How To Create Windows Local User Account Using C#Oct 11, 2017. Here, we are going to learn to make a Windows local user account using C#. Here we are going to make a c-sharp console application and write code in it to make user accounts via C#.
  • Dependency Injection In ASP.NET MVC 5Oct 10, 2017. I have seen many articles about Dependency Injection and thought to write an article about using it in Asp.Net MVC5.
  • Xamarin.Forms - Create MVVM Data Binding Application Oct 07, 2017. Xamarin Forms Platform using Create MVVM Data Binding application using xml and c# code
  • Office 365 Development With Visual Studio 2017 - Part TwoOct 03, 2017. When Visual Studio 2017 was launched earlier this year, I wrote an article to provide glimpses on how to get started with Office 365 development with VS 2017 and different project templates available in VS 2017. You can read it here.
  • WebGrid Custom Paging Links To Avoid Load On Server Using Stored Procedure And ASP.NET MVCSep 27, 2017. I will show you how to fetch the data dynamically from the database and bind to the WebGrid control, using the stored procedure in MVC 4.0. In this blog, today, I will show you how to write code in ASP.NET MVC for implementation of WebGrid Control using Static Data. In later sessions, I will show you the process of using GridView Dynamically, that means using SQL Server data source.
  • How To Write Simple Todo CRUD ASP.NET MVC ApplicationSep 22, 2017. This article includes a lab exercise for you to demonstrate what have you learned from this training material to create your own Employee CRUD operation using EmployeeRepository
  • Xamarin.Forms Tip - Implement Show/Hide Password Using EffectsSep 19, 2017. While developing login pages, we usually get a requirement that there should be an icon in password entry to show/hide password while entering the password. While looking for a solution to this requirement, I found that most of the implementation is done using custom controls whereas we can do this kind of small platform-specific customization using effects. Last year, I wrote this article about implementing custom fonts using effects so I thought let's try this also using the same tecnique.
  • ASP.NET MVC CRUD Operation Using Entity Framework Without Writing Single CodeSep 11, 2017. Here, you will learn to do CRUD (Create,Read,Update and Delete) operations in MVC using Entity Framework without writing a single line of code.
  • 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.
  • Construct Readable XML Output From SQL Query From Two Or More Tables Using “For XML PATH” StatementSep 04, 2017. In my previous article I discussed about how to get a XML format output from query and process that by using XML AUTO statement, and I give different types of “for XML”.
  • 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.
  • How To Perform Web Scraping Using Python ProgramSep 04, 2017. Web Scraping (also known as Screen Scraping, Web Data Extraction, Web Harvesting etc.) is a process to scrap (extract) data from web pages, web document, HTML document or XML document in a structured manner and then store in database, text file as a spreadsheet , as a XML , or in whatever file format we want to save in.
  • 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.
  • Learn About Azure Cognitive ServicesSep 01, 2017. Microsoft Cognitive Services (earlier known as Project Oxford) provides us the ability to build intelligent applications, just by writing a few lines of code. These applications or services are deployed on major platforms like Windows, iOS, and Android. All the APIs are based on machine learning APIs and enable developers to easily add intelligent features – such as emotion and video detection; facial, speech and vision recognition; and speech and language understanding – into their applications.
  • 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.
  • More Details About Razor Pages In ASP.NET Core 2.0Aug 27, 2017. I built a simple web app to show you the new feature named Razor Pages in ASP.NET Core 2.0 . However it doesn't contain some useful and basic functions. So I decided to write one more article to show more details of Razor Pages.
  • 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.
  • Transform XML Output Of SQL Query To HTML Using "For XML" AUTO Statement With XSLT In C#Aug 21, 2017. Normally, we execute the query using ExecuteNonQuery statement and fill the output into data table. This article describes how to transform the XML output of SQL query statements using FOR XML AUTO to HTML using XSLT.
  • Universal SMTP Code To Send Emails In .NET AppsAug 13, 2017. As already mentioned quite clearly in the tagline, the only reason to write this article is to cover the basic requirements of every SMTP vendor's code in .NET applications, If your vendor is Google's mail service, — Gmail — then you can most likely leave this article and go back to the article, which I wrote quite a lot of time ago to share how to send emails through a C# programs, sending emails over .NET framework, and general problems – using C# code.
  • Who Is An Enterprise ArchitectAug 10, 2017. Earlier, I wrote two posts on the basics of EA, but in this post, I am taking a step back and trying to explain the difference between an IT Architecture and an Enterprise Architecture and sequentially I will explain the difference between a Solution provider (often called as solutioner) and an Architect.
  • 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.
  • Accessing XML Data From XML Document In C# Console ApplicationAug 09, 2017. In this article, I am going to give the best way to access XML data from XML document and also how to find common record node counts.
  • Creating Bullet-Shooting Game Using Constructor 2Aug 02, 2017. Constructor is used for 2D game creation without writing a lot of code. Now in this article, I will explain how to design the game start page using Constructor. Constructor 2 is a powerful HTML 5 game creator designed especially for 2D Game Developer.
  • Understand About Cloud Before Stepping On To Any Cloud Service ProvidersAug 02, 2017. I will be writing a series of articles on Amazon Web Service and on Azure Cloud. But, before that let's learn with the help of this article why we should move towards the Cloud.
  • Writing Code With Programming Ligatures In Visual StudioAug 01, 2017. Almost all visual studio developers are already in love with Consolas font. Consolas is an awesome, top ranked font to write code. But sadly, Consolas doesn't has any ligature support for us. What is ligature in a language? Typographic ligature occurs when two or more letters are joined as a single letter. For example AE > Æ, OE > Œ etc. So how can we carry ligature in our code in visual studio? There are plenty of fonts to write code with ligature support, such like- Fira Code, HasKlig, Monoid and 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.
  • Managing Your Traffic On Server Applications Using Geographic RoutingJul 28, 2017. Welcome to my first writing on Azure Traffic Manager using Geographic Routing.
  • 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.
  • 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/).
  • Python Program To Find All IPs Assigned In A NetworkJul 15, 2017. This is just a overview how you can create programs to find Network IP. You can do it in more interesting way by using raw_input to assign ip directly from user instead of writing it. Let me know if you need any help or if you are having problem in understanding.
  • Machine Learning - Part One - Stick On With Terms For Azure Machine LearningJul 07, 2017. This article will help you to move with Azure Machine Learning as a basic start. I will be walking through the concepts of Azure Machine Learning terms throughout this writing.
  • Go Serverless C# With Azure Functions Because Cost MattersJul 05, 2017. This article demystifies Azure Functions with its serverless mechanism and it will also explain how you can write down your PaaS code in cost-effective way.
  • Hello World Program Using Aurelia JavaScriptJul 04, 2017. JavaScript front-end framework is similar to frameworks like Angular, Ember and React. I've written about it in the past but it's been a while. Here is an updated guide on how to get started using it.
  • Working With XML In Windows PowerShellJun 23, 2017. In this article, you will learn about XMLs In Windows PowerShell.
  • Writing Complex Queries Using LINQ And LambdaJun 22, 2017. I am writing this article based on request by some developers regarding how to write some complex queries using LINQ & Lambda expression which consist of joins / groupby / aggregate functions
  • Implementation Of XML Serialization And Data Contract Serialization Utility In .NETJun 17, 2017. Basic Idea about DeSerializer and Serializer; advantages and disadvantages of XmlSerializer and DataContractSerializer; implementation XML and DataContract Serializer/ De-Serializer.
  • How To Write Effective CodeJun 03, 2017. How To Write Effective Code.
  • Write HTML Code In Xamarin Cross Platform With Table ExampleMay 17, 2017. You build your mobile app entirely in HTML, however those apps can suffer from performance problems when trying to accomplish complex processing or UI effects and are also limited in the platform features which they can access.
  • JSON.NET With Xamarin iOSMay 11, 2017. In this article, you will learn how to write JSON in Xamarin iOS, using Xamarin Studio.
  • How To Use And Bind Chart Control In ASP.NET With XML DataMay 07, 2017. In this tutorial, I will show you how to use and bind Chart Control and its relevant properties in ASP.NET, using C# with XML data source.
  • Important Tips To Write Clean Code In C#Apr 30, 2017. In this article, we will see how to write clean code in C# .
  • Writing Our Own Memory Manager In C/C++Apr 21, 2017. In this article we will write our own memory manager by implementing our malloc function and memory management schemes such as FCFS, Paging, Segmentation etc., using C/C++.
  • Step By Step Angular 2 Implementation In Visual Studio Update 3Apr 20, 2017. This article will explain the details about how to configure your project for an Angular 2 and how to write your Angular 2 Application.
  • Create WCF Web Service In Visual Studio 2015Apr 18, 2017. In this article, you will learn how to create your first REST based XML Web Service in Visual Studio 2015.
  • Software Testing - Best Practices And Principles To Write Unit TestingApr 14, 2017. In this article, you will learn best practices and principles to write Unit testing.
  • All About Office 365 Administrator Roles And TypesApr 04, 2017. In this article, I am writing about Office 365 administrator roles and types of Office 365.
  • Write Serverless Functions Using AWS Lambda And C#Mar 22, 2017. Write Serverless Functions using AWS Lambda and C#.
  • Writing Effective C# CodeMar 16, 2017. This article explains how to write better C# code to make it effective and maintainable.
  • Test Driven Development (TDD) - Part TwoMar 14, 2017. This article explains the options available in Visual Studio to work with Test Driven Development and also present examples about writing unit test cases.
  • DocumentDB In The Microsoft AzureMar 07, 2017. This article will be about the creation of the Document DB and writing JSON code online as well as uploading JSON data directly as the files.
  • How To Create Image Thumbnail In ASP.NET ApplicationsMar 05, 2017. In this article, we will learn how to upload multiple images and generate thumbnails of those images. We will also learn to write our own customized code for resizing and saving images.
  • Creating Google Maps AutoComplete DropDown With Multiple Map PointersMar 03, 2017. Using this method, you can implement complete Google Maps implementation.This code is written in AngularJS and MVC , but you can use in pure JavaScript also.
  • Parse/Read XML Having Nested Nodes To Display As A List In ASP.NET MVCMar 03, 2017. In this article, you will learn how to parse/read XML having nested nodes, to display as a List in ASP.NET MVC.
  • Behavior Driven Development Using Karma And Jasmine In Angular 2Feb 27, 2017. This article shows how can you write and test, using Jasmine in Angular 2.
  • Creating Your Own Operating SystemFeb 22, 2017. In this article, we will write our own bootloader using 16-bit assembly language to create our own operating system.
  • Create Custom ListView In Xamarin With Visual Studio 2015Feb 21, 2017. In this article, we will learn how to create, show custom ListView, and write Itemclick event of ListView in Xamarin with Visual Studio 2015.
  • Implement Swagger UI With Web APIFeb 21, 2017. In this article, we are going to see how to write a standard form of services in WebAPI and list all services in Swagger UI.
  • Creating Dialog Fragment Using Xamarin AndroidJan 31, 2017. This article explains how to create Dialog Fragment using the Login System UI design and understanding of C# codes and XML files.
  • Create User Interface Programmatically In Android ApplicationsJan 22, 2017. In this article, we will learn to create a user interface using code. So far, we have seen all the UI's that you have created, using XML file. But we can create the user interface programmatically.
  • Creating A Multilingual Application In Xamarin AndroidJan 19, 2017. In this article, you will learn how to write multilingual Android apps in Xamarin Android, using Visual Studio 2015 Community and C#.
  • Password Strength Indicator With NuGet PackageJan 03, 2017. In this article, you will learn about the password strength indicator using jQuery and XML + NuGet Package.
  • 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.
  • What Is Cloud Computing?Dec 18, 2016. In this article, I'll be writing about the basics of the Cloud Infrastructure. This article is actually for beginners.
  • Schedule Background Jobs Using Hangfire In ASP.NET CoreDec 15, 2016. Hangfire is an open source library to schedule and execute background jobs in .NET applications. This article is intended to demonstrate how to set up Hangfire and write some code to schedule an initial job in the ASP.NET Core project.
  • XML Manipulation In C#Dec 12, 2016. This article describes how to add, delete, update, and select nodes in XML in C#.
  • Office 365/Sharepoint Online - PowerShell Script To Call Search API And Get The ResultNov 10, 2016. In this article, I will explain using KeywordQuery class from PowerShell script and writing results to .CSV files. I will also explain the scenario where we need to use Search from the PowerShell script.
  • ASP.NET MVC5 - Asynchronous Controllers And Cancellation TokenNov 02, 2016. In this atricle, you will learn to write an asynchronous controller with cancellation token.
  • Tips For Writing Clean And Concise Code In C#Nov 01, 2016. In this article, you will learn about tips for writing clean and concise code in C#.
  • Handling Permissions In Linux VM While Migrating WordPress SiteOct 27, 2016. In this article, I'll write about how to give WordPress plug-ins permission, while migrating or maintaining the backup of your site.
  • Writing JavaScript Tests Using Jasmine FrameworkOct 11, 2016. In this post, we will see how we can write unit test cases in JavaScript.
  • Turning LED On And Off Using Buttons In Microsoft Visual StudioOct 02, 2016. In this article, I am going to explain to you how to write a code, using which you can turn on and off the LED, using buttons in a Windows form.
  • Creating Excel Charts And Writing A Macro To Refresh Data AutomaticallyOct 02, 2016. In this article, we are going to see how to create a report and chart in Excel and also to write a Macro to refresh the chart automatically.
  • Split Application Development Using JavaScript in Microsoft Visual StudioSep 21, 2016. In this article, I have explained the steps to create an application for windows PC using Visual Studio without writing any code on your own or by surfing sites.
  • Writing Custom Report Using Report WizardSep 18, 2016. In this article, you will learn about writing custom reports for Dynamics CRM, using Report Wizard.
  • Writing Custom Reports For Microsoft Dynamics CRM 2016Sep 15, 2016. In this article, you will learn about custom reporting options in Dynamics CRM.
  • Display XML Data As HTML Using XSLT In ASP.NET MVCAug 28, 2016. This article describes how to display XML data as HTML using XSLT in ASP.NET MVC.
  • Opening file from location: AppxManifest.xml failed with error: Access is denied.Aug 14, 2016. How to solve error, opening file from location: AppxManifest.xml failed with error: Access is denied.
  • Closed XML To Read Excel Files In ASP.NET C#Aug 11, 2016. In this article, you will learn, how to close XML to read Excel files in ASP.NET C#.
  • Open XML SDK To Read Workbook With Multiple WorksheetsAug 11, 2016. In this article, you will learn how to open XML SDK to read a workbook with multiple worksheets.
  • Different Ways Of Reading XML Files In ASP.NET C#Aug 10, 2016. In this article, you will learn about different ways of reading XML files in ASP.NET C#.
  • Writing A Sample Login Page In ASP.NET MVCAug 09, 2016. In this article, we will create a simple login form in ASP.NET MVC . We will validate the user information from SQL Server and show the appropriate action, based on the user validation.

About write-XML

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!