C# Corner

Resources  
  • Understanding LIQUi|>Dec 14, 2017. Understand what LIQUi|> is all about and how it works as a part of Visual Studio.
  • Xamarin.Forms - Messaging AppDec 14, 2017. In this article, we are going to learn about messaging plugin and discuss how to use it in xamarin.forms application by using visual studio 2017 15.5
  • Xamarin.Forms - WebView With ProgressBarDec 13, 2017. In this article, we will learn how to use ProgressBar in WebView in Xamarin.Forms application using Visual Studio 17 15.5 preview.
  • An Introduction To Quantum ComputingDec 13, 2017. In this article, I am going to cover some of the basics of Quantum computing and also set up an environment on our local machine with Visual Studio 2017 to get started with Quantum programming.
  • Getting Started With Azure Machine Learning Studio And Azure StorageDec 13, 2017. This write-up is a continuation of my previous one by which we will be sketching across how to get started with Azure Machine Learning and an introduction to Azure Storage.
  • Generate Thumbnail From Live URL Of Microsoft Office And PDF file in ASP.NET MVCDec 13, 2017. Recently, I got a chance to create thumbnail images from the live URL. The URLs were not of images but of some DOCX file, some XLSX file, or PDF file. We don’t have any custom library which can directly generate the thumbnail from a live URL. So, here, we will learn how we can customize our code to generate the thumbnail in .NET.
  • Code Reusability In KotlinDec 12, 2017. In this article, I am explaining how you can reuse your existing code of Kotlin using Inheritance with examples and diagram.
  • Setup Angular Environment On Visual Studio 2017Dec 12, 2017. Many new JS frameworks are introduced every day. But only some of the frameworks get popular. In this list Angular JS is the most popular one. The Angular Framework team is updating it to get more sophisticated and powerful.
  • Google Vision API Demo - BarCode Reader Using Android StudioDec 11, 2017. This article is about how we use Vision API in Android Studio.
  • Circular Fillable Loader And SeekBar Using Android ApplicationDec 11, 2017. This article demonstrates how to create circular fill loader to an android application using Android studio. This is an Android project allowing to realize a beautiful circular fillable loader to be used for splashscreen.
  • Xamarin.Forms - Microcharts AppDec 11, 2017. In this article, we are going to learn how to display micro-charts in single line code for Xamarin.Forms.
  • Partial View In ASP.NET MVC Using Entity FrameworkDec 10, 2017. A partial view is same as user control in ASP.NET MVC that is used for code re-usability. Partial views help us to reduce code duplication. Hence partial views can be used for views like as Header and Footer views.
  • Knowing When To Reflect With Caller Info AttributesDec 10, 2017. If you've been around C# long enough, you've probably had a need at one time or another to figure out some information about code that's being executed. It might be a method name, the file being executed, or even more specific details like the line number.
  • Dock Panel Control In UWPDec 10, 2017. Reading this article, you can learn how to use DockPanel Control in Universal Windows Apps development with XAML and Visual C#.
  • Xamarin.Forms - Multilingual AppDec 10, 2017. In this article, we are going to learn how to create a multi-language application using Visual Studio 2017 15.5
  • Introduction To Format Specifiers In Visual Studio DebuggerDec 08, 2017. That is going to be tedious work if we need to keep evaluating the expressions in a lengthy code. Well, there is a way to avoid that. Using format specifiers (while debugging), you can force the evaluation of the expression.
  • Getting Started With Angular 5 Using Visual Studio CodeDec 07, 2017. In this article, we are going to set up Angular 5 app using Visual Studio Code.
  • Hello World With Angular 5Dec 06, 2017. It’s very important to setup an environment for development before jumping into coding. For Angular to run we need to install node.js.
  • How To Save Multiple Links In A List Column And UI On Custom List Form In Visual Web PartDec 06, 2017. In this article, we will discuss how we are storing multiple links in the list field and supporting the UI on custom list form in Visual web part
  • Building First Console Application Using Command Prompt In .NET Core 2.0Dec 06, 2017. In this post, we will create our very first console application in .NET Core, and we will see how we can build .NET Core based applications without using any IDE or Visual Studio.
  • Creating Angular 5 App With Visual Studio 2017 - An Easy WayDec 05, 2017. There are multiple ways to create an Angular app with Visual Studio and this article explains one of the easiest and simplest ways to create Angular 5 App with Visual Studio 2017 using a template.
  • Building An ASP.NET Core Application With Web API And Code First DevelopmentDec 05, 2017. In the previous article, we’ve learned the high-level overview of what Entity Framework is all about and learned how to build a web application quickly using Entity Framework’s Database-First development.
  • Xamarin.Forms - Text AppDec 04, 2017. In this article, we are discuss about how to display text in different styles and font sizes in Xamarin.Forms using Visuaal Studio 2017
  • Picasso Library Visual Flair Using Android ApplicationDec 02, 2017. Images add much-needed context and visual flair to an Android application. Picasso allows hassle-free image loading in your application - often in one line of code!.
  • Xamarin.Forms - Hierarchical Navigation AppDec 02, 2017. In this article, we are discussing how to create a hierarchical navigation application in Xamarin.Forms using Visual Studio 2017
  • PyCharm Vs Visual Studio Code For Python DevelopmentDec 02, 2017. One of the most primary questions in the minds of a development startup, a beginner, is which language to use
  • Functions In KotlinDec 01, 2017. Function is a set of code which may take some parameters, perform an operation on it, and then may return a value.
  • Xamarin.Forms - Border Shadow Effects Using FrameNov 30, 2017. In this article, you will learn how to use Border Shadow Effects in your controls in Xamarin Forms.
  • Change SharePoint Site To Read OnlyNov 29, 2017. This article will help you out on making your sites read only which is mostly required during your SharePoint migration. These steps have been tested on SharePoint 2010, 2013 and 2016. We have 3 options and we will cover each one. So, let’s get started.
  • 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.
  • Notification Alert Android App Using Android StudioNov 29, 2017. In this article, I will show you how to create a Notification Alert Android App using Android Studio.
  • Creating Custom Tag Helpers With ASP.NET Core MVCNov 29, 2017. The tag helper enables us to run server-side code to generate HTML, CSS, Javascript code in Razor view.
  • Saving Your Ruby On Rails Application Code To Github.comNov 28, 2017. In this article you will learn git configuration in git bash and git hub repository creation, add new ssh key in git hub and finally add all application files into git hub repository via remotely using with git bash for Ruby on Rails application version controlling.
  • Progress Bar Android App Using Android StudioNov 28, 2017. In this article, I will show you how to create a Progress bar android App using Android studio. We can display the Android progress bar dialog box to display the status of work being done e.g. downloading file, analyzing status of work etc.
  • Custom Vision Service REST API Using Web Interface To Upload Image And TrainNov 28, 2017. Custom Vision Service using Visual intelligence made easy to just bring a few example of labeled images and let Custom Vision do the hard work.
  • Xamarin.Forms - BugSweeper AppNov 28, 2017. In this article, we will learn how to create BugSweeper application in Xamarin.Forms using Visual Studio 2017.
  • Battery Level Android App Using Android StudioNov 27, 2017. In this article, I will show you how to create an Android app that shows Battery Level.
  • How To Build A Kubernetes Cluster On Azure Using KubesprayNov 26, 2017. The concept of sticking our compiled code into containers is becoming quite popular at the moment, and for very good reason. If you develop for the cloud, and don't use containers or similar technology now, then you should really take a look at whats involved. The huge benefits of using containerized infrastructure/deployment are being pushed by the cloud vendors, and also increasingly being recognized by mainstream enterprise as an all round good egg and something worth investing time and resources into embracing. Containers and 'server-less computing' are two technologies that most developers are going to have to embrace in the next short few years.
  • How To Use Xamarin Live Player (Preview) Using Visual Studio 2017 15.4Nov 26, 2017. Learn how to deploy a Xamarin.forms or native application using Xamarin Live Player.
  • How To Create A Stored Procedure In SQL Server Management StudioNov 25, 2017. In this article you will learn about how to create store procedure in sql server’s SQL SERVER MANAGEMENT STUDIO and very informative information and interview questions and answers about store procedure.
  • Creating A Navigation Android App Using Visual StudioNov 25, 2017. This application will take two user inputs for map -- Latitude and Longitude. Clicking on open in map will open the map that can show you directions from the current location to the given address defined by the two user inputs.
  • Transform Web.Config File While Deploying The Web Application ProjectNov 25, 2017. One of the nice features that supports Visual Studio 2010 and above versions is Web.Config (XDT) transformations.
  • Sending An Event To The Event Hub Using Microsoft Visual StudioNov 24, 2017. This article demonstrates how to send the events to the Event hub using the Visual Studio.
  • Implementing Field Mapping Using Xrm.WebApiNov 24, 2017. In this article, we are going to provide sample code for using Xrm.WebApi retrieve method.
  • CRUD Operation With ASP.NET Core MVC Using Visual Studio Code And ADO.NETNov 23, 2017. In this article we are going to create a web application using ASP Core MVC with the help of Visual Studio Code and ADO.NET.
  • Introduction To Suave With F#Nov 23, 2017. In this article, we will see how to construct a simple web application with the F# language and the Suave web server on Visual Studio Code.
  • Xamarin.Forms - Modal PagesNov 22, 2017. In this article, we will learn how to create modal pages in Xamarin.Forms using Visual Studio 2017.
  • Implementation Of Face API Using Microsoft Azure And Visual StudioNov 22, 2017. This article shows how to create the Face API using Microsft Azure and Visual Studio,
  • Xamarin.Android - QR Code Reader AppNov 21, 2017. In this article, I shall show you how to make a QR code reader app in Xamarin.Android.
  • Introduction To SQL Operations Studio And Connecting It With SQL ServerNov 20, 2017. Learn how to use SQL Operations Studio (preview) to connect to SQL Server, and then use Transact-SQL (T-SQL) statements.
  • Creating My First ChatBot Using Angular(5.0) And Dialogflow (API.AI)Nov 20, 2017. Anyone who have ever tried to contact company through customer care center they know how slow and frustrating process it is. You remember that audio tape “press 1 for this, press 2 for this ,press * to go back to menu and blaa blaa blaa….“ say for example if you want to activate a simple caller tune to your phone number then you have to spent at least 10 min to know the code to activate that caller tune by hearing that audio tape and pressing so many number and finally if you had a good luck then only you able to activate you caller tune.
  • Azure DevOps SimplifiedNov 19, 2017. Watch how VSTS, Azure, and Visual Studio are being used in DevOps.
  • 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.
  • Xamarin.Forms - Design Catclock Using SkiaSharpNov 18, 2017. In this article we will discuss about how to paint 2D images using SkiaSharp in Xamarin forms using Visual Studio 2017
  • ParallaxView Control In UWPNov 18, 2017. Reading this article, you can learn how to use ParallaxView Control in Universal Windows Apps development with XAML and Visual C#.
  • Radial Progress Bar Control In UWPNov 17, 2017. Reading this article, you can learn how to use Radial Progress Bar Control in Universal Windows Apps development with XAML and Visual 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.
  • ScrollHeader Control In UWPNov 16, 2017. Reading this article, you will learn how to use ScrollHeader Control in Universal Windows Apps development with XAML and Visual C#.
  • What Is SQL Operations StudioNov 15, 2017. Learn and download SQL Operations Studio
  • 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.
  • Radial Gauge Control In UWPNov 15, 2017. Reading this article, you will learn how to use Radial Gauge Control in Universal Windows Apps development with XAML and Visual C#.
  • Xamarin.Forms - Create A Login Page (MVVM)Nov 14, 2017. In this code we created the followings properties: Email, Password and the command SubmitCommand() that we will use in the Login command button in the Login page. We use the ICommand interface that allows defining and implementing a command what we call commanding.
  • SSMS 2016 - Enhanced ScrollbarNov 14, 2017. Detailed description with screenshots of the enhanced scroll bar introduced in SSMS (SQL Server Management Studio) 2016.
  • 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.
  • Xamarin.Forms - Login Flow APPNov 13, 2017. In this article, we will discuss how to create login system in Xamarin.Forms using Visual Studio 2017
  • 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.
  • Automating Code Deployment With Azure And GitHubNov 13, 2017. In this article you will learn about how to use ‘App Services’ and exploit Github’s source code management functionalities and version control in order to automate the deployment of your software and maintain a record of prior changes in order to mitigate extra effort in pushing to production.
  • ASP.NET Core 2.0 MVC FiltersNov 13, 2017. Filter runs after an action method has been selected to execute. MVC provides built-in filters for things like authorization and caching. Custom filters are very useful to encapsulate reusable code that you want to run before or after action methods.
  • OrbitView Control In UWPNov 11, 2017. Reading this article, you will learn how to use OrbitView Control in Universal Windows Apps development with XAML and Visual C#.
  • Custom Search Using Client Side CodeNov 11, 2017. The Custom Search functionality is achieved through JS. The Search produces live results for each key press. This search can be used to filter the data table or html table data dynamically based on the key words entered. The below code explains the search for html table.
  • 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.
  • 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
  • Introduction Of New Useful Features In SSMS 2016Nov 10, 2017. This article is an effort to list out a few exciting improvements that have been made to SQL Server Management Studio 2016. I believe, most of these new features can help improve the speed of our work and are more convenient to use the SSMS.
  • 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.
  • Get Your Hands On Entity Framework Code First Workflow With New Database And Existing DatabaseNov 10, 2017. In this article we are going to learn how to create code first workflow with new database and existing database.
  • Develop, Test And Deploy The Angular Project In IIS Using Angular CLI And Visual Studio Code In Few MinutesNov 10, 2017. The Angular CLI is a command line interface tool that can be used to create our angular project very easily and it is also used to perform a variety of ongoing development tasks such as testing, bundling, and deployment in our same project.
  • Loading Control In UWPNov 10, 2017. Reading this article, you will learn how to use Loading Control in Universal Windows Apps development with XAML and Visual C#.
  • DropShadowPanel Control In UWPNov 09, 2017. Reading this article, you can learn how to use DropShadowPanel Control in Universal Windows Apps development with XAML and Visual C#.
  • Expander Control In UWPNov 09, 2017. Reading this article, you can learn how to use Expander Control in Universal Windows Apps development with XAML and Visual C#.
  • Enums In C#Nov 09, 2017. Suppose we are creating a program in which we have to use multiple named constants of similar type and on the basis of a particular constant we have to perform some operation. So what we normally do is initialize each named constant with a value. This may require a lot of effort if the number of constants is large. Also the look and feel of the code is not up to the mark. Have a look at the below program to understand more. The program contains months of the year. We have to put lots of effort to assign each month to a value.
  • Create A Flash Light App In Xamarin.Android Using Visual StudioNov 08, 2017. Here it goes, My friend receive Samsung mobile phone few month ago. She like it in particular, yet one thing that it doesn't accompany is the toolbox for fundamental utilities. One of them is the spotlight application that triggers the gadget to enact or deactivate the electric lamp as required. Android supports you to have Camera API devoured in your application (all things considered, electric lamp is given to photographs or recordings and not as a floodlight). Anyway, I was believing that I ought to get an application from Play Store, correct? No! Despite the fact that it would give me an "exquisite" answer for my spotlight issue, yet shouldn't something be said about the armed force of ad I should experience, or the hazy UI of the application. So I figured I should manufacture an application for herself to have the capacity to trigger the spotlight on or off.
  • Alphabets to Numbers Translator For Calling In Xamarin.AndroidNov 07, 2017. In this article, we will learn how to build Call Translator App for Xamarin Android. This is a simple app for learning some basics for beginners and you can also create it in Android Studio but I like to make it in Visual Studio, therefore I developed it in Xamarin.
  • Debugging Tips - Part ThreeNov 06, 2017. While working on a complex code, we often come across situations where you need to debug lots of code to find/fix the issue(s). That also includes going through lots of methods (probably related or unrelated). .NetFramework provides a way to avoid unwanted "Step in" through the methods. Using DebuggerStepThrough (using System.Diagnostics) attribute, you can skip debugging of unwanted methods and reduce the debugging time to some extent.
  • MS Visual Studio Code - Guide To GitNov 06, 2017. Hello guys again, this is Muhammad Habib Jawady and today I will be showing you how to use MS visual Studio Code in order to work with git properly. This will be a hands on tutorial, I hope you will find this useful as the number of users of ‘Code’ has grown dramatically throughout the year and the need for a full tutorial on how to use it has became an urge to help people master its enormous number of features.
  • Carousel Control In UWPNov 06, 2017. Reading this article, you can learn how to use Carousel Control in Universal Windows Apps development with XAML and Visual C#.
  • Find The Installed SharePoint 2016 Edition Via C#Nov 06, 2017. Have you ever tried to detect the SharePoint Edition via C#? Regardless of the answer, detecting the SharePoint Edition via C# is not just a line of code as Build Number, to detect the SharePoint 2016 Edition, it will need to know the corresponding SKU.
  • Hosting Website Using FileZilla To AzureNov 05, 2017. In this article, we will see how to publish your normal HTML website without using Visual Studio or any other tool by using FileZilla in Microsoft Azure.
  • PersonPicture Control In UWPNov 03, 2017. Reading this article, you can learn how to use PersonPicture Control in Universal Windows Apps development with XAML and Visual C#.
  • 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
  • Step By Step Creation Of Angular Project With TypeScript Using Visual Studio 2015Nov 02, 2017. In the right pane, move the global $(PATH) entry to be above the internal path $(DevEnvDir) entries. This tells Visual Studio to look for external tools (like npm) in the global path before the internal path.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (DispatcherTimer)Nov 01, 2017. DispatcherTimer is a timer control, that is integrated into the Dispatcher queue, Timer event is called in a specific timer interval, the main advantage DispatcherTimer, it can run the code on the same UI thread.
  • Performance - SortedDictionary Vs DictionaryOct 31, 2017. Recently when I was analyzing a clients code base for performance, I found that they were using the collection SortedDictionary in many places in their projects. After looking on how they are using this collection type, I discovered that they really only needed the collection sorted once. So I figured, that if would be better performance to use just Dictionary and sort it once. Before recommending this change to their code, I needed to prove my theory.
  • Creating A Signature Pad In Xamarin.FormsOct 31, 2017. In this article, you will learn how to create a Signature Pad in Xamarin.Forms using Visual Studio.
  • Image Copy And Paste Using Clipboard In UWPOct 29, 2017. Reading this article, you can learn how to perform Copy and paste Images using clipboard in Universal Windows Apps development with XAML and Visual C#.
  • Copy And Paste Text Content Using Clipboard In UWP With XAML And C#Oct 27, 2017. Reading this article, you will learn how to copy and paste the text content using clipboard in Universal Windows Apps development with XAML and Visual C#.
  • Develop Multi-Platform And Connected Apps And Deploy Them On AzureOct 26, 2017. PaaS allows companies and developers to focus only on applications and services and not infrastructure. PaaS provides all the services needed to create, code, deploy and run websites, mobile services, and more.
  • Simple Single Side Traffic Controller Using Timer ControlOct 25, 2017. This is a simple article for beginners who are getting introduced to C# programming in which they will learn how to code using Timer control inside Windows form
  • Setting Or Retrieving Geotag In Media File In UWP With XAML And C#Oct 25, 2017. Reading this article, you can learn how to set or retrieve Geotagging in Media File in Universal Windows Apps development with XAML and Visual C#.

About Code-Snippets-in-Visual-Studio-2010

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!